Sleeping with a bad cough is mostly a problem of gravity. When you lie flat, mucus from your sinuses drains toward the back of your throat, triggering the cough reflex repeatedly throughout the night. Acid from your stomach can also creep upward more easily in a horizontal position, irritating your airway. The good news: a few simple adjustments to your position, bedroom, and pre-bed routine can dramatically cut down on nighttime coughing.
Why Coughing Gets Worse at Night
During the day, gravity pulls mucus downward and you swallow it without thinking. The moment you lie down, that drainage pools at the back of your throat instead. This is especially true if you have a cold, sinus congestion, or allergies. Your airways also lose some of their structural support in the supine position, which can contribute to irritation and coughing in people with sensitive airways.
Acid reflux is the other major nighttime trigger. When you’re upright, gravity keeps stomach acid where it belongs. Lying flat lets it travel into your esophagus and even reach your throat, causing a dry, persistent cough that feels completely unrelated to a cold.
Elevate Your Head the Right Way
The single most effective change is raising your head and upper body. Cleveland Clinic recommends either adding an extra pillow or propping up the head of your bed itself. This keeps post-nasal drip from collecting in your throat and reduces acid reflux at the same time. A wedge pillow works well because it elevates your torso at a gradual angle rather than just cranking your neck forward, which can leave you with neck pain by morning.
If you don’t have a wedge pillow, folded blankets or towels placed under your mattress at the head end create a gentle slope. The goal is a modest incline for your whole upper body, not just your head stacked on three pillows.
Set Up Your Bedroom for Easier Breathing
Dry air irritates your throat and makes coughing worse. Running a cool-mist humidifier in your bedroom helps keep your airways moist. The Environmental Protection Agency recommends indoor humidity between 30% and 50%, though some research suggests up to 60% is fine. If you don’t own a humidifier, a hot shower right before bed serves a similar purpose by loosening mucus and soothing your throat temporarily.
If allergies are part of the problem, your bedroom air quality matters even more. A six-month study of HEPA air purifiers found they reduced dust mite allergen levels in the home and improved quality-of-life scores for people with allergic asthma. Keeping windows closed, washing bedding in hot water weekly, and removing pets from the bedroom at night all reduce the allergen load your airways deal with overnight.
A Pre-Bed Routine That Helps
What you do in the 30 minutes before bed can set you up for a quieter night. A saltwater gargle soothes an irritated throat and helps clear mucus. Mix a quarter to half teaspoon of salt into 8 ounces of warm water, gargle for 15 to 30 seconds, and spit it out. It won’t cure anything, but it reduces the tickle that triggers coughing as you’re trying to fall asleep.
A spoonful of honey coats the throat and has real evidence behind it. In a study of 105 children with coughs from upper respiratory infections, a single dose of buckwheat honey before bed improved cough severity, cough frequency, and sleep quality significantly more than no treatment. It performed just as well as dextromethorphan, the active ingredient in most over-the-counter cough suppressants. Honey works for adults too, stirred into warm (not hot) herbal tea or taken straight. One important exception: never give honey to a child under 12 months old, as it can contain botulism spores that infants can’t safely process.
If acid reflux is contributing to your cough, avoid eating within three hours of bedtime. This gives your stomach time to empty before you lie down. Spicy foods, citrus, chocolate, and caffeine are particularly likely to loosen the valve between your stomach and esophagus.
Do Over-the-Counter Cough Medicines Work?
The answer is less reassuring than most people expect. A controlled study of 100 children with upper respiratory infections found that neither dextromethorphan (a cough suppressant) nor diphenhydramine (an antihistamine found in many nighttime cold medicines) was more effective than a placebo at reducing cough frequency, severity, or sleep disruption. The dextromethorphan group actually reported more insomnia as a side effect, while the diphenhydramine group experienced more drowsiness, which sounds helpful but didn’t translate into better sleep outcomes.
That said, the study enrolled children who were already about four days into their illness, when the worst of a cold is often fading on its own. Some adults report that cough suppressants help them get through a particularly rough night. If you do use one, take it about 30 minutes before you plan to sleep. Choose a suppressant (look for “dextromethorphan” on the label) if you have a dry, hacking cough, or an expectorant (guaifenesin) if your cough is producing thick mucus you’re having trouble clearing. Don’t combine the two, as they work in opposite directions.
Keep Water Within Reach
A sip of water when a coughing fit starts can interrupt the cycle. Coughing irritates your throat, which triggers more coughing, which irritates your throat further. Water breaks that loop by soothing the tissue and washing away whatever is tickling the back of your throat. Keep a glass or bottle on your nightstand so you don’t have to fully wake up and get out of bed. Warm water or warm herbal tea in an insulated mug works even better if your cough is related to congestion.
Sleeping on Your Side vs. Your Back
Lying on your back is the worst position for a nighttime cough. It maximizes post-nasal drip pooling and gives acid reflux the easiest path upward. Sleeping on your side, particularly your left side, helps on both fronts. The left-side position keeps your stomach below your esophagus due to anatomy, reducing reflux. If you tend to roll onto your back during the night, placing a pillow behind you can help you stay on your side.
When a Nighttime Cough Needs Attention
A cough from a cold or mild upper respiratory infection typically fades within a couple of weeks. If yours persists beyond that, or if you notice thick greenish-yellow mucus, wheezing, fever, shortness of breath, or ankle swelling, something beyond a simple cold is going on. Coughing up blood or pink-tinged mucus, having chest pain, or difficulty breathing or swallowing calls for immediate medical evaluation.
A cough that only appears at night and lasts for weeks, especially without other cold symptoms, often points to acid reflux, asthma, or allergies rather than an infection. Each of these has effective treatments, but they require different approaches, so identifying the underlying cause matters.

