Coughing up phlegm is not fun, but it serves a purpose. Your body makes this thick mucus to trap viruses, bacteria, and irritants in your lungs and airways. The goal is to get it out. The most effective method is called controlled coughing, or “huff coughing.” You take a slow, deep breath, hold it for two or three seconds, and then exhale in short, sharp bursts while saying “huff.” This moves phlegm from deep in your lungs up to your throat where you can spit it out. Research published in the journal Chest confirms this technique clears mucus more effectively than a standard, forceful cough, which often tires you out and can collapse your airways.
What Exactly Is Phlegm and Why Does It Get Stuck?
Phlegm is mucus made by your respiratory system. When you are healthy, mucus is thin and you swallow it without noticing. When you are sick, your body produces more mucus and it gets thicker. The color can tell you something. Clear or white phlegm is common with allergies or early infection. Yellow or green means your immune system is fighting something. Brown or black can happen from smoking or pollution. Red or pink streaks mean blood, and you should see a doctor.
Phlegm gets stuck when it is too thick or when your cilia — the tiny hairs that sweep mucus upward — are damaged or slow. Smoking, dry air, and dehydration all slow down your cilia. The American Lung Association notes that chronic lung conditions like COPD and bronchitis also make it harder to clear phlegm. When it sits in your lungs, it becomes a breeding ground for bacteria. That is why getting it out matters.
How To Cough Up Phlegm: Techniques That Actually Work
The controlled cough technique is the gold standard. Here is how to do it step by step. Sit upright in a chair. Lean forward slightly. Take a slow, deep breath through your nose. Hold it for two or three seconds. Open your mouth and exhale in three short, forced puffs while saying “huff, huff, huff.” Do not use your throat muscles. The air should come from your diaphragm. Repeat this two or three times, then take a normal breath. If you feel phlegm moving up, cough once to bring it into your mouth and spit it out.
Another method is postural drainage. This uses gravity to help move phlegm from different parts of your lungs. You lie in specific positions based on where the mucus is trapped. For example, lying on your side with your head down helps drain the middle part of your lung. The British Thoracic Society recommends doing postural drainage for 10 to 15 minutes, twice a day, combined with chest percussion — light clapping on your back. You can do this yourself or have a partner do it. It is especially helpful for people with cystic fibrosis or bronchiectasis.
Does Steam and Humidity Help Loosen Phlegm?
Yes, but the evidence is mixed on how much it helps. Moisture thins mucus, which makes it easier to move. Taking a hot shower or sitting in a steamy bathroom for 10 minutes can provide relief. A study in the Cochrane Database of Systematic Reviews found that steam inhalation did not consistently improve symptoms for people with the common cold, but many participants reported feeling better. The benefit may be mostly about comfort rather than actually clearing more phlegm.
Dry air makes mucus stickier. Using a humidifier in your bedroom at night can help, especially in winter when indoor heating dries out the air. Keep the humidity between 40 and 60 percent. Higher than that can grow mold and dust mites, which make respiratory problems worse. Clean your humidifier weekly to prevent bacteria from growing in the water tank. The CDC warns that dirty humidifiers can spread harmful organisms into the air you breathe.
What Does Research Say About Expectorants and Home Remedies?
Guaifenesin is the active ingredient in over-the-counter expectorants like Mucinex. It works by thinning the mucus in your airways so you can cough it up more easily. The FDA has approved it for this purpose. A 2014 review in the journal Lung found that guaifenesin significantly reduced mucus thickness and increased the likelihood of productive coughing in people with acute respiratory infections. It is not a miracle drug, but it does work for many people. Take it with plenty of water. Dehydration makes it less effective.
Honey is a popular home remedy. Research published in Archives of Pediatrics and Adolescent Medicine found that honey was more effective than diphenhydramine (Benadryl) for nighttime cough in children. Honey coats the throat and may have mild antibacterial properties. For adults, one to two teaspoons in warm water or tea can soothe irritation and make coughing less painful. Do not give honey to children under one year old due to the risk of botulism.
Ginger has anti-inflammatory compounds that may help relax airways. Some people report that ginger tea reduces coughing fits. Strong clinical evidence is lacking, but it is safe to try. The same goes for warm salt water gargles. Gargling does not reach the lungs, but it can soothe a sore throat irritated by constant coughing. If it helps you cough more comfortably, use it.
What to Avoid When You Are Trying to Cough Up Phlegm
Do not suppress a productive cough. Cough suppressants like dextromethorphan stop the cough reflex. If you have phlegm, you want to cough it out, not hold it in. The American College of Chest Physicians advises against using suppressants for wet coughs. They are meant for dry, hacking coughs that keep you awake. If you are coughing up phlegm, you need an expectorant, not a suppressant.
Do not lie flat for long periods. Gravity works against you when you are horizontal. Phlegm pools in the back of your lungs and becomes harder to cough up. If you need to rest, prop yourself up with pillows. Sleep at a 30 to 45 degree angle if you can. This position uses gravity to keep mucus from settling. It also reduces postnasal drip, which often triggers coughing at night.
Do not smoke or vape. Tobacco smoke paralyzes cilia and thickens mucus. Vaping is not safer for your lungs. A 2020 study in American Journal of Respiratory and Critical Care Medicine found that e-cigarette vapor impairs cilia function just like cigarette smoke. If you are trying to clear phlegm, any inhaled irritant makes the job harder. Secondhand smoke counts too. Avoid it.
When Should You See a Doctor About Phlegm?
Most phlegm clears up on its own within two to three weeks. You should see a doctor if you have been coughing up phlegm for more than three weeks without improvement. That could be a sign of chronic bronchitis, asthma, or a bacterial infection that needs antibiotics. If you cough up blood — even a small amount — call your doctor. Blood in phlegm can be caused by a minor issue like a torn blood vessel from coughing, but it can also be a sign of a more serious condition like pneumonia or lung cancer.
Other warning signs include shortness of breath, chest pain, fever over 101°F that lasts more than three days, or unintentional weight loss. The CDC recommends seeing a doctor if you have a chronic cough with phlegm along with any of these symptoms. If you have a preexisting lung condition like COPD or asthma, talk to your doctor at the first sign of a change in your phlegm. You may need a treatment plan adjustment or a course of antibiotics.
| Color | Possible Cause | When to See a Doctor |
|---|---|---|
| Clear or white | Allergies, early infection, dry air | Usually not needed |
| Yellow or green | Immune response, bacterial or viral infection | If lasts more than 10 days |
| Brown or black | Smoking, pollution, coal dust | If persistent or worsening |
| Red or pink | Blood from coughing, pneumonia, or lung injury | See doctor immediately |
- Drink plenty of water. Thinner mucus moves easier.
- Use a humidifier at night. Dry air thickens phlegm.
- Avoid dairy if you feel it makes mucus thicker. Some people report this, but evidence is weak.
- Do not hold in a productive cough. Let it out.
- Sleep propped up. Gravity helps keep mucus from pooling.
Common Misconceptions About Coughing Up Phlegm
Many people believe that coughing hard is the best way to clear mucus. It is not. Forceful coughing can collapse small airways and trap phlegm deeper. It also exhausts your respiratory muscles. The huff cough technique is more effective because it keeps airways open while moving mucus upward. If you are coughing so hard that your eyes water or you feel lightheaded, you are doing it wrong.
Another myth is that green phlegm always means you need antibiotics. Green color comes from an enzyme called myeloperoxidase that your immune cells release. It can happen with viral infections too. Antibiotics only work against bacteria. Your doctor needs to confirm a bacterial infection before prescribing them. Taking antibiotics unnecessarily contributes to antibiotic resistance and can cause side effects like diarrhea and yeast infections.
Some people think drinking milk makes phlegm thicker. This is widely claimed but strong evidence is limited. A study in the American Review of Respiratory Disease found no difference in mucus production between people who drank milk and those who did not. Some people may feel that milk coats their throat, but it does not increase the amount or thickness of phlegm in the lungs. If you feel it bothers you, avoid it. If not, there is no reason to cut it out.
Frequently Asked Questions
How do I force myself to cough up phlegm?
Use the huff cough technique — take a deep breath, hold it, then exhale in short bursts saying “huff.” This brings phlegm up from deep in your lungs without exhausting you.
What breaks up phlegm fast?
Drinking warm fluids like tea or broth thins mucus quickly. A hot shower or steam inhalation also helps loosen phlegm within minutes.
Is it better to spit out phlegm or swallow it?
Spit it out. Swallowing phlegm sends it to your stomach where acid breaks it down, but it can upset your stomach if you swallow a lot.
Can coughing up phlegm mean I am getting better?
Yes. Productive coughing means your body is clearing mucus and irritants from your lungs. It is a sign your immune system is working.

