Health & Wellbeing

How Does a Dog Get Worms? Complete Parasite Guide for Owners

Learn how dogs get worms — roundworms, hookworms, tapeworms, whipworms, and heartworms — plus symptoms, treatments, and prevention strategies.

By Dr. Hannah Wickes · Published 9 September 2026
How Does a Dog Get Worms? Complete Parasite Guide for Owners

How Does a Dog Get Worms? Understanding the Most Common Canine Parasites

If you've noticed your dog scooting, vomiting, losing weight despite a good appetite, or coughing persistently, intestinal or systemic worms may be the culprit. Worms are among the most common parasitic infections in dogs, and understanding how does a dog get worms is the first step toward effective prevention and treatment.

Dogs can acquire worms through multiple routes: ingesting contaminated soil, eating infected prey, nursing from an infected mother, flea ingestion, or even mosquito bites. Each worm type has a unique transmission pathway, life cycle, and treatment protocol. This guide covers the five most clinically significant worms affecting dogs in the United States — roundworms, hookworms, tapeworms, whipworms, and heartworms — with specific identification details, treatment options, and prevention strategies.

⚠️ Veterinary Disclaimer: This article is for educational purposes. Worm infections can mimic other serious conditions. Always consult your veterinarian for proper diagnosis and treatment. Never administer deworming medication without veterinary guidance, as incorrect dosing can be harmful.

Identifying the Five Major Worms in Dogs

Not all worms look alike, and some are never visible to the naked eye. Here's how to identify each type based on physical characteristics, size, and where they reside in your dog's body.

Worm TypeSizeAppearanceWhere Found
Roundworms (Toxocara canis)3–6 inches (7–15 cm)Spaghetti-like, smooth, off-white to light brownSmall intestine; larvae migrate through lungs and liver
Hookworms (Ancylostoma caninum)0.5–0.75 inches (1–2 cm)Thin, thread-like, grayish-white; often not visible in stoolSmall intestine; attach to intestinal wall with hook-like mouthparts
Tapeworms (Dipylidium caninum)Segments (proglottids) ~0.25 inches (6 mm); full worm up to 8–20 inchesRice-grain-like segments near anus or in stool; flat, segmented bodySmall intestine; segments shed in feces
Whipworms (Trichuris vulpis)2–3 inches (5–7 cm)Whip-shaped — thick posterior, thin anterior thread; rarely seen in stoolCecum and large intestine
Heartworms (Dirofilaria immitis)6–14 inches (15–35 cm)Long, thin, white, spaghetti-like; found in heart and pulmonary arteriesRight ventricle of heart and pulmonary arteries

Roundworms and tapeworm segments are the most commonly spotted by owners — often in vomit or feces. Hookworms, whipworms, and heartworms are typically diagnosed only through veterinary fecal exams or antigen blood tests. According to the Merck Veterinary Manual, fecal flotation remains the gold standard for detecting intestinal worm eggs.

How Do Dogs Get Worms? Transmission Routes Explained

The answer to "how does a dog get worms" varies significantly by parasite type. Understanding each transmission route helps you target prevention effectively.

Roundworms: Mother-to-Puppy and Environmental Exposure

Roundworms have one of the most efficient transmission cycles in veterinary parasitology. Puppies can acquire Toxocara canis in three ways:

  • Transplacental (before birth): Dormant larvae in the mother's tissues reactivate during pregnancy and cross the placenta. Nearly 100% of puppies from infected mothers are born with roundworms.
  • Transmammary (through nursing): Larvae pass through the mother's milk during the first three weeks of lactation.
  • Ingestion of eggs: Dogs of any age can ingest embryonated eggs from contaminated soil, where eggs remain viable for up to 4 years.
  • Paratenic hosts: Dogs that eat infected rodents or birds can acquire larvae encysted in those animals' tissues.

Hookworms: Skin Penetration and Ingestion

Hookworm larvae are uniquely invasive. Third-stage larvae (L3) in contaminated soil can penetrate intact skin — typically through paw pads or the belly — then migrate through the bloodstream to the lungs, are coughed up and swallowed, and mature in the small intestine. Dogs can also ingest larvae by grooming contaminated fur or eating contaminated soil.

Tapeworms: The Flea Connection

