ConditionInfections
Pinworm Infection
Pinworm infection (enterobiasis or threadworms) is the most common worm infection in the US, especially in children aged 5 to 10. Tiny white worms live in the bowel, and at night the females crawl out to lay eggs around the anus, causing intense itching. Eggs are spread by scratching and then touching surfaces, food or the mouth, so whole households are often infected. Treatment is a single dose of medicine repeated after 2 weeks, plus careful hygiene to prevent reinfection.
Also called: Enterobiasis, threadworm infection, oxyuriasis, seatworm
At a glance
- What it is
- Infection with Enterobius vermicularis, small white worms about 1 cm (under half an inch) long.
- Main symptom
- Itching around the anus, worse at night.
- Who gets it
- School-age children most often, and their families and caregivers.
- How it spreads
- Swallowing eggs from fingers, bedding, clothes, toys and surfaces.
- Diagnosis
- Seeing worms at night, or the tape test first thing in the morning.
- Treatment
- Albendazole, mebendazole or pyrantel pamoate, repeated after 2 weeks, for the whole household.
When to get help
See a doctor within a day or two
- Severe abdominal pain, fever or vomiting (pinworms do not usually cause these, so another cause should be sought)
- Red, swollen, painful skin around the anus or vulva with discharge (possible bacterial infection from scratching)
Book a routine appointment
- Itching around the anus that keeps a child awake at night
- Vaginal itching or discharge in a young girl
- Pinworms that keep coming back after treatment
- Pinworms in pregnancy or a child under 2 years (to choose the right medicine)
Usually safe to manage at home
- Confirmed or suspected pinworms in a child over 2 who is otherwise well, treated with an over-the-counter medicine for the whole household plus hygiene measures
How pinworm infection spreads
- Eggs are swallowed, usually from contaminated fingers.
- They hatch in the small intestine, and worms mature in the large bowel over 1 to 2 months.
- At night, adult females crawl out of the anus to lay thousands of sticky eggs on the surrounding skin.
- The eggs cause itching. Scratching transfers eggs under fingernails, which then reach the mouth, food, toys, bedding and surfaces.
- Eggs can survive on surfaces for up to 2 to 3 weeks.
Pinworms only infect humans. Pets do not spread them. Infection is common in all social groups and is not a sign of poor hygiene.
Symptoms
Many people have no symptoms. When present:
- Itching around the anus, especially at night (anal itching)
- Disturbed sleep, restlessness and irritability, which can look like insomnia
- Vaginal itching and discharge in girls, when worms move to the vulva (vulvovaginitis)
- Seeing worms: tiny white threads around the anus at night or in stool
- Skin irritation or broken skin from scratching. Other causes of anal itching include hemorrhoids and anal fissures
- Occasionally mild abdominal discomfort or bedwetting
Pinworms rarely cause serious problems. Rare complications include skin infections, urinary tract infections in girls, and very rarely worms in the female reproductive tract.
Diagnosis
- Look for worms: shine a flashlight on the anal area 2 to 3 hours after a child falls asleep. Worms look like moving white threads.
- Tape test: first thing in the morning, before bathing or using the toilet, press clear sticky tape against the skin around the anus, then stick it to a slide or bag it for the clinic. Repeat on 3 consecutive mornings to increase accuracy.
- Fingernail samples occasionally.
Stool tests are not useful because eggs are laid on the skin rather than in stool.
Treatment
Medicines
| Medicine | Availability in the US | Notes |
|---|---|---|
| Pyrantel pamoate | Over the counter | Follow the label dose, based on weight |
| Albendazole | Prescription | Single dose, repeated after 2 weeks |
| Mebendazole | Prescription | Single dose, repeated after 2 weeks |
The second dose after 2 weeks kills worms that hatched from eggs swallowed after the first dose. Household members are usually treated at the same time, because many are infected without symptoms.
Ask a doctor before treating children under 2 years or during pregnancy or breastfeeding; hygiene measures alone may be advised initially in pregnancy.
Soothing itching
- Wash the area gently with water in the morning
- A mild barrier cream such as zinc oxide may soothe irritated skin. Avoid scented products that can cause contact dermatitis
- Keep nails short to reduce damage from scratching
Hygiene measures to prevent reinfection
These are as important as the medicine:
- Wash hands with soap and water after using the toilet, before eating and after changing diapers
- Scrub under fingernails and keep nails short
- Discourage nail biting and thumb sucking
- Bathe or shower every morning to remove eggs laid overnight
- Change underwear daily and wear close-fitting underwear at night
- Wash pajamas, bedding and towels in hot water on the day of treatment and regularly for the following weeks
- Do not shake bedding, which spreads eggs into the air
- Clean toilet seats, door handles and toys regularly
- Vacuum floors and clean surfaces in bedrooms and bathrooms
- Do not share towels or washcloths
Children can usually go to school or childcare after the first dose of treatment.
Frequently asked questions
What are the symptoms of pinworms?
The main symptom is itching around the anus, especially at night, leading to disturbed sleep and irritability. Girls may have vaginal itching. You may see tiny white thread-like worms around the anus at night. Many people have no symptoms.
How do you get rid of pinworms?
Take one dose of pyrantel pamoate (over the counter), albendazole or mebendazole, then repeat after 2 weeks. Treat the whole household at the same time. Strict hygiene, including handwashing, short nails and washing bedding, prevents reinfection.
How do you get pinworms?
You get pinworms by swallowing their microscopic eggs, which are spread from an infected person's fingers to surfaces, food, bedding and toys. Children often reinfect themselves by scratching and then putting their fingers in their mouths.
Can adults get pinworms?
Yes. Adults often catch pinworms from infected children, especially parents and caregivers. Symptoms are the same: nighttime anal itching. Adults in the household are usually treated at the same time as the child.
Why do pinworms keep coming back?
Reinfection is common because eggs survive on surfaces for up to 3 weeks and spread easily within households. Not treating all family members, skipping the second dose, or lapses in handwashing and laundry can lead to recurring infection.
Sources
This guide was written from current patient and clinical guidance, including:
- CDC: About Pinworm Infection; Clinical care of pinworm
- American Academy of Pediatrics (HealthyChildren.org): Pinworms
- NHS: Threadworms
- MedlinePlus: Pinworms
- Merck Manual Consumer Version: Pinworm infection