Axon pruning is an evolutionarily conserved strategy used to remodel neuronal connections during development. The Drosophila mushroom body (MB) undergoes neuronal remodeling in a highly stereotypical and tightly regulated manner, however many open questions remain. Although it has been previously shown that glia instruct pruning by secreting a TGF-beta ligand, myoglianin, which primes MB neurons for fragmentation and also later engulf the axonal debris once fragmentation has been completed, which glia subtypes participate in these processes as well as the molecular details are unknown. Here we show that, unexpectedly, astrocytes are the major glial subtype that is responsible for the clearance of MB axon debris following fragmentation, even though they represent only a minority of glia in the MB area during remodeling. Furthermore, we show that astrocytes both promote fragmentation of MB axons as well as clear axonal debris and that this process is mediated by ecdysone signaling in the astrocytes themselves. In addition, we found that blocking the expression of the cell engulfment receptor Draper in astrocytes only affects axonal debris clearance. Thereby we uncoupled the function of astrocytes in promoting axon fragmentation to that of clearing axonal debris after fragmentation has been completed. Our study finds a novel role for astrocytes in the MB and suggests two separate pathways in which they affect developmental axon pruning.