Health & Wellbeing

How to Get Rid of Worms in Dogs: Complete Treatment & Prevention Guide

Learn how to get rid of worms in dogs with vet-backed treatment protocols, prevention product comparisons, and environmental control strategies for 2026.

By Marcus Aldridge · Published 9 September 2026
How to Get Rid of Worms in Dogs: Complete Treatment & Prevention Guide

Understanding Intestinal Worms in Dogs: Types, Identification, and Risk

If your dog is scooting across the carpet, losing weight despite a healthy appetite, or vomiting something that looks suspiciously like spaghetti, you may be dealing with an intestinal worm infestation. Worms are among the most common parasitic infections in dogs, and while they're treatable, they demand prompt attention — both for your dog's health and, in some cases, your family's safety.

Before you reach for an over-the-counter dewormer, it's critical to understand that "worms" is a broad category. Dogs in the United States are most commonly infected with four types of intestinal worms, plus one systemic parasite (heartworm) that requires an entirely different treatment approach. Each type has distinct identification markers, life cycles, and treatment protocols.

Worm Identification: What You're Looking At

Worm TypeSizeColor & ShapeWhere FoundVisible to Naked Eye?
Roundworms (Toxocara canis)3–6 inches (7–15 cm)Off-white to tan, smooth, cylindrical — resembles spaghettiSmall intestine; sometimes vomited or passed in stoolYes — adults visible in vomit or feces
Hookworms (Ancylostoma caninum)0.5–0.75 inches (1–2 cm)Pinkish-gray, thin, hooked mouthparts visible under magnificationSmall intestine; attach to intestinal wallRarely — too small to easily spot in stool
Whipworms (Trichuris vulpis)2–3 inches (5–7 cm)Whitish, thick at one end with a whip-like thin tailCecum and large intestineRarely — usually diagnosed via fecal float
Tapeworms (Dipylidium caninum, Taenia spp.)Segments: 0.25–0.5 inches; full worm: up to 12+ inchesCream-white, flat, segmented — shed segments resemble rice grains or cucumber seedsSmall intestine; segments found around anus or in beddingYes — proglottid segments commonly seen
Heartworms (Dirofilaria immitis)6–14 inches (15–35 cm)White, thread-like, found in heart and pulmonary arteriesHeart, pulmonary vasculature — never in stoolNot externally visible; diagnosed via blood antigen test

A key distinction for dog owners: intestinal worms (roundworms, hookworms, whipworms, tapeworms) are what you might see in your dog's stool or vomit. Heartworms live in the cardiovascular system and are transmitted exclusively by mosquitoes — they require a separate prevention and treatment protocol entirely and are never diagnosed by examining feces.

How Dogs Get Worms: Transmission Routes Explained

Understanding transmission is the foundation of both treatment and prevention. Each worm species exploits different pathways to reach your dog's body.

Life Cycles at a Glance

Roundworms: Eggs are shed in infected dog feces and become infectious after 2–4 weeks in the environment. Dogs ingest eggs from contaminated soil, water, or by grooming. Puppies can also acquire roundworms transplacentally (before birth) or through their mother's milk — this is why nearly 80% of puppies carry roundworms at some point. Once ingested, larvae migrate through the liver and lungs before settling in the small intestine, where they mature and begin shedding eggs within 4–5 weeks.

Hookworms: Larvae hatch from eggs in warm, moist soil and can penetrate a dog's skin (often through paw pads) or be ingested. Puppies frequently acquire hookworms through nursing. Larvae migrate through tissues, with some entering a dormant "arrested" state in muscle — this is why a single deworming rarely eliminates all hookworms.

Whipworms: Eggs are shed in feces and are remarkably hardy, surviving in soil for up to 5 years. Dogs ingest embryonated eggs while sniffing or digging in contaminated areas. Whipworms have a longer prepatent period (74–90 days), meaning it takes nearly three months from ingestion to egg-shedding adults.

Tapeworms: Dogs become infected by ingesting an intermediate host — most commonly fleas (Dipylidium caninum) or rodents/rabbits (Taenia spp.). The tapeworm larva develops inside the flea or prey animal, and when your dog swallows the host during grooming or hunting, the tapeworm attaches to the intestinal wall.

Heartworms: Microfilariae (baby heartworms) circulate in an infected dog's blood. A mosquito bites the dog, ingests microfilariae, and after 10–14 days of development inside the mosquito, transmits infective larvae to another dog during its next bite. Larvae migrate through tissues for 6–7 months before maturing into adults in the pulmonary arteries.

