Pinworm Infection

This is an infection caused by tiny roundworms called oxyures. These worms live in the intestines. The infection is usually harmless but can sometimes cause stomach upset or diarrhea.

Condition

What people with Pinworm Infection report

Every report comes from a Lived member, sent anonymously.

Have you tried Mebendazole for Pinworm Infection?

NameHow it went

About Pinworm Infection

What It Is

Pinworm infection, also called enterobiasis, happens when small, thin white worms live in the lower part of the intestine (the colon and rectum). It is the most common worm infection in the United States and is especially common in school-age and preschool children, although anyone can get it. The main symptom comes from the worms' life cycle. At night, female pinworms leave the intestine through the anus and lay eggs on the surrounding skin, which causes itching around the anus, or sometimes around the vagina. The itching can be intense enough to disrupt sleep and leave a child restless or irritable. Many people, however, have no symptoms at all. Pinworms are a nuisance rather than a dangerous infection, but they spread easily and often come back, which is what makes them frustrating for families.

Causes & Risk Factors

People become infected by swallowing pinworm eggs, which are too small to see. Scratching the itchy area puts eggs on the fingers and under the fingernails. From there they reach the mouth directly, or they are passed to other people through hands, food, clothing, bedding, towels and other shared items. Eggs can survive on objects for two to three weeks if they are not washed or cleaned away, and rarely they can float in the air and be swallowed. Because the same hand-to-mouth route lets someone swallow their own eggs again, repeat infections are common. Risk is highest for children in childcare and school, for the household members and caregivers of an infected person, and for people living in institutions. Infection reflects close contact and normal childhood habits such as nail biting, not a dirty home.

How It's Diagnosed

The usual test is the tape test. First thing in the morning, before bathing or using the toilet, a piece of clear tape is pressed briefly against the skin around the anus so that any eggs stick to it. The tape is then placed on a slide or as the kit directs and brought to a clinician, who looks for eggs under a microscope. Because eggs are laid at night and not every night, the test may need to be repeated on three separate mornings to give the best chance of finding them. Sometimes a parent sees a worm directly, a tiny white thread around a child's anus two to three hours after the child falls asleep. Stool samples and blood tests are not usually helpful for diagnosing pinworms, because eggs are rarely found in stool and there is no blood test for the infection.

Treatment Options

Mild infections without symptoms may not need medicine, but when treatment is used it is a short course of an anti-worm medicine taken by mouth. Pyrantel pamoate is sold without a prescription as pinworm medicine and is dosed by body weight. Mebendazole (Emverm) is a prescription chewable tablet, and albendazole is another prescription option. Each is typically a single dose. These medicines kill the worms but not the eggs, so the Centers for Disease Control and Prevention (CDC) advises a second dose two weeks after the first to catch worms that hatched in the meantime. The over-the-counter pyrantel package says not to repeat a dose unless a doctor directs it, so it is worth confirming the two-dose plan with a clinician or pharmacist. Because other people in the home are often infected without symptoms, everyone in the household is usually treated at the same time. Hygiene is the other half of treatment. Washing hands with soap and warm water, especially after using the toilet, changing diapers and before eating, is the most effective way to stop the spread. Bathing after waking up to wash off eggs laid overnight, changing underwear every day, discouraging scratching and nail biting, and washing pajamas and bed sheets often also help. Children under 2 and people who are pregnant need a clinician's advice before taking these medicines. The over-the-counter label is only for children 2 and older who weigh at least 25 pounds. In pregnancy, these medicines have not been well studied, so hygiene measures are the first step; if a clinician thinks medicine is needed, it is usually delayed until the third trimester.

What to Expect

With medicine and careful hygiene, pinworm infection usually clears without lasting effects. If the plan agreed with a clinician includes a second dose, take it even if the itching has already stopped. The practical burden is reinfection. Children can easily pick up pinworms again at school or daycare, and a household can pass the infection back and forth if someone is missed. Keeping up handwashing and laundry habits through the weeks of treatment, while eggs can still survive on clothing and bedding, is what breaks that cycle. Getting pinworms again is common and does not mean treatment failed or that anything was done wrong; it can be treated the same way.

When to Seek Help

Contact a clinician to confirm the diagnosis before treating a child under 2 or anyone who is pregnant. Also check in if itching continues or returns after both doses, since another round, treatment of other household members or a different explanation may be needed. Arrange a visit if the skin around the anus becomes red, swollen or sore from scratching, which can signal a bacterial skin infection, or if a girl or woman develops vaginal itching or irritation, since pinworms occasionally move into the genital area.

Questions to Ask Your Doctor

  1. 1.Should we do a tape test first, or is it reasonable to treat based on the symptoms or a worm we have seen?
  2. 2.Which medicine fits our family, and should everyone in the household take a second dose two weeks later?
  3. 3.How should we handle treatment for a child under 2 or for someone in our home who is pregnant?
  4. 4.What can we realistically do at home and at school or daycare to keep the infection from coming back?
  5. 5.If the itching keeps returning, what else should we check for?

Last reviewed • Oct 2026

Educational content, not medical advice.