
Your child keeps waking up at night, scratching, and you finally spot the cause: tiny white threads. It is unsettling, but take a breath. Pinworms are the most common worm infection in the United States, they are not dangerous, and they are very treatable once you know the right steps.
The hard part is not killing the worms, it is keeping them from coming back. This guide walks through exactly which medications work, why you take a second dose two weeks later, and the simple home habits that break the reinfection cycle for good.
What is the treatment for pinworms?
Pinworm treatment is a single oral dose of an anti-worm medication, repeated once more two weeks later. The three first-line options are mebendazole (100 mg), albendazole (400 mg), and pyrantel pamoate (11 mg/kg, up to a maximum of 1 g). You take one dose now, then an identical second dose in two weeks.
That second dose is the part people skip and then wonder why the itching returned. The medication kills living worms, but eggs already in the body can hatch afterward. Dosing again two weeks later catches that new generation before it can spread.
Which pinworm medicine should I use?
All three first-line drugs work well, but they differ in a couple of practical ways. Mebendazole and albendazole kill both adult worms and their eggs. Pyrantel pamoate kills only the adult worms, which makes the repeat dose especially important if you choose it.
One advantage of pyrantel pamoate is that it is available without a prescription, while mebendazole and albendazole are typically prescribed. Your situation, including pregnancy or a young child, may decide which one is appropriate.
- Mebendazole (100 mg): kills adult worms and eggs; usually prescription
- Albendazole (400 mg): kills adult worms and eggs; usually prescription
- Pyrantel pamoate (11 mg/kg, max 1 g): kills adult worms only; available over the counter
- All three are taken as a single dose, then repeated once 2 weeks later
Pinworm treatment during pregnancy and in young children
Safety matters here, and the choice of drug changes for certain people. Pyrantel pamoate is the preferred treatment during pregnancy and for children under 2 years old.
Mebendazole and albendazole should be avoided during the first trimester of pregnancy and in children younger than 1 year of age. If you are pregnant, breastfeeding, or treating a baby or toddler, do not guess. Talk to a clinician first so the safest option is chosen for your specific situation. The information here is general education, not a personal prescription.
How do I know it's pinworms?
The classic sign is itching around the anus, especially at night, which is when the female worms come out to lay eggs on the surrounding skin. Many people have no symptoms at all. Pinworm is most common in school-age children between ages 5 and 10 and is uncommon in children younger than 2.
Doctors confirm it with a simple 'tape test': a piece of cellulose tape is pressed against the skin around the anus first thing in the morning, before bathing or a bowel movement. Any eggs that stick to the tape can then be seen under a microscope. You can also sometimes spot the worms themselves, thin and white, around the anus at night.
How do I stop pinworms from coming back?
Reinfection is common, even after the medication works, because the microscopic eggs survive on bedding, clothing, and surfaces and are easily swallowed again. This is why treating the whole household is recommended for repeated or recurrent infections, and why hygiene is half the battle.
A few consistent daily habits make a big difference:
- Bathe in the morning to wash away eggs laid overnight
- Change underwear every day
- Launder bed linens, towels, and pajamas frequently
- Wash hands well before eating and after using the bathroom
- Keep fingernails short, and avoid scratching the area and biting nails
When should I see a doctor?
See a clinician if you suspect pinworms and want a confirmed diagnosis, if symptoms keep returning despite treatment, or if more than one person in the home is affected, since that usually means everyone needs treating at the same time. A clinician is also the right call before treating a pregnant person or a child under 2, so the safest medication is chosen.
Pinworms are common and curable. With the right two-dose course and a couple of weeks of diligent hygiene, most households clear them completely. If you would like a personalized plan or help deciding what is safe for your family, a quick check-in with a clinician can point you in the right direction.
Medical Disclaimer: This article is for informational purposes only and does not constitute medical advice. Always consult with a qualified healthcare provider before starting any new skincare treatment, especially if you have underlying health conditions, are pregnant, or are taking medications.






