Nighttime coughing in babies is most commonly caused by a viral respiratory infection, like a cold. The lying-down position, cooler air, and postnasal drip all conspire to make coughs worse after bedtime, even when your baby seemed fine during the day. While a garden-variety cold is the usual culprit, several other conditions can trigger nighttime coughing, and knowing what to listen for helps you figure out when it’s routine and when it needs attention.
The Common Cold and Postnasal Drip
A viral upper respiratory infection is the single most common reason babies cough at night. During the day, gravity helps mucus drain down the back of the throat without much trouble. Once your baby lies flat, that mucus pools and irritates the airway, triggering a cough reflex. You might notice your baby sounds congested, has a runny nose, or is slightly fussy, but otherwise seems like themselves between coughing fits.
These coughs typically last a week or two as the virus runs its course, though a lingering post-infection cough can stick around for three to four weeks. The cough itself isn’t harmful. It’s your baby’s body clearing mucus out of the airway.
Croup: The Barking Cough
If your baby’s cough sounds like a seal barking, croup is the likely cause. Croup is a viral infection that swells the airway around the vocal cords. When air pushes through that narrowed passage, it produces a distinctive, harsh barking sound that’s hard to mistake for anything else. Your baby may also make a high-pitched squeaking noise when breathing in, called stridor.
Croup symptoms are characteristically worse at night and usually last three to five days. Cool night air can actually help. Taking your baby outside briefly into cool air, or sitting in a bathroom with a warm shower running to create steam, often provides some relief. The first night or two tend to be the worst, and then symptoms gradually improve.
Asthma and Reactive Airways
In babies with asthma or sensitive airways, nighttime coughing can be a primary symptom. Research tracking coughing patterns in children with asthma found that the heaviest coughing happens in the two hours after going to bed and again around early morning, roughly 6 to 8 a.m. Some children in these studies coughed in hundreds of bouts over a single night.
Unlike a cold-related cough, an asthma cough tends to recur night after night without obvious signs of illness. You might also notice wheezing, faster breathing, or your baby seeming to work harder to breathe. If your baby coughs most nights for several weeks without a cold or other clear cause, asthma-related airway sensitivity is worth discussing with your pediatrician.
Reflux
Gastroesophageal reflux, where stomach contents flow back into the esophagus, is another nighttime cough trigger. Lying flat makes reflux worse because gravity is no longer keeping stomach acid down. Babies who cough from reflux often spit up frequently, arch their back during or after feedings, and may be fussier when laid down. The cough tends to happen shortly after feeding or when the baby has been lying flat for a while.
Smaller, more frequent feedings and keeping your baby upright for 20 to 30 minutes after eating can help reduce reflux episodes. Sleeping position matters too. Research suggests that lying on the right side increases reflux, though current safe sleep guidelines still call for placing babies on their backs on a firm, flat surface.
Whooping Cough (Pertussis)
Pertussis is less common thanks to vaccination, but it’s worth knowing the signs because it can be dangerous in young babies. The hallmark is paroxysmal coughing: rapid-fire bursts of coughing followed by a gasping breath that creates a “whooping” sound. These episodes are more common at night and can be triggered by noise or cold air. After a fit, your baby may vomit or briefly stop breathing.
In infants, pertussis often looks atypical. There may be no fever at all. Instead, the warning signs can be fast breathing, episodes where the baby turns blue, or pauses in breathing. Between coughing fits, the baby may look perfectly normal. If you notice repeated intense coughing spells, especially with color changes or breathing pauses, seek medical care promptly. Pertussis is treatable with antibiotics, and early treatment matters.
Environmental Triggers in the Nursery
Sometimes the cough isn’t from illness at all. Dry air irritates tiny airways, and heated indoor air in winter can drop humidity well below comfortable levels. Boston Children’s Hospital recommends keeping indoor humidity between 35 and 50 percent. Below that range, dry air can trigger coughing and make breathing harder. Above it, you create ideal conditions for dust mites, mold, and other allergens that also cause coughs.
A cool-mist humidifier in the nursery can help if your home runs dry. Passive cigarette smoke is the most common environmental factor linked to chronic cough in children, so keeping the baby’s sleeping area completely smoke-free is essential. Dust, pet dander, and strong fragrances from detergents or air fresheners can also irritate sensitive airways.
What You Can Do at Home
For babies over 12 months, a single dose of about half a teaspoon of honey before bed can reduce coughing and mucus production. There’s good clinical evidence supporting this simple remedy. Honey is not safe for babies under 1 year due to the risk of infant botulism.
For younger babies, saline nose drops followed by gentle suctioning with a bulb syringe before bed helps clear the mucus that triggers coughing when they lie down. Running a cool-mist humidifier keeps airways from drying out overnight. Keep the room comfortable but slightly cool, since overly warm, dry rooms worsen coughing.
One thing to avoid: propping up the crib mattress or placing your baby on an incline to sleep. The CDC and the American Academy of Pediatrics are clear that babies should sleep on a firm, flat surface. Inclined sleep surfaces increase the risk of suffocation and are not recommended, even when your baby is congested.
Signs That Need Medical Attention
Most nighttime coughs in babies are harmless and resolve on their own. But certain signs point to breathing difficulty that warrants a call to your pediatrician or a trip to the emergency room:
- Skin or lip color changes. A bluish tint around the lips or fingertips means your baby isn’t getting enough oxygen.
- Rib retractions. If you can see the muscles between or below the ribs pulling inward with each breath, your baby is working too hard to breathe.
- Nasal flaring. The nostrils widening with each breath is a sign of respiratory distress.
- Grunting. A small grunting sound at the end of each breath indicates your baby is trying to keep the airways open.
- Breathing pauses. Any episode where your baby stops breathing, even briefly, needs immediate evaluation.
- Fast or irregular breathing. Consistently rapid breathing at rest, or a heart rate that seems unusually fast or slow, signals distress.
A barking cough with loud stridor at rest (not just when crying), a cough that persists beyond three weeks, or coughing fits that cause vomiting or color changes are also reasons to get your baby evaluated. Trust what you’re seeing. If your baby’s breathing looks or sounds wrong to you, that instinct is worth acting on.

