A barking cough is a harsh cough with a seal-like sound that comes from swelling in the upper airway around the voice box (larynx) and the windpipe (trachea). In adults the cough is often linked to a viral infection, and mucus tends to appear when the swelling spreads lower into the airways that lead to the lungs. Adults have a wider airway than young children, so the sound alone does not show how serious the cause is.
The Airway Changes Behind the Sound
The larynx and the upper trachea form a narrow tube that air has to pass through on the way to the lungs, and when the lining of this tube becomes inflamed and swollen the moving air will vibrate against the narrowed space and give the cough its deep barking tone. Reviews of airway infections note that the adult larynx has more room to take in swelling than the airway of a child, so the same infection that causes croup in a toddler will tend to cause hoarseness and a rough cough in an adult instead of a tight blockage.
Mucus comes into the picture when the infection or irritation reaches the bronchi (the branching tubes that carry air into the lungs), as the inflamed lining of the bronchi goes on to make more mucus than usual and the body then uses coughing in order to move that mucus upward and out. The NHS describes this pattern in acute bronchitis, where an infection irritates the bronchi so that they make extra mucus that the body then tries to clear by coughing.
Viral Causes Seen in Everyday Practice
A large share of barking coughs in adults follow a cold or another respiratory virus, and the usual picture is acute laryngitis (inflammation of the voice box) that can carry on into tracheitis and bronchitis as the infection moves down the airway. Published reviews describe acute laryngitis in adults as usually self-limited, which means that the inflammation tends to settle on its own over a period of days to a few weeks.
Acute bronchitis is a common reason for a cough with mucus, and the NHS states that bronchitis usually clears up in around three weeks, with a cough that is able to carry on for several weeks after other parts of the illness have gone.
Contact our team
How can we help you? Share your contact details to prepare your request.
How can we help?
By submitting you confirm you have read the privacy information and consent to the processing of your personal data.
Less Common Causes That Need Attention
Bacterial Tracheitis
Bacterial tracheitis is an infection of the trachea just below the voice box that tends to follow a viral illness, and the infected lining is able to produce thick mucus and crusts that narrow the airway. A review in the NCBI Bookshelf describes bacterial tracheitis as a potentially lethal infection that mostly affects children under six and that is rarely seen in adults, apart from people of any age who breathe through a tracheostomy (a surgical opening in the neck into the windpipe). The same literature notes that fever tends to be more frequent and more severe when tracheitis has a bacterial origin than when a virus is the cause, and adults with this rare infection are usually assessed in hospital.
Whooping Cough
Whooping cough (pertussis) is a bacterial infection of the airways and in many healthy adults it may show up as nothing more than a lingering cough, so it is not always tested for and is often taken for a cold. The CDC reported 35,435 pertussis cases in the United States in 2024 based on preliminary figures, compared with 7,063 cases in 2023 and 18,617 cases in 2019, and the agency noted that reported cases have trended down since a peak in November 2024. The CDC recommends that adults receive at least one booster dose of the pertussis vaccine.
Irritants and Other Airway Conditions
Smoke, strong fumes, acid reflux reaching the throat and long periods of heavy voice use are able to irritate the larynx and keep the lining inflamed, and a number of longer-term lung conditions such as asthma and chronic obstructive pulmonary disease (COPD) can add mucus to the picture. A pulmonology doctor will tend to look at these factors together when a cough lasts past the usual timeline of a viral infection.
Possible cause
Main part of the airway
Usual course in adults
Acute laryngitis
Voice box (larynx)
Usually self-limited
Acute bronchitis
Bronchi
Often settles in about 3 weeks
Bacterial tracheitis
Trachea below the voice box
Rare in adults and usually treated in hospital
Whooping cough
Trachea and bronchi
Cough can carry on for weeks
Risk Factors in Adults
Smoking and exposure to secondhand smoke irritate the lining of the larynx and bronchi and make it harder for the airway to clear mucus, so people who smoke tend to have coughs that last longer after a cold. Long-term lung conditions, a weakened immune system, older age and living or working with young children who bring home respiratory viruses all raise the chance of an airway infection going on to involve the lower airways.
Reasons a Barking Cough Can Become Urgent
The word urgent in relation to this cough refers to the small number of cases in which swelling or mucus narrows the airway enough to affect breathing, or in which a bacterial infection such as tracheitis or pneumonia has taken hold. Adults have a roomier airway than children and so serious narrowing is less common, and the risk is higher in people with a tracheostomy, a weak immune system or an existing lung condition.
Anyone who is worried about their breathing or who feels very unwell should contact emergency services straight away, and people with a cough that lasts longer than three weeks or that keeps changing can talk with a doctor about it.
Tests a Doctor May Arrange
A doctor who sees an adult with a lasting cough and mucus will often listen to the chest and may arrange a chest X-ray in order to look at the lungs and the larger airways. A sample of mucus (sputum) can be sent to a laboratory so that bacteria can be grown and identified, and a swab from the nose or throat is able to pick up viruses or the bacteria that cause whooping cough.
Breathing tests (spirometry) measure how much air the lungs are able to move and how quickly, and they are used in pulmonology when asthma or COPD is part of the question. A flexible camera passed into the airway (laryngoscopy or bronchoscopy) lets a specialist look directly at the larynx and the trachea in the less common cases where a closer view is needed.
Frequently Asked Questions
Is a barking cough in adults the same as croup?
Croup is mainly a childhood illness and the term usually describes swelling of the larynx and trachea in young children. Adults are able to get a similar viral inflammation, and because the adult airway is wider the illness tends to show up as laryngitis or tracheitis with a rough cough instead of the airway blockage seen in toddlers.
Can a barking cough with mucus be whooping cough?
Whooping cough in adults may show up as a lingering cough that is easy to mistake for a cold, and the CDC notes that adults are not always tested for it. A nose or throat swab can confirm the infection, so a doctor may suggest testing when the cough lasts for weeks or someone nearby has pertussis.
Does mucus color show whether an infection is bacterial?
Mucus color on its own is not a reliable guide to the type of infection, because viral infections are also able to produce yellow or green mucus as white blood cells collect in the airway. Doctors look at the length of the illness, the person’s health history and any test results together before judging the likely cause.
Should adults with a lasting cough see a pulmonology doctor?
A family doctor is usually the first point of contact for a cough, and many coughs settle within about three weeks. A referral to a pulmonology doctor tends to follow when the cough carries on for a long time, when tests show a lung condition or when the person already lives with asthma, COPD or another lung disease.
Are adults with a tracheostomy at higher risk of tracheitis?
Published reviews describe bacterial tracheitis as rare in adults overall and more likely in people of any age who breathe through a tracheostomy. The opening gives bacteria a direct route into the windpipe, so care teams for these patients keep a close watch on changes in mucus and breathing.
Speaking With a Pulmonology Doctor
Adults who have a barking cough with mucus that lasts beyond the usual course of a cold, or who already have a lung condition, can talk with a pulmonology doctor about what may be causing the cough and which tests could help. The care team will give advice that fits each person’s health history and results, and the appointment is also a good time to ask about vaccines such as the pertussis booster.
References
National Health Service (NHS). Bronchitis. https://www.nhs.uk/conditions/bronchitis/
Centers for Disease Control and Prevention (CDC). Pertussis Surveillance and Trends. https://www.cdc.gov/pertussis/php/surveillance/index.html
NCBI Bookshelf (StatPearls). Review of bacterial tracheitis. https://www.ncbi.nlm.nih.gov/books/NBK519531/
Review of community-acquired and nosocomial tracheitis in adults and children. PubMed Central. https://pmc.ncbi.nlm.nih.gov/articles/PMC7153446
MedlinePlus (U.S. National Library of Medicine). Acute bronchitis. https://medlineplus.gov/ency/article/001087.htm