Dog Coughing Up White Foam: What It Means

9 min read · updated Nov 23, 2026

A dog coughing up white foam can have an irritated airway, throat or lungs, a heart problem, or foam coming up from the stomach. Here are the emergency signs, the causes your vet checks and the tests that can find the reason.

A dog being cared for at home, illustrating dog coughing up white foam: what it means

A cough with white foam is a reason to see a vet the same day. Go to an emergency vet now if your dog is struggling to breathe, has pale, white, blue or grey gums, collapses, or is retching without bringing anything up while the belly swells; otherwise book a same-day appointment. A dog coughing up white foam is bringing up saliva and mucus from the throat and airways that the force of the cough has whipped into froth. The reason can sit in the windpipe, throat, lungs or heart, or the foam may be coming from the stomach rather than the chest, and a vet exam is how the cause is found. White foamy mucus or phlegm shows that something is irritating the airway or making it produce extra mucus. It does not show what that something is, and that is the question your vet answers.

When to go to the vet now

Go to an emergency vet now if your dog is coughing up white foam and has any of these signs:

  • Struggling to breathe, breathing fast or hard at rest, breathing with the mouth open, or stretching the neck out to get air
  • Pale, white, blue or grey gums or tongue
  • Collapse, fainting or sudden weakness
  • Retching or trying to vomit without bringing anything up, with a swollen or tight belly, drooling or restlessness
  • Blood or pink froth in what comes up
  • Choking, pawing at the mouth or non-stop gagging, as if something is stuck in the throat
  • Coughing, drooling or foaming after chewing, licking or swallowing something that might be toxic: call your vet or an animal poison control service now

Our guide to dog emergency signs covers other signs that need care straight away. Every other cough with white foam needs a same-day vet appointment.

What can cause a cough with white foam

The foam itself is a mix of saliva, mucus and air. When the lining of the windpipe or the small airways in the lungs is irritated, it makes more mucus to trap and clear whatever is bothering it. A strong cough pushes that mucus up into the throat, where it mixes with saliva and air, and a gag at the end of a coughing fit can bring it out of the mouth as white froth. That is why a dog coughing up white foamy mucus, or white foam and phlegm, has a sign rather than a diagnosis. The possibilities below are the problems your vet checks for. You cannot tell them apart at home, and some of them need care quickly.

Infections of the windpipe and airways are one possibility. Infectious tracheobronchitis, sometimes called kennel cough, is caused by a mix of viruses and bacteria that pass between dogs in close contact, such as at kennels, parks, training classes or grooming. It can cause a harsh, honking cough that ends in a gag and a little white foam. Canine influenza and other respiratory viruses can cause a similar cough along with a runny nose, a fever or low energy. Your vet checks for these infections and looks for any sign that the infection has spread deeper into the chest.

Pneumonia, an infection or inflammation deep in the lungs, is another cause your vet looks for. It can follow an airway infection, or it can start when food, water, vomit or saliva is breathed into the lungs instead of swallowed. This is called aspiration pneumonia, and it can happen after vomiting, after an anaesthetic, or in a dog with a swallowing or throat problem. A dog with pneumonia can cough up mucus and foam, breathe faster than before, eat less and seem flat and tired.

Problems with the structure of the windpipe and throat are also on the list. In tracheal collapse, the rings of cartilage that hold the windpipe open soften and flatten, so the airway narrows as the dog breathes. This can cause a dry, honking cough, sometimes set off by excitement, pressure on the neck or drinking, followed by gagging and white froth. In laryngeal paralysis, the voice box does not open fully when the dog breathes in, which can make breathing noisy, change the sound of the bark and cause coughing or gagging after eating or drinking. Both problems can make breathing hard in warm weather or with exercise, and a dog that is struggling to breathe needs an emergency vet now.

Something stuck in the throat or airway is another possibility. A grass seed, a splinter of stick, a piece of toy or a bit of food can lodge in the throat or be breathed into the windpipe. The dog may cough, gag, drool and bring up foam while trying to clear it. Never reach into your dog's mouth or throat to look for or pull anything out, because this can push an object deeper or lead to a bite. If you think something is stuck, or your dog is choking, go to an emergency vet now.

