Dog Coughing Up White Foam: Causes and Warning Signs

A dog coughing up white foam is usually producing a mix of saliva and air whipped together by repeated coughing. Unlike vomiting, where the abdomen contracts forcefully to eject stomach contents, coughing up foam involves little to no abdominal effort. The foam itself isn’t the problem; it’s a sign that something is irritating your dog’s airways, stomach, or both. The causes range from a mild infection that clears on its own to emergencies that need treatment within hours.

Coughing vs. Vomiting: How to Tell the Difference

Before figuring out why your dog is producing white foam, it helps to notice how it’s happening. When a dog vomits, the stomach muscles contract hard. You’ll see the whole abdomen heave. When a dog coughs up foam, the chest and throat do the work, and the belly stays relatively still. The foam appears because saliva or fluid in the airways gets aerated by the coughing motion.

This distinction matters because respiratory causes and digestive causes call for different responses. Watch your dog closely the next time it happens. If the foam comes after a string of dry, hacking coughs, you’re likely dealing with an airway issue. If you see retching, lip-licking, and belly contractions first, the source is more likely the stomach.

Kennel Cough: The Most Common Cause

Kennel cough is the single most frequent reason dogs cough up white foam. It’s a highly contagious respiratory infection, usually picked up at boarding facilities, dog parks, groomers, or any place dogs share air. The infection irritates the lining of the windpipe and airways, triggering a persistent dry cough. In many cases, the repeated coughing produces enough irritation that the dog brings up a small puddle of clear or white foam.

The cough typically lasts 7 to 10 days. Most healthy adult dogs recover without medication, though the coughing can sound alarming. If your dog is still eating, drinking, and acting normally between coughing episodes, kennel cough is a strong possibility, especially if they’ve recently been around other dogs.

Tracheal Collapse in Small Breeds

If your dog is a small breed, such as a Yorkshire Terrier, Pomeranian, Chihuahua, or toy Poodle, a collapsing trachea could be the culprit. The cartilage rings that hold the windpipe open gradually weaken, causing the airway to flatten during breathing. The hallmark is a persistent, harsh, dry cough often described as sounding like a goose honking.

Excitement, pulling on a leash, drinking water, or changes in temperature can trigger coughing episodes. In more advanced cases, you may notice wheezing when your dog breathes in, and in severe situations, the gums or tongue can turn blue or the dog may faint. Lightly touching the throat area will often trigger the cough in affected dogs.

Heart Disease and Fluid in the Lungs

In middle-aged and older dogs, coughing up white foam can signal congestive heart failure. When the heart can’t pump efficiently, fluid builds up in and around the lungs. This fluid mixes with air during breathing and coughing, producing frothy or foamy discharge.

Heart-related coughing tends to be worse at night or after lying down, and it often comes alongside other signs: tiring quickly on walks, breathing faster than usual at rest, or a swollen belly. A normal resting breathing rate for dogs is 15 to 30 breaths per minute. You can check this while your dog sleeps by watching the chest rise and fall for 30 seconds and doubling the count. If you’re consistently seeing rates above 30 breaths per minute, that’s a red flag worth acting on quickly.

Stomach and Digestive Causes

Sometimes white foam is coming from the stomach rather than the lungs. Bilious vomiting syndrome happens when bile flows backward from the intestines into an empty stomach, irritating the lining and triggering vomiting. The vomit often looks white, yellow, or greenish with a foamy or mucus-like texture. This is most common in dogs fed once a day or whose last meal was early in the evening, leaving the stomach empty through the night. It tends to happen in the early morning hours.

Splitting your dog’s daily food into two or three smaller meals, or offering a small snack before bed, often resolves it.

Bloat: The Emergency to Rule Out

Gastric dilatation-volvulus, commonly called bloat, is the most dangerous possibility. The stomach fills with gas and can twist on itself, cutting off blood flow. Affected dogs will retch and produce foam or frothy saliva but can’t actually vomit anything substantial up. Other signs include a visibly swollen or tight abdomen, restlessness, pacing, drooling, and obvious pain (whining if you press on the belly).

This is a true emergency. Without treatment, a dog with bloat can go into shock within one to two hours, and the condition is fatal without surgery. Large, deep-chested breeds like Great Danes, German Shepherds, and Standard Poodles are at highest risk. If your dog is retching unproductively with a distended belly, don’t wait to see if it passes.

Aspiration Pneumonia

Dogs that inhale food, water, or vomit into their lungs can develop aspiration pneumonia. This is more common in flat-faced breeds (Bulldogs, Pugs, Boston Terriers, Boxers) and in dogs with swallowing difficulties or an enlarged esophagus. Puppies being bottle-fed too quickly are also at risk.

Signs include coughing, difficulty breathing, fever, nasal discharge, and reduced energy or exercise tolerance. In severe cases, the gums and tongue turn blue from lack of oxygen. Aspiration pneumonia requires veterinary treatment with antibiotics and sometimes oxygen support.

What Your Vet Will Look For

If the coughing persists beyond a few days, gets worse, or comes with other symptoms, your vet has several tools to pinpoint the cause. The starting workup typically includes blood tests, a stool sample to check for lung parasites, and chest X-rays. X-rays alone can reveal a lot: fluid in or around the lungs, an abnormally sized heart, a narrowed trachea, or even tumors.

If heartworm is common in your area, a blood test for that will likely be part of the panel. For suspected heart disease, an ultrasound of the heart (echocardiogram) gives a detailed look at how well the chambers and valves are functioning. When the cause still isn’t clear, your vet may recommend bronchoscopy, where a tiny flexible camera is passed down the windpipe to visually inspect the airways and collect samples for analysis.

Signs That Need Immediate Attention

A single episode of coughing up foam in an otherwise happy, energetic dog is rarely an emergency. But certain combinations of symptoms change the picture fast:

  • Distended abdomen with unproductive retching: suggests bloat, which can be fatal in hours.
  • Blue or pale gums: means your dog isn’t getting enough oxygen.
  • Labored breathing or breathing with visible effort: points to serious lung or heart involvement.
  • Resting respiratory rate consistently above 30 breaths per minute: may indicate fluid buildup in the lungs.
  • Collapse or fainting: can occur with severe tracheal collapse, heart disease, or bloat.

For everything else, keep a short log of when the coughing happens, how long episodes last, and whether your dog is eating and drinking normally. That information helps your vet narrow down the cause much faster than a general description of “coughing up white foam.”