Pinworms are diagnosed primarily through a simple adhesive tape test that collects eggs from the skin around the anus. This is the most reliable method because pinworms don’t lay their eggs inside the intestines, which means standard stool tests frequently miss them. The tape test can be done at home with basic supplies, though the sample needs to go to a lab or doctor’s office for confirmation under a microscope.
Symptoms That Suggest Pinworms
The hallmark symptom is anal itching that gets worse at night. Female pinworms crawl out of the intestines after dark to lay eggs on the surrounding skin, and this movement triggers intense itching. In children especially, nighttime itching can lead to restless sleep, irritability, teeth grinding, and bedwetting. Some people also experience occasional stomach pain, nausea, or vomiting, though many infections cause no symptoms beyond the itch.
Pinworms can sometimes migrate to the vaginal area in girls and women, causing irritation and inflammation there. Repeated scratching of the affected skin can also break it down enough to allow a secondary bacterial infection, making the area red, swollen, and painful beyond what the pinworms alone would cause.
The Tape Test: Step by Step
The tape test (sometimes called the “scotch tape test” or paddle test) is the standard diagnostic method recommended by the CDC. Here’s how it works:
- Timing matters most. Do the test first thing in the morning, before the person bathes, uses the toilet, or gets dressed. The eggs are deposited overnight and are most concentrated on the skin before any morning routine disturbs them.
- Use clear adhesive tape. Press the sticky side firmly against the skin folds around the anus for a few seconds, then lift it away. The tape picks up any eggs that were deposited during the night.
- Repeat for three mornings. A single test can miss an infection. Doing it on three consecutive mornings significantly improves accuracy, since egg-laying doesn’t necessarily happen every night.
- Store and transport carefully. Place the tape in a sealed plastic bag or specimen container. If your doctor provides a glass slide, stick the tape to the clear portion of the slide and place it in the container for transport to the lab.
Under a microscope, pinworm eggs are distinctive: transparent, oval-shaped, and slightly flattened on one side, measuring roughly 50 to 60 micrometers long. A lab technician can identify them quickly, and results typically come back within a day or two.
Visual Inspection at Night
You can sometimes spot the worms themselves without any lab work. Adult pinworms are small, white, and thread-like, roughly the length of a staple. The best time to look is two to three hours after the person falls asleep, when the female worms are most active around the anus. Use a flashlight and gently separate the skin folds. If you see tiny white worms moving on the skin, that’s a reliable visual confirmation. Finding even one worm is enough to bring to your doctor’s attention and start treatment.
Why Stool Tests Don’t Work Well
If your doctor orders a routine stool test for “ova and parasites,” it will likely come back negative for pinworms even if the infection is present. The reason is straightforward: pinworms deposit their eggs on the skin outside the body, not inside the intestines where stool samples collect material. Only a small number of eggs end up in stool by chance. This is why the tape test exists as a separate, targeted method. If you suspect pinworms, make sure your provider specifically orders the tape test rather than relying on a general stool analysis.
Other Causes of Anal Itching
Not all anal itching is pinworms. Several other conditions cause similar symptoms, and knowing the differences can help you figure out whether the tape test is the right next step.
Hemorrhoids, both internal and external, can cause itching along with bleeding or a feeling of fullness near the anus. Yeast infections caused by candida can affect the perianal area, often producing visible skin changes like redness, swelling, or small cracks. Anal fissures, which are tiny tears in the lining of the anus from straining or hard stools, cause sharp pain along with itching. Contact dermatitis from soaps, wipes, or laundry detergents is another common culprit, particularly in children with sensitive skin.
The key distinguishing feature of pinworms is the nighttime pattern. If itching is consistently worse after going to bed and relatively mild during the day, pinworms move to the top of the list. If the itching is constant or clearly tied to bowel movements, other causes are more likely.
What Happens After a Positive Test
Pinworm infections are extremely common and straightforward to treat. A single dose of oral medication kills the adult worms, and a second dose two weeks later catches any worms that hatched from eggs after the first treatment. The medication is available both by prescription and over the counter in some countries.
Because pinworms spread so easily within households, doctors often recommend treating everyone in the home at the same time, even family members without symptoms. Eggs can survive on surfaces like bedding, towels, and clothing for two to three weeks, so washing linens in hot water and keeping fingernails short helps prevent reinfection. The eggs are what keep the cycle going: a child scratches, picks up eggs under their nails, and transfers them to their mouth or to shared surfaces.
Reinfection is common and doesn’t mean the treatment failed. It usually means new eggs were ingested from the environment. If symptoms return after treatment, repeating the tape test confirms whether a new round of medication is needed.