Maggots in Dog Poop: Fly Larvae or Worms?

Maggots in dog poop are almost always fly larvae, not worms. Flies laid eggs on the poop after it left your dog, the eggs hatched, and what you are seeing says the poop is old, not that your dog is sick. There are two exceptions worth knowing, and both are easy to check.
Quick answer
Maggots in dog poop are fly larvae. In nearly every case, flies laid eggs on poop that had been sitting outside, so the maggots did not come from your dog. Small moving bits on truly fresh poop are more likely tapeworm segments, or rarely swallowed larvae. Maggots on your dog's skin or in a wound need a vet immediately.
Scout's read
Maggots on poop that has been sitting in the yard are about the age of the poop, not your dog's health. Pick it up and carry on. Moving bits on a poop you just watched your dog pass is Call your vet today. Maggots on your dog's skin, in a wound or in matted fur is Call a vet now.
Key takeaways
- Maggots are fly larvae. They hatch from eggs that flies lay on poop after it is passed.
- Old poop with maggots tells you how long it sat there. It does not tell you your dog has worms.
- Real dog worms look different: long and spaghetti-like (roundworms) or flat and rice-like (tapeworm segments).
- Maggots in truly fresh poop are rare. They can mean your dog swallowed larvae, sometimes from licking a wound.
- Maggots on the dog, not the poop, are urgent. Check the skin under any soiled or matted fur.
Why are there maggots in my dog's poop?
Flies find poop fast. Green bottle flies are a common sight on pet poop outdoors, and bottle flies and blow flies breed in feces, garbage and dead animals. A female lands, lays her eggs, and the eggs hatch into larvae that feed on the poop.
In warm weather the whole cycle is quick. Some flies go from egg to adult in around two weeks. So a poop missed on Saturday can be alive with small pale grubs a few days later.
That means the first question is not "what is wrong with my dog?" It is "how old is this poop?" If you cannot say for certain that it is fresh, flies are the likely answer.
Maggots or worms: how to tell them apart
This is the part most people want. A close look, without touching, usually settles it.
| What you see | Looks like | Where and when | Most likely |
|---|---|---|---|
| Whitish, legless grubs, tapered toward the head, wriggling | Small grains up to about a third of an inch long, many together | On or in poop that has sat outside | Fly larvae (maggots) |
| Flat white or cream pieces, may be moving | A grain of rice or a cucumber seed | On fresh poop, on fur around the bottom, on bedding | Tapeworm segments |
| Dry, golden, hard specks | Sesame seeds | Stuck to fur or bedding | Dried tapeworm segments |
| Long, pale, round worms, sometimes moving | Cooked spaghetti | In fresh poop or in vomit | Roundworms |
| Nothing visible | Normal-looking poop | Any time | Hookworms, whipworms and Giardia cannot be seen by eye |
A few details help with the closest call, maggots against tapeworm segments.
- Shape. Maggots are rounded like a tiny tube, with one pointed end and one blunt end. Tapeworm segments are flat.
- Movement. Both can move, so movement alone does not settle it. Maggots wriggle through the poop. Segments crawl on the surface.
- Color when dry. Tapeworm segments dry out to hard, golden specks like sesame seeds, often stuck to fur or bedding.
- Timing. Maggots need time for eggs to hatch. Segments are there the moment the poop lands.
Tapeworm segments and other pale bits have their own guide: white specks in dog poop. For the worms you can see, read worms in dog poop, and the worms and parasites hub collects everything in one place.

