In nervous systems with bilateral symmetry, many neurons project axons across the midline to the opposite side. In each segment of the Drosophila embryonic nervous system, axons that display this projection pattern choose one of two distinct tracts: the anterior or posterior commissure. Commissure choice is controlled by Derailed, an atypical receptor tyrosine kinase expressed on axons projecting in the anterior commissure. Here we show that Derailed keeps these axons out of the posterior commissure by acting as a receptor for Wnt5, a member of the Wnt family of secreted signalling molecules. Our results reveal an unexpected role in axon guidance for a Wnt family member, and show that the Derailed receptor is an essential component of Wnt signalling in these guidance events.