How to Know If You Have Pinworms: Signs & Tests

The most telling sign of pinworms is intense itching around the anus, especially at night. Female pinworms crawl out of the intestine after you fall asleep to lay eggs on the surrounding skin, and this migration is what triggers the itching. If you or your child has persistent nighttime anal itching that disrupts sleep, pinworms are the most likely cause.

The Main Symptom: Nighttime Itching

Pinworm itching follows a distinctive pattern. It’s worst at night, often starting a few hours after bedtime, because that’s when the female worms are active. The itching can be intense enough to wake you up or cause restless sleep in children. During the day, symptoms often fade or disappear entirely, which is why many people don’t immediately connect the dots.

In children, you might notice scratching during sleep, irritability, or difficulty settling down at bedtime. Some kids develop mild irritation or redness around the anus from repeated scratching. In girls and women, pinworms can occasionally migrate to the vaginal area and cause itching or irritation there as well.

Not everyone with pinworms has noticeable symptoms. Light infections sometimes produce no itching at all, which is one reason pinworms spread so easily through households and classrooms. A person can carry and shed eggs without realizing anything is wrong.

How to Spot Pinworms Visually

Adult pinworms are visible to the naked eye. They’re small, white, and thread-like. Females are about 8 to 13 millimeters long (roughly the length of a staple), while males are much smaller at around 2.5 millimeters. If you see them, they may be wriggling slightly.

The best time to look is two to three hours after the affected person falls asleep. Use a flashlight to check the skin around the anus. You may see one or several thin white worms on the skin or on underwear and pajamas. You can also sometimes spot them in stool, though this is less reliable since they don’t always end up there.

The Tape Test: A Simple Home Check

If you suspect pinworms but haven’t seen them, the standard diagnostic method is called the tape test. It’s straightforward and something you do at home before bringing a sample to your doctor.

Do this first thing in the morning, before the person bathes, uses the toilet, or gets dressed. The timing matters because eggs are deposited overnight and are most likely to be present on the skin before anything washes them away. Here’s how it works:

  • Press a 1-inch strip of clear cellophane tape firmly against the skin around the anus for a few seconds. The eggs, which are too small to see, stick to the adhesive.
  • Place the tape sticky-side down onto a glass slide (your doctor’s office can provide one, or you may receive a specific pinworm test kit with instructions).
  • Put the slide in a sealed plastic bag and bring it to your healthcare provider, who will examine it under a microscope.

One negative result doesn’t rule out pinworms. The test sometimes needs to be repeated on three separate mornings to catch the eggs, since the worms don’t necessarily lay eggs every single night.

Why Pinworms Spread So Easily

Pinworm eggs are microscopic and remarkably durable. They can survive on indoor surfaces, including bedding, towels, clothing, toilet seats, and toys, for two to three weeks. When someone with pinworms scratches the itchy area, eggs get under the fingernails and transfer to everything that person touches: doorknobs, shared food, countertops.

Swallowing the eggs is how infection starts. This happens through hand-to-mouth contact or by inhaling eggs that become airborne when shaking out contaminated bedding or clothing. Once swallowed, the eggs hatch in the small intestine, and the worms mature in the colon over the course of a few weeks before the cycle repeats. This is why pinworms are so common in school-age children and why entire households often get infected at once.

Treatment Is Simple but Requires Two Doses

Pinworm medication works by paralyzing the worms so your body expels them naturally. Treatment involves two doses: one now, and a second two weeks later. The repeat dose is essential because the first round kills adult worms but not eggs that may still be developing inside the body. Skipping the second dose is the most common reason infections come back.

One option is available over the counter at most pharmacies. It’s dosed by body weight. For example, someone weighing 88 to 112 pounds takes 500 mg, while adults over 188 pounds take 1,000 mg. Children under two years old or under 25 pounds should not take it without a doctor’s guidance. Prescription alternatives are also available and work similarly.

Because pinworms spread through households so readily, doctors often recommend treating everyone in the home at the same time, even family members without symptoms. This prevents the common cycle of one person clearing the infection only to get reinfected by someone else in the house.

Cleaning Your Home During Treatment

Medication alone won’t break the cycle if your environment is still contaminated with eggs. On the morning you start treatment, 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 pinworm eggs.

Handle contaminated items carefully. Don’t shake out sheets or blankets, since that can send eggs airborne. During the treatment period, change underwear and pajamas daily, and wash hands thoroughly after using the bathroom and before eating. Keep fingernails trimmed short to reduce the number of eggs that can collect underneath them. Wipe down bathroom surfaces and frequently touched areas like light switches and faucet handles.

These measures are most important during the two-week window between your first and second doses of medication, when reinfection risk is highest. After the second dose, a final round of thorough laundering and surface cleaning helps close the loop.