Good to know
A photo cannot always separate a maggot from a tapeworm segment, and neither can a quick glance. If you are unsure, bag a sample of fresh poop and let your vet look. Routine fecal tests often miss tapeworms, so tell your vet exactly what you saw.
Fly larvae in dog poop that is fresh
Sometimes the poop really is fresh. You watched it happen, and there are larvae in it. That is uncommon, and there are two ways it comes about.
Your dog ate them. A dog who scavenges something dead can swallow the maggots living in it. Fly larvae cannot continue developing inside the gut. They pass through undigested and come out in the poop. Vets call this pseudomyiasis, or "false strike". The larvae are passengers, not parasites.
Your dog licked them off. This is the one to take seriously. A dog with maggots in a wound or in soiled fur can swallow larvae while grooming, and those pass through too. In that case the poop is a clue to a problem somewhere on the body.
So fresh poop with maggots earns two things: a careful look over your dog, and a call to your vet today. Bring the sample. What looks like maggots may turn out to be tapeworm segments, and your vet can tell which.
When maggots are on your dog: fly strike
Fly strike (vets call it myiasis) is an infestation of the skin by fly larvae. Flies are drawn to wounds, moist or infected skin and soiled areas, and they lay eggs there. Coats that are matted and dirty with poop attract them too.
Dogs at higher risk include those with open or surgical wounds, skin disease, weakness or other illness, or incontinence, and dogs who spend a lot of time outside. A dog with diarrhea stuck in long fur around the back end fits the pattern.
What to look for:
- Maggots or fly eggs visible in a wound or on the skin.
- Raised, red sores.
- A foul smell of decay.
- A dog who is irritable, flat, or off food.
Part the fur and check under the tail, around the bottom, between skin folds, and around any wound or hot spot. Once larvae are inside a wound they move into the surrounding tissue quickly, so this is a same-hour phone call.
Heads up
Do not try to pick or wash maggots out of a wound yourself. A vet needs to clean the wound and remove them, usually with the dog sedated or under anesthesia. Call a vet now.
Try it
Not sure which situation you are in? The should I call the vet checker asks a few quick questions and gives you one of the four verdicts.
How to stop maggots in dog poop
Maggots in the yard are a cleanup problem, and the fix is simple.
- Pick up promptly. Daily pickup in warm months removes the breeding site before eggs can hatch. Our guide to dog poop disposal covers the options.
- Bag it and bin it. Seal the bag and use a trash can with a lid.
- Keep trash covered. Garbage, standing water and anything rotting attract the same flies.
- Keep your dog's coat clean. Bathe and groom routinely, and do not let pee or poop build up in the fur. Ask a groomer to trim long fur around the back end if it soils often.
- Have every open wound checked. Wounds are where fly strike starts.
- Wash your hands after any cleanup.
One more habit helps with identification. When you want to know what is in your dog's poop, look at a fresh one. Old poop collects fly eggs and larvae, which is exactly how they get mistaken for worms. Vets ask for fresh samples for the same reason, as dog fecal test explains.

