SUMMARYLactate is used as an energy source by producer cells or shuttled to neighboring cells and tissues. Both glucose and lactate fulfill the bioenergetic demand of neurons, the latter imported from astrocytes. The contribution of astrocytic lactate to neuronal bioenergetics and the mechanisms of astrocytic lactate production are incompletely understood. Through in vivo 1H magnetic resonance spectroscopy, 13C glucose mass spectroscopy, and electroencephalographic and molecular studies, here we show that the energy sensor AMP activated protein kinase (AMPK) regulates neuronal survival in a non-cell-autonomous manner. Ampk-null mice are deficient in brain lactate and are seizure prone. Ampk deletion in astroglia, but not neurons, causes neuronal loss in both mammalian and fly brains. Mechanistically, astrocytic AMPK phosphorylated and destabilized thioredoxin-interacting protein (TXNIP), enabling expression and surface translocation of the glucose transporter GLUT1, glucose uptake, and lactate production. Ampk loss in astrocytes causes TXNIP hyperstability, GLUT1 misregulation, inadequate glucose metabolism, and neuronal loss.