Maggots in Dog Poop: Causes, Risks & When to Call the Vet
Found maggots in dog poop? Learn the real causes, whether it signals parasites or fly activity, treatment steps, and when to call your vet immediately.
Finding maggots in your dog's poop is one of those discoveries that stops you cold during your morning yard patrol. Your mind races: Is my dog sick? Are these parasites? Is this an emergency?
Before you panic, here's what you need to know: maggots in dog poop are almost always fly larvae that colonized the feces after it was passed — not parasites living inside your dog. That said, their presence can sometimes point to underlying digestive issues that deserve attention.
This guide breaks down exactly what those maggots are, why they showed up, what health conditions might make your dog's stool more attractive to flies, and the specific steps to take next.
Maggots vs. Worms: How to Tell the Difference
The single most important thing to determine is whether you're looking at fly larvae that arrived after defecation or intestinal parasites your dog is actively harboring. The distinction changes everything about your next steps.
| Feature | Fly Larvae (Maggots) | Tapeworms | Roundworms |
|---|---|---|---|
| Appearance | Small, white/cream, legless, tapered at one end, ¼–½ inch | Flat, segmented, rice-grain-like pieces near anus or in stool | Spaghetti-like, smooth, 3–5 inches long, may be coiled |
| Location | On the surface of feces, often clustered | Mixed in stool or stuck to fur around anus | Visible within or expelled with stool, sometimes vomited |
| Movement | Slow crawling, wriggling | Segments may twitch or contract | Active, snakelike writhing |
| Time to appear | Hours to days after defecation (warm weather accelerates) | Present immediately in fresh stool | Present immediately in fresh stool |
| Vet needed? | Not usually — but investigate underlying cause | Yes — prescription dewormer required | Yes — prescription or OTC dewormer needed |
The freshness test: If you just watched your dog defecate and the stool already has visible white organisms crawling on or in it, you're likely dealing with parasites. If the stool has been sitting in the yard for several hours (especially in temperatures above 70°F / 21°C), flies may have laid eggs that hatched rapidly into larvae.
Why Flies Target Dog Feces
Several fly species — particularly blowflies (Calliphoridae) and flesh flies (Sarcophagidae) — are attracted to the volatile organic compounds released by decomposing feces. According to the Merck Veterinary Manual, these flies can lay eggs within minutes of feces being deposited, and in warm conditions (75–90°F / 24–32°C), those eggs can hatch into first-instar larvae in as few as 8–12 hours.
Here's what makes your dog's stool especially attractive to egg-laying flies:
- High moisture content: Soft or diarrheal stool releases more odor and provides ideal moisture for egg survival
- Undigested food particles: Diets high in fiber or poorly digestible ingredients leave more residual nutrients in feces
- Warm weather: Fly activity peaks between May and October in most US climates
- Delayed cleanup: Stool left in the yard for more than 12–24 hours gives flies ample time to colonize
- Proximity to attractants: Yards near compost bins, garbage, or livestock see higher fly populations
Underlying Health Issues That Increase Maggot Presence
While maggots themselves aren't a disease, the conditions that make feces more attractive to flies can signal health problems worth investigating. If you're consistently finding maggots in fresh or recently passed stool, consider these underlying causes:
Digestive Disorders Producing Soft Stool
Chronic soft stool or diarrhea creates the moist, nutrient-rich environment flies prefer. Common causes include:
- Food intolerances or allergies — often triggered by beef, dairy, chicken, or wheat proteins
- Exocrine pancreatic insufficiency (EPI) — the pancreas fails to produce adequate digestive enzymes, leading to bulky, foul-smelling, soft stool
- Inflammatory bowel disease (IBD) — chronic intestinal inflammation impairs nutrient absorption
- Giardia or other protozoal infections — produce greasy, soft stools with strong odor
Intestinal Parasites Mimicking Maggot Presence
If what you're seeing is actually tapeworm segments or roundworms, your dog needs deworming. Tapeworms (Dipylidium caninum) are especially common in dogs with flea infestations, as dogs ingest infected fleas during grooming. The CDC notes that tapeworm segments are frequently mistaken for maggots or rice grains by pet owners.
Perianal Conditions
Dogs with anal gland issues, perianal fistulas, or fecal matting around the hindquarters may have residual fecal matter on their coat that attracts flies. In severe cases, this can lead to cutaneous myiasis — a condition where fly larvae infest the dog's skin or wounds rather than just the feces. This is a veterinary emergency.
- You see maggots on your dog's body (near the anus, in wounds, or in matted fur)
- Your dog has persistent diarrhea lasting more than 48 hours
- Blood or mucus is present in the stool alongside any larvae
- Your dog is vomiting, lethargic, or refusing food
- You suspect tapeworms or roundworms (rice-grain or spaghetti-like organisms)
- Your dog is very young (under 6 months), elderly, or immunocompromised
Step-by-Step: What to Do When You Find Maggots in Dog Poop
Follow this practical action plan to determine severity and take appropriate steps:
- Assess freshness. Did you just watch your dog defecate, or has the stool been in the yard for hours? Fresh stool with visible organisms is a stronger indicator of parasites.
- Photograph the specimen. Take a clear, well-lit photo from multiple angles. This helps your vet identify whether you're seeing fly larvae, tapeworm segments, or roundworms.
- Collect a sample. Using a disposable glove and a sealable plastic bag, collect a portion of the stool including any visible organisms. Store in the refrigerator (not freezer) if your vet appointment is within 24 hours.
- Check your dog's body. Part the fur around the anus, tail base, and hindquarters. Look for larvae on the skin, matted fecal matter, redness, or open wounds. If you find maggots on the dog itself, this is myiasis and requires same-day veterinary attention.
- Review recent stool consistency. Has your dog's stool been soft, loose, or unusually foul-smelling for the past week? Note this for your vet.
- Clean the area thoroughly. Remove all feces from the yard. Disinfect the area with a 1:10 bleach solution if the stool was on a hard surface. Wash your hands thoroughly.
- Schedule a fecal exam. Even if you believe these are just fly larvae, a fecal floatation test ($35–$65 at most clinics) will confirm whether your dog is harboring intestinal parasites.
Preventing Maggots in Your Yard and Protecting Your Dog
Prevention operates on two levels: reducing fly attraction to feces, and maintaining your dog's digestive health so stool is less appealing to begin with.
Yard and Environment Management
| Strategy | Effectiveness | Cost Range | Notes |
|---|---|---|---|
| Immediate stool pickup (within 1–2 hours) | ★★★★★ | Free | Most effective single action; eliminates colonization window |
| Sealed outdoor waste bin with lid | ★★★★☆ | $25–$50 | Prevents flies from accessing stored waste |
| Fly traps (e.g., Rescue Fly Trap, Sterling International) | ★★★☆☆ | $8–$20 per trap | Reduces adult fly population; place away from dog areas |
| Yard spray with pet-safe insecticide (e.g., Wondercide Outdoor Pest Control) | ★★★☆☆ | $25–$45 per bottle | Treats grass and perimeter; follow label for pet reentry time |
| Enzymatic yard cleaner (e.g., NaturVet Yard Odor Eliminator) | ★★☆☆☆ | $15–$30 | Reduces residual odor that attracts flies after stool removal |
Digestive Health Optimization
Firm, well-formed stool is naturally less attractive to flies. If your dog consistently produces soft stool, address the root cause:
- Diet review: Look for an AAFCO-certified complete-and-balanced diet with a named protein source as the first ingredient. Avoid diets with excessive fillers that produce bulky, loose stool.
- Probiotics: A veterinary-formulated probiotic (such as Purina FortiFlora or Proviable-DC, $25–$35 for a 30-day supply) can help stabilize gut flora and improve stool consistency.
- Parasite prevention: Maintain a monthly heartworm/intestinal parasite preventive (e.g., Heartgard Plus, Interceptor Plus, or Simparica Trio — $60–$120 for a 6-month supply depending on dog weight). These prevent the worms that owners commonly mistake for maggots.
- Fecal testing schedule: The Companion Animal Parasite Council (CAPC) recommends fecal testing 2–4 times per year for adult dogs and at every puppy wellness visit.
Grooming and Hygiene Checks
Long-haired breeds and dogs with thick coats around the hindquarters are at higher risk for fecal matting, which attracts flies and can lead to myiasis. Regular grooming steps include:
- Trim or have a groomer perform a "sanitary clip" around the anus and underside every 4–8 weeks
- Check the hindquarters daily during warm months for fecal residue or moisture
- Bathe with a mild, dog-specific shampoo if fecal matter is stuck to the coat — never pull matted stool from the skin, as this can cause abrasions that invite fly infestation
- For senior dogs or those with mobility issues (arthritis, obesity), assist with post-defecation cleaning using unscented pet wipes
Cutaneous Myiasis: When Maggots Infest the Dog
The most serious scenario involving maggots and dogs is cutaneous myiasis — a condition where fly larvae burrow into and feed on the dog's living tissue. This is fundamentally different from maggots in feces and constitutes a veterinary emergency.
Risk factors for myiasis include:
- Open wounds or hot spots left untreated
- Fecal or urinary matting that keeps skin constantly moist
- Debilitated, elderly, or paralyzed dogs unable to groom or move away from soiled areas
- Outdoor dogs in warm climates with limited shelter
Symptoms of myiasis:
- Visible larvae in or around a wound, skin fold, or matted area
- Foul-smelling discharge from a skin lesion
- Excessive licking or biting at one body area
- A small, raised bump with a central breathing hole (botfly larva — Cuterebra species)
Treatment requires veterinary removal of all larvae, wound debridement, antibiotics, and pain management. Do not attempt to remove deeply embedded larvae at home — incomplete removal can cause anaphylactic reaction or secondary infection. Treatment costs typically range from $200–$800 depending on severity.
Frequently Asked Questions
Can maggots in dog poop harm my dog?
The maggots themselves (fly larvae on feces) do not harm your dog — they arrived after the stool was passed. However, the conditions that make stool attractive to flies (diarrhea, soft stool, poor digestion) may indicate an underlying health issue. If what you're seeing are actually intestinal parasites, those do pose a direct health risk and require treatment.
Can my dog get maggots from eating poop?
If your dog practices coprophagia (eating feces) and consumes stool containing fly eggs, the eggs are typically destroyed by stomach acid and do not survive to cause myiasis internally. However, coprophagia can transmit intestinal parasites like roundworms, hookworms, and Giardia between dogs — a far more serious concern. Consult your veterinarian about behavioral and medical strategies to stop this habit.
Are maggots in dog poop contagious to humans?
Fly larvae on dog feces are not directly transmissible to humans. However, some intestinal parasites that resemble maggots — particularly roundworms (Toxocara canis) — are zoonotic, meaning they can infect humans. The CDC recommends regular handwashing after handling dog feces and routine deworming of pets to minimize this risk.
How quickly can maggots appear in dog poop?
In warm weather (above 75°F / 24°C), blowfly eggs laid on fresh dog feces can hatch into visible first-instar larvae in as little as 8–12 hours. In cooler temperatures, this process may take 24–48 hours. This is why prompt stool removal is the single most effective prevention method.
Should I bring a stool sample to the vet?
Yes. Collect a fresh stool sample (ideally less than 12 hours old) in a sealed container or plastic bag and refrigerate it. Bring it to your vet for a fecal floatation test, which costs $35–$65 at most general practice clinics. This test will identify any parasite eggs present, even if no adult worms are visible in the stool.
Can I use over-the-counter dewormers if I suspect parasites?
OTC dewormers containing pyrantel pamoate (e.g., Nemex-2, $10–$20) are effective against roundworms and hookworms but do not treat tapeworms. Praziquantel-based products (e.g., Bayer Drontal, $15–$30) target tapeworms specifically. However, a vet-performed fecal exam identifies exactly which parasites are present so you can use the correct medication at the proper dosage for your dog's weight. Always consult your veterinarian before administering any dewormer.
Key Takeaways for Dog Owners
- Maggots on dog poop are usually fly larvae, not internal parasites — they colonize feces after it's passed, especially in warm weather.
- The freshness test matters: organisms in freshly passed stool are more likely to be worms requiring veterinary treatment.
- Pick up stool within 1–2 hours to eliminate the window for fly egg-laying and larval hatching.
- Check your dog's body — maggots on skin or in fur indicate myiasis, a veterinary emergency.
- A $35–$65 fecal exam gives you a definitive answer about whether parasites are present.
- Monthly parasite prevention ($60–$120 per 6 months) protects against the worms most commonly mistaken for maggots.
Robin Maitland
All our authors care for dogs every day — read more of their work on the authors page.



