Pinworms are tiny white parasitic worms that live in the human intestine and cause intense itching around the anus, especially at night. They are the most common worm infection in the United States and affect roughly 30% of children worldwide, with rates reaching 60% in some regions. Despite how unsettling they sound, pinworm infections are generally harmless and easy to treat.
What Pinworms Look Like
Pinworms are small, thin, white worms that resemble a short piece of thread. Females are the ones you’re most likely to spot: they measure 8 to 13 millimeters long, roughly the length of a staple. Males are much smaller at about 2.5 millimeters and are rarely seen outside the intestine. The female has a distinctive pointed tail, which is where the name “pinworm” comes from.
You might notice them on your child’s skin near the anus, in underwear, or on the surface of a stool. They’re most visible at night or first thing in the morning.
How You Get Infected
Pinworm infections spread through a surprisingly simple cycle. At night, female worms crawl out of the intestine to the skin around the anus and deposit around 10,000 eggs before dying. This migration is what triggers the intense itching. When the person scratches, eggs get under the fingernails and onto the hands. From there, eggs transfer to anything that person touches: doorknobs, toys, bedding, countertops, food.
Someone else picks up the eggs on their hands and swallows them, often without realizing it. The eggs hatch in the small intestine, and the young worms move to the large intestine where they mature into adults. Then the cycle starts over. Pinworm eggs are microscopic and incredibly resilient. They can survive on household surfaces for two to three weeks, waiting to be picked up.
This is also why reinfection is so common. A person can reinfect themselves by scratching at night and then touching their mouth. Children aged 5 to 14 have the highest infection rates, largely because of close contact in schools and daycares combined with less consistent hand hygiene. But anyone in a household can catch them, and it’s not a sign of poor cleanliness.
Symptoms to Recognize
The hallmark symptom is itching around the anus that gets worse at night. This happens because the female worms actively migrate to the skin surface to lay eggs during nighttime hours. In children, the itching can be severe enough to disrupt sleep, cause irritability, and lead to restlessness or difficulty concentrating during the day.
Some people, especially those with light infections, have no symptoms at all. Others may notice:
- Visible worms on the skin near the anus, in underwear, or on stool
- Irritated skin from repeated scratching, which can sometimes lead to a secondary bacterial infection
- Vaginal itching in girls and women, if worms migrate to the vaginal area
- Stomach discomfort or nausea in heavier infections, though this is less common
How Pinworms Are Diagnosed
Standard stool tests usually miss pinworms because the eggs are deposited outside the body, not in the stool. The reliable method is a “tape test.” You press a piece of clear adhesive tape against the skin around the anus, then peel it off. Any eggs present will stick to the tape and can be seen under a microscope.
Timing matters. The test works best first thing in the morning, before the person bathes, uses the toilet, or gets dressed. The CDC recommends doing this on three consecutive mornings, since the worms don’t lay eggs every single night. Place the tape in a sealed plastic bag or specimen container and bring it to your doctor’s office or lab.
Treatment and the Two-Dose Rule
Pinworm infections are treated with antiparasitic medication, typically available both over the counter and by prescription. The treatment involves two doses: one initial dose that kills the adult worms currently living in the intestine, and a second dose two weeks later. That second dose is critical because the first round doesn’t kill eggs that are already deposited. Those eggs can hatch into new worms within those two weeks, and the second dose eliminates them before they can start the cycle again.
Most doctors recommend treating everyone in the household at the same time, even family members without symptoms. Pinworms spread so easily within a home that someone without obvious itching may still be carrying the infection and reintroducing eggs to shared surfaces.
Cleaning Your Home During Treatment
Medication alone won’t break the cycle if your environment is still contaminated with eggs. On the morning you start treatment, wash all bedding, towels, pajamas, and underwear in hot water (at least 130°F) and dry them on a hot dryer setting. The heat kills pinworm eggs effectively.
Handle contaminated laundry carefully to avoid shaking eggs into the air, where they can be inhaled or settle on other surfaces. Beyond laundry, wipe down bathroom surfaces, doorknobs, and light switches. Vacuum carpets and upholstered furniture, since eggs can cling to fabric.
Daily habits matter just as much during and after treatment:
- Wash hands thoroughly with soap and warm water after using the bathroom, before eating, and after changing diapers
- Keep fingernails short to reduce the space where eggs can hide
- Avoid nail biting and thumb sucking in children
- Shower in the morning to wash away eggs deposited overnight
- Change underwear and pajamas daily during the treatment period
Why Reinfection Is So Common
Pinworms are one of the most persistent household infections because of how efficiently they spread. A single female deposits thousands of eggs in one night. Those eggs become infectious within just a few hours of being laid, and they survive on surfaces for weeks. A child scratches in their sleep, touches a shared toy the next morning, and another child picks it up before lunch.
If itching returns a few weeks after treatment, it usually means reinfection rather than treatment failure. Going through the two-dose medication cycle again, combined with thorough household cleaning and strict hand hygiene, typically resolves it. Repeated infections are frustrating but not dangerous.
Possible Complications
For the vast majority of people, pinworms are an annoyance rather than a health threat. The most common complication is a skin infection from excessive scratching, which can introduce bacteria into broken skin. In girls and women, worms that migrate from the anal area to the vagina can cause vaginal irritation or discharge. In rare cases, worms can travel further into the reproductive tract, but this is uncommon and typically resolves with treatment.
Weight loss, significant abdominal pain, or other serious symptoms are not typical of pinworm infections. If those are present, something else is likely going on and worth investigating separately.