White Worms in Dog Poop: Tapeworms or Roundworms?

White worms in your dog’s poop almost always mean an intestinal parasite infection, most commonly tapeworms or roundworms. The appearance of the worms tells you a lot: small, flat, rice-grain-sized segments that may be wiggling point to tapeworms, while longer, spaghetti-like strands suggest roundworms. Both are treatable, but they require different medications and have different implications for your dog’s health and your household.

Tapeworms: The Rice-Shaped Segments

If the white specks look like grains of rice or sesame seeds, you’re likely seeing segments of a tapeworm called Dipylidium caninum. These segments break off from the adult worm living in your dog’s small intestine and pass out with the stool. They may still be moving when fresh, and they can also dry out around your dog’s rear end or on bedding, turning hard and yellowish.

Dogs get tapeworms by swallowing an infected flea. Here’s how it works: flea larvae in the environment eat tapeworm egg packets. Inside the flea, the tapeworm develops into an immature form that sits dormant as the flea matures into an adult. When your dog chews or licks at a flea bite and accidentally swallows that flea, the immature tapeworm is released into the small intestine, where it grows into a full adult over about one month. This is why a flea problem and a tapeworm problem often go hand in hand. You can’t prevent tapeworms without controlling fleas.

Tapeworm infections are often mild. Many dogs show no obvious illness beyond the visible segments. In heavier infections, signs can include a shaggy coat, variable appetite, irritability, mild diarrhea, and poor nutrient absorption. You might also notice your dog scooting its rear along the ground because the segments cause itching as they exit.

Roundworms: The Spaghetti-Like Strands

If the worms are longer (several inches), white or light tan, and resemble thin spaghetti, they’re most likely roundworms. The species Toxocara canis is the most common in dogs. These worms live in the small intestine and can grow to several inches long, so they’re hard to miss when they show up in stool or, occasionally, in vomit.

Roundworms spread differently than tapeworms. Dogs pick them up by swallowing microscopic eggs from contaminated soil, grass, or feces. After a dog swallows the eggs, they hatch and the larvae take a complex journey through the gut wall, lungs, and back to the intestine before maturing into adults. The eggs shed in feces need one to four weeks in the environment before they become infectious, so fresh poop isn’t the immediate danger. Old, uncleared waste is.

Puppies face extra risk because roundworm larvae can pass directly from a mother dog to her puppies before birth through the placenta, and to a lesser extent through her milk during nursing. This is why roundworm infections are extremely common in young puppies, sometimes appearing within weeks of birth. Infected puppies often have a dull coat and a characteristic potbellied appearance from the swollen abdomen. They may also show poor growth, diarrhea, and general lethargy. Adult dogs with light infections sometimes show no symptoms at all beyond the worms appearing in their stool.

Less Common Possibilities

Hookworms and whipworms can also infect dogs, though they’re tiny and rarely visible to the naked eye in stool. If you’re seeing clearly visible white worms, tapeworms and roundworms are far more likely. Threadworms are another possibility in warm, humid climates, sometimes causing blood-streaked diarrhea and weight loss, but again these are uncommon compared to the two main culprits.

Risks to People in Your Household

Roundworms pose a real health concern for humans, especially young children. People become infected by accidentally swallowing Toxocara eggs from contaminated dirt or unwashed hands. Children who play in yards or sandboxes where infected dogs have defecated are at highest risk, particularly if they put their hands in their mouths.

In humans, the larvae can’t complete their life cycle, so instead they migrate through organs and tissue, causing a condition called visceral toxocariasis. Symptoms include fever, cough, wheezing, belly pain, and an enlarged liver. In rare cases, a larva reaches the eye, which can cause vision problems. Severe cases are most likely in young children who have been playing in or eating contaminated dirt. Prompt treatment of your dog and thorough cleanup of feces from your yard reduces this risk significantly.

Tapeworms from Dipylidium caninum can technically infect humans too, but only through swallowing an infected flea. This is rare and mostly seen in small children.

How Your Vet Confirms the Diagnosis

If you see visible worms, that’s already strong evidence of infection. Your vet will likely still perform a fecal test to identify the exact species and check for additional parasites you can’t see. The standard method involves mixing a small stool sample with a special solution that causes parasite eggs to float to the surface, where they can be examined under a microscope. Centrifugation-based techniques recover more eggs than simple flotation, making them more reliable for detecting lighter infections.

This matters because dogs can carry multiple parasite species simultaneously, and each type requires a targeted treatment. A dog with visible tapeworm segments might also have a roundworm or hookworm infection that only shows up on a fecal test.

Treatment and What to Expect

Deworming medications work quickly and are highly effective. The specific drug depends on which parasite your dog has. Tapeworms and roundworms respond to different active ingredients, which is one reason identification matters. Your vet may use a single-dose treatment for tapeworms or a multi-day course for roundworms, and a follow-up dose is often needed a few weeks later to catch any larvae that have since matured into adults.

After treatment, you may see dead or dying worms in your dog’s stool for a day or two. This is normal and actually a sign the medication is working. Most dogs feel noticeably better within a week, especially if the infection was causing digestive symptoms or a dull coat.

For puppies, deworming typically starts early and is repeated on a schedule because of how easily they pick up roundworms from their mother. Your vet will outline the timing based on your puppy’s age.

Preventing Reinfection

Worms come back easily if you don’t address the source. The Companion Animal Parasite Council recommends year-round parasite prevention that covers intestinal worms, heartworm, fleas, and ticks. For intestinal parasites specifically, treating all adult dogs four times a year with a broad-spectrum dewormer is the standard recommendation, along with annual fecal testing.

For tapeworms, flea control is non-negotiable. If your dog keeps getting reinfected with tapeworms, fleas are still present in your environment even if you’re not seeing them. Treat your dog, your home, and your yard. For roundworms, pick up your dog’s feces promptly from your yard (before the eggs have time to become infectious in the soil), wash your hands after handling waste, and keep children’s play areas clean. Roundworm eggs are tough and can survive in soil for years, so prevention is far easier than decontamination.