Melanopsin-expressing, intrinsically photosensitive retinal ganglion cells (ipRGCs) form a light-sensitive system separate from rods and cones. Direct light stimulation of ipRGCs can regulate many nonimage-forming visual functions such as photoentrainment of circadian rhythms and pupil responses, and can intensify migraine headache in adults. In mice, ipRGCs are light responsive as early as the day of birth. In contrast, their eyelids do not open until 12-13 d after birth (P12-13), and light signaling from rods and cones does not begin until approximately P10. No physiological or behavioral function is established for ipRGCs in neonates before the onset of rod and cone signaling. Here we report that mouse pups as young as P6 will completely turn away from a light. Light-induced responses of ipRGCs could be readily recorded in retinas of pups younger than P9, and we found no evidence for rod- and cone-mediated visual signaling to the RGCs of these younger mice. These results confirm that negative phototaxis is evident before the onset of rod- and cone-mediated visual signaling, and well before the onset of image-forming vision. Negative phototaxis was absent in mice lacking melanopsin. We conclude that light activation of melanopsin ipRGCs is necessary and sufficient for negative phototaxis. These results strongly suggest that light activation of ipRGCs may regulate physiological functions such as sleep/wake cycles in preterm and neonatal infants.