How to Cure Pinworms Fast and Stop Reinfection

Pinworms are cured with a single oral dose of antiparasitic medication, followed by a second dose two weeks later. The treatment itself is straightforward, but the real challenge is preventing reinfection, since pinworm eggs can survive on household surfaces for up to three weeks. Most people clear the infection completely within a month when they combine medication with thorough home cleaning.

Over-the-Counter Medication

The fastest way to treat pinworms without a prescription is pyrantel pamoate, sold under brand names like Reese’s Pinworm Medicine. It’s a single oral dose based on body weight: 5 milligrams per pound, up to a maximum of 1 gram. The medication paralyzes the worms so your body can expel them naturally. You’ll need to take a second dose two weeks later.

That second dose isn’t optional. The medication kills live worms but cannot kill eggs. Any eggs that were already laid before treatment will hatch into new worms within about two weeks. The repeat dose wipes out that second wave before they can reproduce and restart the cycle.

Prescription Options

Two prescription medications are commonly used when over-the-counter treatment isn’t preferred or hasn’t worked. Mebendazole is given as a single 100 mg tablet for both adults and children, repeated in two weeks. Albendazole is a single 400 mg dose, also repeated in two weeks. Both work by starving the worms of the energy they need to survive. Your doctor can help determine which option fits your situation, particularly for young children or pregnant women, where medication choices require more care.

Treating the Whole Household

Pinworms spread incredibly easily within a home. The eggs are microscopic, and a single female worm lays thousands of them around the anus at night. From there, they end up on fingers, bedding, doorknobs, and in dust. If one person in your household has pinworms, it’s common practice to treat everyone at the same time, even those without symptoms. Otherwise, untreated family members can silently pass the infection right back.

Relieving the Itch While You Wait

The intense nighttime itching around the anus is the hallmark symptom, and it can take a day or two after medication for the worms to die off. In the meantime, washing the skin around the anus with warm water helps. For severe itching, a 1% hydrocortisone cream applied twice daily for one or two days provides relief. No prescription is needed for either approach. Avoid scratching as much as possible, since that’s the main way eggs get transferred to your fingers and then to surfaces or your mouth.

The Cleaning Protocol That Prevents Reinfection

Medication handles the worms inside your body, but the eggs scattered around your home are what cause reinfection. Pinworm eggs can cling to indoor surfaces for two to three weeks, so a single cleaning session isn’t enough. You’ll want to maintain a heightened cleaning routine for at least three weeks after treatment starts.

On the morning of your first dose, wash all bedding, pajamas, underwear, and towels in hot water (at least 130°F) and dry them on a hot dryer setting. The heat kills the eggs. Repeat this every few days for the first couple of weeks. Handle contaminated laundry carefully rather than shaking it out, which can scatter eggs into the air.

Wipe down bathroom surfaces, doorknobs, light switches, and toilet seats daily. Vacuum carpets and upholstered furniture regularly, since eggs settle into fabric and dust. Keep fingernails trimmed short, because eggs collect under the nails when someone scratches. Everyone in the household should wash their hands thoroughly with soap and warm water after using the bathroom, before eating, and first thing in the morning.

Confirming the Infection

If you’re not sure whether you or your child actually has pinworms, the standard test is simple. First thing in the morning, before bathing, using the toilet, or getting dressed, press a piece of clear tape against the skin near the anus. The sticky side picks up any eggs the worms deposited overnight. Fold the tape onto itself or a glass slide and bring it to your doctor’s office. Do this three mornings in a row for the most reliable result, since worms don’t lay eggs every single night.

You can sometimes spot the worms directly. They’re white, thin, and about a quarter to half inch long. Checking around the anus two to three hours after your child falls asleep, using a flashlight, is another way to confirm the diagnosis without a tape test.

Do Natural Remedies Work?

Garlic is the most studied natural option. In one clinical trial of 160 patients, a 400 mg garlic powder capsule taken twice daily for three consecutive days eliminated pinworms in all 80 patients in the garlic group. Over a six-month follow-up, only 3 of those patients had a recurrence, compared to 25 recurrences among the 80 patients treated with standard medication. That’s a single study, and it shouldn’t replace proven treatment if you have easy access to medication. But for people looking for an alternative, garlic capsules have at least some clinical backing.

Other remedies you’ll see mentioned online, like coconut oil and papaya seeds, lack clinical evidence specifically for pinworms. They may have general antiparasitic properties studied in lab settings, but no human trials confirm they reliably clear a pinworm infection.

Why Pinworms Keep Coming Back

Reinfection is the single biggest frustration with pinworms. The life cycle is designed for it: eggs hatch, worms mature in about two to six weeks, females lay eggs at night causing itching, scratching transfers eggs to fingers, fingers touch surfaces or food, and someone swallows the eggs to start the cycle again. Even breathing in airborne eggs shaken loose from bedding can cause reinfection.

If you’ve treated with medication and the infection returns, it almost always means eggs survived somewhere in the environment or an untreated household member passed them along. Go through the full protocol again: treat everyone in the home simultaneously, take both doses two weeks apart, and maintain the aggressive cleaning routine for a full three weeks. Most families break the cycle after one or two rounds of this combined approach.