Pinworms
Also known as: Threadworms, Enterobiasis, Seatworms
Pinworms, also called threadworms, are tiny white worms about the size of a staple that live in the human bowel. They are the most common worm infection in many countries and particularly affect children of school and nursery age, along with their families. The female worms crawl out of the anus at night to lay thousands of microscopic eggs on the surrounding skin, which causes intense itching. Scratching transfers eggs to the fingers and under the nails, from where they spread to surfaces, food, and other people and are swallowed, continuing the cycle. Pinworms are unpleasant but harmless, do not indicate poor hygiene, and are easily treated with medication combined with strict hygiene measures to stop reinfection.
Last updated November 10, 2026
Understanding Pinworms
Pinworm infection, enterobiasis, is caused by Enterobius vermicularis, a white roundworm 2 to 13 mm long that lives in the lower bowel of humans and no other host. The CDC calls it the most common worm infection in the United States, and surveys of young children in daycare and elementary school repeatedly find 10 to 30 percent carrying it at any one time, with higher rates in institutions and crowded homes. It peaks between ages 5 and 10, spreads readily to parents and siblings, and crosses every income and hygiene line, because the eggs travel on fingers, bedding, toys and in household dust. It causes no lasting harm in the vast majority of people, yet the night-time itching, lost sleep and sheer persistence of reinfection make it one of the most frustrating minor infections families deal with, and one of the most searched.
The life cycle explains both the symptoms and why it keeps coming back. Swallowed eggs hatch in the small intestine, the larvae mature in the cecum over 4 to 6 weeks, and the adult worms mate. The gravid female then migrates out of the anus at night, usually within 1 to 3 hours of the person falling asleep, and deposits around 10,000 eggs on the surrounding skin in a sticky, irritating fluid before dying. The eggs become infective within 4 to 6 hours, survive 2 to 3 weeks on cool, humid surfaces, and are small and light enough to be inhaled from shaken sheets. Scratching moves them under the fingernails and into the mouth, which is why nail-biters and thumb-suckers are reinfected most. The itch can be intense enough to cause bleeding, secondary bacterial infection and bedwetting; in girls, worms can wander into the vulva and vagina and cause discharge or urinary symptoms. Adult worms live only about 2 months, so without reinfection the infection burns out on its own.
Treatment is simple. In the United States pyrantel pamoate is available over the counter and is dosed by weight (11 mg per kg, up to 1 g) as a single dose; prescription mebendazole 100 mg or albendazole 400 mg are the alternatives, and all three clear the infection in 90 to 100 percent of people in trials. Because none of them kills eggs, every regimen is repeated after 2 weeks to catch worms that hatched after the first dose, and the CDC and American Academy of Pediatrics advise treating all household members at the same time whenever more than one person is affected or the infection recurs. Diagnosis rarely needs a lab: seeing the worms at night is enough, and when it is not, the tape test done on three consecutive mornings before washing detects about 90 percent of cases, compared with roughly half for a single sample. Pregnant women are usually asked to rely on hygiene measures until the third trimester, and children under 2 are treated only on a clinician's advice, because dosing data are limited.
No herb, food or parasite cleanse has been shown to kill pinworms in people, and this is an infection where the honest answer is that the 10-dollar pharmacy product works and the 40-dollar herbal kit does not. Garlic, pumpkin seeds, coconut oil, grapefruit seed extract and wormwood all circulate online; garlic and pumpkin seed have laboratory activity against some worms and essentially no human trials in enterobiasis, and wormwood contains thujone, which can cause seizures, so it is a poor trade. Papaya seed has one small Nigerian trial in children with other gut worms, not pinworm. Probiotics do not touch the worm. The part of natural management that genuinely matters is mechanical: morning showers to wash off eggs, short nails, daily underwear changes, hot laundry and not shaking bedding, continued for at least 2 weeks after treatment. For the itch, a zinc oxide or petrolatum barrier at bedtime soothes raw skin and may reduce scratching, and cotton underwear or snug pajamas limit hand contact during sleep. Raw carrots and apple cider vinegar are folklore.
The most common mistake is treating only the child who itches, once. Up to 40 percent of household contacts of a symptomatic child carry pinworms without symptoms, and a single dose leaves eggs that hatch over the following days, so the itch returns in 3 to 6 weeks and families conclude the medicine failed. Treat everyone on the same day, repeat at 2 weeks, and run the hygiene routine through both doses. The second mistake is over-cleaning: pinworm eggs are not reliably killed by ordinary surface sprays and families exhaust themselves scrubbing walls. What actually removes eggs is washing hands, bodies and fabrics; hot-water laundry and a daily vacuum of bedrooms are enough. The third is assuming a persistent itch means persistent worms. If itching continues after two correctly timed doses and no worms or eggs can be found, think about eczema, yeast, hemorrhoids or contact irritation from wipes and creams, and see a clinician rather than taking a third or fourth dose.
At a Glance
- Common symptoms
- Itching around the anus, worst at night, and in girls sometimes around the vagina, Disturbed sleep, restlessness, or irritability, Small white thread-like worms visible around the anus, on the stool, or on underwear or bedding, especially at night
- Main treatments
- A single dose of mebendazole (or pyrantel in some countries), usually repeated after two weeks to kill newly hatched worms, Treating everyone in the household at the same time, including those without symptoms, Strict hygiene for at least two weeks alongside medication: hand washing, nail cutting, morning showers, and daily changes of underwear and nightwear
- Category
- Infectious · Very common worldwide, especially among children of nursery and primary school age and their households
- See a doctor if
- You see worms, or itching persists after a full course of treatment and hygiene measures
Symptoms
Causes
- Swallowing pinworm eggs from contaminated fingers, surfaces, toys, food, or bedding
- Scratching the itchy anal area and transferring eggs to the mouth (self-reinfection)
- Breathing in and swallowing eggs that have become airborne from shaken bedding or clothing
- Close contact in households, nurseries, and schools
Risk Factors
- Age 5 to 10 years
- Having a child in nursery or primary school
- Living in a crowded household or institution
- Nail biting, thumb sucking, and infrequent hand washing
- Having a family member or close contact with pinworms
Diagnosis
- Seeing the worms around the anus at night or on the stool, which is often enough to diagnose
- The 'tape test': pressing clear sticky tape against the skin around the anus first thing in the morning and having it examined under a microscope for eggs
- Stool tests are not useful, as the eggs are laid on the skin rather than passed in stool
Treatment
- A single dose of mebendazole (or pyrantel in some countries), usually repeated after two weeks to kill newly hatched worms
- Treating everyone in the household at the same time, including those without symptoms
- Strict hygiene for at least two weeks alongside medication: hand washing, nail cutting, morning showers, and daily changes of underwear and nightwear
- Washing bedding, towels, and nightwear in hot water, and vacuuming and damp-dusting bedrooms
- Hygiene measures alone for six weeks as an alternative for pregnant women and children under two, in whom medication may not be advised; a doctor can give specific guidance
- Supportive: a soothing cream for the irritated skin, and cotton underwear or close-fitting pyjamas at night to limit scratching
Natural remedies for pinworms: what the evidence says
Ranked by the strength of human evidence for pinworms specifically. These sit alongside medical care, not in place of it.
Papain (Papaya Seed)
Preliminary evidenceA 2007 randomized trial in 60 Nigerian children with intestinal parasites on stool testing found that a dried papaya seed and honey mixture cleared eggs from the stool in 77 percent, versus 17 percent with honey alone, after 7 days. The parasites were mainly Ascaris, hookworm and Entamoeba; Enterobius was not studied, and stool tests do not detect pinworm anyway. Papain enzyme capsules are a different product from whole seed and have no anti-worm data.
- Studied dose
- In the trial, about 4 g of air-dried papaya seed powder mixed into honey as a single dose; commercial papain capsules were not tested.
- Cautions
- Papaya seed and papain may lower blood sugar slightly and add to the effect of blood thinners. Avoid in pregnancy, where papain has been linked to uterine stimulation, and in latex allergy, which cross-reacts with papaya.
Pumpkin Seed
Preliminary evidenceCucurbitin-rich pumpkin seed has been used against tapeworm for centuries, and a 2012 community study in China combining it with areca nut cleared tapeworm in about 4 of 5 people; areca nut is a carcinogen and the study was not in pinworm. Laboratory studies show pumpkin seed extracts paralyze some roundworms at high concentrations. Treat it as a harmless snack with a traditional story, not an alternative to pyrantel.
- Studied dose
- Traditional use is 30 to 60 g of raw, hulled seeds daily for adults and about half for children, usually for a week.
- Cautions
- Safe and nutritious, but calorie-dense and can loosen stools. Do not delay effective treatment to try it.
Garlic
Preliminary evidenceGarlic has case reports from the mid-20th century of use as an enema or oral treatment for pinworm, and laboratory studies in which allicin immobilizes worm larvae, but no controlled human trial exists for enterobiasis. Raw garlic applied to the skin around the anus, a common online suggestion, has caused chemical burns in children.
- Studied dose
- 1 to 2 raw cloves daily in food, or an aged garlic extract; never as a suppository, enema or skin application.
- Cautions
- Adds to bleeding risk with anticoagulants and antiplatelet drugs, causes stomach upset and odor, and raw garlic on skin burns.
What matters day to day
- Shower, not bathe, first thing every morning for 2 weeks and wash the bottom thoroughly: the female lays her eggs overnight, so a morning wash removes most of them before they spread, while a bath can float eggs onto the rest of the body.
- Cut nails short and scrub under them, and wash hands for 20 seconds after every toilet visit and before every meal: eggs under the fingernails are the main route back into the mouth, and nail-biting and thumb-sucking roughly double reinfection.
- Change underwear and pajamas daily and wash bedding, towels and nightwear in hot water (60 C/140 F) without shaking them first: eggs survive 2 to 3 weeks on fabric and become airborne when sheets are flapped.
- Put small children in snug pajamas or a onesie and keep bedroom hands busy with a stuffed toy: limiting night-time scratching cuts the egg load under the nails, and skin that is not scratched heals in days.
- Keep the child in school and tell the daycare if more than one child is affected: the CDC and AAP do not exclude children with pinworms, and a classroom cluster is a reason for simultaneous treatment, not shame.
- Open curtains and vacuum bedrooms daily during treatment: pinworm eggs are killed by sunlight and dry heat within hours, and a vacuum and damp cloth remove them from floors and surfaces far better than disinfectant sprays.
Prevention
- Wash hands thoroughly after using the toilet, before eating, and after handling pets or playing outside
- Keep fingernails short and discourage nail biting and thumb sucking
- Shower or wash the bottom first thing each morning to remove eggs laid overnight
- Change underwear daily and avoid shaking bedding, which spreads eggs into the air
- Avoid sharing towels and flannels
- Clean bathroom surfaces, door handles, and toys regularly
When to See a Doctor
- You see worms, or itching persists after a full course of treatment and hygiene measures
- Infection in a child under 2, or during pregnancy or breastfeeding, where advice on treatment is needed
- Severe irritation, skin infection from scratching, or vaginal symptoms in girls
- Abdominal pain, weight loss, or blood in the stool, which are not typical of pinworms and need assessment
Frequently Asked Questions
References
- Centers for Disease Control and Prevention. About Pinworm Infection (2024)View source
- American Academy of Pediatrics. Pinworm Infection (Enterobius vermicularis). In: Red Book: 2024 Report of the Committee on Infectious Diseases (2024)
- Wendt S, Trawinski H, Schubert S, et al.. The diagnosis and treatment of pinworm infection. Deutsches Arzteblatt International (2019)
- Okeniyi JA, Ogunlesi TA, Oyelami OA, Adeyemi LA. Effectiveness of dried Carica papaya seeds against human intestinal parasitosis: a pilot study. Journal of Medicinal Food (2007)
- Cook GC. Enterobius vermicularis infection. Gut (1994)
- St Georgiev V. Chemotherapy of enterobiasis (oxyuriasis). Expert Opinion on Pharmacotherapy (2001)
- Lohiya GS, Tan-Figueroa L, Crinella FM, Lohiya S. Epidemiology and control of enterobiasis in a developmental center. Western Journal of Medicine (2000)
- MedlinePlus, National Library of Medicine. Pinworms (2024)View source
Related Conditions
Lab tests that relate to pinworms
Have questions about Pinworms?
Ask Mother Nature AI for personalized, evidence-based guidance.
Medical Disclaimer: This content is for educational and informational purposes only. It is not a substitute for professional medical advice, diagnosis, or treatment. Always consult a qualified healthcare provider.
Content reviewed against peer-reviewed medical literature and clinical guidelines. Read our editorial standards.