Why Your Cough Gets Worse at Night — and What to Do About It

You know the scenario: You lie down after a long day of feeling lousy, only to find that you can’t stop coughing. Just when you need sleep the most, your cough gets worse, leading to a night of tossing and turning.
Fortunately, you can take some steps to cough less at night so you can get some much-needed rest and feel better soon.
The Science Behind a Cough That’s Worse at Night
Why does a cough get worse at night? These reasons explain why.
Gravity
The No. 1 factor that makes your cough worse at night is simple: gravity. “When we lie down, mucus [drips from the nose into the throat and] automatically begins to pool,” says Mitchell Blass, MD, of Georgia Infectious Diseases in Atlanta. A cough is simply the body’s natural reflex to clear the airways.
The best way to counteract this gravitational pull is elevation. “Sleep with a pillow propping you up a little,” Dr. Blass suggests. “It will help keep the mucus from collecting in the back of the throat.”
Also, some people have a nighttime cough because of acid reflux. If you’re lying on your back, it’s easy for the acid from your stomach to come up and then get into your airways, causing irritation and cough.
To help prevent this, you can:
- Avoid eating within two hours of bedtime.
- Steer clear of foods and drinks that could cause reflux, such as chocolate, coffee, spicy and fatty foods, full fat dairy, and wine.
- Keep the head of your bed elevated.
Your Sleep Environment
“Humidifiers are not always safe,” Blass says. “If the water you put in it isn’t sterile, you run the risk of cycling the germs back into the air or breeding other diseases.”
This can lead to complications like bacterial infections, Blass says. “Many flu-related deaths are caused by pneumonia that hits after people think they’re over the flu,” he says. To ensure that you use a humidifier safely, carefully follow all the directions that come with it.
Next up video playing in 10 seconds
7 Home Remedies To Stop A Bad Cough
How to Manage a Nighttime Cough
When it seems like you just can’t get any shut-eye, you can try some simple tips. Here’s how to stop coughing at night:
Try cough medicine. Nighttime cough medicines typically contain an antihistamine that can help you sleep, Russell says. “Benadryl does a great job stopping allergies and postnasal drip with the side effect that it makes you sleepy,” he says, adding that it dries up your nose and helps stop the cough.
When to See a Doctor About Your Cough
- Makes a whooping or barking sound
- Causes you to vomit
- Happens along with a fever lasting more than two days
- Produces a green, yellow, or bloody mucus
The Takeaway
- Rest is vital to fight off infections like colds and the flu. So if a cough is keeping you up at night, try remedies like elevating the head of your bed, staying hydrated, and sucking on a cough drop.
- A humidifier can add moisture to dry air, which may reduce nighttime coughing. Just make sure to refill it with sterile water to avoid additional health risks.
- If your cough lasts for more than a week or becomes worse, see a healthcare professional to find out if there is an underlying condition or need for further treatment.
Additional reporting by Jennifer D’Angelo Friedman.
- Lack of Sleep: Can It Make You Sick? Mayo Clinic. January 24, 2025.
- Acid Reflux and GERD. Cleveland Clinic. September 28, 2023.
- Why Are You Coughing at Night? Harvard Health Publishing. August 1, 2023.
- Allergens That Impact Sleep. Sleep Foundation. December 21, 2023.
- Cough. Mayo Clinic. December 11, 2024.
- Abuelgasim H et al. Effectiveness of Honey for Symptomatic Relief in Upper Respiratory Tract Infections: A Systematic Review and Meta-Analysis. BMJ Evidence Based Medicine. April 2021.
- Can Honey Really Help a Cough? Cleveland Clinic. November 5, 2025.
- Is It OK to Use Over-the-Counter Antihistamines to Treat Insomnia? I'd Like to Avoid Prescription Sleep Aids. Mayo Clinic. December 5, 2023.
- What Doctors Wish Patients Knew About Which Cold Medicines Work. American Medical Association. February 10, 2025.
- Watch Out for Dangerous Combinations of Over-the-Counter Cold Medicine and Prescription Drugs – Two Pharmacoepidemiology Experts Explain the Risk. Ohio State University. April 21, 2023.
- What Is Nocturnal Asthma? Allergy & Asthma Network.
- Common Cold. Cleveland Clinic. February 7, 2023.
- Cough. Cleveland Clinic. August 18, 2023.
- Chronic Cough. Mayo Clinic. October 29, 2024.

Michael S. Niederman, MD
Medical Reviewer
Michael S. Niederman, MD, is the lead academic and patient quality officer in the division of pulmonary and critical care medicine at Weill Cornell Medical Center in New York City;...

Lisa McClure Guthrie
Author
Lisa McClure Guthrie is a senior health editor at WebMD, where she oversees medical reference articles, features, and other content on a variety of medical topics. She was a writer...