How to Treat Pinworms at Home: What Actually Works

Pinworms can be treated at home with an over-the-counter medication called pyrantel pamoate, combined with thorough cleaning to prevent reinfection. The full treatment takes about two weeks because you need two doses spaced apart. Most cases clear up without a doctor’s visit, though the cleaning effort matters just as much as the medication itself.

The Over-the-Counter Medication

Pyrantel pamoate is the only pinworm medication available without a prescription. It’s sold under brand names like Reese’s Pinworm Medicine and Pin-X, and it works by paralyzing the worms so your body can flush them out. The dose is based on body weight: 11 milligrams per kilogram, with a maximum of 1 gram. Most products come with a simple weight-based chart:

  • 25 to 37 pounds: 125 mg
  • 38 to 62 pounds: 250 mg
  • 63 to 87 pounds: 375 mg
  • 88 to 112 pounds: 500 mg
  • 113 to 137 pounds: 625 mg
  • 138 to 162 pounds: 750 mg
  • 163 to 187 pounds: 875 mg
  • 188 pounds and over: 1,000 mg

Children under 25 pounds or younger than 2 years old should not take pyrantel pamoate unless a doctor specifically recommends it. The World Health Organization considers it generally appropriate for children aged 1 and older, but the safety data in very young children is limited enough that it warrants medical guidance first.

Why You Need Two Doses

A single dose of pyrantel pamoate kills the live worms in your intestines, but it does nothing to the eggs that have already been laid. Pinworm eggs deposited around the anus, on bedding, or under fingernails can hatch over the following days and start a new cycle. That’s why the CDC recommends taking a second dose exactly two weeks after the first. This timing catches any newly hatched worms before they’re mature enough to lay eggs of their own.

Skipping the second dose is the most common reason people end up dealing with pinworms again a few weeks later. Mark it on your calendar.

Treating the Whole Household

Pinworm eggs spread easily, and many carriers have no symptoms at all. If one person in your home has pinworms, it’s common for other family members to already be infected without realizing it. Treating everyone in the household at the same time, with both doses, prevents the cycle of one person reinfecting another. This is especially important in families with young children, since kids frequently touch shared surfaces and put their hands near their mouths.

Confirming the Infection

If you’re not sure whether the problem is actually pinworms, you can do a tape test at home before starting treatment. First thing in the morning, before the person bathes, uses the toilet, or gets dressed, press a piece of clear tape against the skin near the anus. Pinworm eggs stick to the tape and can be seen under a microscope. Do this three mornings in a row for the best chance of catching eggs, since the female worms don’t lay every night. Place the tape in a sealed plastic bag and bring it to your doctor’s office for examination. Wash your hands thoroughly afterward and avoid touching your face during the process.

Cleaning Your Home During Treatment

Medication handles the worms inside the body, but pinworm eggs can survive on household surfaces for two to three weeks. Without a thorough cleaning effort, you can swallow new eggs and restart the infection even while taking medication.

On the morning you take the first dose (and again on the day of the second dose), strip all bedsheets, pillowcases, pajamas, underwear, and towels from every bedroom. Wash them in hot water, at least 130°F, and dry on a hot dryer setting. The heat kills pinworm eggs. Handle contaminated items carefully and avoid shaking them out, which can send eggs airborne.

Beyond laundry, focus on surfaces people touch frequently: toilet seats, bathroom faucet handles, doorknobs, and light switches. Wipe them down with a disinfectant. Vacuum carpets and upholstered furniture, particularly in bedrooms. If your child sleeps with stuffed animals, wash those too or seal them in a plastic bag for three weeks to let any eggs die off naturally.

Daily Hygiene Habits That Prevent Reinfection

For the two weeks between your first and second dose, a few daily habits make a big difference. Everyone in the household should shower or bathe each morning rather than at night. The female worms lay eggs overnight, so a morning shower washes away eggs deposited while sleeping. Wash hands thoroughly with soap and warm water after using the bathroom, before eating, and after changing diapers. Keep fingernails trimmed short, since eggs collect under the nails when someone scratches. Discourage nail biting and thumb sucking in children during this period.

Change underwear and pajamas daily. Avoid sharing towels. These habits are worth maintaining for several weeks even after the second dose, since reinfection from environmental eggs remains possible until the cleaning cycle is complete.

Managing the Itching

The intense itching around the anus, especially at night, is the hallmark symptom of pinworms. It’s caused by the female worms migrating out to lay eggs, and it typically starts to improve within a day or two of taking medication. In the meantime, several things can help.

A thin layer of zinc oxide ointment or petroleum jelly applied around the anus creates a barrier that reduces irritation. Hydrocortisone 1% cream, available over the counter, can ease inflammation when applied two to three times daily. Wearing loose, white cotton underwear keeps the area dry and reduces friction. At night, consider cotton gloves for children (or anyone) who scratches in their sleep, since scratching picks up eggs under the fingernails and drives the reinfection cycle. A cool, damp compress placed against the area can provide immediate short-term relief. An over-the-counter oral antihistamine taken at bedtime may also help reduce nighttime itching enough to allow sleep.

When OTC Treatment Isn’t Enough

Pyrantel pamoate works well for most pinworm infections, but if symptoms persist after completing both doses, a doctor can prescribe stronger alternatives. Prescription medications are also the route for children under 2, pregnant individuals, or anyone with liver disease where pyrantel pamoate may not be appropriate. Persistent infections after multiple OTC treatment rounds, or infections that keep cycling through a household despite thorough cleaning, generally warrant a medical visit to rule out ongoing sources of reinfection or to switch to a prescription option.