Yes, pinworms move. Adult female pinworms actively crawl out of the intestine and onto the skin around the anus, typically at night while the host is sleeping. This migration is what causes the intense itching that most people associate with a pinworm infection. You can sometimes see them moving with the naked eye: they’re thin, white, and about 6 to 13 millimeters long (roughly the size of a staple).
How Pinworms Move
Pinworms belong to a group of worms called nematodes, and they move differently from earthworms or leeches. They lack the circular muscles that would let them stretch and contract in a straight line. Instead, they have a set of longitudinal muscles running the length of their bodies, paired with a rigid outer covering. This combination produces a distinctive side-to-side flipping or thrashing motion. If you spot a pinworm on skin or in stool, it will look like a tiny white thread wriggling or curling rather than inching forward smoothly.
When and Why They Migrate
The movement people notice most happens at night. Pregnant female pinworms travel from inside the large intestine, through the anus, and onto the surrounding skin to deposit eggs. They crawl across the skin while laying eggs, and this physical movement across sensitive tissue is the direct cause of the itching. The itching tends to be worst during sleep because that’s when the worms are most active outside the body.
Children are especially likely to scratch the area in their sleep, picking up microscopic eggs under their fingernails. Those eggs then transfer to bedding, clothing, toys, or directly into the mouth, restarting the infection cycle. Pinworm eggs can survive on household surfaces for two to three weeks, which is why reinfection is so common even after treatment.
What Moving Pinworms Look Like
If you check the skin around the anus at night (two to three hours after the person falls asleep is often suggested), you may see small white worms actively crawling. They’re thin enough to be mistaken for a piece of thread, but their wriggling motion gives them away. You might also spot them on underwear or pajamas in the morning, though by then they may no longer be moving.
In stool, pinworms are harder to find. The standard way to confirm an infection isn’t by looking in the toilet but by doing a tape test: pressing a piece of clear adhesive tape against the skin around the anus first thing in the morning, before bathing or using the toilet. The tape picks up eggs (and occasionally a worm) that were deposited overnight. For the most reliable result, the CDC recommends repeating this on three consecutive mornings.
Why the Itching Feels So Intense
The itching from pinworms isn’t caused by the eggs themselves or by a toxin. It’s a direct mechanical irritation: the physical crawling of the worms across perianal skin triggers the itch response. This is why the sensation comes and goes rather than being constant. On nights when the worms are actively migrating, the itching can be severe enough to wake a child (or adult) from sleep. Persistent scratching can break the skin and occasionally lead to secondary bacterial infections in the area.
How Infections Are Treated
Pinworm infections are treated with two doses of medication, spaced two weeks apart. The first dose kills the adult worms, but it cannot destroy eggs that are already laid. Those eggs hatch into new worms over the following days. The second dose, given at the two-week mark, kills those newly hatched worms before they can mature and start the cycle again. Skipping the second dose is one of the most common reasons people think treatment didn’t work.
Because pinworm eggs spread so easily through a household, doctors often recommend treating everyone in the home at the same time, not just the person with symptoms. Washing bedding, towels, and pajamas in hot water on the morning of each treatment dose helps reduce the number of viable eggs in the environment. Daily underwear changes and regular handwashing, particularly before meals and after using the bathroom, lower the odds of reinfection.
How Common Pinworms Are
Pinworms remain the most common intestinal worm infection among children worldwide. Prevalence estimates in children range from 4% to 28% depending on the region and setting. Preschool-aged children, their siblings, and their caregivers are most frequently affected. The infection isn’t a sign of poor hygiene in any individual sense. Pinworm eggs are lightweight, invisible to the naked eye, and spread readily in environments where young children are in close contact, such as daycare centers and schools.

