A layered organization of cells is a common architectural feature of many neuronal formations. Mutations of the zebrafish gene nagie oko (nok) produce a severe disruption of retinal architecture, indicating a key role for this locus in neuronal patterning. We show that nok encodes a membrane-associated guanylate kinase-family scaffolding protein. Nok localizes to the vicinity of junctional complexes in retinal neuroepithelium and in the photoreceptor cell layer. Mosaic analysis indicates that the nok retinal patterning phenotype is not cell-autonomous. We propose that nok function in patterning of postmitotic neurons is mediated through neuroepithelial cells and is necessary for guiding neurons to their proper destinations in retinal laminae.