Pinworms in children: the night-time itch, treatment, and breaking the cycle
Last updated September 3, 2026.
Pinworms are the most common worm infection in children, they are gross but harmless, and they are easy to treat as long as you treat the whole household and break the re-infection cycle. The classic presentation is a child whose bottom itches intensely at night, sleeps badly, and is scratchy and irritable by day. The worms themselves are tiny white threads, about a centimeter long, sometimes visible in poo or around the anus at night.
How do you know it is pinworms?
The itch is the headline: intense anal itching that is worst at night, when the female worms come out to lay eggs. That leads to disturbed sleep, and in girls the worms can irritate the vulva and cause discomfort or discharge. Some children have no symptoms at all. You can confirm it yourself: check the child's bottom a couple of hours after they fall asleep with a torch, or look at the first poo of the morning for the white threads. In some countries, pharmacies sell the diagnosis over the counter without needing a lab test when the picture is classic.
What actually helps?
- Medication for the whole household, not just the itchy child: mebendazole (or the local equivalent, sold over the counter in many countries) as a single dose for every household member, with a second dose two weeks later to kill worms hatched from eggs laid before the first dose. Children under 2, and pregnant or breastfeeding women, need a doctor's advice rather than the pharmacy pack. The medicine kills worms, not eggs, which is why the repeat dose and the hygiene below both matter.
- The hygiene sprint, strictly for the first days and ideally six weeks: morning showers to wash off eggs laid overnight (baths spread them), fingernails cut short and scrubbed, absolutely no nail-biting or thumb-sucking if you can help it, and underwear changed every morning.
- House cleaning at treatment time: wash sleepwear, bedding, and towels hot, and damp-dust bedrooms (eggs float in dust and shaking bedding scatters them, so fold sheets rather than flicking them). Vacuum sleeping areas. Do not share towels or flannels during treatment.
- Handwashing is the cycle-breaker: soap and water after the toilet and before eating, for everyone, because the whole transmission route is eggs from an itchy bottom to fingers to mouths.
When is it an emergency?
Pinworms are never an emergency: unpleasant, socially mortifying, and harmless to health. See a doctor rather than self-treating if the child is under 2, if you are pregnant or breastfeeding, if the problem persists after two properly spaced treatment rounds with the hygiene routine (which suggests reinfection from a contact outside the house, or a different cause), or if there is blood in the stool, tummy pain, or weight loss, none of which fit pinworms. Pymander's escalation routing is built and tested specifically for this class of decision; see the safety architecture working paper.
What a Pymander AI doctor consult looks like
Illustrative example, not a real member's messages.
Common questions
How do I know if my child has pinworms?
The classic sign is intense itching around the bottom at night, because that is when the female worms emerge to lay eggs; the result is broken sleep and a scratchy, tired child. To confirm, check with a torch a couple of hours after your child falls asleep or first thing in the morning, looking for white threads about a centimeter long around the anus, or inspect the first poo of the day. Girls may also have vulval itching or irritation. Some children carry them with no symptoms at all.
How do pinworms spread?
Eggs get under fingernails from scratching the itch, then onto hands, toys, bedding, door handles, and food, and the cycle completes when someone swallows them. The eggs can survive a couple of weeks on surfaces and float in house dust. Children pass them to siblings, parents, and classmates readily. They have nothing to do with household dirtiness; they spread wherever children concentrate, and pets do not carry human pinworms.
What is the treatment for pinworms?
A single dose of mebendazole (or the local equivalent) for every member of the household at the same time, whether or not they have symptoms, then a second dose two weeks later to catch worms that hatched from eggs after the first round. It is sold over the counter in many countries. The medicine kills worms but not eggs, which is why the repeat dose and the hygiene routine are not optional extras. Under-2s, and pregnant or breastfeeding women, need a doctor's guidance instead of the pharmacy pack.
Does the whole family really need treatment?
Yes, because pinworms circulate silently: some family members carry them with no itch and re-infect the treated child within weeks if they are not treated too. The single-household-dose approach (everyone on day 0, everyone again at week 2) is what breaks the loop. The same logic applies to regular close contacts like sleepover friends and grandparents who babysit daily; the school or nursery does not need to be involved beyond normal hygiene.
Why do pinworms keep coming back?
Almost always reinfection rather than treatment failure: eggs survived on bedding, under nails, or on an untreated family member or classmate, and a new generation hatched after the medication wore off. The fix is the combination done properly: both doses for everyone, morning showers, short nails, no nail-biting, hot-washed bedding and sleepwear at treatment time, and strict handwashing. Two full rounds done with the hygiene routine clears the vast majority; persistence after that earns a doctor's visit.
Are pinworms dangerous?
No. They are one of the most common childhood infections worldwide and do not damage health: no weight loss, no serious complications in the ordinary case, just itch, broken sleep, and irritation. Rare complications exist (the worms wandering into the vulva or, very rarely, the appendix region) but they are genuinely rare. The real cost is social embarrassment and family exhaustion, both of which the two-dose treatment plus hygiene routine ends quickly.
Related questions
- When should a child see a doctor for a fever?
- What causes itchy skin all over?
- What helps a child's ear infection?
- When should you worry about a child's rash?
- Can an online doctor see my child?