Common Transmission Scenarios

  • Contaminated environments: Dog parks, kennels, grooming facilities, and your own backyard if an infected dog has defecated there
  • Mother-to-puppy transmission: Roundworms and hookworms pass via placenta and milk
  • Flea ingestion: The primary route for Dipylidium tapeworms — if your dog has had fleas, tapeworms are likely
  • Predation: Dogs that hunt rodents or rabbits are at high risk for Taenia tapeworms and certain roundworm species
  • Mosquito bites: The sole transmission route for heartworm disease
  • Soil contact: Hookworm larvae penetrate skin; whipworm eggs are ingested from contaminated ground

Symptoms by Severity: What to Watch For

Worm symptoms vary dramatically depending on the parasite species, your dog's age and immune status, and the worm burden (number of worms present). A light infestation in a healthy adult dog may produce no visible symptoms at all — which is why routine fecal testing matters.

Intestinal Worm Symptoms by Severity

SeverityRoundwormsHookwormsWhipwormsTapeworms
Mild (low burden) Occasional soft stool, mild potbelly in puppies No visible signs, slight dullness of coat Intermittent soft stool, no weight loss Rice-like segments near anus, occasional scooting
Moderate Visible worms in stool/vomit, potbelly, poor growth in puppies, intermittent vomiting Diarrhea (possibly bloody), mild anemia, pale gums, weight loss Chronic diarrhea with mucus, weight loss, dehydration Frequent segment shedding, mild weight loss, anal irritation
Severe (high burden) Intestinal blockage (emergency), severe vomiting, pneumonia-like cough from larval migration, death in puppies Life-threatening anemia, collapse, black tarry stool (melena), death — especially in puppies Severe bloody diarrhea, significant weight loss, electrolyte imbalances, protein-losing enteropathy Intestinal obstruction (rare), severe weight loss, malnutrition

Heartworm disease follows a different symptom progression. Early infection is typically asymptomatic. As adult worms accumulate in the pulmonary arteries, dogs develop a persistent cough, exercise intolerance, and weight loss. Advanced cases present with heart failure signs: fluid accumulation in the abdomen (ascites), labored breathing, and collapse. Caval syndrome — a life-threatening emergency where worms physically block blood flow through the heart — requires immediate surgical extraction.

How to Get Rid of Worms in Dogs: Treatment Protocols

Effective deworming requires matching the medication to the specific worm species. Broad-spectrum products cover multiple parasites, but no single product eliminates every type. Your veterinarian will typically perform a fecal flotation test (cost: $25–$50) to identify which worms are present before prescribing treatment.

Step-by-Step Treatment Approach

Step 1: Veterinary Diagnosis
Bring a fresh stool sample (less than 12 hours old, refrigerated if possible) to your vet. A fecal flotation test identifies eggs from roundworms, hookworms, and whipworms. Tapeworm diagnosis is often visual (segments) since eggs are inconsistently shed. Heartworm requires a separate blood antigen test ($35–$75).

Step 2: Targeted Deworming
Based on results, your vet will prescribe the appropriate anthelmintic. Treatment is often repeated at 2–3 week intervals because most dewormers kill adult worms but not migrating larvae.

Step 3: Follow-Up Testing
A second fecal test 2–4 weeks after completing treatment confirms elimination. This step is frequently skipped but is essential — treatment failure occurs in 5–15% of cases, particularly with whipworms and hookworms due to arrested larvae.

Step 4: Begin Monthly Prevention
Once the active infestation is cleared, transition to a monthly preventive to stop reinfection.

OTC vs. Prescription Dewormers: Efficacy Comparison

