Astrocytes provide metabolic substrates to neurons in an activity-dependent manner. However, the molecular mechanisms involved in this function, as well as its role in synaptic transmission, remain unclear. Here, we show that the gap-junction subunit proteins connexin 43 and 30 allow intercellular trafficking of glucose and its metabolites through astroglial networks. This trafficking is regulated by glutamatergic synaptic activity mediated by AMPA receptors. In the absence of extracellular glucose, the delivery of glucose or lactate to astrocytes sustains glutamatergic synaptic transmission and epileptiform activity only when they are connected by gap junctions. These results indicate that astroglial gap junctions provide an activity-dependent intercellular pathway for the delivery of energetic metabolites from blood vessels to distal neurons.