Intestinal worms are sometimes visible in stool with the naked eye, depending on the type of worm and how heavy the infection is. Pinworms, tapeworm segments, and roundworms each look distinctly different, and knowing what to look for can help you figure out whether what you’re seeing is actually a parasite or something else entirely.
What Different Worms Look Like
The three most common worms you might spot in stool each have a unique appearance.
Pinworms are thin, white, and small, roughly 6 to 13 millimeters long (about the size of a staple). They resemble tiny white threads. You’re more likely to spot them around the anus than in the stool itself, especially at night, because female pinworms crawl out to lay eggs on the surrounding skin. If you do see them in the toilet, they may still be wriggling.
Tapeworm segments are flat, white or yellowish pieces that break off from the adult worm and pass in stool. Each segment is roughly the size and shape of a grain of rice or a small seed. You might notice them on the surface of stool, in your underwear, or on toilet paper. The adult tapeworm itself stays anchored in the small intestine and can grow up to 12 meters long, but you’ll almost never see the whole thing. What you see are just the individual segments.
Roundworms are the hardest to miss. Adult females measure 20 to 35 centimeters (roughly the length of a ruler), and males are slightly smaller at 15 to 31 centimeters. They’re pinkish-white and look like earthworms or thick spaghetti. Roundworms are occasionally passed whole in stool, and in rare cases they can come out through the mouth or nose.
Signs You Might Not See in the Toilet
Many worm infections don’t produce visible worms at all, especially in the early stages. The eggs are microscopic, and lighter infections may never produce an adult worm large enough to notice. Instead, your body gives you other clues.
The hallmark symptom of pinworms is intense itching around the anus, particularly at night. This happens because female pinworms migrate to the skin around the anus after dark to deposit eggs. The itching can disrupt sleep and cause restlessness. Repeated scratching can make the skin red and swollen, sometimes leading to a secondary bacterial skin infection on top of the pinworm problem. Some people also report abdominal pain. In women and girls, pinworms occasionally migrate to the vaginal area and cause irritation there.
Other worm infections can cause looser stools, unexplained weight loss, fatigue, nausea, or bloating. These symptoms overlap with many other digestive conditions, which is why visual confirmation or lab testing matters.
How to Check at Home
If you suspect pinworms, the most reliable at-home method is the tape test. Press the sticky side of a piece of clear tape firmly against the skin around the anus, then peel it off and seal it in a plastic bag or place it sticky-side down on a glass slide. Do this first thing in the morning, before showering, using the toilet, or getting dressed. That timing is critical because the eggs are deposited overnight and are most concentrated on the skin before anything washes them away.
Repeat the tape test on three consecutive mornings. A single test can miss the eggs, but doing it three days in a row significantly improves accuracy. Bring the sealed samples to your doctor’s office, where they can examine the tape under a microscope to confirm whether pinworm eggs are present.
For other types of worms, visual inspection of your stool is a reasonable first step. Look at the surface before flushing. Tapeworm segments are small and easy to overlook, so check toilet paper as well. If you see something suspicious, try to collect it in a clean sealed container to bring to your doctor. A photo can also be helpful.
What Doctors Test For
The standard lab test for most intestinal worms is an ova and parasite exam, where a stool sample is examined under a microscope for eggs, larvae, or worm fragments. One sample often isn’t enough because worms don’t shed eggs continuously. The CDC recommends collecting three stool samples, each spaced two to three days apart, to reduce the chance of a false negative.
Your doctor may also order blood work in some cases, particularly if they suspect a worm that migrates through tissues rather than staying in the gut. But for the common intestinal species, stool testing is the primary tool.
Things That Look Like Worms but Aren’t
Undigested food is the most common source of false alarms. Bean sprouts, banana fibers, and strands of mucus can all look remarkably similar to small worms. The key differences: food fibers don’t move, they’re typically uniform in texture, and they often match something you recently ate. Mucus strands can appear translucent or whitish and are sometimes a normal part of digestion, though large amounts of mucus can signal other issues like irritable bowel syndrome or inflammation.
If you’re unsure, collect the specimen and have it examined. That’s the only way to be certain.
Treatment for Common Worm Infections
Pinworm infections are treatable with an over-the-counter medication called pyrantel pamoate. It’s dosed by weight, with a maximum of 1 gram per dose. The important detail most people miss is that you need two doses: the first kills the adult worms, and the second, taken exactly two weeks later, kills any worms that have hatched from eggs since the first dose. Skipping that second dose is one of the most common reasons pinworm infections come back.
During treatment, wash all bedding, towels, and underwear in hot water on the first day. Pinworm eggs can survive on fabric and surfaces for two to three weeks, so thorough cleaning of the household helps prevent reinfection. If one family member is infected, especially a child, other household members often need treatment too.
Tapeworm and roundworm infections typically require prescription medication. Your doctor will choose the specific drug based on the species identified in your stool sample. Treatment is usually a short course taken orally, and most people recover fully without complications.
Symptoms That Need Urgent Attention
Most worm infections are more unpleasant than dangerous, but certain symptoms signal that the infection has progressed or caused complications. Seek emergency care if you experience multiple episodes of severe watery diarrhea, dizziness, sudden confusion, very dark urine, or significantly decreased urination. These are signs of dehydration that can become serious quickly.
Untreated heavy infections can, in rare cases, lead to bowel obstruction (especially with large roundworm burdens), appendicitis, or organ damage if a tapeworm migrates to the brain, eyes, heart, or liver. Severe or persistent abdominal pain, particularly if accompanied by vomiting or fever, warrants prompt medical evaluation.