High-Fat-Diet (HFD)-induced obesity is a major contributor to heart and mobility premature aging and mortality in both Drosophila and humans. The dSir2 genes are closely related to aging, but there are few directed reports showing that whether HFD could inhibit the expression dSir2 genes. Endurance exercise can prevent fat accumulation and reverse HFD-induced cardiac dysfunction. Endurance also delays age-relate functional decline. It is unclear whether lifetime endurance exercise can combat lifetime HFD-induced heart and mobility premature aging, and relieve the harmful HFD-induced influence on the dSir2 gene and lifespan yet. In this study, flies are fed a HFD and trained from when they are 1 week old until they are 5 weeks old. Then, triacylglycerol levels, climbing index, cardiac function, lifespan, and dSir2 mRNA expressions are measured. We show that endurance exercise improves climbing capacity, cardiac contraction, and dSir2 expression, and it reduces body and heart triacylglycerol levels, heart fibrillation, and mortality in both HFD and aging flies. So, lifelong endurance exercise delays HFD-induced accelerated age-related locomotor impairment, cardiac dysfunction, death, and dSir2 expression decline, and prevents HFD-induced premature aging in Drosophila.