Why Is My Dog Coughing and Throwing Up: Causes Explained

When a dog coughs and then throws up, it usually means one of two things: the coughing itself is triggering a gag reflex, or a separate stomach issue is happening alongside a respiratory problem. The distinction matters because the cause ranges from a mild infection that clears up in a week to a life-threatening emergency. Understanding what you’re actually seeing, and what other signs to look for, will help you figure out how urgent the situation is.

One important thing to know upfront: many dogs retch or gag at the end of a coughing fit, and owners understandably interpret this as vomiting. Veterinary specialists note that clients frequently confuse coughing with gagging, and that dogs often retch after a bout of coughing, leading people to assume a stomach problem when the real issue is in the airways. So your first job is to watch closely and determine whether your dog is truly vomiting (bringing up food or bile from the stomach) or just gagging up mucus or foam after coughing.

Kennel Cough: The Most Common Culprit

If your otherwise healthy dog suddenly develops a loud, high-pitched, persistent “honking” cough, the most likely explanation is infectious tracheobronchitis, commonly called kennel cough. Many owners initially feel their dog is trying to clear something stuck in their throat. After a coughing episode, the dog may cough up mucus, which can look a lot like vomiting.

Kennel cough shows up two to ten days after exposure to an infected dog, with six days being typical. You may also notice sneezing, nasal or eye discharge, mild fever, low energy, or a decreased appetite. Activity tends to make the coughing worse. The good news: most dogs recover fully within seven to ten days, especially with early treatment. If your dog was recently boarded, at a dog park, or around other dogs and then developed this honking cough, kennel cough is the leading suspect.

Tracheal Collapse in Small Breeds

If you have a Pomeranian, Yorkie, Chihuahua, or another toy breed, a persistent harsh, dry cough often described as sounding like a “goose honk” could point to tracheal collapse. This happens when the cartilage rings supporting the windpipe weaken and flatten, partially blocking airflow.

The cough tends to flare up with specific triggers: excitement, physical activity, heat and humidity, inhaled irritants like smoke, or pressure on the neck from a collar. Unlike kennel cough, this doesn’t resolve in a week or two. It’s a chronic structural condition that worsens over time, though it can be managed with weight control, a harness instead of a collar, and sometimes medication or surgery.

Heart Disease and Fluid Buildup

In middle-aged and older dogs, coughing can signal heart disease. When the heart can’t pump efficiently, fluid builds up in or around the lungs. This produces a cough that’s often worse at night or after lying down, and it may be accompanied by reduced exercise tolerance, rapid breathing, or fatigue after mild activity.

A cardiac cough tends to develop gradually rather than appearing overnight. If your older dog has been coughing more over weeks or months, especially if the cough is soft and moist rather than the sharp honk of kennel cough, heart disease belongs on the list of possibilities. Worsening cough in a dog already diagnosed with heart failure can indicate the condition is progressing.

Heartworm Disease

Heartworms are foot-long parasites that live in the heart, lungs, and surrounding blood vessels. They cause inflammation, block blood flow, and can lead to clots in the lungs and heart failure. The classic signs include a mild persistent cough, reluctance to exercise, fatigue after moderate activity, decreased appetite, and weight loss.

Heartworm disease has been diagnosed in all 50 states, and infection rates vary unpredictably from year to year, even within the same community. If your dog isn’t on a heartworm preventive, or if doses have been missed, this is worth testing for. The cough from heartworms develops slowly as the worms mature and cause progressive lung damage.

Acid Reflux and True Vomiting

Sometimes the coughing and vomiting really are two separate problems happening at once. Dogs can develop gastroesophageal reflux, where stomach acid flows back into the esophagus. The acid irritates the esophageal lining and can trigger a chronic cough. In severe cases, dogs can inhale small amounts of stomach contents into the lungs, causing aspiration pneumonia, a serious complication that brings on coughing, fever, and difficulty breathing.

If your dog seems to cough more after eating, or if you’re seeing actual stomach contents (food or yellow bile) rather than just mucus or foam, a gastrointestinal issue may be driving the problem rather than a respiratory one.

Reverse Sneezing: Alarming but Harmless

Some dogs make a dramatic snorting, choking sound that looks like they’re struggling to breathe or about to vomit. This is often reverse sneezing, where air is rapidly pulled inward through the nose while the opening to the windpipe closes. It’s essentially a sneeze in reverse.

During an episode, the dog typically stands with its neck extended, head tilted back, elbows pointed outward, nostrils flared, and mouth closed. Episodes last from a few seconds to a couple of minutes, then stop on their own. Reverse sneezing is common, harmless, and requires no treatment. If you can capture a video of what your dog is doing, it helps enormously in telling this apart from a true cough or choking episode.

Signs That Need Emergency Care

Most coughing in dogs is not an emergency. But two scenarios require an immediate trip to the vet.

The first is non-productive retching, where your dog repeatedly tries to vomit but nothing comes up except perhaps foamy saliva. Combined with restlessness, pacing, excessive drooling, or looking at their abdomen, this pattern suggests gastric dilatation-volvulus (bloat). The stomach twists, trapping its contents so nothing can escape through vomiting. Bloat is fatal without emergency surgery, and large, deep-chested breeds are most at risk.

The second is respiratory distress. A normal breathing rate for dogs is 12 to 30 breaths per minute. Signs of true distress include:

  • Rapid open-mouth breathing that doesn’t settle down with rest
  • Blue or purple tinge to the gums or muzzle
  • Abdominal heaving with each breath, where the belly visibly contracts
  • Extended head and neck as the dog strains to get air in
  • New wheezing, snorting, or whistling sounds
  • Weakness or collapse

Any of these signs warrants an immediate trip to an emergency animal hospital.

What to Watch For at Home

Before calling your vet, spend a few minutes observing and noting the details. Is the cough dry and honking, or wet and productive? Does your dog bring up actual food or bile, or just mucus and foam? Is the cough worse at certain times (after exercise, at night, after eating, when excited)? How long has it been going on, and is it getting worse? Is your dog still eating, drinking, and acting normally between episodes?

If you can, record a video on your phone. The difference between a cough, a gag, a reverse sneeze, and non-productive retching can be subtle when you’re trying to describe it in words, and a short clip gives your vet far more to work with than a verbal description. A dog that’s coughing but otherwise eating well, staying active, and breathing normally between episodes can generally wait for a regular veterinary appointment. A dog that’s lethargic, refusing food, breathing hard, or retching without producing anything needs to be seen right away.