Pinworms, also known as threadworms, are tiny, white or light gray worms that cause the common infection called enterobiasis. The infection is highly contagious and occurs most often in children. Healthcare providers treat them with oral anti-parasitic medications that can kill the worms in just two doses.
Advertisement
Cleveland Clinic is a non-profit academic medical center. Advertising on our site helps support our mission. We do not endorse non-Cleveland Clinic products or services. Policy
Pinworms, also called threadworms, are parasitic worms that live in the intestines and rectums of infected people — most commonly children. Pinworms are small and thin (about ¼ inch to ½ inch long), and white or light gray.
Advertisement
Cleveland Clinic is a non-profit academic medical center. Advertising on our site helps support our mission. We do not endorse non-Cleveland Clinic products or services. Policy
Pinworms are called Enterobius vermicularis. A pinworm infection is called enterobiasis.
Your child will need treatment if they have a pinworm infection. Luckily, pinworms don’t usually cause serious medical problems and are easy to cure.
Enterobiasis is the most common type of worm infection in the United States. It affects approximately 40 million people in the U.S. and 1 billion people worldwide.
People of all ages can become infected with pinworms. Still, pinworm infections are most common in children, especially between ages 4 to 11. Rarely, adults get pinworms. Caregivers and family members of infected children have a higher risk of infection.
Pinworm infections pass easily from person to person in places where children are in close contact, including daycare centers, preschools and schools. People who live in institutions also commonly get infected.
About a third of infected people don’t experience symptoms. Others experience intense itching near the anus (butthole), especially when they’re trying to sleep. Watch out for these symptoms, which may signal a pinworm infection:
Advertisement
Pinworm infection occurs when your child swallows pinworm eggs. They become the host for the pinworm life cycle. While this may sound like something obvious to avoid, it’s easy to get infected. Here’s how it usually happens:
Each female worm can produce 10,000 or more eggs. Your child may have anywhere from a few worms to hundreds of them.
Yes. Pinworm eggs can survive from two to three weeks on contaminated surfaces. You can get pinworms through:
They’re highly contagious. Transmission is easy because the eggs can survive for a long time on surfaces or your fingers if you don’t wash your hands. The tiny eggs are microscopic. There’s no way to know you’re touching a contaminated surface or object. It’s easy to absentmindedly touch your fingers to your lips without knowing you’ve transferred pinworm eggs.
While serious complications are rare, pinworms can lead to:
You’ll know you have a pinworm infection if you find signs of either the pinworm or the eggs. You can see adult pinworms with just your eyes, but your healthcare provider uses a microscope to see the eggs.
Check for pinworms about two to three hours after you fall asleep. Around this time, pinworms make their way out of your rectum to lay eggs around your anus. Pinworms look small, thin and grayish-white, like little pieces of thread. This is why they’re sometimes called threadworms.
Advertisement
You may also find them wriggling in underwear or bedsheets. If your child has many pinworms, they may appear in their stool (poop) or on toilet paper, but this is rare. It’s much easier to identify them on your child’s skin.
You can capture the worms using clear Scotch tape or just let your provider know you saw them.
You can also use tape to collect the eggs. This is called the “tape test.” Here’s what you do:
It’s best to do the tape test as soon as your child wakes, before bathing or using the bathroom. Both activities can remove the eggs from skin. You should do the tape test a few times (ideally, for three consecutive days) to get the most accurate results.
Your child’s pediatrician may also collect egg samples from underneath their fingernails.
Your child will need to take an oral (taken by mouth) anti-parasitic medication to kill the worms. They’ll take one dose immediately and another dose two weeks later to be sure all the worms are gone.
Advertisement
The medicines used to treat pinworms are:
Pediatricians recommend that an infected child’s family members and caregivers also get treated at the same time to reduce the risk of reinfection. Preventing reinfection is one of the biggest challenges in getting rid of pinworms.
Washing all clothing, bed linens and towels in as hot water as possible while taking the treatment can help reduce the risk of reinfection.
Before using pyrantel pamoate, consult your doctor if you’re pregnant or your child is younger than 2 years old. Side effects of pyrantel pamoate include:
For all three medications, side effects include an upset stomach.
No. Untreated pinworms lay more eggs, making it easier to spread the infection. Your child will need medicine to get rid of them.
Your child may still have itching after treatment for about a week. To relieve the itching, you can:
The most effective way to prevent a pinworm infection (or reinfection) is by preventing the eggs from reaching your child’s (or your) mouth. Model good hygiene and the following practices for your child:
Advertisement
Medications cure pinworms 90% to 100% of the time. With proper treatment, pinworms go away and don’t cause long-term health problems.
If your child has anal itching at night, contact their pediatrician to see if it’s pinworms.
Children or families can have pinworm infections several times. If your child’s symptoms return after treatment, go back to their pediatrician. If you or another family member has symptoms, see a healthcare provider.
A note from Cleveland Clinic
The thought of your child playing host to a wriggly parasitic worm may give you the willies. But take heart that there’s an easy cure. Preventing reinfection will likely be the biggest hurdle. It may feel exhausting to clean surfaces and do the laundry as much as needed to destroy all the eggs, but you’ll get through it. In the meantime, take the time to teach your child about proper handwashing and good hygiene both at home and at school or daycare. Pinworms are contagious but preventable. A pinworm infection this time can teach your child how to lower their risk in the future.
Last reviewed on 07/12/2024.
Learn more about the Health Library and our editorial process.