Inflammation of the airways without infection can also cause a foamy cough. Chronic bronchitis is long-lasting inflammation of the airways that makes them produce extra mucus. Some dogs react to things in the air, such as pollen, dust, mould, smoke or sprays, with an allergy-type swelling of the airways. These problems can cause coughing, white foamy phlegm and wheezing, which is a whistling or rattling sound as air squeezes through narrowed airways. Smoke from a fire, strong cleaning fumes or other irritants breathed in all at once can cause sudden coughing and breathing trouble, and that needs an emergency vet now.

Heart disease is also on the list your vet checks. An enlarged heart can press on the main airways and set off a cough. When the heart is not pumping well, fluid can build up in the lungs, and that fluid can mix with air and come up as froth. A dog with fluid in the lungs can breathe fast even when resting or asleep, tire quickly on walks or cough at night. Fast or hard breathing at rest is a reason to go to an emergency vet now.

Parasites in the heart or lungs are another possibility. Lungworm larvae are carried by slugs and snails and can reach a dog through contact with them or their slime, and the worms live in the blood vessels of the lungs. Heartworm is spread by mosquitoes and lives in the heart and nearby blood vessels. Both can cause coughing, and lungworm can also cause bleeding problems. Tell your vet if your dog has had contact with slugs or snails, so the right tests can be run.

A growth in the lungs, airway or chest is another cause your vet considers. A mass can irritate or press on the airways and cause a cough with mucus or foam, and your vet looks for this with imaging.

Sometimes the white foam is not coming from the chest at all. Coughing, gagging, retching and vomiting can look very alike, and a dog with nausea, acid reflux, an empty stomach or an upset gut can bring up white foam from the stomach. Our guide to dog vomiting white foam covers foam that comes from the stomach. Bloat, where the stomach fills with gas and can twist, can cause repeated retching that brings up only foam or nothing at all, along with a swollen belly, restlessness and drooling. Bloat is an emergency: go to an emergency vet now. Your vet works out whether the foam came from the airway or the stomach, and a short video of an episode on your phone can help.

Some substances can cause drooling, foaming at the mouth and coughing or gagging if a dog chews, licks or swallows them, such as certain plants, cleaning products, caustic chemicals or toads. If your dog may have got into something like this, call your vet or an animal poison control service now.

You can read more about these problems in our conditions library. Whatever the cause turns out to be, a cough with white foam needs a vet to find it.

What your vet may do

If your dog is struggling to breathe, the vet team deals with that first. They may give oxygen and keep your dog calm and still before doing anything else, because handling and tests can be hard on a dog that cannot get enough air.

Next, your vet asks about the cough: when it started, what sets it off, what comes up and what else you have seen. Then comes a full physical exam. Your vet listens to the heart and lungs with a stethoscope, checks the gums, temperature and breathing rate, feels the neck and throat, and may press gently on the windpipe to see whether that sets off the cough. Your vet also checks the belly and looks in the mouth and throat as far as your dog allows.

Depending on what the exam finds, your vet may suggest tests. Chest X-rays can show the lungs, the size of the heart and the windpipe, and can reveal pneumonia, fluid, a growth or a narrowed airway. Blood tests check for infection, inflammation and how the organs are working, and a clotting test may be added if lungworm is a concern. Your vet may run a heartworm test on a blood sample and check a stool sample for lungworm. If heart disease is a possibility, an ultrasound of the heart, called an echocardiogram, shows how the heart is pumping and whether the valves leak.

Some problems need a closer look. A moving X-ray, called fluoroscopy, can show the windpipe narrowing as your dog breathes. To check the voice box, your vet looks at the throat under light sedation while your dog breathes in and out. A camera passed into the airway, called bronchoscopy, lets the vet see the windpipe and airways and look for something stuck, and an airway wash collects mucus to test for infection and to look at the cells. Some dogs need sedation or a general anaesthetic for these tests. If bloat is a concern, an X-ray of the belly shows whether the stomach is swollen or twisted.

