Infections and parasites
Pinworm (threadworm): symptoms, treatment and how to stop it coming back
Pinworms, called threadworms in the UK, are tiny white worms that live in the bowel and are common in children. They cause an itchy bottom, especially at night. You can treat them without seeing a GP: buy mebendazole from a pharmacy, treat everyone in the household aged 2 and over, and follow strict hygiene steps.
Last checked: 2026-10-11
Key facts
At a glance.
-
What it is
The NHS says threadworms (pinworms) are tiny worms in your poo. They are common in children and spread easily.
-
Main symptom
Extreme itching around the anus or vagina, particularly at night, plus irritability and waking in the night, according to the NHS.
-
Is it contagious?
Yes. They spread when eggs are swallowed. Eggs stick to fingers after scratching and pass onto clothes, toys, toothbrushes, surfaces and bedding.
-
How you treat it
See a pharmacist. Mebendazole kills the worms but not the eggs, so hygiene measures are needed for 2 weeks if you take medicine, or 6 weeks if you do not.
-
Who to treat
The NHS says to treat everyone aged 2 and over in your household, even if they do not have symptoms.
-
School and work
There is no need to stay off nursery, school or work, according to the NHS.
-
Egg survival
The NHS says eggs can survive up to 2 weeks outside the body.
What are the symptoms of pinworm (threadworm)?
The NHS says you can spot threadworms in your poo, where they look like pieces of white thread. You might also see them around your child's bottom. The worms usually come out at night while your child is sleeping. NICE Clinical Knowledge Summaries (CKS) says some people have no symptoms and only find out when small white thread-like worms are seen on the skin around the anus or in the stools.
-
Extreme itching around the anus or vagina, particularly at night.
-
Irritability and waking up during the night.
-
Less commonly, weight loss, wetting the bed, or irritated skin around the anus.
-
In girls and women, itching around the genital area (pruritus vulvae), according to NICE CKS.
How are pinworms treated?
The NHS says you can treat threadworms without seeing a GP. See a pharmacist if you think you or your child have them. You can buy a medicine called mebendazole from pharmacies, usually as a chewable tablet or liquid you swallow. The NHS says to treat everyone aged 2 years and over in your household, even if they do not have symptoms.
Tell the pharmacist if you need to treat a child younger than 2 years, or if you are pregnant or breastfeeding, because treatment might not be suitable and you may need to speak to a GP. If you cannot take medicine, you can treat threadworms by using hygiene methods for 6 weeks.
NICE CKS recommends mebendazole plus hygiene measures for adults and children over 6 months, notes that mebendazole is not licensed for children under 2 years, and recommends hygiene measures alone for 6 weeks for children aged 6 months and under, and for pregnant or breastfeeding women.
| Person | Usual approach |
|---|---|
| Adults and children aged 2 and over | Mebendazole from a pharmacy, plus hygiene measures for 2 weeks |
| Children under 2 years | Speak to a pharmacist or GP. Treatment may not be suitable; hygiene measures alone for 6 weeks are used instead (NICE CKS says this applies to babies of 6 months and under) |
| Pregnant or breastfeeding | Speak to a pharmacist or GP. NICE CKS recommends hygiene measures for 6 weeks |
| Anyone who cannot take medicine | Hygiene measures for 6 weeks |
What hygiene steps stop pinworm coming back?
The NHS says medicine kills the threadworms but not the eggs, and eggs can live for up to 2 weeks outside the body. Do the following for 2 weeks if you are taking medicine, or for 6 weeks if you are not.
-
Wash hands and scrub under fingernails, particularly before eating, after using the toilet or changing nappies.
-
Encourage children to wash their hands regularly.
-
Shower every morning, and rinse toothbrushes before using them.
-
Keep fingernails short.
-
Wash sleepwear, sheets, towels and soft toys at a hot temperature every day for several days after treatment.
-
Disinfect kitchen and bathroom surfaces using hot water, and vacuum and dust with a damp cloth.
-
Make sure everyone in the household wears underwear at night and changes it in the morning.
-
Do not shake clothing or bedding, do not share towels or flannels, and do not bite nails or suck thumbs and fingers.
Is pinworm contagious and how does it spread?
Yes. The NHS says threadworms spread when their eggs are swallowed. They lay eggs around the anus, which makes it itchy. The eggs get stuck on the fingers when you scratch, and can then pass onto anything you touch, including clothes, toys, toothbrushes, kitchen or bathroom surfaces, bedding and food. Eggs can pass to other people when they touch these surfaces and then touch their mouth.
NICE CKS describes threadworm as the commonest parasitic worm infestation in the UK, most often affecting children under 18, household contacts of infected children, and people living in institutions. It is not a sign of being unclean.
How long does pinworm last, and why does it come back?
The NHS says larvae hatch from swallowed eggs in your gut and take 1 to 2 months to mature into threadworms. Children can get threadworms again after treatment if they get the eggs in their mouth, which is why handwashing matters.
NICE CKS says that if infestation recurs it is usually due to re-infection rather than treatment failure. If the diagnosis is certain, re-treatment of the person and household contacts with mebendazole is recommended, unless it is not suitable, and strict hygiene measures should be reinforced. If recurrences are frequent, NICE CKS advises seeking advice from a paediatrician or consultant in infectious diseases.
How are pinworms diagnosed?
Often the diagnosis is made by seeing the worms. NICE CKS says that if the diagnosis is uncertain, an adhesive tape test for eggs may be useful: transparent tape is applied to the skin around the anus first thing in the morning and then examined under a microscope. Stool examination is not generally recommended.
Other causes of itching around the bottom or vulva include dermatitis, candida (thrush) infection, pubic lice and haemorrhoids, according to NICE CKS.
Pinworm in children, nursery and school
Threadworms are common in children and spread easily. The NHS says there is no need to stay off nursery, school or work if you or your child has them. Encouraging regular handwashing and keeping nails short matter more than time off.
When should I see a pharmacist or GP?
The NHS says to see a pharmacist if you think you or your child have threadworms. Speak to a GP if treatment might not be suitable, for example for a child under 2 years or if you are pregnant or breastfeeding, or if symptoms keep returning despite treatment and hygiene steps. NICE CKS advises that other causes should be considered if symptoms continue after re-treatment.
NHS and private pathways
Threadworm is usually dealt with through a community pharmacy, where the NHS says you can buy mebendazole without seeing a GP. A GP appointment is needed only if treatment is unsuitable or the problem keeps coming back. A private consultation is not normally needed.
Frequently asked
Questions people ask.
Quick, plain-English answers to the questions we hear most.
-
What are pinworms?
Pinworms, called threadworms in the UK, are tiny worms that live in the bowel. The NHS says they are common in children and spread easily. They look like pieces of white thread and are most easily seen in poo or around the bottom.
-
What are the symptoms of threadworms?
The main symptom is extreme itching around the anus or vagina, worse at night. The NHS also lists irritability and waking in the night. Less commonly there may be weight loss, bedwetting or irritated skin around the anus.
-
How do you get rid of pinworms?
See a pharmacist. The NHS says mebendazole, usually a chewable tablet or liquid, kills threadworms, and everyone in the household aged 2 and over should be treated. You also need hygiene measures for 2 weeks to stop reinfection.
-
Can I treat pinworm without medicine?
Yes. The NHS says if you cannot take medicine you can treat threadworms using hygiene methods for 6 weeks. This includes washing hands, showering every morning, keeping nails short and washing bedding and nightwear on a hot wash.
-
Are pinworms contagious?
Yes. They spread when eggs are swallowed, usually via fingers after scratching, or from clothes, toys, bedding, toothbrushes, surfaces or food. The NHS says eggs can survive up to 2 weeks outside the body.
-
Does everyone in the house need treating?
The NHS says to treat everyone aged 2 years and over in your household, even if they do not have symptoms. This is because the worms are easily passed between people and can be missed if only one person is treated.
-
Do I need to keep my child off school?
No. The NHS says there is no need to stay off nursery, school or work if you or your child has threadworms. Good handwashing and the home hygiene steps are what limit spread.
-
How long do pinworms live and how long until symptoms stop?
The NHS says larvae take 1 to 2 months to mature into threadworms after eggs are swallowed. Itching usually settles once the worms are cleared, but reinfection is common, so keep up hygiene for 2 weeks after medicine or 6 weeks without it.
-
Why do threadworms keep coming back?
NICE CKS says recurrence is usually due to re-infection rather than failed treatment. Eggs can survive on surfaces and bedding. Strict hygiene and treating the whole household at once are the best ways to stop them returning.
-
Can I treat pinworm in pregnancy or a baby?
Speak to a pharmacist or GP first. The NHS says treatment might not be suitable if you are pregnant or breastfeeding or if the child is under 2. NICE CKS recommends hygiene measures alone for 6 weeks in these situations.
Where this comes from
Sources and checking.
This guide is for information, not medical advice.
Your GP or consultant knows your history and can tell you which parts apply to you. If your symptoms are severe, rapidly worsening, or come with red-flag features, seek urgent medical care. Figures and availability change, so treat them as a guide and confirm with the provider.
Published 2026-10-11, next review 2027-10-11.
-
NHS: Threadworms, https://www.nhs.uk/conditions/threadworms/ , retrieved October 2026
-
NICE Clinical Knowledge Summaries: Threadworm, https://cks.nice.org.uk/topics/threadworm/ , retrieved October 2026
Related guides
Keep reading.
-
Head lice
Another common childhood infestation.
Read guide -
Scabies
An itchy skin infestation that spreads in households.
Read guide -
Anal itching
Other causes of an itchy bottom.
Read guide -
Piles (haemorrhoids)
A common cause of itching and discomfort at the bottom.
Read guide -
Vaginal itching
Causes of genital itching and when to seek advice.
Read guide -
Giardia infection
A different bowel parasite.
Read guide