What Do Pinworms Look Like in Your Poop?

Pinworms in poop look like tiny, thin white threads, roughly the size of a staple. Adult females measure 1/4 to 1/2 inch long (6 to 13 millimeters) and are about as thin as a piece of sewing thread. They’re bright white, which makes them visible against darker stool, and they sometimes wiggle or move slightly, which is the clearest sign you’re looking at a living worm rather than something harmless.

What Pinworms Actually Look Like

The worms you’ll spot in stool are adult females. They’re smooth, white, and pointed at both ends, sometimes compared to a small grain of white rice, though thinner and more thread-like. Males are smaller and rarely seen because they die inside the intestine after mating.

You might see one worm or several. They tend to appear on the surface of the stool rather than mixed deep inside it, since they live in the lower part of the large intestine near the rectum. You may also spot them around the anus, especially at night, because female pinworms crawl out of the rectum after dark to lay eggs on the surrounding skin. That migration is what causes the intense itching that often leads people to check in the first place.

Pinworms vs. Things That Look Similar

Plenty of harmless things in stool can mimic pinworms. Undigested vegetable fibers, especially from bean sprouts, celery, or banana strings, can appear as pale threads. Small bits of mucus can also look white and stringy. Lint from toilet paper or clothing fibers occasionally end up in the mix too.

The key differences: pinworms have a uniform, smooth shape with tapered ends. Vegetable fibers tend to be rougher, flatter, or irregularly shaped. Mucus strands are usually translucent and gel-like rather than solid white. And the most definitive test is movement. If you see something wiggling, it’s not a fiber. Even dead pinworms hold their distinct pointed shape, while food fibers tend to look ragged when you look closely.

Why They Come Out at Night

Female pinworms migrate to the anal area mostly during the night to deposit thousands of eggs on the surrounding skin. This is what triggers the hallmark symptom of pinworm infection: intense nighttime itching around the anus. When a child (or adult) scratches, the microscopic eggs get trapped under the fingernails and spread to surfaces, clothing, bedding, and eventually back to the mouth, restarting the cycle.

The eggs themselves are far too small to see without a microscope. So when people talk about “seeing pinworms,” they mean the adult worms, not the eggs.

How to Confirm a Pinworm Infection

Spotting a worm in the stool is fairly convincing on its own, but the standard diagnostic method is a tape test. It’s simple and you can do it at home before a doctor’s visit:

  • Timing: Do it first thing in the morning, before the person bathes, uses the toilet, or gets dressed.
  • Method: Press the sticky side of a piece of clear tape firmly against the skin around the anus, then peel it off.
  • Repeat: Do this three mornings in a row to improve accuracy, since the worms don’t lay eggs every single night.
  • Transport: Place each piece of tape in a sealed plastic bag or specimen container and bring it to your doctor’s office, where the eggs can be identified under a microscope.

A single tape test can miss an infection, which is why three consecutive mornings is recommended. Stool samples alone are less reliable for pinworms because the eggs are deposited outside the body, not in the stool itself.

Treatment and the Two-Dose Rule

Pinworm infections are treated with an over-the-counter medication called pyrantel pamoate, available at most pharmacies without a prescription. It paralyzes the adult worms so your body can expel them. The critical detail most people miss: you need two doses, spaced two weeks apart. The first dose kills living adult worms but cannot touch eggs that haven’t hatched yet. The second dose, given 14 days later, catches the new worms that hatched from those surviving eggs before they can lay a fresh batch.

Skipping the second dose is one of the most common reasons pinworm infections keep coming back.

Stopping Reinfection at Home

Pinworm eggs can survive on household surfaces, so medication alone often isn’t enough. For at least two weeks after the last treatment dose, the entire household should follow a few hygiene steps to break the cycle.

Wash all bedding, underwear, pajamas, and towels in hot water, at least 130°F, and dry them on the hottest dryer setting. The heat kills the eggs. Avoid shaking out sheets or clothing, which can launch eggs into the air. Everyone in the house should shower in the morning rather than at night, since eggs are deposited overnight and a morning shower washes them away before they can spread. Keep fingernails trimmed short and discourage nail biting or finger sucking, especially in kids. Frequent handwashing, particularly before meals and after using the bathroom, is the single most effective way to prevent the eggs from completing their journey back to the mouth.

Pinworm infections are extremely common, especially in school-age children. They’re not a sign of poor hygiene, and they don’t cause any lasting harm. But they do spread easily within households, so treating everyone in the home at the same time, even family members without symptoms, is often the fastest way to get rid of them for good.