The most common tapeworm (Dipylidium caninum) requires an intermediate host: the flea. Dogs get tapeworms by ingesting an infected flea during grooming. The flea carries the tapeworm larva (cysticercoid), which then develops into an adult tapeworm in the dog's small intestine over approximately 3 weeks. Less commonly, Taenia species tapeworms are acquired by eating infected raw meat or prey animals (rabbits, rodents).

Whipworms: The Persistent Environmental Threat

Whipworm eggs are remarkably resilient. They are passed in feces, embryonate in soil over 2–4 weeks, and can survive in the environment for up to 5 years. Dogs become infected by ingesting embryonated eggs while sniffing, digging, or grooming in contaminated areas — particularly dog parks, kennels, and yards with heavy canine traffic.

Heartworms: The Mosquito Vector

Heartworms are transmitted exclusively through mosquito bites. When a mosquito feeds on a heartworm-infected animal, it ingests microfilariae (baby worms). These develop inside the mosquito over 10–14 days into infective L3 larvae, which are then deposited into a new host during the mosquito's next blood meal. The larvae migrate through tissue for 6–7 months before maturing into adult worms in the pulmonary arteries. The American Heartworm Society recommends year-round prevention regardless of climate.

Worm Life Cycles: How Parasites Spread and Reproduce

Understanding the life cycle is critical for timing treatment and prevention correctly.

Intestinal Worm Life Cycle (Roundworms, Hookworms, Whipworms)

  1. Egg shedding: Adult worms in the intestine produce eggs that pass in feces (roundworms: up to 200,000 eggs/day per female).
  2. Environmental development: Eggs embryonate in soil — roundworms: 2–4 weeks; hookworms: 2–9 days; whipworms: 2–4 weeks.
  3. Infection: Dogs ingest embryonated eggs (roundworms, whipworms) or larvae penetrate skin (hookworms).
  4. Larval migration: Larvae travel through organs — lungs (roundworms, hookworms) or intestinal wall (whipworms).
  5. Maturation: Larvae return to intestine via tracheal migration (coughed up and swallowed) and mature into egg-laying adults.
  6. Prepatent period: Time from infection to egg shedding — roundworms: 4–5 weeks; hookworms: 2–3 weeks; whipworms: 70–90 days.

Heartworm Life Cycle

  1. Microfilariae circulation: Adult female heartworms release microfilariae into the bloodstream.
  2. Mosquito ingestion: A mosquito picks up microfilariae during a blood meal.
  3. Development in mosquito: Microfilariae develop to L3 stage over 10–14 days (requires temperatures above 57°F / 14°C).
  4. Transmission: L3 larvae deposited on dog's skin during next mosquito bite; enter through bite wound.
  5. Tissue migration: Larvae molt to L4 and L5 stages over 6–7 months while migrating through subcutaneous and muscle tissue.
  6. Maturation: Young adults enter pulmonary arteries, mature, and begin producing microfilariae approximately 6 months post-infection.

Symptoms of Worm Infections: Mild vs. Heavy Infestations

Symptom severity depends on worm burden, the dog's age, immune status, and overall health. Puppies and immunocompromised dogs show signs earlier and more severely.

Worm TypeMild InfestationHeavy Infestation
RoundwormsDull coat, mild potbelly appearance, occasional vomitingVisible worms in vomit/stool, severe abdominal distension, diarrhea, failure to thrive (puppies), intestinal blockage, pneumonia from larval migration (cough, nasal discharge)
HookwormsMild anemia, slightly pale gums, occasional soft stoolSevere anemia (pale/white gums, weakness, collapse), bloody or tarry black diarrhea (melena), weight loss, death in puppies if untreated
TapewormsRice-like segments near anus, scooting, mild anal irritationWeight loss despite normal appetite, intestinal obstruction (rare), visible long flat worms in stool
WhipwormsOften asymptomatic, occasional soft stoolChronic large-bowel diarrhea with mucus and fresh blood, weight loss, dehydration, anemia, electrolyte imbalances mimicking Addison's disease
HeartwormsNo symptoms (Class I), occasional mild coughExercise intolerance, persistent cough, difficulty breathing, weight loss, fainting (syncope), ascites (fluid in abdomen), caval syndrome — acute life-threatening collapse (Class IV)
🚨 When to Call Your Veterinarian Immediately:
  • Pale or white gums (indicates severe anemia — possible hookworm emergency)
  • Bloody or black tarry diarrhea
  • Difficulty breathing, persistent coughing, or fainting
  • Puppies with distended abdomens who are vomiting or refusing to nurse
  • Sudden collapse or extreme lethargy
