How to Get Rid of Pinworms Overnight for Good

You can’t fully eliminate a pinworm infection overnight, but you can kill the adult worms within hours of taking the right medication. The catch is that no available drug kills pinworm eggs, which means a single dose handles the immediate problem but won’t prevent new worms from hatching over the next couple of weeks. A complete cure requires two doses spaced two weeks apart.

That said, there’s plenty you can do tonight to get relief fast and stop the cycle of reinfection.

What Happens After the First Dose

The most widely available over-the-counter pinworm treatment is pyrantel pamoate, sold under brand names like Reese’s Pinworm Medicine. It works by paralyzing the worms. The drug locks onto receptors on the worm’s muscles, causing them to contract and freeze in place. Once paralyzed, the worms can’t hold on inside the intestine and get expelled naturally through bowel movements.

This process begins quickly. After taking a dose, adult worms start dying and passing out of the body within hours. Many people notice reduced itching by the next morning. But pinworm eggs, which are already deposited around the skin and potentially on household surfaces, are completely unaffected by the medication. Those eggs can hatch into new worms over the following one to two weeks, which is why a second dose two weeks later is essential to catch any newcomers.

Taking the Medication Correctly

Pyrantel pamoate is available without a prescription at most pharmacies. The dose is based on body weight, and you take it as a single dose, then repeat it in two weeks. Children under 2 years old or weighing less than 25 pounds should not take it without a doctor’s guidance.

A prescription alternative, mebendazole, works differently. Instead of paralyzing the worms, it starves them by blocking their ability to absorb nutrients. The two-dose, two-week schedule is the same. If you’re treating a child or prefer a prescription option, this is what a doctor will typically recommend.

One important detail: pinworms spread easily within households. If one person is infected, it’s common for doctors to recommend treating everyone in the home at the same time, even those without symptoms. Pinworm eggs are microscopic, and family members often reinfect each other without realizing it.

What to Do Tonight for Faster Relief

While the medication works on the worms internally, the intense itching that happens at night is caused by female worms migrating to the skin around the anus to lay eggs. A few steps can reduce discomfort and limit the spread of eggs right away.

  • Shower before bed. A warm shower (not a bath) helps wash away eggs deposited on the skin. Bathing can spread eggs in the water.
  • Wear snug underwear to sleep. This reduces direct contact with bedding and limits scratching, which is the main way eggs get transferred to fingers and then to surfaces or the mouth.
  • Wash hands thoroughly. Scrub under the fingernails, where eggs easily hide. Do this before eating and after using the bathroom.
  • Change bedding in the morning. Strip sheets, pillowcases, and pajamas first thing and handle them carefully to avoid shaking eggs into the air.

These steps won’t cure the infection on their own, but combined with medication, they significantly cut down the number of eggs circulating in your environment and help you feel better faster.

Cleaning Your Home to Prevent Reinfection

Pinworm eggs can survive on household surfaces for two to three weeks. That’s long enough to restart the entire infection cycle if you skip the cleanup. The morning after starting treatment is the most important time to act, since eggs laid overnight will be on bedding, clothing, and bathroom surfaces.

Wash all bed linens, pajamas, underwear, and towels in hot water, at least 130°F, and dry them on the hottest dryer setting. The heat is what kills the eggs. Wipe down bathroom surfaces, toilet seats, and doorknobs with a damp cloth or disinfectant. Avoid dry dusting or sweeping, which can send lightweight eggs airborne.

For the two weeks between your first and second dose, make this a daily habit: change underwear and pajamas each morning, wash hands frequently, and keep fingernails trimmed short. Eggs get trapped under nails when you scratch at night, and biting nails or touching your mouth restarts the infection. This daily vigilance matters as much as the medication itself.

How to Confirm the Infection Is Gone

If you want to verify that treatment worked, the standard method is the tape test. Press a piece of clear adhesive tape against the skin around the anus first thing in the morning, before showering or using the toilet. This is when eggs are most concentrated on the skin’s surface. The tape is then placed on a glass slide and examined under a microscope for eggs or tiny adult worms.

For reliable results, the test should be repeated on three consecutive mornings. A single negative test doesn’t rule out infection, since worms don’t lay eggs every night. Your doctor’s office can provide the supplies and examine the samples, or you can request a kit to collect them at home.

Why Pinworms Keep Coming Back

Reinfection is the most frustrating part of dealing with pinworms, and it’s extremely common, especially in households with young children. The entire life cycle is designed around reinfection: eggs are laid on skin, transferred to fingers through scratching, and swallowed when hands touch the mouth. From swallowing to new egg-laying takes about four to six weeks.

Eggs are also remarkably easy to spread. They cling to bedding, clothing, toys, and bathroom fixtures. They’re light enough to become airborne when you shake out sheets. A child can pick them up at school or daycare and bring them home, starting the cycle fresh even after successful treatment. If you or your child keep getting reinfected, the issue is almost always environmental. Treating everyone in the household simultaneously and maintaining the cleaning routine for at least two to three weeks after the second dose gives you the best chance of breaking the cycle for good.