How to Get Rid of Heartworms in Dogs: Treatment & Cost

Getting rid of heartworms in dogs requires a multi-step veterinary treatment that typically spans several months, costing anywhere from $600 to over $3,000 depending on the severity of infection. There is no safe, effective home remedy or over-the-counter solution. The standard protocol involves an antibiotic phase, a series of injections to kill adult worms, and strict rest while your dog’s body absorbs the dead parasites.

What the Standard Treatment Looks Like

Heartworm treatment follows a specific sequence designed to kill the parasites in stages, reducing the risk of dangerous complications. The process begins well before the injections that actually kill the adult worms.

First, your dog starts a 28-day course of an antibiotic (doxycycline). This targets a bacterium called Wolbachia that lives inside heartworms. Wolbachia is a leading cause of the lung inflammation associated with heartworm disease, so eliminating it first makes the rest of treatment safer. It also weakens the worms themselves, reducing their overall mass. After the antibiotic course finishes, your vet will wait about 30 days before moving to the next step. This waiting period allows inflammatory byproducts to clear from your dog’s system.

Your dog will also be started on a monthly heartworm preventive during this phase. The preventive kills the immature, migrating larvae (called microfilariae) circulating in the blood, preventing new worms from maturing while treatment addresses the adults already in the heart and lungs.

The Injections That Kill Adult Worms

The core of treatment is a series of three deep muscle injections given in the lower back. The first injection is given on its own. Then, at least one month later, your dog receives two more injections spaced 24 hours apart. This three-dose approach is safer and more effective than giving all doses closer together, because it kills the worms gradually rather than all at once.

Each injection is given at the veterinary clinic, and your dog may stay for observation afterward. The injection site can be sore for several days, and some dogs experience swelling, reduced appetite, or low energy. Your vet may prescribe a steroid or anti-inflammatory to manage discomfort and reduce lung inflammation, particularly if your dog is already showing symptoms of heartworm disease like coughing or difficulty breathing.

The melarsomine injections and associated hospital care typically cost between $500 and $1,500, depending on your dog’s size.

Why Rest Is Critical During Treatment

As the worms die, they break apart. Your dog’s body must absorb these fragments through the blood vessels of the lungs. Physical activity increases blood flow and heart rate, which can push large clumps of dead worm material into smaller vessels, causing blockages. This is the most dangerous complication of treatment: a pulmonary thromboembolism, which is essentially a blood clot in the lungs.

Warning signs include persistent coughing, rapid or labored breathing, coughing up blood, lethargy, loss of appetite, or fever. Mild coughing in the weeks after injections is common, but any sudden worsening or difficulty breathing warrants an immediate call to your vet.

Exercise restriction means no running, jumping, rough play, or long walks for the entire treatment period and for several weeks after the final injection. Leash walks for bathroom breaks only. This is often the hardest part for owners, especially with younger or high-energy dogs. Crate rest, puzzle toys, and frozen treat dispensers can help keep your dog calm. The restriction period can last two months or more after the last injection.

Why “Slow Kill” Methods Are Not Recommended

You may come across advice suggesting that simply keeping your dog on monthly heartworm preventives (with or without doxycycline) will eventually kill adult worms without the need for injections. This approach, called “slow kill,” is not recommended by the American Heartworm Society for several important reasons.

Slow kill can take a year or longer to show results, and the timing of worm death is unpredictable. During that entire period, the worms continue damaging your dog’s heart and lungs. That damage can be permanent. The method is also less effective at eliminating adult worms than the standard injection protocol, and it requires strict exercise restriction for months or even years, which is far longer than the standard treatment timeline. Veterinary experts consider slow kill a last-resort salvage procedure for dogs who genuinely cannot tolerate injections, not a preferred alternative.

When Surgery Is Necessary

In severe cases, a large mass of worms can physically block blood flow through the heart, a life-threatening emergency called caval syndrome. Dogs with caval syndrome may collapse suddenly, have dark or bloody urine, and show signs of shock. The standard injection protocol won’t work fast enough in this situation. The only option is surgical extraction, where worms are physically removed from the heart and major blood vessels. This emergency surgery typically costs between $3,000 and $6,000.

Testing After Treatment

You won’t know whether treatment was successful right away. After the final injection, your dog needs a heartworm antigen test at the nine-month mark. Earlier testing can produce misleading results because the antigen (a protein shed by female heartworms) takes time to clear from the bloodstream even after the worms are dead. The American Heartworm Society updated this recommendation from six months to nine months in 2018, as newer, more sensitive tests can detect trace amounts of antigen that linger longer than previously understood.

If the nine-month test comes back negative, treatment was successful, and your dog should stay on year-round monthly preventive going forward to avoid reinfection. If the test is still positive, your vet may recommend additional treatment, which could include another round of antibiotics followed by two more injections given 24 hours apart.

Full Cost Breakdown

The total cost varies widely based on your dog’s size, the severity of infection, and your geographic location. Here’s what each phase typically runs:

  • Initial heartworm antigen test: $35 to $75
  • Confirmatory testing: $20 to $40
  • Chest X-rays: $125 to $200
  • Echocardiogram (if needed): $300 to $1,000
  • Doxycycline (28-day course): $30 to $150
  • Monthly heartworm preventive tablets: $6 to $18 per dose
  • Steroids (if symptomatic): $10 to $40
  • Melarsomine injections and hospital care: $500 to $1,500
  • Post-treatment microfilaria test: $20 to $40

All told, most owners spend between $600 and $3,000. Dogs with advanced disease requiring imaging, extended hospitalization, or retreatment will land at the higher end. By comparison, year-round heartworm prevention costs roughly $70 to $200 per year, making it far cheaper than treating an established infection.