A coughing spasm is a sudden, uncontrollable burst of coughing that can leave you gasping for air, gagging, or even vomiting. These episodes are triggered by intense irritation in your airways that overwhelms your body’s normal cough reflex. To stop a spasm, you need to break the cycle of irritation—often with steam, warm fluids, or a change in position—while addressing the underlying cause, which is most commonly a viral infection, post-nasal drip, or asthma.
What Exactly Happens in Your Body During a Coughing Spasm?
A cough is a reflex designed to clear your airways of mucus, dust, or irritants. When something triggers the cough receptors in your throat and lungs, your brain sends a signal to close your vocal cords and build up pressure in your chest. Then, the cords open suddenly, forcing air out at high speed.
During a spasm, this reflex loops out of control. Each cough irritates the already sensitive airways, triggering another cough. The airway lining becomes swollen and inflamed, which narrows the passages and makes the cough even more forceful. This creates a self-perpetuating cycle that can be difficult to break without intervention.
What Causes Coughing Spasms And How To Stop Them?
Several distinct conditions can trigger these violent coughing episodes. Identifying the specific trigger is the first step toward stopping the spasms effectively.
Viral infections are the most common cause. The common cold, flu, and COVID-19 inflame the airways, leaving them highly sensitive. This sensitivity can last for weeks after the infection clears, a condition often called a post-viral cough.
Post-nasal drip occurs when excess mucus drips down the back of your throat. This constant trickle irritates the vocal cords and triggers coughing, especially when you lie down at night. Allergies, sinus infections, and cold weather can all increase mucus production.
Asthma is a major player. In asthma, the airways are hyper-responsive. Exposure to cold air, exercise, dust, or smoke can cause the muscles around the airways to tighten, producing a wheezing cough that can escalate into spasms. This is often called cough-variant asthma because coughing is the only symptom.
Acid reflux can cause coughing spasms without heartburn. Stomach acid can travel up into the esophagus and spill over into the throat and voice box. This micro-aspiration burns the delicate tissues there, triggering a violent cough reflex. This often happens at night or after large meals.
Pertussis, or whooping cough, is a bacterial infection that causes severe, rapid coughing followed by a high-pitched “whoop” sound as you gasp for air. This infection is highly contagious and can last for months. Vaccination reduces the risk, but immunity wanes over time, so adults can still get it.
Why Do Coughing Spasms Happen at Night?
Nighttime is a common time for coughing spasms, and there are several reasons why. When you lie flat, gravity no longer helps keep mucus and nasal drip from pooling in your throat. This pooling triggers the cough reflex repeatedly.
Acid reflux also gets worse when you lie down. Without gravity holding stomach contents down, acid can more easily creep up into the throat. Additionally, the body’s natural circadian rhythms can increase airway inflammation at night, making you more sensitive to triggers.
To reduce nighttime spasms, try elevating your head with an extra pillow. This uses gravity to keep mucus and acid where they belong. Drinking a sip of warm water before bed can also soothe the throat and thin out secretions.
What Are the Best Ways to Stop a Spasm in the Moment?
When a spasm hits, your priority is to break the cough cycle. The following techniques are widely used and can provide immediate relief while you address the root cause.
- Take slow, controlled breaths. Inhale gently through your nose and exhale slowly through pursed lips. This helps calm the overactive cough reflex and reduces airway spasm.
- Sip warm water. Warm fluids soothe the throat and help loosen thick mucus. A warm drink can also relax the airway muscles.
- Use steam. A hot shower or a bowl of steaming water can add moisture to the air, which calms irritated airways and thins mucus. This is especially effective for dry, tickly coughs.
- Suck on a hard candy or cough drop. The act of swallowing interrupts the cough reflex. The sugar and flavor also stimulate saliva production, which coats and soothes the throat.
If you feel a spasm coming on, try to swallow immediately. This simple action can sometimes abort the episode before it fully starts. Stay upright rather than lying down, as this reduces pressure on your airways.
When Should You See a Doctor for Coughing Spasms?
Most coughing spasms resolve on their own within three weeks. However, certain signs warrant a medical evaluation. You should see a doctor if your cough lasts longer than three weeks, if you cough up blood, or if you experience chest pain, shortness of breath, or a fever above 101°F.
Additionally, if your coughing spasms are accompanied by a “whoop” sound, if you feel like you are choking, or if the cough is severe enough to cause vomiting, seek medical attention. These symptoms can indicate pertussis, pneumonia, or a serious asthma flare-up that requires treatment.
For infants and young children, coughing spasms are more concerning. Their airways are smaller, and they dehydrate faster. If a child under six months has a persistent cough or shows signs of breathing difficulty, contact a pediatrician promptly.
What Treatments Can Prevent Future Spasms?
Treating the underlying cause is the only reliable way to prevent future episodes. Over-the-counter cough suppressants like dextromethorphan can help calm the reflex, but they do not treat the cause. They are most useful for dry, non-productive coughs that keep you awake at night.
For post-nasal drip, antihistamines and decongestants can reduce mucus production. A saline nasal rinse or spray can also clear the nasal passages and reduce the dripping that triggers coughing. For acid reflux, lifestyle changes like eating smaller meals, avoiding late-night snacks, and reducing caffeine and alcohol intake are the first-line approach.
For asthma, prescription inhalers are the standard treatment. A rescue inhaler provides immediate relief during a spasm, while a daily controller inhaler reduces airway inflammation over time. If you have been diagnosed with asthma, it is essential to use these medications exactly as prescribed.
For pertussis, antibiotics are effective if started early in the illness. However, even with antibiotics, the cough can persist for weeks because the bacteria damage the airways. Supportive care, including rest and fluids, is critical during recovery.
Are There Home Remedies That Actually Work?
Honey is one of the few home remedies with solid evidence behind it. Research has shown that a spoonful of honey can reduce nighttime coughing in adults and children over one year old. It coats the throat and has mild antimicrobial properties. Never give honey to infants under one year due to the risk of infant botulism.
Warm saltwater gargles can soothe an irritated throat and reduce swelling. Mix half a teaspoon of salt in a glass of warm water and gargle for 30 seconds. This is a simple, safe, and effective technique.
Staying well-hydrated is essential. Drinking plenty of fluids throughout the day keeps mucus thin and easier to clear. Aim for water, warm tea, or broth. Avoid caffeinated and alcoholic beverages, as they can dehydrate you and worsen the cough.
Using a cool-mist humidifier in your bedroom adds moisture to the air, which can prevent the throat from drying out overnight. Clean the humidifier regularly to prevent mold and bacteria growth, which could worsen your symptoms.
What Should You Avoid When You Have a Coughing Spasm?
Certain things can trigger or prolong a coughing spasm. Smoke—whether from tobacco, cannabis, or a fireplace—is a major irritant. Avoid all smoke exposure until your cough fully resolves.
Cold, dry air can also trigger spasms. If you must go outside in cold weather, cover your mouth and nose with a scarf. This warms and humidifies the air before it hits your airways.
Strong odors from perfumes, cleaning products, and air fresheners can also set off a spasm. These products contain volatile chemicals that irritate sensitive airways. Choose fragrance-free products while you recover.
Avoid lying flat immediately after eating. This is particularly important if reflux is a trigger. Stay upright for at least two to three hours after a meal to allow your stomach to empty.
Frequently Asked Questions
Can coughing spasms damage your lungs?
Prolonged or forceful coughing can strain your chest muscles and cause rib fractures in rare cases, but it does not permanently damage healthy lung tissue. The underlying condition causing the cough is what typically requires treatment.
How long do coughing spasms usually last?
Most coughing spasms last between one and three weeks if caused by a viral infection. If your cough persists beyond three weeks, you should see a doctor to rule out asthma, reflux, or a bacterial infection.
Is it safe to use cough suppressants for a coughing spasm?
Over-the-counter cough suppressants can be safe for short-term use in adults, but they are not recommended for children under six years old. They are most effective for dry coughs and should not be used if you are coughing up mucus, as you need to clear that from your lungs.
Can allergies cause coughing spasms?
Yes, allergies can trigger coughing spasms through post-nasal drip and airway inflammation. Avoiding allergens and using antihistamines can help reduce the frequency of these episodes.