Treatment depends on the cause your vet finds. It can range from medicine for an infection or inflammation, to oxygen and hospital care, to surgery to remove something stuck or to correct a twisted stomach, to long-term care for a heart or airway condition. Ask questions and talk to your vet about what each test is for and what the results mean for your dog. If your dog already has a heart or airway condition, your vet can tell you how this cough fits with it. Do not give any medicine for the cough at home, and if you have questions about any part of the plan, talk to your veterinarian.

What to tell your vet

Before the visit, gather what you know so you can tell your vet clearly:

  • When you first noticed the cough and the white foam, and whether it started suddenly
  • Any change since then, such as more coughing, harder coughing, or coughing at night or at rest
  • Any blood or pink colour in the foam
  • Licking the lips, swallowing hard, drooling or pawing at the mouth
  • Other signs, such as fast or noisy breathing, wheezing, gagging, retching, a swollen belly, tiredness, less appetite or a change in the bark
  • Recent contact with other dogs, kennels or grooming, anything your dog may have chewed or swallowed, and any existing heart or airway condition

If you can, take a short video of a coughing episode on your phone and show it to your vet at the appointment.

Frequently asked questions

Is a cough with white foam an emergency in dogs?
It is an emergency if your dog is struggling to breathe, has pale, white, blue or grey gums, collapses, coughs up blood or retches without bringing anything up while the belly swells. Go to an emergency vet now for any of these. For any other cough with white foam, book a same-day vet appointment.
What should I do if my dog has a cough with white foam?
Call your vet today and book a same-day appointment. Tell them when the coughing started, what the foam looked like, whether there was blood and any other signs. If your dog is struggling to breathe, collapses, has pale, blue or grey gums or is retching without bringing anything up, go to an emergency vet now.
Can I treat a cough with white foam at home?
No, because the cause needs a vet to find it and some causes need care quickly. Do not put anything on or into your dog, do not give any medicine or home remedy to settle the cough, and do not reach into the mouth or throat to remove anything. Take your dog to the vet today.
Why is my dog coughing up white foam?
A dog coughing up white foam is bringing up mucus and saliva whipped with air by the force of the cough. Possible causes your vet checks include an airway infection, a narrowing windpipe, something stuck in the throat, heart or lung disease, parasites and stomach problems. Book a same-day vet visit to find the cause.
Why would a dog cough up white foam?
A dog would cough up white foam when something irritates or inflames the airway, throat or lungs and the body makes extra mucus to clear it. Hard coughing churns that mucus with air into froth. The trigger can be an infection, an irritant, a structural airway problem or disease elsewhere, and a vet exam may help find it.
What is it when a dog coughs up white foam?
The white foam is a mix of saliva, mucus from the airway and air. A forceful cough or a gag at the end of a coughing fit can push it out of the mouth. It is a sign, not a diagnosis, and your dog needs a same-day vet visit so the cause can be found.
What does it mean when a dog coughs up white foam?
It can mean your dog's airway, throat or lungs are irritated or working harder than they should, or that fluid or mucus is building up. It can also mean the dog is retching from the stomach rather than coughing. A vet exam can tell these apart, so book a same-day appointment, or go now if breathing is hard.
What makes a dog cough up white foam?
Several problems can make a dog cough up white foam, including kennel cough and other airway infections, pneumonia, a collapsing windpipe, a weak voice box, heart disease, lungworm or heartworm, inhaled smoke or dust, and something stuck in the throat. Your vet narrows these down with an exam and tests, so book a same-day visit.
What does it mean if my dog is coughing up white foam and gagging?
Gagging after a cough can happen as your dog tries to clear mucus from the throat, and it can also come from something stuck in the throat, a voice box problem, nausea or bloat. Go to an emergency vet now if your dog keeps retching without bringing anything up or struggles to breathe; otherwise book a same-day appointment.
What does it mean if my dog is coughing up white foam and wheezing?
Wheezing is a whistling or rattling sound as air squeezes through a narrowed or swollen airway. Together with a foamy cough, it can come from airway inflammation, an allergy-type reaction, an infection, a narrowing windpipe or fluid in the lungs. Go to an emergency vet now if your dog is struggling to breathe; otherwise see a vet today.

Educational content, not veterinary advice. Ask your vet about your dog.