These signs can indicate life-threatening worm burdens or heartworm caval syndrome and require emergency veterinary care.

Health Risks: Diseases Transmitted by Worms

Beyond direct damage, worms create secondary health crises:

  • Hookworm anemia: Ancylostoma caninum feeds on blood, and a heavy infestation in a puppy can cause fatal blood loss within days. Each adult hookworm can consume up to 0.1 mL of blood per day.
  • Heartworm disease: Adult heartworms cause pulmonary artery inflammation (pulmonary arteritis), right-sided heart failure, and caval syndrome — a surgical emergency where a mass of worms obstructs the tricuspid valve. Treatment for heartworm disease (melarsomine injections) costs $1,000–$3,000+ and requires strict exercise restriction for 8–12 weeks.
  • Larval migration syndromes: Roundworm larvae migrating through the lungs cause verminous pneumonia. Larvae migrating through the liver cause hepatomegaly and elevated liver enzymes.
  • Secondary bacterial infections: Intestinal wall damage from hookworms and whipworms can allow bacterial translocation, leading to sepsis in severe cases.
  • Nutritional deficits: Chronic tapeworm and roundworm infections steal nutrients, leading to hypoproteinemia, vitamin deficiencies, and poor growth in puppies.

Treatment Protocols: OTC vs. Prescription Dewormers

Effective treatment depends on accurate identification. Your veterinarian will perform a fecal flotation test (cost: $25–$75) and, for heartworms, an antigen blood test (cost: $35–$75) before prescribing treatment.

Roundworms and Hookworms

  • First-line: Pyrantel pamoate — available OTC and by prescription. Dosage: 5–10 mg/kg orally, repeated in 2–3 weeks to catch newly matured worms. Brand examples: Nemex-2 (OTC, ~$12–$20), Strongid (Rx).
  • Broad-spectrum alternative: Fenbendazole (Panacur) — 50 mg/kg daily for 3 consecutive days. Effective against roundworms, hookworms, whipworms, and some tapeworm species. OTC availability varies; ~$15–$30 for a course.
  • Puppy protocol: Deworm at 2, 4, 6, and 8 weeks of age, then monthly until 6 months. The CDC and Companion Animal Parasite Council (CAPC) endorse this schedule.

Tapeworms

  • First-line: Praziquantel — single dose at 5 mg/kg. Available OTC (e.g., Droncit tablets, ~$8–$15 per dose) and as an injectable at veterinary clinics (~$20–$40 per injection).
  • Critical co-treatment: You MUST eliminate fleas simultaneously, or reinfection is nearly guaranteed. Use a veterinary-approved flea preventive.

Whipworms

  • First-line: Fenbendazole at 50 mg/kg daily for 3 days, repeated at 3 weeks and again at 3 months due to the long prepatent period (70–90 days).
  • Alternative: Moxidectin/imidacloprid topical (Advantage Multi) — monthly application covers whipworms as part of broad-spectrum prevention.

Heartworms

  • Adulticide treatment: Melarsomine dihydrochloride (Immiticide) — administered by deep intramuscular injection at a veterinary hospital. The current American Heartworm Society protocol involves a 60-day pretreatment with doxycycline (10 mg/kg twice daily) and a macrocyclic lactone preventive, followed by three injections of melarsomine on days 60, 90, and 91.
  • Cost: Full treatment protocol ranges from $1,000 to $3,500+ depending on heartworm class, dog size, and regional veterinary costs.
  • Exercise restriction: Strict crate rest for 8–12 weeks post-treatment to prevent pulmonary thromboembolism from dying worms.
  • No OTC option exists: Heartworm treatment is prescription-only and must be administered under direct veterinary supervision.

Prevention Products Compared: Topical, Oral, and Collar Options

Prevention is dramatically cheaper and safer than treatment. Here's how the major categories compare for intestinal worm and heartworm coverage.

