Neural circuits are assembled through the coordinated innervation of pre- and postsynaptic partners. We show that connectivity between two interneurons, AIY and RIA, in Caenorhabditis elegans is orchestrated by a pair of glial cells that express UNC-6 (netrin). In the postsynaptic neuron RIA, the netrin receptor UNC-40 (DCC, deleted in colorectal cancer) plays a conventional guidance role, directing outgrowth of the RIA process ventrally toward the glia. In the presynaptic neuron AIY, UNC-40 (DCC) plays an unexpected and previously uncharacterized role: It cell-autonomously promotes assembly of presynaptic terminals in the immediate vicinity of the glial cell endfeet. These results indicate that netrin can be used both for guidance and local synaptogenesis and suggest that glial cells can function as guideposts during the assembly of neural circuits in vivo.