The astrocyte-neuron lactate shuttle hypothesis posits that glial-generated lactate is transported to neurons to fuel metabolic processes required for long-term memory. Although studies in vertebrates have revealed that lactate shuttling is important for cognitive function, it is uncertain if this form of metabolic coupling is conserved in invertebrates or is influenced by age. Lactate dehydrogenase (Ldh) is a rate limiting enzyme that interconverts lactate and pyruvate. Here we genetically manipulated expression of Drosophila melanogaster lactate dehydrogenase (dLdh) in neurons or glia to assess the impact of altered lactate metabolism on invertebrate aging and long-term courtship memory at different ages. We also assessed survival, negative geotaxis, brain neutral lipids (the core component of lipid droplets) and brain metabolites. Both upregulation and downregulation of dLdh in neurons resulted in decreased survival and memory impairment with age. Glial downregulation of dLdh expression caused age-related memory impairment without altering survival, while upregulated glial dLdh expression lowered survival without disrupting memory. Both neuronal and glial dLdh upregulation increased neutral lipid accumulation. We provide evidence that altered lactate metabolism with age affects the tricarboxylic acid (TCA) cycle, 2-hydroxyglutarate (2HG), and neutral lipid accumulation. Collectively, our findings indicate that the direct alteration of lactate metabolism in either glia or neurons affects memory and survival but only in an age-dependent manner.