A tape test is a simple at-home method used to diagnose a pinworm infection. It involves pressing a strip of clear cellophane tape against the skin around the anus, then bringing that tape to a healthcare provider who examines it under a microscope for pinworm eggs. It’s the most reliable way to confirm pinworms, and it takes less than a minute to perform.
Why the Tape Test Works
Female pinworms crawl out of the intestines at night and deposit thousands of eggs on the skin surrounding the anus. This migration is what causes the intense itching that most people associate with a pinworm infection. Because the eggs are laid on the outside of the body rather than inside the intestinal tract, a standard stool sample usually misses them. The tape test works by picking up those surface-level eggs directly from the skin where they were deposited.
The eggs are microscopic, measuring roughly 50 to 60 micrometers long. They’re transparent and slightly oval-shaped, flattened on one side. You won’t see them with the naked eye, which is why the tape needs to go to a lab for examination under a microscope.
How to Perform the Test
Timing matters. The test should be done first thing in the morning, before the person bathes, wipes, or uses the toilet. Bathing can wash away the eggs and produce a false negative.
Here’s the process:
- Tear off a strip of clear cellophane tape about one inch (2.5 cm) long.
- Press the sticky side firmly against the skin folds on both sides of the anal opening. Hold it there for a few seconds.
- Place the tape sticky-side down onto a clean glass microscope slide.
- Put the slide in a sealed plastic bag.
- Wash your hands thoroughly.
- Bring the sealed bag to your healthcare provider’s office.
One detail that trips people up: you need to use clear cellophane tape, not frosted or “magic” transparent tape. Frosted tape is opaque under a microscope, so the lab can’t see through it to identify eggs. Labs will reject samples collected with the wrong type of tape. Regular clear Scotch tape or the equivalent works fine.
Why You May Need to Repeat It
A single tape test catches pinworm eggs only about 50% of the time. Pinworms don’t necessarily lay eggs every single night, so a negative result on one morning doesn’t rule out infection. Repeating the test on three separate mornings raises the detection rate to approximately 90%. Your provider will likely ask you to do three consecutive morning collections if the first one comes back negative but symptoms persist.
Commercial Collection Kits
Some clinics provide a pinworm paddle instead of asking you to use household tape. These are small plastic paddles with an adhesive surface (one common brand is the SWUBE device) that you press against the perianal skin the same way you would with tape. The paddle snaps into a protective case for transport. Labs consider these slightly more reliable and safer to handle than loose tape on a glass slide, but both methods detect the same thing. If your provider hands you a kit, follow the instructions included with it.
What Happens After a Positive Result
If the lab finds eggs on the tape, treatment is straightforward. The standard approach uses a two-dose schedule: one dose of medication now and a second dose two weeks later. The second dose is essential because the first round kills adult worms but not eggs that haven’t hatched yet. By the time those eggs mature into adult worms about two weeks later, the second dose eliminates them before they can start a new cycle.
One treatment option, pyrantel pamoate, is available over the counter. The other two common options require a prescription. All three follow the same two-dose, two-week-apart schedule, and all are given as a single oral dose each time.
Pinworm eggs can survive on surfaces like bedding, clothing, and toys for two to three weeks. On the day treatment starts, washing bed linens, pajamas, underwear, and towels in hot water helps reduce the chance of reinfection. The eggs spread easily through household contact, so providers often recommend treating everyone in the household at the same time, even family members without symptoms.
Who Typically Needs This Test
The tape test is most commonly done for children between ages 5 and 10, the age group with the highest rates of pinworm infection. The hallmark symptom is nighttime anal itching that disrupts sleep. Some children also experience restlessness, irritability, or mild stomach discomfort. Adults can get pinworms too, particularly those living with an infected child, since the eggs transfer easily from contaminated fingers and surfaces to the mouth.
If you or your child has persistent anal itching that’s worse at night, the tape test is the quickest and most reliable way to get a clear answer. It’s painless, costs very little, and gives results within a day or two of dropping off the sample.