MedicationTypeWorms CoveredEfficacyTypical CostNotes
Pyrantel pamoate (Nemex, Strongid)OTCRoundworms, hookworms85–95% for adults; does not kill larvae$8–$15 per doseSafe for puppies ≥2 weeks; repeat at 2-week intervals
Praziquantel (Droncit, Biltricide)OTC/RxTapeworms (Dipylidium, Taenia, Echinococcus)95–100% with single dose$10–$25 per doseDoes not cover other worm types; must also control fleas
Fenbendazole (Panacur, Safe-Guard)OTCRoundworms, hookworms, whipworms, some tapeworms (Taenia)90–98% when given for 3 consecutive days$12–$20 for 3-day courseOne of the broadest OTC options; does NOT kill Dipylidium tapeworms reliably
Milbemycin oxime (Interceptor Plus, Sentinel)PrescriptionRoundworms, hookworms, whipworms, tapeworms + heartworm prevention95–100% across all intestinal worms$15–$25/monthMonthly chewable; combines deworming with heartworm prevention
Moxidectin + imidacloprid (Advantage Multi)PrescriptionRoundworms, hookworms, whipworms + heartworm, fleas, mange95–100%$18–$30/monthTopical; broadest single-product parasite coverage
Melarsomine dihydrochloride (Immiticide)Prescription (injectable)Adult heartworms only90–95% with 3-injection protocol$500–$1,500+ (full treatment with hospitalization)Arsenic-based; requires strict exercise restriction for 6–8 weeks post-treatment

Critical note on heartworm treatment: Heartworm adulticide therapy (melarsomine) is a serious medical procedure, not a simple deworming. The American Heartworm Society recommends a multi-step protocol: doxycycline for 30 days to weaken worms, then a series of three deep intramuscular injections over one month, followed by 6–8 weeks of strict crate rest. The total cost typically ranges from $500 to $1,500+, and the dog must be monitored for pulmonary thromboembolism (dead worms blocking blood vessels). This is why heartworm prevention is vastly preferable to treatment.

🚨 When to See the Vet Immediately

  • Puppy under 8 weeks with visible worms, diarrhea, or vomiting
  • Pale or white gums (sign of severe anemia from hookworms)
  • Black, tarry stools (melena — indicates intestinal bleeding)
  • Abdominal distension with vomiting (possible intestinal blockage from roundworms)
  • Coughing with exercise intolerance in a dog not on heartworm prevention
  • Any dog with worms that is also lethargic, refusing food, or collapsing

If you suspect your dog has ingested a toxic dewormer or human medication, call ASPCA Animal Poison Control: (888) 426-4435 (24/7, consultation fee applies).

Best Worm Prevention Products for Dogs: 2026 Comparison

Once an active infestation is treated, the goal shifts to prevention. Modern monthly preventives are highly effective and represent the standard of care recommended by the American Veterinary Medical Association and the Companion Animal Parasite Council (CAPC).

Monthly Parasite Prevention: Product Comparison

ProductFormatActive IngredientsParasites CoveredDurationPrice Range (per month)
Simparica TrioOral chewableSarolaner, moxidectin, pyrantelHeartworm, roundworms, hookworms, fleas, ticks (incl. Lyme-carrying species)Monthly$18–$28
Interceptor PlusOral chewableMilbemycin oxime, praziquantelHeartworm, roundworms, hookworms, whipworms, tapewormsMonthly$15–$25
Heartgard PlusOral chewableIvermectin, pyrantelHeartworm, roundworms, hookwormsMonthly$10–$18
Advantage MultiTopicalImidacloprid, moxidectinHeartworm, roundworms, hookworms, whipworms, fleas, sarcoptic mange, ear mitesMonthly$18–$30
NexGard PLUSOral chewableAfoxolaner, moxidectin, pyrantelHeartworm, roundworms, hookworms, fleas, ticksMonthly$20–$30
Seresto CollarCollarImidacloprid, flumethrinFleas and ticks only — does NOT prevent worms or heartworm8 months$50–$65 (total; ~$7–$8/month)

Note: No single product covers every parasite. Dogs on Interceptor Plus (which covers tapeworms) may still need separate flea/tick prevention. Simparica Trio and NexGard PLUS offer the broadest combined coverage but do not include whipworm or tapeworm protection. Discuss your dog's specific risk profile with your veterinarian.

Environmental Control: Treating Your Home and Yard

Deworming your dog without addressing environmental contamination is like mopping the floor while the faucet is still running. Worm eggs and larvae persist in the environment and will reinfect your dog — and potentially your family — if you skip this step.

