The unprecedented rise in global ambient temperatures in the last decade has significantly impacted human health, yet how heat exposure affects the development of sarcopenia remains enigmatic. Here, we demonstrate that chronic heat exposure induces skeletal muscle volume loss, leading to muscle strength and functional decline in mice. The microbiota composition of heat-exposed mice was analyzed using 16S ribosomal DNA analysis. Liquid chromatography-mass spectrometry (LC-MS) was used to explore the effects of heat exposure on the blood metabolome and to further analyze the correlation between blood metabolism and gut microbiota. Transplantation of microbiota from heat-exposed mice to germ-free mice was sufficient to increase adverse effects on skeletal muscle function in the host. Mechanistically, using an untargeted metabolomics strategy, we reveal that altered gut microbiota due to high temperatures is associated with elevated serum levels of homocitrulline. Homocitrulline causes mitochondrial dysfunction in myocytes by exacerbating ferroptosis levels. And Nrf2 activator (Oltipraz) supplementation alleviates muscle atrophy and dysfunction induced by heat exposure. Our findings reveal the detrimental effects of heat exposure on muscle function and provide new strategies for treating sarcopenia.