Diet composition is a critical determinant of lifespan, and nutrient imbalance is detrimental to health. However, how nutrients interact with genetic factors to modulate lifespan remains elusive. We investigated how diet composition influences mitochondrial ATP synthase subunit d (ATPsyn-d) in modulating lifespan in Drosophila. ATPsyn-d knockdown extended lifespan in females fed low carbohydrate-to-protein ( C:P ) diets but not the high C:P ratio diet. This extension was associated with increased resistance to oxidative stress; transcriptional changes in metabolism, proteostasis, and immune genes; reduced protein damage and aggregation, and reduced phosphorylation of S6K and ERK in TOR and mitogen-activated protein kinase (MAPK) signaling, respectively. ATPsyn-d knockdown did not extend lifespan in females with reduced TOR signaling induced genetically by Tsc2 overexpression or pharmacologically by rapamycin. Our data reveal a link among diet, mitochondria, and MAPK and TOR signaling in aging and stresses the importance of considering genetic background and diet composition in implementing interventions for promoting healthy aging.