Yard Treatment Protocol

  • Daily feces removal: Pick up all dog waste immediately. Roundworm eggs become infectious after 2–4 weeks in soil; removing feces within 24 hours prevents egg embryonation.
  • Soil treatment: For areas with known contamination (kennel runs, favorite potty spots), apply a borax solution (1 cup borax per gallon of water) or use a commercial yard spray containing sodium hypochlorite (bleach). Note: bleach will kill grass and plants — use it only on non-landscaped surfaces like concrete runs.
  • Sunlight exposure: Hookworm larvae are destroyed by direct sunlight and dry conditions. Trim overgrown vegetation and improve drainage in shady, moist areas.
  • Sandboxes and play areas: Cover children's sandboxes when not in use. Roundworm eggs from cat and dog feces are a significant zoonotic risk (see below).
  • Flea control: Since fleas are the intermediate host for Dipylidium tapeworms, treating your yard for fleas (with products containing permethrin for outdoor use — never apply permethrin to cats) is essential for tapeworm prevention.

Indoor Decontamination

  • Hard floors: Wash with hot water and a diluted bleach solution (1:32 ratio). This kills worm eggs on contact.
  • Carpets and rugs: Steam clean at temperatures above 140°F (60°C). Most worm eggs are destroyed at sustained heat above 122°F (50°C).
  • Bedding: Wash all dog bedding, blankets, and crate pads in hot water (minimum 130°F / 54°C) and dry on high heat for at least 30 minutes.
  • Flea treatment indoors: Use an insect growth regulator (IGR) spray containing methoprene or pyriproxyfen to break the flea life cycle, which simultaneously prevents tapeworm reinfection.

Seasonal Risk Calendar: When Worms Peak by Region

Parasite pressure varies significantly by geography and season. While the CAPC now recommends year-round prevention for all dogs regardless of location (because indoor environments and microclimates sustain parasites year-round), understanding peak seasons helps you stay vigilant.

ParasiteSouthern U.S. (Zones 8–11)Northern U.S. (Zones 3–7)Peak Trigger
RoundwormsYear-roundSpring through fall (March–November)Warm, moist soil; egg survival drops below 25°F (-4°C)
HookwormsYear-roundLate spring through early fall (May–October)Soil temps above 55°F (13°C); larvae die in freezing or very dry conditions
WhipwormsYear-roundSpring through fall; eggs survive winter in protected soilEggs extremely hardy — survive up to 5 years in soil regardless of season
TapewormsYear-round (flea-dependent)Summer and early fall (peak flea season: July–October)Flea populations peak in warm, humid months
HeartwormsYear-round (mosquitoes present all year)June through October (mosquito season)Sustained temperatures above 57°F (14°C) for ≥2 weeks — required for microfilariae development inside mosquitoes

Source: Companion Animal Parasite Council (CAPC) guidelines recommend year-round, broad-spectrum prevention for all dogs regardless of geography.

Zoonotic Risk: Can Humans Get Worms from Dogs?

Yes — several canine intestinal worms are zoonotic, meaning they can transmit from dogs to humans. This is not a rare occurrence. The CDC estimates that approximately 10,000 children per year in the United States are infected with Toxocara (roundworm), which can cause visceral larva migrans (organ damage) and ocular larva migrans (vision loss).

Zoonotic Potential by Worm Type

  • Roundworms (Toxocara canis): HIGH zoonotic risk. Humans — especially children — ingest microscopic eggs from contaminated soil or surfaces. Larvae migrate through organs (liver, lungs, eyes, brain). Prevention: prompt feces removal, handwashing, keeping children out of areas where dogs defecate.
  • Hookworms (Ancylostoma caninum, A. braziliense): MODERATE zoonotic risk. Larvae penetrate human skin (often bare feet) causing cutaneous larva migrans — an intensely itchy, serpiginous (snake-like) skin rash. Common in tropical/subtropical regions. Prevention: wear shoes outdoors, avoid sitting on bare soil in contaminated areas.
  • Whipworms (Trichuris vulpis): LOW zoonotic risk. Human infection with canine whipworms is rare and controversial in the literature. Human whipworm (T. trichiura) is a separate species.
  • Tapeworms (Dipylidium caninum): LOW zoonotic risk. Children can become infected by accidentally ingesting an infected flea. Cases are uncommon but documented. Echinococcus species (less common in the U.S.) carry higher zoonotic significance due to potential for hydatid cyst disease.
  • Heartworms (Dirofilaria immitis): LOW zoonotic risk. Humans are dead-end hosts — larvae rarely mature, and if they do, they typically form a small granuloma in the lung (often mistaken for a tumor on X-ray). No human-to-human transmission.

