Neural circuits consist of highly precise connections among specific types of neurons that serve a common functional goal. How neurons distinguish among different synaptic targets to form functionally precise circuits remains largely unknown. Here, we show that during development, the adhesion molecule cadherin-6 (Cdh6) is expressed by a subset of retinal ganglion cells (RGCs) and also by their targets in the brain. All of the Cdh6-expressing retinorecipient nuclei mediate non-image-forming visual functions. A screen of mice expressing GFP in specific subsets of RGCs revealed that Cdh3-RGCs which also express Cdh6 selectively innervate Cdh6-expressing retinorecipient targets. Moreover, in Cdh6-deficient mice, the axons of Cdh3-RGCs fail to properly innervate their targets and instead project to other visual nuclei. These findings provide functional evidence that classical cadherins promote mammalian CNS circuit development by ensuring that axons of specific cell types connect to their appropriate synaptic targets.