The optic nerve, or more precisely, the photosensitive ganglion cells through the retinohypothalamic tract, is responsible for the afferent limb of the pupillary reflex; it senses the incoming light. The oculomotor nerve is responsible for the efferent limb of the pupillary reflex; it drives the iris muscles that constrict the pupil.[1]