How to Get a Baby to Sleep Through the Night

Getting a baby to sleep comes down to three things: timing, environment, and consistency. Newborns sleep 16 to 17 hours a day but rarely more than one to two hours at a stretch, so the challenge isn’t total sleep quantity. It’s helping your baby link those short cycles together and, over time, sleep for longer stretches at night.

Why Babies Sleep So Differently From Adults

About half of a baby’s sleep time is spent in the light, active phase (the equivalent of REM sleep in adults). That’s a much higher proportion than older children or adults experience. During active sleep, babies twitch, make sounds, and wake easily. Their sleep cycles are also shorter, which means they surface to near-wakefulness more often than you do.

As babies grow, their brains begin cycling through deeper and lighter phases of sleep, more like adult sleep architecture. This transition typically starts around three to four months. Ironically, it often makes sleep worse before it gets better: adjusting to lighter phases of sleep means babies are more likely to wake fully between cycles. This is the well-known four-month sleep regression, and it’s a sign of normal brain development, not a problem to fix.

Babies also can’t regulate their own sleep-wake rhythm at first. The pineal gland, which produces the sleep hormone melatonin, doesn’t fully mature until several months into the first year. Until that internal clock kicks in, your baby genuinely doesn’t know the difference between day and night. By about three months, most babies start producing enough melatonin to develop a more predictable pattern, and many begin sleeping six to eight hours without waking.

Catching Sleep Cues Before They Pass

One of the most effective things you can do is put your baby down at the right moment. Too early and they’re not tired enough to settle. Too late and their body floods with cortisol and adrenaline, making them wired and harder to calm. Learning to read early sleepiness cues gives you a window to act before that overtired spiral starts.

Early cues are subtle. Watch for yawning, droopy eyelids, staring into the distance, or furrowed brows. Your baby might rub their eyes, pull on their ears, or start sucking their fingers. Another reliable signal: turning away from stimulation. If your baby loses interest in feeding, toys, or your face and seems to disengage from their surroundings, they’re telling you they’re ready for sleep.

Overtired babies look very different. They cry louder and more frantically than usual, clench their fists, and arch their backs. Some babies even start sweating, because the stress hormone cortisol rises with exhaustion. If you’re seeing these signs regularly, try starting your wind-down routine 15 to 20 minutes earlier.

Setting Up the Right Sleep Environment

Keep the room temperature between 68 and 78 degrees Fahrenheit. A good rule of thumb: if you’re comfortable in the room, your baby likely is too. Dress them in one layer more than you’d wear, and skip heavy blankets entirely.

Darkness matters, especially after the first few months when melatonin production begins. A dark room reinforces the signal that it’s time for sleep. During daytime naps, you don’t need to replicate nighttime darkness perfectly, but dimming the space helps.

White noise can be genuinely useful. It masks household sounds that might wake a baby during those frequent light-sleep phases. The key safety detail: keep the volume below 50 decibels (about as loud as a quiet conversation) and place the machine at least two feet from the crib. Many machines go far louder than that at maximum volume, so test yours with a free decibel meter app on your phone.

Safe Sleep Surface Essentials

The sleep surface itself should be firm, flat, and free of extras. That means no pillows, quilts, comforters, bumper pads, stuffed animals, or loose blankets in the crib. Weighted blankets and weighted swaddles are also not recommended. The only thing in the crib should be your baby on a fitted sheet.

The American Academy of Pediatrics recommends room-sharing (but not bed-sharing) for at least the first six months. Your baby sleeps on their own surface, close to your bed. Placing an infant on an adult mattress, couch, or armchair for sleep significantly raises the risk of suffocation. If you’re in a pinch without a crib, a firm, flat surface like a play yard or even a rigid-sided basket with thin, firm padding is safer than a soft adult bed while you arrange something better.

Building a Bedtime Routine That Works

Babies can’t tell time, but they can recognize patterns. A short, consistent sequence of events before sleep teaches your baby’s brain to anticipate what comes next. The routine doesn’t need to be elaborate. A diaper change, a feeding, a few minutes of gentle rocking or singing, then placing them in their crib drowsy but awake. The whole thing can take 15 to 30 minutes.

The “drowsy but awake” part is the hardest piece for most parents, and it won’t work every time, especially in the first two months. The goal is gradually teaching your baby to fall asleep in the place where they’ll stay asleep, so they aren’t startled when they surface between sleep cycles and find themselves somewhere different from where they dozed off. This takes practice. Some nights you’ll nail it, and some nights you’ll end up rocking them fully to sleep, and that’s fine.

During the day, expose your baby to natural light and normal household noise. At night, keep things dim, quiet, and boring. This contrast helps train their developing circadian rhythm to distinguish day from night, especially in those early weeks before melatonin production kicks in.

Night Feedings and Dream Feeds

Young babies need to eat at night. Their stomachs are small, and going long stretches without feeding isn’t realistic or healthy in the first months. But how you handle night feedings shapes whether your baby drifts back to sleep easily or wakes up fully.

Keep night feeds low-key: minimal light, minimal talking, no play. Feed, burp, and lay them back down. The less stimulating the interaction, the easier it is for both of you to return to sleep.

A technique called dream feeding involves offering a feed two to three hours after bedtime without fully waking your baby. You gently lift them, offer the breast or bottle while they’re still mostly asleep, and ease them back down. The idea is that a full stomach helps them sleep a longer uninterrupted stretch, which also means a longer stretch for you. Research on dream feeding is limited, but many parents report it extends their baby’s first block of nighttime sleep noticeably. It’s worth experimenting with for a week or so to see if it helps your particular baby.

What Changes Month by Month

Newborns (0 to 2 months) sleep in short bursts around the clock and don’t have a set bedtime. Your only real job at this stage is safe sleep positioning and learning your baby’s cues. Don’t worry about “bad habits” yet.

Around 3 months, most babies consolidate their longest sleep stretch at night, often reaching six to eight hours. This is when a bedtime routine starts to gain traction, and when you can begin gently encouraging self-settling by putting them down drowsy.

Between 4 and 6 months, you may hit a rocky patch as sleep architecture matures. Your baby who was sleeping well might suddenly wake every two hours again. This is temporary. Stay consistent with your routine, and it typically resolves within two to six weeks.

From 6 to 12 months, total sleep needs settle to roughly 12 to 16 hours per day including naps. Babies at this age are physically capable of sleeping through the night without a feeding, though many still wake out of habit or comfort. This is the age range where structured sleep training approaches (if you choose to use one) tend to be most effective, because the circadian system is functional and the baby is developmentally ready to learn self-soothing.

When Sleep Won’t Come Despite Everything

Some babies are simply harder to settle than others, and that isn’t a reflection of your parenting. Factors like reflux, food sensitivities, ear infections, and teething can all disrupt sleep in ways that no amount of routine will override. If your baby seems to be in pain, is extremely difficult to console, or was sleeping well and suddenly isn’t (outside the typical regression windows), something physical may be going on.

It also helps to know that “sleeping through the night” is a somewhat misleading phrase. Even adults wake briefly between sleep cycles. The difference is that adults roll over and fall back asleep without remembering it. That’s the skill your baby is slowly building. Progress isn’t always linear, and a bad week doesn’t erase the good ones that came before it.