Symptom deep-dive

Itchy bottom at night? It might be pinworms

Itching around the anus that flares up at night β€” especially in a child β€” has one very common, very treatable explanation: pinworms. It is not a hygiene problem, it is rarely dangerous, and it usually clears with medicine you can buy without a prescription. Here is how to tell whether that is what you are dealing with, what else it could be, and the plan that actually stops it coming back.

Professor Worm pointing

Why the itch comes at night

This is the part that makes everything else make sense. The adult female pinworm lives in the colon — but she doesn't lay her eggs there. Gravid females migrate nocturnally outside the anus and lay eggs while crawling on the skin of the perianal area.

So the itching isn't random and it isn't in your head. It's a physical event happening on the skin, at night, on a schedule. CDC puts it plainly: female pinworms lay their eggs at night on the skin around the anus, which can cause the skin to itch — and disturbed sleep or restlessness often follows.

It also explains the tape test below. If the eggs arrive overnight, morning — before washing — is when they're there to be found.

The tell-tale signs

How common is this? Not a rare tropical curiosity: pinworm is the most common worm infection in the United States, and CDC data puts US infections at around 40 million.

What else causes night-time itching

Pinworms are the classic explanation, but they're not the only one — and assuming is how people end up treating the wrong thing. Anal itching has its own medical name, pruritus ani, and only 25–75% of cases turn out to have an identifiable cause at all.

CauseWhat tends to go with it
PinwormsNight-time itch, restless sleep, a child in the house, sometimes visible threads
Haemorrhoids, skin tags, fissuresMoisture and irritation; often pain, or blood on the paper
Eczema or contact dermatitisDry, scaly or inflamed skin; often a reaction to soaps, wipes or fragrance
DietCaffeine, alcohol and spicy food are recognised triggers via anal leakage
Diarrhoea or loose stoolStool consistency alone irritates the skin

The distinguishing feature of pinworm isn't the itch itself — it's the timing. A rash that itches all day is more likely skin. An itch that reliably arrives at night, in a household with school-age children, is worth a tape test.

The tape test

This is how pinworm is actually confirmed — not from a symptom list, and not from a standard stool sample. Pinworm eggs are laid on the skin rather than passed in stool, so a routine stool test is the wrong test for it.

The at-home check: doctors often use a "tape test" β€” first thing in the morning, before washing, press a piece of clear tape to the skin around the anus, then a doctor looks at it under a microscope for eggs. CDC advises that specimens should be collected on three consecutive mornings prior to bathing. Eggs are not laid every night, which is why one sample is not enough: one report found a single tape examination gave 50% sensitivity, three examinations 90%, and five examinations 99%.

Two practical points people get wrong. First, timing: it has to be before washing, before the toilet, and before getting dressed — anything else wipes the evidence away. Second, handling: CDC advises putting the tape in a sealed container, a zipping bag, or the specimen container provided, then washing your hands thoroughly afterwards.

How you actually catch them

The route is unglamorous but worth understanding, because it's what the whole treatment plan is built around. Infection occurs by self-inoculation — transferring eggs to the mouth with hands that have scratched the perianal area — or through exposure to eggs in the environment: contaminated surfaces, clothes and bed linens. Swallowed eggs hatch in the small intestine, and the adults settle in the colon.

Which means the cycle is: itch at night → scratch → eggs on fingers and under nails → hand to mouth, or hand to bedding, towel or door handle → someone swallows them → round again. Nobody has to do anything wrong for this to happen.

Worth saying clearly: pinworms are not a sign of a dirty house or bad parenting. They spread readily wherever young children are, and CDC notes they usually affect children, and people living with or caring for children. The shame attached to this is entirely undeserved.

Treatment: what actually works

The good news is that this is one of the genuinely easy ones.

Ask a pharmacist before buying if it's for a young child, during pregnancy, or alongside other medication. It's free advice and takes two minutes.

Why the second dose matters

This is where treatment most often fails, and the reason is specific rather than vague: young pinworms tend to resist treatment, which is why two doses two weeks apart are recommended. The first dose clears the adults. The second catches what has hatched since.

The other half is the household. Reinfection is common, so treating everyone in the household — symptomatic or not — is recommended to prevent recurrence. Treat one child and leave the rest, and it comes straight back.

Alongside the medication:

Do adults get pinworms?

Yes — but with an important twist that most pages miss.

Adults absolutely get them, particularly parents and carers: infection is commonly seen in adults who care for children. If it's going round the house, treating only the children misses the point.

But if you're an adult with anal itching and no children around, the odds shift sharply. Pinworm is commonly blamed for anal itching, but it is rarely the actual cause in adults. The table above is a better place to start looking, and this page walks through what actually tells you.

When to see a doctor rather than a pharmacist

For a straightforward case in an otherwise healthy adult or older child, a pharmacist is usually enough. Book an actual appointment if:

Common questions

Are pinworms dangerous?
Rarely. The main problems are the itching and disturbed sleep. Plenty of people have no symptoms at all. It's the treatment cycle that causes most of the frustration, not the worms.

How long until they're gone?
The medication works quickly, but a second dose two weeks later is recommended because young pinworms resist the first one. Skipping it is the usual reason an infection appears to come back.

Does everyone in the house need treating?
That's the recommendation — symptomatic or not. Reinfection between household members is the normal pattern.

I'm an adult with no children around. Is it pinworms?
Probably not. Pinworm gets blamed for anal itching far more often than it causes it in adults. Haemorrhoids, fissures, eczema, contact irritation and diet are all more likely.

Can I just do one tape test?
You can, but one report found a single examination gave 50% sensitivity against 90% for three. CDC advises three consecutive mornings, prior to bathing.

Note: this is general information, not a diagnosis or a prescription. A doctor or pharmacist can confirm pinworms and recommend the right treatment for your situation β€” particularly for young children, during pregnancy, or if symptoms don't clear.

Where next?

Learn

Parasites in people

More on pinworms and the other common human parasites.

Go to Humans β†’
Check

Symptom quiz

A 6-question walk-through for you or your child.

Take the check β†’
Visible

Worms in your stool

What the common types look like — and what's often mistaken for one.

Read β†’
Signs

Do I have a worm?

You can't feel one moving. What actually tells you, and the tests that settle it.

Read β†’

Get the free field guide

Is It a Parasite? — four pages, plain English, from CDC and WHO sources. The red flags and a printable prevention checklist.