Back to Diseases & Conditions

Pinworm infection

Pinworm infection is the most common type of intestinal worm infection in the United States and one of the most common worldwide. Pinworms are thin and white, measuring about 1/4 to 1/2 inch (about 6 to 13 millimeters) in length.

While the infected person sleeps, female pinworms lay thousands of eggs in the folds of skin surrounding the anus. Most people infected with pinworms have no symptoms, but some people experience anal itching and restless sleep.

Pinworm infection occurs most often in school-age children, and the tiny (microscopic) eggs are easily spread from child to child. Treatment involves oral drugs that kill the pinworms and thorough washing of pajamas, bedding and underwear. For best results, the entire family should be treated.

Symptoms of pinworm infection may include:

Pinworms often cause no symptoms.

Consult your doctor if you have severe anal itching, especially at night.

Accidentally swallowing or breathing in pinworm eggs causes a pinworm infection. The tiny (microscopic) eggs can be carried to your mouth by contaminated food, drink or your fingers. Once swallowed, the eggs hatch in the intestines and mature into adult worms within a few weeks.

Female pinworms move to the anal area to lay their eggs, which often results in anal itching. When you scratch the itchy area, the eggs cling to your fingers and get under your fingernails. The eggs then get transferred to other surfaces, such as toys, bedding or toilet seats. The eggs can also be transferred from contaminated fingers to food, liquids, clothes or other people.

Pinworm eggs can survive for two to three weeks on surfaces.

Risk factors for pinworm infection include:

Typical pinworm infections don’t cause serious problems. In rare circumstances, heavy infestations can cause infection of female genitals.

The parasite can travel from the anal area up the vagina to the uterus, fallopian tubes and around the pelvic organs. This can cause problems such as inflammation of the vagina (vaginitis) and inflammation of the inner lining of the uterus (endometritis).

Although rare, other complications of a pinworm infection may include:

Pinworm eggs can cling to surfaces, including toys, faucets, bedding and toilet seats, for two weeks. So besides regular cleaning of surfaces, methods to help prevent the spread of pinworm eggs or to prevent reinfection include:

Your doctor can confirm the presence of pinworms by identifying the worms or eggs.

To help your doctor make a diagnosis, you can perform the tape test. As soon as the person you suspect has pinworms wakes up and before he or she uses the toilet, washes or gets dressed, press the adhesive side of a piece of transparent tape to the skin around the anus. The eggs stick to the tape.

For best results, perform the tape test three days in a row, and then take the pieces of tape to your doctor. Your doctor can look at the tape under a microscope to see if there are any pinworm eggs.

To treat pinworm infection, your doctor may recommend over-the-counter pyrantel pamoate or prescribe medication to all members of your household to prevent infection and reinfection.

The most common prescription anti-parasite medications for pinworms are:

You may have mild gastrointestinal side effects during the course of treatment, and you often need to take at least two doses to get rid of the pinworms completely.

What you can do

When you call to make an appointment, ask about performing the tape test. The test involves pressing the adhesive side of a piece of transparent tape to the skin around the anus of the person you suspect has pinworms as soon as the person awakens. The eggs stick to the tape.

You then take the tape to your appointment so the doctor can look for pinworms or eggs under a microscope.

Preparing a list of questions can help you make the most of your time with your doctor. For pinworm infection, some basic questions to ask include:

What to expect from your doctor

Your doctor is likely to ask a number of questions during your appointment, including:

What you can do in the meantime

If you have anal itching, try not to scratch.

© 1998-2024 Mayo Foundation for Medical Education and Research (MFMER). All rights reserved.

We Make Health Possible

As East Central Indiana’s population grows, we’re putting health care where people need it most. Besides Hancock Regional Hospital, ranked as one of the nation’s safest by the Lown Hospital Index, our network includes more than 30 other locations near your home or work.

Learn More about Hancock