Impaired aerobic exercise capacity and skeletal muscle dysfunction are associated with cardiometabolic diseases. Acute administration of capsaicin enhances exercise endurance in rodents, but the long-term effect of dietary capsaicin is unknown. The capsaicin receptor, the transient receptor potential vanilloid 1 (TRPV1) cation channel has been detected in skeletal muscle, the role of which remains unclear. Here we report the function of TRPV1 in cultured C2C12 myocytes and the effect of TRPV1 activation by dietary capsaicin on energy metabolism and exercise endurance of skeletal muscles in mice. In vitro, capsaicin increased cytosolic free calcium and peroxisome proliferator-activated receptor-γ coactivator-1α (PGC-1α) expression in C2C12 myotubes through activating TRPV1. In vivo, PGC-1α in skeletal muscle was upregulated by capsaicin-induced TRPV1 activation or genetic overexpression of TRPV1 in mice. TRPV1 activation increased the expression of genes involved in fatty acid oxidation and mitochondrial respiration, promoted mitochondrial biogenesis, increased oxidative fibers, enhanced exercise endurance and prevented high-fat diet-induced metabolic disorders. Importantly, these effects of capsaicin were absent in TRPV1-deficient mice. We conclude that TRPV1 activation by dietary capsaicin improves energy metabolism and exercise endurance by upregulating PGC-1α in skeletal muscles. The present results indicate a novel therapeutic strategy for managing metabolic diseases and improving exercise endurance.