Neurons rely on glia to recycle neurotransmitters such as glutamate and histamine for sustained signaling. Both mammalian and insect glia form intercellular gap-junction networks, but their functional significance underlying neurotransmitter recycling is unknown. Using the Drosophila visual system as a genetic model, here we show that a multicellular glial network transports neurotransmitter metabolites between perisynaptic glia and neuronal cell bodies to mediate long-distance recycling of neurotransmitter. In the first visual neuropil (lamina), which contains a multilayer glial network, photoreceptor axons release histamine to hyperpolarize secondary sensory neurons. Subsequently, the released histamine is taken up by perisynaptic epithelial glia and converted into inactive carcinine through conjugation with β-alanine for transport. In contrast to a previous assumption that epithelial glia deliver carcinine directly back to photoreceptor axons for histamine regeneration within the lamina, we detected both carcinine and β-alanine in the fly retina, where they are found in photoreceptor cell bodies and surrounding pigment glial cells. Downregulating Inx2 gap junctions within the laminar glial network causes β-alanine accumulation in retinal pigment cells and impairs carcinine synthesis, leading to reduced histamine levels and photoreceptor synaptic vesicles. Consequently, visual transmission is impaired and the fly is less responsive in a visual alert analysis compared with wild type. Our results suggest that a gap junction-dependent laminar and retinal glial network transports histamine metabolites between perisynaptic glia and photoreceptor cell bodies to mediate a novel, long-distance mechanism of neurotransmitter recycling, highlighting the importance of glial networks in the regulation of neuronal functions.