CategoryProduct ExamplesActive IngredientsWorms CoveredFrequencyCost Range (per dose)
Oral chewable (broad-spectrum)Simparica Trio, Interceptor Plus, Heartgard PlusSarolaner + moxidectin + pyrantel (Simparica Trio); Milbemycin oxime + praziquantel (Interceptor Plus); Ivermectin + pyrantel (Heartgard Plus)Heartworms, roundworms, hookworms, whipworms (varies by product), some include tapeworm coverageMonthly$12–$25/dose depending on dog weight
Topical (spot-on)Revolution Plus, Advantage MultiSelamectin + sarolaner (Revolution Plus); Imidacloprid + moxidectin (Advantage Multi)Heartworms, roundworms, hookworms, whipworms (Advantage Multi); plus fleas, ticks, ear mitesMonthly$15–$28/dose depending on dog weight
CollarSerestoImidacloprid + flumethrinFleas and ticks only — does NOT cover intestinal worms or heartworms; must be paired with separate dewormerUp to 8 months$50–$70 per collar
InjectableProHeart 6, ProHeart 12Moxidectin (sustained-release microspheres)Heartworms only; must pair with separate intestinal worm preventiveEvery 6 or 12 months (vet-administered)$60–$120 per injection (clinic visit)

Key selection criteria: If your dog has flea allergies and tapeworm history, choose an oral broad-spectrum that includes tapeworm coverage (Interceptor Plus) and pair with a dedicated flea product. For dogs in heartworm-endemic regions (the Southeast, Gulf Coast, and Mississippi River Valley), year-round heartworm prevention is non-negotiable. Consult your veterinarian to match the product to your dog's specific risk profile.

Environmental Control: Breaking the Reinfection Cycle

Treating your dog without addressing the environment is like mopping the floor while the faucet's still running. Worm eggs and larvae persist in soil, carpet, and bedding for months to years.

Yard Treatment

  • Daily feces removal: Pick up all feces within 24 hours. Roundworm and whipworm eggs are not immediately infective — they require 2–4 weeks to embryonate. Prompt removal breaks the cycle.
  • Soil treatment: For heavily contaminated areas (kennel runs, favorite potty spots), apply a borax solution (1 cup borax per gallon of water) or use a commercial yard spray containing beneficial nematodes (Steinernema carpocapsae) that prey on worm larvae. Cost: ~$30–$50 for nematode treatments covering 3,000 sq ft.
  • Sunlight and drainage: Hookworm larvae die in direct sunlight and dry conditions. Improve drainage in shady areas and consider gravel or mulch replacement in high-traffic zones.
  • Concrete kennel runs: Clean with a 1% sodium hypochlorite (bleach) solution. Allow full drying between cleanings.

Indoor Treatment

  • Bedding: Wash all dog bedding in hot water (minimum 130°F / 54°C) weekly during active treatment.
  • Vacuuming: Vacuum carpets, upholstery, and crevices daily during treatment, then weekly. Dispose of vacuum bags/canisters outside immediately to remove flea eggs and tapeworm segments.
  • Hard surfaces: Mop with a diluted bleach solution (1:32 ratio) on non-porous floors. Rinse thoroughly afterward.
  • Flea control: Since tapeworms require fleas as intermediate hosts, treating your home for fleas is essential. Use an insect growth regulator (IGR) spray containing methoprene or pyriproxyfen to interrupt the flea life cycle. Cost: $15–$35 per can, covers ~2,000 sq ft.

Seasonal Risk Calendar: When Worms Peak by Region

While year-round prevention is recommended by veterinary parasitologists, understanding peak risk periods helps you stay vigilant.

RegionHeartworm Season (Mosquito Activity)Intestinal Worm Peak RiskFlea/Tapeworm Peak
Southeast / Gulf Coast (FL, LA, MS, AL, GA, SC)Year-round (12 months)Year-round; highest spring through fallYear-round
Northeast / Mid-Atlantic (NY, PA, NJ, MA, VA)May–October (6 months)Spring and fall (cool, moist conditions favor hookworm larvae)May–November
Midwest (IL, OH, MI, MN, WI)June–September (4–5 months)Spring and early fallJune–October
Southwest / Desert (AZ, NM, NV, Southern CA)Variable — monsoon season elevates risk (July–September)Lower overall; irrigated areas and monsoon season increase riskYear-round in urban/irrigated areas
Pacific Northwest (WA, OR, Northern CA)June–SeptemberFall and winter (cool, wet conditions ideal for egg/larval survival)May–October

