The regulation of sleep and wakefulness in adults is managed by a biological clock, but newborns lack this established rhythm. During the initial weeks of life, an infant’s sleep is disorganized and driven primarily by hunger and physical comfort. The ability to consolidate sleep into longer nighttime stretches depends on the independent function of a neurohormone that signals darkness. Understanding when a baby’s body begins producing this sleep-regulating hormone is key to grasping the shift in early sleep patterns.
Melatonin: The Sleep Regulator
Melatonin is a hormone produced primarily by the pineal gland, a small organ located deep within the brain. Its main function is to communicate information about the daily cycle of light and darkness to the body. This communication helps manage the circadian rhythm, the biological clock that dictates sleep-wake cycles over a 24-hour period.
The production of melatonin is sensitive to light exposure in adults. When the environment is dark, the pineal gland increases its output, which then signals to the brain that it is time to prepare for sleep. Conversely, exposure to bright light, particularly blue light, suppresses this release, promoting wakefulness. Melatonin does not forcibly induce sleep, but rather acts as a chemical messenger that lowers alertness and increases the propensity for rest.
The Timing of Infant Melatonin Production
A newborn’s body does not produce rhythmic melatonin at birth. The pineal gland is functionally immature and cannot synthesize the hormone in response to light and darkness until several weeks after delivery. For the first two to three months, the infant’s sleep is considered ultradian, meaning it occurs in short bursts throughout the day without a clear 24-hour cycle.
The onset of the baby’s own melatonin production begins to emerge between 10 and 12 weeks of age. This period marks the start of the pineal gland’s maturation and its ability to respond to environmental cues. By three to four months, a measurable circadian rhythm for melatonin begins to establish itself.
This physiological milestone often coincides with a noticeable shift in sleep patterns, moving from chaotic naps to longer, more consolidated sleep at night. While this change is sometimes associated with the “four-month sleep regression,” it actually represents the maturation of the infant’s circadian rhythm. Melatonin levels continue to stabilize and increase, becoming more established by six months of age, closely resembling an adult’s sleep-wake cycle.
How Maternal Melatonin Supports Newborn Sleep
Before an infant’s pineal gland matures, the baby relies on an external source of melatonin to support their early rhythm. During pregnancy, the hormone easily crosses the placenta, helping to regulate the fetus’s developmental cycles. This placental transfer stops at birth, which initially leaves the newborn with a depleting supply of the hormone.
For breastfed infants, the mother’s milk serves as a temporary substitute for the baby’s lack of production. Melatonin levels in breast milk fluctuate throughout the day, mirroring the mother’s own circadian rhythm. Nighttime breast milk contains higher concentrations of the hormone, which is transferred to the baby during evening feeds.
This rhythmic delivery via breast milk acts as a cue, helping the newborn to differentiate between day and night. This temporary support helps entrain the infant’s developing systems.
Environmental Factors that Promote Melatonin Release
Once the infant reaches the 10 to 12-week mark, parents can support the development of their baby’s sleep-wake cycle. The most effective strategy involves using light and darkness as environmental signals. Exposing the baby to natural light early in the day helps to anchor their emerging circadian rhythm, signaling that it is time for wakefulness.
Parents should aim for consistent light exposure during all daytime awake periods, which helps set the clock. Conversely, darkness is crucial for signaling the brain to begin melatonin production in the evening. For both naps and nighttime sleep, the sleeping environment should be as dark as possible, using tools like blackout curtains to eliminate external light sources.
A consistent, dim-light bedtime routine signals the transition to rest. Reducing light exposure in the hour before sleep helps prevent the suppression of the newly emerging melatonin production. Avoiding the use of bright lights during nighttime feedings and diaper changes is recommended to maintain the environment of darkness and support the continuous release of the hormone.

