Most coughs are preventable, or at least reducible, with a combination of hygiene habits, environmental adjustments, and attention to common triggers. Whether you’re trying to avoid catching a respiratory illness or managing a persistent cough that keeps flaring up, the strategies below target the most common causes at their source.
Keep Your Airways Hydrated
Your airways are lined with a thin layer of liquid that traps and clears out particles, bacteria, and irritants before they can trigger a cough. This system depends on staying properly hydrated. When the airway surface dries out, the mucus layer thickens and becomes sticky. It adheres to the airway walls instead of moving freely, and the protective layer closest to your cells collapses. The result is mucus plugs, irritation, and coughing.
Drinking enough water throughout the day helps maintain that fluid balance. There’s no magic number of glasses, but if your urine is pale yellow, you’re generally in good shape. Warm liquids like tea or broth can also soothe irritated airways in the short term. Indoor humidity matters just as much: keeping your home between 40 and 60 percent relative humidity minimizes irritation to the mucous membranes in your nose, throat, and lungs. A simple hygrometer (available for a few dollars at most hardware stores) lets you monitor levels. In dry climates or during winter, a humidifier in the bedroom can make a noticeable difference, especially for nighttime coughing.
Wash Your Hands Consistently
Handwashing with soap reduces respiratory infections like colds by about 20 percent, according to CDC data. That may sound modest, but it translates to roughly one in five colds you’d otherwise catch. Since post-infectious cough (the lingering cough after a cold) can last three to eight weeks, preventing even one cold per year saves you weeks of coughing.
The key moments: after using the bathroom, before eating, after being in public spaces, and after blowing your nose or touching your face. Soap and water for 20 seconds is the gold standard. Alcohol-based hand sanitizer works when a sink isn’t available, though it’s less effective against certain viruses.
Stay Up to Date on Vaccines
Three vaccines directly target illnesses known for causing prolonged coughing: the annual flu shot, the Tdap vaccine (which covers whooping cough), and the pneumococcal vaccine.
For the 2024-2025 flu season, the influenza vaccine reduced outpatient flu illness by 32 to 60 percent in children and 36 to 54 percent in adults, depending on the study network. Protection against flu-related hospitalization was even stronger, reaching 78 percent in some pediatric groups and up to 57 percent in older adults. Whooping cough, meanwhile, causes a violent cough that can persist for months. The Tdap booster is especially important for adults who haven’t had one in the past decade and for pregnant individuals, who pass protection to their newborns. Pneumococcal vaccines protect against bacterial pneumonia, a common cause of deep, productive coughs that can turn serious.
Clean Up Your Indoor Air
Indoor air quality has a direct impact on cough frequency, especially if you spend most of your time at home or in an office. HEPA filters remove at least 99.97 percent of airborne particles, including dust, pollen, mold spores, bacteria, and pet dander. A portable HEPA air purifier in your bedroom or main living area reduces your exposure to these common cough triggers during the hours you’re most stationary.
Beyond filtration, basic habits help: vacuuming with a HEPA-equipped vacuum at least once a week, keeping windows closed on high-pollen days, and running exhaust fans while cooking to clear smoke and fumes. If you use a humidifier, clean it regularly to prevent mold growth inside the unit, which would defeat the purpose entirely.
Avoid Smoke and Strong Irritants
Secondhand smoke is one of the most potent cough triggers. Nonsmokers exposed to secondhand smoke are 83 percent more likely to develop chronic cough compared to those who aren’t exposed. That increased risk applies even with casual or intermittent exposure, such as living with a smoker or spending time in areas where people smoke nearby.
If you smoke, quitting is the single most effective step you can take. “Smoker’s cough” results from ongoing damage to the airway lining, and it typically improves within one to three months of stopping. Other common airborne irritants that provoke coughing include strong cleaning products, perfumes, paint fumes, and wildfire smoke. When you can’t avoid exposure, wearing a well-fitted mask (N95 or KN95) significantly reduces the amount of particulate matter reaching your lungs.
Manage Acid Reflux Before It Reaches Your Throat
Acid reflux is one of the top three causes of chronic cough, and many people with reflux-related cough never experience classic heartburn. Stomach acid travels up and irritates the throat and upper airway, triggering a dry, persistent cough that’s often worse after meals or at night.
Lifestyle changes can reduce or eliminate this trigger. Stay upright for at least 30 minutes after eating so gravity keeps acid in your stomach. Eat smaller portions rather than large meals. Avoid eating within two to three hours of bedtime. Common dietary triggers include coffee, alcohol, tomato-based foods, citrus, chocolate, and spicy dishes, though individual triggers vary. Stress management also plays a role, as stress increases acid production and can worsen reflux episodes.
Elevate Your Head at Night
Nighttime coughing is often worse than daytime coughing because lying flat allows mucus from post-nasal drip to pool at the back of your throat, and it makes acid reflux more likely. Elevating your head while sleeping helps on both fronts.
Adding an extra pillow or using a wedge pillow keeps drainage moving downward instead of collecting in your throat. Raising the head of your bed by placing blocks under the legs is another option that keeps your whole upper body at a gentle incline. Just avoid going too high, as excessive elevation can cause neck pain and poor sleep quality, which works against you. A modest angle, roughly 15 to 30 degrees, is typically enough to notice a difference.
Consider Vitamin D If You’re Deficient
Vitamin D plays a role in immune function, and supplementation has been shown to reduce the risk of respiratory tract infections by about 36 percent overall. The benefit is most pronounced in people who are already deficient and in those taking a daily dose rather than large monthly doses. A World Health Organization review found that daily doses under 800 IU were protective against respiratory infections, while higher doses and infrequent megadoses did not show the same benefit.
If you live in a northern climate, have darker skin, spend most of your time indoors, or have tested low on a blood panel, a daily vitamin D supplement in the 300 to 800 IU range is a reasonable preventive measure. Since the protective effect depends on correcting a deficiency rather than loading up beyond normal levels, more is not better here.
Control Allergy Triggers at Home
Allergies are a major driver of chronic cough, particularly through post-nasal drip. Dust mites, pet dander, mold, and pollen are the most common household triggers. While allergen-proof mattress covers do reduce dust mite allergen levels on bedding surfaces, clinical trials have found that this measure alone doesn’t significantly improve cough or other airway symptoms in people with moderate to severe allergies. That means you need a broader approach.
Combining multiple strategies works best: washing bedding weekly in hot water (at least 130°F), using a HEPA air purifier, keeping pets out of the bedroom, and addressing any sources of moisture that could promote mold growth. Over-the-counter antihistamines or nasal corticosteroid sprays can calm the allergic response that drives post-nasal drip and coughing. If your cough follows a seasonal pattern, starting allergy treatment a week or two before your usual flare-up season gives the medication time to build up its effect.