Developmental axon pruning is widely used in constructing the nervous system. Accordingly, diverse mechanisms are likely employed for various forms of axon pruning. In the Drosophila mushroom bodies (MB), gamma neurons initially extend axon branches into both the dorsal and medial MB axon lobes in larvae. Through a well-orchestrated set of developmental events during metamorphosis, axon branches to both lobes degenerate prior to the formation of adult connections. Here, we analyze ultrastructural changes underlying axon pruning by using a genetically encoded electron microscopic (EM) marker to selectively label gamma neurons. By inhibiting axon pruning in combination with the use of this EM marker, we demonstrate a causal link between observed cellular events and axon pruning. These events include changes in axon ultrastructure, synaptic degeneration, and engulfment of degenerating axon fragments by glia for their subsequent breakdown via the endosomal-lysosomal pathway. Interestingly, glia selectively invade MB axon lobes at the onset of metamorphosis; this increase in cell number is independent of axon fragmentation. Our study reveals a key role for glia in the removal of axon fragments during developmental axon pruning.