The hormone your newborn doesn't have yet
There is a particular kind of exhaustion that comes from trying to give a newborn a bedtime. You dim the lights, you swaddle, you hum the same three bars of a lullaby you didn't know you'd memorized — and the baby blinks at you, wide and serene, at 11 p.m. as though the night were just getting started. It can feel like failure. It isn't. For the first weeks of life, your baby is missing one of the body's central instruments of sleep: melatonin, the hormone that tells nearly every other animal on earth that night has fallen.
Understanding when that instrument comes online — and what fills the gap before it does — quietly explains most of what feels chaotic about early infant sleep.
What melatonin actually does
Melatonin is made by the pineal gland, a tiny structure deep in the brain, and it is essentially a chemical announcement: it is biological night now. In adults, levels begin to rise a couple of hours before sleep, peak in the small hours, and fall toward morning. It doesn't knock you out like a sedative. Instead it lowers your core body temperature slightly, dials down alertness, and signals to the rest of your physiology that the resting phase has begun. It is the body's way of agreeing with the darkness.
Crucially, melatonin is governed by light. Specialized cells in the retina detect brightness — especially short-wavelength blue light — and relay that information to the brain's master clock, the suprachiasmatic nucleus, which in turn tells the pineal gland to hold off. Light suppresses melatonin; darkness releases it. This is the lever the whole circadian system pulls on.
Newborns make almost none of their own
Here is the part that reframes those serene midnight stares. For roughly the first two to three months, a baby's own pineal gland produces very little melatonin, and what it does produce shows no real day-night pattern. The internal clock exists, but it isn't yet wired to the sun. A newborn's sleep is driven almost entirely by hunger and by accumulated tiredness, not by any sense of where the hands of the clock are pointing. To a brand-new baby, 3 a.m. and 3 p.m. are the same neutral country.
This is also why newborns famously have their days and nights mixed up. There is no hormonal tide pulling them toward sleep when it gets dark, because the tide hasn't started flowing yet.
The borrowed supply: melatonin in breast milk
Nature has a stopgap. Before a baby makes its own melatonin, it borrows the mother's. During pregnancy, maternal melatonin crosses the placenta, which is part of how a fetus first becomes entrained to its mother's day-night rhythm in the womb. After birth, the supply continues through breast milk — and this is one of the more elegant facts in all of infant biology.
Breast milk is not nutritionally constant across the day. Milk produced at night contains markedly more melatonin than milk produced in the morning, along with shifts in other compounds that track the mother's own circadian rhythm. A nighttime feed, in other words, delivers a chemical message of night that the baby cannot yet generate alone. This is one reason many lactation specialists gently advise against feeding a baby freshly pumped morning milk at bedtime, or vice versa: the milk carries time-of-day information, and scrambling it sends a mixed signal.
It is worth sitting with how thoughtful this is. The infant arrives without a working clock, so the mother's body lends hers — first across the placenta, then through the breast — until the baby's own machinery comes online.
Around three months, the clock starts ticking
Somewhere in the window of roughly nine to twelve weeks, most babies begin secreting their own melatonin in a genuine daily rhythm. It is faint at first, then strengthens steadily across the following months. By around three to six months, a recognizable evening rise appears: levels begin climbing as light fades, producing for the first time a true biological pull toward sleep at a consistent time of day.
This maturation rarely arrives alone. Cortisol — melatonin's daytime counterpart, which peaks in the morning to promote alertness — develops its own rhythm over a similar stretch. Together these two hormones form the scaffolding of a real circadian schedule. It is no coincidence that this is precisely the age when parents start to notice their baby drifting toward something resembling a predictable bedtime, and when an evening routine suddenly begins to work where weeks earlier it did nothing at all. The routine didn't change. The hormones did.
What this means for the nights in front of you
The timeline carries a few genuinely useful, science-backed implications — useful whether or not you ever read another word about infant sleep.
Before about three months, stop fighting for a fixed bedtime. You are not failing to install a schedule; the hardware isn't there yet. Respond to tiredness and hunger as they come. A newborn's sleep is built on sleep pressure, not the clock.
Use light as the tool melatonin responds to. Even before your baby makes much of their own, light exposure is shaping the master clock. Bright, daylight-rich mornings and dim, low-light evenings are the single clearest signal you can send. Keep night feeds quiet and dark; keep daytime bright and social. You are teaching the suprachiasmatic nucleus the difference between day and night long before the pineal gland joins in.
Protect the dark in the evening once the rhythm emerges. From around three months on, your baby's own melatonin starts rising as the light drops — and screens and bright overhead lighting can blunt that rise just as they do in adults. The hour before bed is when dimness pays the largest dividend.
Expect the change, and welcome it. If the early weeks feel rhythmless, that's because they are. The arrival of a consistent bedtime around the three-to-four-month mark isn't something you have to force into being. It's a developmental milestone unfolding more or less on its own schedule — and recognizing it lets you stop straining against biology and start working with it.
The window you actually want to catch
The deeper lesson is that good infant sleep, especially early on, is less about discipline and more about timing — meeting the rising tide of sleepiness at the moment it crests, rather than imposing a clock the baby can't yet read. In the first months that tide is sleep pressure; as the weeks pass, the evening melatonin rise joins it. Either way, there is a real, shifting biological window for sleep, and catching it is the difference between a baby who settles and a baby who sails past tired into wired.
This is the problem Drowsy was built for. Instead of asking you to read a hormone chart in the half-light at 7 p.m., it learns your baby's patterns and predicts the next nap and bedtime window — the moment when sleep pressure and, later, melatonin are working in your favor rather than against you. It turns the invisible chemistry of this article into a single, concrete answer: now. If you'd like that answer without the guesswork, you can find Drowsy at drowsy.lumenlabs.works.