How Long Do Pinworms Last? With and Without Treatment

A single pinworm infection, from the moment you swallow eggs to the time the last adult worm dies, lasts roughly two to three months without treatment. But that number is misleading, because pinworms are exceptionally good at restarting their own cycle. Without treatment and thorough cleaning, an infection can persist indefinitely through repeated self-reinfection. With proper medication and hygiene measures, you can clear an infection in about two to three weeks.

The Pinworm Life Cycle, Start to Finish

Understanding why pinworms stick around starts with knowing how they operate on a timer. After you swallow pinworm eggs (usually by touching a contaminated surface and then your mouth), the eggs hatch in your small intestine and release larvae. Those larvae travel to the large intestine, where they mature into adult worms over the course of two to six weeks. Once mature, the worms mate. At night, the pregnant female crawls out through the anus to deposit thousands of eggs on the surrounding skin.

An adult pinworm lives about two months. So even without reinfection, the worms themselves would die off within that window. The problem is what happens next: the eggs she deposits are microscopic, sticky, and almost impossible to avoid re-swallowing, especially for children. The intense itching around the anus at night causes scratching, which gets eggs under fingernails, onto pajamas, into bedding, and eventually back into the mouth. A new generation starts, and the clock resets.

How Long Pinworms Last Without Treatment

Left untreated, a pinworm infection can cycle continuously for months or even years. Each generation of worms takes two to six weeks to mature and another few weeks to live, lay eggs, and die. But because eggs are so easily transferred from skin to fingers to mouth, new worms keep hatching before the old ones are gone. Pinworm eggs can also survive two to three weeks on household surfaces like countertops, toilet seats, toys, and bedding, creating multiple opportunities for reinfection even if you’re being reasonably careful.

Pinworms don’t cause serious medical harm in most cases. They won’t resolve on their own in any practical sense, though. The reinfection loop is too efficient. The itching, disrupted sleep, and irritability will continue until the cycle is deliberately broken with medication and cleaning.

How Long Pinworms Last With Treatment

Treatment requires two doses of medication spaced two weeks apart. The first dose kills the adult worms living in your intestine. It does not kill eggs. The second dose, given exactly two weeks later, catches any new worms that hatched from surviving eggs in the interim. This two-dose approach is what actually ends the cycle.

Over-the-counter options and prescription medications both follow this same schedule. You can expect the nighttime itching to start improving within a few days of the first dose as the adult worms die off. Some residual irritation from the skin around the anus is normal for a few days after that, since the area has been scratched and inflamed. By the time you take the second dose at the two-week mark and wait a few more days, the infection should be fully cleared.

In total, plan on about two to three weeks from your first dose to being completely free of pinworms, assuming you also address the eggs in your environment.

Why Pinworms Keep Coming Back

The most common reason people feel like pinworms “never go away” is reinfection from eggs that survived in the household. A few scenarios make this likely:

  • Skipping the second dose. The first dose kills adult worms but eggs already deposited will hatch over the following days. Without the second dose two weeks later, those new worms mature and start the cycle again.
  • Household members aren’t treated. Pinworms spread easily within families. If one person is treated but a sibling or parent carries the infection without symptoms, eggs keep circulating through shared bathrooms, bedding, and surfaces.
  • Eggs lingering on surfaces. Pinworm eggs survive two to three weeks on objects. If bedding, towels, and underwear aren’t washed in hot water during treatment, viable eggs remain in the home ready to be ingested.

Cleaning to Break the Reinfection Cycle

Medication alone won’t end a pinworm infection if eggs are still scattered throughout your home. On the day you take the first dose, and again on the day of the second dose, wash all sheets, blankets, towels, pajamas, and underwear in hot water and dry them on high heat. This destroys eggs on fabric.

Wipe down bathroom surfaces, doorknobs, and light switches. Pinworm eggs are sensitive to sunlight and drying out, so opening blinds and letting rooms air out helps. Avoid shaking out bedding, which can send eggs airborne. For the two weeks between doses, have everyone in the household shower in the morning rather than at night. Eggs are deposited overnight, and a morning shower washes them away before hands can spread them to surfaces. Keep fingernails trimmed short and discourage nail-biting, since the space under fingernails is the primary transport vehicle for eggs back to the mouth.

Timeline at a Glance

  • Egg to adult worm: 2 to 6 weeks
  • Adult worm lifespan: about 2 months
  • Egg survival on surfaces: 2 to 3 weeks
  • Time to clear with treatment: 2 to 3 weeks (two doses, two weeks apart)
  • Without treatment: months to years of continuous reinfection

The infection itself is straightforward to treat. The challenge is patience and consistency with the second dose and household cleaning. Most people who follow through on both are completely clear within three weeks.