What to do today
- Work out how old the poop is. If it sat outside for hours or days, flies are the likely source.
- Take a clear photo in good light before you pick it up.
- Look closely without touching: rounded and wriggling, or flat and rice-like?
- Pick up the poop with a bag, seal it, and put it in a lidded trash can. Wash your hands.
- Check your dog. Part the fur under the tail and around the bottom, and look over any wound or sore.
- Watch the next fresh poop. If it has moving bits in it, bag a sample in a clean, sealed container and keep it in the fridge, away from food, for up to 24 hours.
- Clear the rest of the yard so you start from clean ground.
- Do not give a dewormer on a guess. Your vet chooses the medicine once they know what is there, and maggots on old poop need none.
When to call the vet
Call a vet now
- Maggots or fly eggs on your dog's skin, in a wound, or in matted, soiled fur.
- A wound with a foul smell, spreading sores, or a dog who is flat and will not eat.
- A puppy with diarrhea plus vomiting, low energy, or no interest in food.
- Black, sticky, tar-like poop, or a lot of fresh blood.
- Pale or white gums, collapse, or severe weakness.
Call your vet today
- Maggots or moving bits in poop you saw your dog pass.
- Worms, or rice-like or sesame-like bits, in the poop, on the fur around the bottom, or on bedding.
- Long, pale, spaghetti-like worms in poop or vomit.
- Any open wound or sore, even a small one, in fly season.
- A dog with diarrhea whose back end keeps getting soiled.
- You cannot tell what you are looking at.
Maggots in dog poop look alarming and almost never are. Old poop grows them, fresh poop almost never has them, and the one case that matters is the dog, not the poop. Pick up daily and check the coat, and you have covered it. The PoopScout app reads a photo for score, color and findings and gives you one of these four verdicts, and it works best on a fresh poop. If you share your home with a cat too, see worms in cat poop.
PoopScout guides are general information for pet owners, written from veterinary sources named above. They are not veterinary advice, they do not diagnose, and they can be wrong for your pet. If your dog or cat seems unwell, or you are worried, call your vet. In an emergency, contact your vet or the nearest emergency animal hospital right away.
Questions owners ask
Are maggots in dog poop worms?
No. Maggots are fly larvae. Flies lay eggs on poop that has been sitting outside, and the eggs hatch into small, pale, legless larvae. They did not come from inside your dog. Worms from a dog look different: long and spaghetti-like, or small flat segments like grains of rice.
Why is there fly larvae in my dog's poop?
Usually because the poop sat outside long enough for flies to find it and lay eggs. Less often, a dog swallows larvae while eating something dead or licking a wound, and they pass through undigested and show up in fresh poop.
Can a dog poop out maggots?
Yes, but it is uncommon. Swallowed fly larvae cannot develop inside the gut and pass out undigested. If you see maggots in poop that is truly fresh, check your dog's skin and coat for a wound and call your vet today.
How do I tell maggots from tapeworm segments?
Maggots are rounded, tapered toward the head and wriggle actively, usually on old poop. Tapeworm segments are flat, about the size and shape of a grain of rice or a cucumber seed, and show up on fresh poop or the fur around the bottom.
Are maggots on my dog an emergency?
Maggots on your dog's skin, in a wound or in soiled, matted fur need a vet right away. Do not try to pick them out yourself. Maggots only on poop in the yard are not an emergency.
Sources
- Merck Veterinary Manual (Dog Owners): Flies and Mosquitoes of Dogs: www.merckvetmanual.com/dog-owners/skin-disorders-of-dogs/flies-and-mosquitoes-of
- Merck Veterinary Manual (Professional): Pseudomyiasis in Animals: www.merckvetmanual.com/integumentary-system/flies/pseudomyiasis-in-animals
- VCA Animal Hospitals: Myiasis (Fly Larvae Infestation): vcahospitals.com/know-your-pet/myiasis
- University of Maryland Extension: Flies Indoors: extension.umd.edu/resource/flies-indoors
- VCA Animal Hospitals: Tapeworm Infection in Dogs: vcahospitals.com/know-your-pet/tapeworm-infection-in-dogs
- Merck Veterinary Manual (Dog Owners): Gastrointestinal Parasites of Dogs: www.merckvetmanual.com/dog-owners/digestive-disorders-of-dogs/gastrointestinal-p
- Companion Animal Parasite Council: Dipylidium caninum (Flea Tapeworm): capcvet.org/guidelines/dipylidium-caninum/
- American Kennel Club: Roundworms in Dogs: www.akc.org/expert-advice/health/roundworms-in-dogs-symptoms-treatment-and-preve
- VCA Animal Hospitals: Importance of Fecal Tests in Dogs and Cats: vcahospitals.com/resources/preventive/fecal-tests-for-dogs-and-cats
- Companion Animal Parasite Council: General Guidelines: capcvet.org/guidelines/general-guidelines/
Read next

Worms & parasites
Worms in Dog Poop: What They Look Like

Worms & parasites
White Specks in Dog Poop: Rice, Seeds or Worms?

Constipation & straining
Cat Not Pooping: How Long Is Too Long?

Frequency & what is normal
How Often Should a Dog Poop?

Puppies & kittens
Puppy Pooping Blood or Bloody Mucus: What to Do

Blood in poop
Dog Poop Like Jelly With Blood: What It Means