Protecting your household: The CDC and CAPC both recommend regular deworming of puppies (starting at 2 weeks of age, repeated every 2 weeks until 8 weeks, then monthly prevention), annual fecal testing for adult dogs (1–2 times per year), and prompt disposal of pet feces. Children should wash hands after playing with pets and before eating. Consult the CDC's Toxocariasis page for detailed guidance.

Frequently Asked Questions About Worms in Dogs

How do I know if my dog has worms?

The most reliable method is a veterinary fecal flotation test, which detects microscopic worm eggs in your dog's stool. Visible signs include worms or rice-like segments in feces, scooting, weight loss, a distended abdomen (especially in puppies), chronic diarrhea, or vomiting. However, many dogs with mild infestations show no symptoms at all — which is why annual fecal testing is recommended even for healthy-seeming dogs.

How do dogs get worms?

Transmission routes depend on the worm type. Common pathways include: ingesting contaminated soil or feces (roundworms, whipworms), larvae penetrating the skin (hookworms), swallowing an infected flea during grooming (tapeworms), nursing from an infected mother (roundworms, hookworms in puppies), hunting rodents or rabbits (tapeworms), and mosquito bites (heartworms). Puppies are especially vulnerable because roundworms and hookworms can pass from mother to offspring before birth or through milk.

What are the best prevention products for worms?

Prescription monthly preventives like Simparica Trio, Interceptor Plus, and NexGard PLUS offer the broadest coverage against intestinal worms plus heartworm. The "best" product depends on your dog's risk profile: dogs in flea-heavy areas need tapeworm coverage (which requires flea control); dogs in heartworm-endemic regions need year-round heartworm prevention; hunting dogs need Taenia tapeworm protection. Your veterinarian will recommend the most appropriate product based on your dog's lifestyle, age, and local parasite prevalence.

How do I treat a worm infestation?

Treatment starts with veterinary diagnosis (fecal test), followed by a targeted anthelmintic medication. Most protocols require multiple doses spaced 2–3 weeks apart to kill larvae that mature after the first dose. For example, pyrantel pamoate for roundworms is typically given at 2 weeks, 4 weeks, 6 weeks, and 8 weeks in puppies, then transitioned to monthly prevention. Heartworm treatment is a separate, intensive protocol involving doxycycline, melarsomine injections, and strict exercise restriction. Always consult your veterinarian before starting any deworming regimen — incorrect dosing or product selection can be ineffective or harmful.

Can worms spread from dogs to humans or other pets?

Yes. Roundworms and hookworms carry significant zoonotic risk, particularly to children who play in contaminated soil. Tapeworms can infect humans (especially children) who accidentally ingest an infected flea. Worms can also spread between pets in the same household through shared environments and, for tapeworms, shared flea infestations. If one pet is diagnosed with worms, all pets in the household should be evaluated and likely treated. Cats, in particular, share several worm species with dogs.

How often should I treat my dog for worms?

The current veterinary standard of care, endorsed by the CAPC and AVMA, is year-round monthly prevention for all dogs — regardless of season or indoor/outdoor status. Puppies should be dewormed starting at 2 weeks of age, repeated every 2 weeks until 8 weeks, then started on monthly prevention. Adult dogs should have fecal testing performed 1–2 times per year even while on prevention, to catch any breakthrough infections or parasites not covered by the preventive product. Dogs not on monthly prevention should be fecal-tested at minimum every 6 months and dewormed based on results.

Are natural or home remedies effective for treating worms?

There is no reliable scientific evidence that garlic, pumpkin seeds, diatomaceous earth, apple cider vinegar, or other home remedies effectively eliminate intestinal worms in dogs. Some (like garlic) are actively harmful — garlic causes oxidative damage to red blood cells and can lead to hemolytic anemia. While food-grade diatomaceous earth is sometimes marketed as a dewormer, studies have not demonstrated efficacy against canine intestinal parasites at safe doses. Stick to veterinary-recommended anthelmintics, which have undergone rigorous safety and efficacy testing. If cost is a barrier, ask your veterinarian about lower-cost generic options like pyrantel pamoate (available OTC for under $15) or fenbendazole (under $20 for a 3-day course).

Disclaimer: This article provides educational information and is not a substitute for professional veterinary advice. Always consult your veterinarian for diagnosis and treatment of parasitic infections. Medication dosages, product availability, and pricing may vary by region and are subject to change. Your veterinarian will determine the appropriate treatment protocol for your dog's specific needs.

Written by

Marcus Aldridge

All our authors care for dogs every day — read more of their work on the authors page.