Health condition
Heartworm in Dogs: Signs, Treatment and Prevention
Also called Heartworm, Canine heartworm disease, Dirofilariasis
Heartworm disease is caused by worms that settle in a dog's heart and the blood vessels of the lungs after an infected mosquito bites. Early on a dog may look completely normal; later come coughing, tiring easily, weight loss, and heart failure. A monthly or injectable heartworm preventive prescribed by your vet is far safer and cheaper than treatment, and sudden trouble breathing, collapse, or pale gums need an emergency vet right away.

Go to a vet now if…
- Go to a vet now if your dog has sudden, labored breathing or collapses.
- Go to a vet now if your dog's gums are pale or the urine looks dark, red, or 'coffee-colored'.
- Go to a vet now if your dog's belly looks swollen or fluid-filled, especially with coughing or tiredness.
- Call your vet today if your dog has a mild cough that does not go away.
- Call your vet today if your dog tires quickly, avoids exercise it used to enjoy, or is losing weight or appetite.
- Call your vet today if your dog has missed heartworm doses or has been off prevention, even if it looks well.
Call ahead so the clinic can prepare. Suspected poisoning in the US: ASPCA (888) 426-4435 · Pet Poison Helpline (855) 764-7661.
What it is
Heartworm spreads through mosquito bites. A mosquito feeds on an infected dog, fox, coyote, or wolf and picks up baby worms called microfilariae. Over roughly 10 to 14 days these become infective larvae inside the mosquito, which then enter the next dog through the bite wound.
The larvae spend about six to seven months migrating and growing before they settle as adults in the heart and the blood vessels of the lungs. Adult heartworms can live five to seven years, and each mosquito season can add more worms to an unprotected dog, so damage builds over time.
Early on, many dogs show few or no signs. As the worm burden grows, you may see a mild, persistent cough, reluctance to exercise, tiring after moderate activity, reduced appetite, and weight loss. Advanced disease can lead to heart failure, with fluid collecting in the belly. Caval syndrome is a rare emergency in which worms block blood flow near the heart, causing sudden labored breathing, pale gums, and dark, coffee-colored urine. If your dog is coughing, see coughing in dogs for other possible causes too.
Causes and risk factors
| Cause | What it means |
|---|---|
| Bite from an infected mosquito | Mosquitoes carry infective larvae from infected dogs, foxes, coyotes, and wolves to new dogs. |
| No heartworm preventive, or missed doses | Late or skipped doses leave a gap in protection. |
| Pills spit out or vomited, or topical products rubbed off | These can leave a dog unprotected even when owners think a dose was given. |
| Living in or visiting areas with heartworm | Risk varies by region, but the AHS reports heartworm disease has been diagnosed in all 50 U.S. states. |
| Skipping annual testing | Infections caught early are easier to manage, and testing is how prevention failures are found. |
| Strains that mature despite prevention | CAPC notes some heartworm strains can mature in dogs on routine prevention, which is another reason for yearly tests. |
What you can do at home
Heartworm cannot be treated at home, but what you do at home matters once your dog is diagnosed. The American Heartworm Society advises restricting exercise as soon as the diagnosis is confirmed, because physical exertion speeds up damage to the heart and lungs, and the more severe the signs, the less activity your dog should have. During treatment, CAPC advises limiting excitement and exercise to slow walking for at least a month after each set of injections. Your vet will tell you exactly how strict to be.
Keep watching your dog's breathing, cough, energy, and gum color, and report changes promptly. Sudden labored breathing, collapse, pale gums, or dark urine call for an emergency vet at once.
Do not try to clear an infection with a regular preventive alone; CAPC does not recommend this slow-kill approach. Do not start or restart a preventive on an untested dog on your own. The FDA warns that in a dog with baby worms in the blood, a preventive can kill them suddenly and trigger a shock-like reaction. To lower mosquito exposure, limit outdoor time when mosquitoes are most active, and use mosquito repellents only if they are approved for dogs.
What happens at the vet
Diagnosis starts with blood tests. An antigen test detects mature adult heartworms, and a second test looks for microfilariae in the blood. No single test finds every infection, and tests cannot reliably detect an infection until the worms are about seven months old, so your vet may repeat testing. Chest X-rays can show changes in the heart and lungs. A positive antigen test is usually confirmed with a different test before treatment starts.
Before treatment, your vet assesses the damage with a physical exam, chest X-rays, and lab work, and may stabilize a very sick dog first, which can take months in severe cases. Treatment follows a multi-step protocol set by your vet, built around an injectable medication that kills the adult worms. Some protocols begin with an antibiotic and a preventive beforehand, and microfilariae may need separate treatment. Exercise restriction continues throughout, because dying worms can inflame the lungs and arteries.
Dogs with few or mild signs generally do well, while severe disease carries a higher risk of complications. Your dog is retested about nine months after treatment to confirm the worms are gone. Dogs in caval syndrome usually need emergency surgery to remove the worms. Prevention then continues for life.
Prevention
Prevention is safer and more affordable than treating adult heartworm, and it is the best protection for your dog's heart. Heartworm preventives require a prescription. According to the FDA, they come as monthly oral tablets, monthly spot-on liquids applied to the skin, and longer-lasting injections given by your vet, and your vet can help you choose. Give the preventive year-round, exactly as prescribed, because mosquitoes can transmit heartworm any time they are active. CAPC advises prevention for all dogs regardless of lifestyle.
Test before you start. Dogs 7 months and older should have a negative heartworm test before beginning prevention, then be tested every year, even if no dose was ever missed. The AHS warns that a single missed or late dose, a pill that was spit out or vomited, or a spot-on that rubbed off can leave a dog unprotected, and CAPC notes some heartworm strains can mature even in dogs on routine prevention.
Keep your dog's weight within the range on the product package and tell your vet if it changes. Reducing mosquito exposure and using dog-approved repellents add a layer of protection. If your dog develops a cough or tires easily, bring it up with your vet instead of waiting for the next routine visit.
Frequently asked questions
Can indoor dogs get heartworm?
Yes. Infected mosquitoes can get inside, so the AHS says indoor pets are at risk too, and CAPC recommends year-round heartworm prevention for all dogs regardless of lifestyle.
How is heartworm diagnosed?
With blood tests. An antigen test detects mature adult heartworms and a microfilariae test looks for the baby worms. Tests may not turn positive until the worms are about seven months old, so annual testing matters, and your vet may also take chest X-rays.
Can heartworm be cured?
It can be treated. Dogs with few or mild signs have a high chance of success with a vet-directed protocol, though severe disease carries more risk. Treatment includes strict exercise restriction and a retest about nine months later, and prevention must continue for life.
Does my dog need a heartworm test if it is on prevention?
Yes, every year. Missed or late doses, spit-out or vomited pills, and rubbed-off spot-ons can leave a dog unprotected, and some strains can mature despite prevention. Annual testing is how infections are caught early.
Why does my dog need a test before starting prevention?
Preventives do not clear adult worms, and in an infected dog with baby worms in the blood, a preventive can trigger a sudden, shock-like reaction. Puppies under 7 months can start prevention without a test, while older dogs should be tested first.
Written from veterinary sources by the Pawsplained editorial team. Not yet reviewed by a veterinarian; this is general information, not a diagnosis or treatment plan. Updated Oct 30, 2026. Editorial policy
Sources
Related topics

Symptom
Coughing
An occasional cough, such as after water goes down the wrong way, is usually harmless, and uncomplicated kennel cough t…

Symptom
Lethargy
Lethargy means your dog is unusually quiet, slow or uninterested in things they normally enjoy, with no obvious reason…

Symptom
Swollen Belly
A swollen, tight or drum-like belly can be bloat (GDV), a life-threatening emergency in which the stomach fills with ga…

Condition
Fleas
Fleas are tiny blood-feeding insects that cause itching, skin allergies, and sometimes tapeworms or anemia. Scratching,…

Condition
Lyme Disease
Lyme disease is a bacterial infection that dogs catch from the bite of an infected blacklegged (deer) tick. Many infect…