The CAPC parasite prevalence maps provide real-time data on heartworm and intestinal parasite rates by county. Check these before traveling with your dog to assess regional risk.

Zoonotic Potential: Can Humans Get Worms From Dogs?

Several canine worms are zoonotic — meaning they can transmit from dogs to humans. This is especially concerning for households with young children, elderly individuals, or immunocompromised family members.

  • Roundworms (Toxocara canis): Humans — especially children — can ingest embryonated eggs from contaminated soil. Larvae migrate through human tissues (visceral larva migrans) and can reach the eyes (ocular larva migrans), potentially causing blindness. The CDC estimates approximately 14% of the U.S. population has been exposed to Toxocara.
  • Hookworms (Ancylostoma caninum): Larvae can penetrate human skin (cutaneous larva migrans), causing intensely itchy, serpiginous (snake-like) red tracks. Common in barefoot children playing in contaminated sand or soil.
  • Tapeworms (Echinococcus species, less common): While Dipylidium caninum rarely infects humans (requires flea ingestion), Echinococcus granulosus — found in dogs exposed to livestock — can cause hydatid cyst disease in humans, a serious condition requiring surgical intervention.
  • Heartworms: Not considered zoonotic. Heartworms do not complete their life cycle in humans.

Prevention for families: Practice prompt feces removal, enforce handwashing after outdoor play and before eating, cover sandboxes when not in use, and maintain your dog on regular deworming protocols. The CAPC recommends fecal testing 2–4 times per year for puppies and 1–2 times per year for adult dogs.

Frequently Asked Questions

How do I know if my dog has worms?

Visible signs include worms or rice-like segments in stool or vomit, scooting, a potbellied appearance (especially in puppies), weight loss, dull coat, diarrhea (sometimes bloody), and coughing (heartworms). However, many dogs with mild infestations show no symptoms at all. A veterinary fecal flotation test is the only reliable way to confirm intestinal worms. For heartworms, an antigen blood test is required.

How often should I treat my dog for worms?

Puppies: Deworm at 2, 4, 6, and 8 weeks, then monthly until 6 months of age. Adult dogs: Monthly broad-spectrum preventive (oral or topical) that covers heartworms and intestinal worms year-round. Fecal exams should be performed 1–2 times annually for adults and 2–4 times for puppies. Dogs with high exposure risk (hunting dogs, shelter dogs, dogs in kennels) may need more frequent testing.

Can worms spread to other pets in my household?

Yes. Roundworms and hookworms can spread between dogs through contaminated environments. Tapeworms spread via fleas, so any pet with fleas is at risk. Cats can also acquire roundworms and hookworms (different species, but same transmission routes). Treat all household pets simultaneously and maintain all animals on monthly preventives.

What are the best prevention products for worms?

The best product depends on your dog's lifestyle and regional risks. For comprehensive coverage, broad-spectrum oral chews like Simparica Trio or Interceptor Plus cover heartworms, roundworms, hookworms, and whipworms monthly. Topical options like Advantage Multi provide similar coverage. For heartworm-only prevention with fewer monthly doses, ProHeart 12 (annual injection) is an option. Always consult your veterinarian to select the right product — never combine multiple parasiticides without veterinary guidance.

Can my dog get worms even if they stay indoors?

Yes. Mosquitoes (heartworm vectors) enter homes. Fleas (tapeworm vectors) hitch rides on clothing or other pets. Roundworm and hookworm eggs can be tracked indoors on shoes. While indoor-only dogs have lower risk, they are not zero-risk, which is why year-round prevention is recommended for all dogs.

How long does it take for deworming medication to work?

Most oral dewormers (pyrantel, praziquantel, fenbendazole) begin killing worms within 2–6 hours of administration. You may see dead worms in stool within 24–48 hours. However, because of worm life cycles, a second dose is typically required 2–3 weeks later to eliminate worms that were in larval stages during the first treatment. Heartworm adulticide treatment (melarsomine) takes 6–8 weeks to fully kill adult worms, with strict activity restriction throughout.

Written by

Dr. Hannah Wickes

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