The most telling sign of pinworms is itching around the anus that gets worse at night. This happens because female pinworms crawl out of the intestine while you sleep and lay eggs on the surrounding skin. Many people with pinworms have mild or even no symptoms, so the infection can go unnoticed for a while. But there are several reliable ways to confirm whether pinworms are the cause of your discomfort.
The Main Symptoms to Watch For
Nighttime anal itching is the hallmark symptom. It tends to be worst in the hours after you fall asleep, since that’s when the female worms are most active. You might wake up scratching without realizing it, and repeated scratching can leave the skin around the anus red, puffy, or even lead to a secondary bacterial skin infection from broken skin.
Beyond the itching, pinworm infections can cause:
- Sleep problems: difficulty falling asleep, restlessness, or frequent waking
- Irritability: especially in children, often from disrupted sleep
- Stomach pain or nausea: occasional and usually mild
- Teeth grinding during sleep
- Bedwetting: particularly in children who were previously dry at night
- Vaginal irritation: pinworms sometimes migrate to the vaginal area, causing itching or inflammation there
In children, unexplained irritability combined with nighttime restlessness and scratching at their bottom is a strong signal. Many parents first notice the problem when their child can’t sleep or complains of itching at bedtime.
How to Spot Pinworms Yourself
You can sometimes see the worms directly. Adult females are small, white, and thread-like, roughly 8 to 13 millimeters long (about the length of a staple). Males are much smaller at around 2.5 millimeters. They look like tiny pieces of white thread that may be wiggling slightly.
The best time to look is two to three hours after the infected person falls asleep. Use a flashlight to check the skin around the anus. You may see one or more small white worms on the skin surface. You can also check underwear or pajamas in the morning for tiny white threads. Worms are sometimes visible in stool, though this is less reliable since they don’t always end up there.
The Tape Test: The Most Reliable Home Check
If you suspect pinworms but can’t see them, the standard diagnostic method is a simple tape test. Even doctors rely on this as their primary tool, since stool samples and blood tests are not effective for detecting pinworms. There is no blood test that can diagnose pinworm infection, and stool samples rarely contain enough eggs or worms to be useful.
Here’s how the tape test works: first thing in the morning, before the person bathes, uses the toilet, or gets dressed, press the sticky side of a piece of clear tape firmly against the skin around the anus. The tape picks up any eggs that were deposited overnight. Place the tape in a sealed plastic bag or, if your doctor provided a glass slide, stick the tape to the slide and put it in the container.
Do this on three consecutive mornings. A single test can miss eggs, but repeating it over three days significantly increases accuracy. Your doctor can then examine the tape under a microscope to look for pinworm eggs, which are too small to see with the naked eye.
Other Conditions That Cause Similar Itching
Anal itching has many possible causes, so nighttime itching alone doesn’t guarantee pinworms. Hemorrhoids can cause itching, especially if they make it harder to clean thoroughly after using the bathroom. Yeast infections caused by candida can affect the perianal area. Spicy or acidic foods like hot peppers, tomatoes, and citrus can irritate the skin on their way out. Tight underwear that traps heat and moisture makes itching worse regardless of the cause.
What distinguishes pinworms from these other causes is the specific nighttime pattern. If the itching is clearly worse at night and better during the day, and especially if you can see tiny white worms or if a child in the household has the same symptoms, pinworms are the most likely explanation. The tape test is the simplest way to settle the question.
How Pinworms Spread
Pinworm eggs are microscopic and incredibly hardy. They can survive on contaminated surfaces like bedding, towels, clothing, doorknobs, and toilet seats for two to three weeks. When someone scratches the itchy area, eggs get under their fingernails and transfer to anything they touch. Other people pick up the eggs by touching those surfaces and then touching their mouth.
This is why pinworms spread so easily in households and among young children. If one family member is infected, others often are too. Reinfection is also common because the cycle of scratching, transferring eggs, and swallowing them is hard to break without treatment and thorough cleaning.
What Treatment Looks Like
Pinworm infections are treated with anti-parasitic medication taken by mouth, typically given as two doses spaced about two weeks apart. The first dose kills the adult worms, and the second dose catches any worms that hatched from eggs in the meantime. Over-the-counter options are available at most pharmacies, though a prescription version is also commonly used.
Because pinworms spread so easily within a household, doctors often recommend treating all family members at the same time, even those without symptoms. Alongside medication, washing all bedding, towels, and pajamas in hot water on the day of treatment helps eliminate lingering eggs. Keeping fingernails short and encouraging thorough hand washing, especially before meals and after using the bathroom, reduces the chance of reinfection.

