The most common symptom of a pinworm infection is intense itching around the anus. Infections are contagious and can be prevented with handwashing and other hygiene practices.
A pinworm infection, also known as enterobiasis or oxyuriasis, is one of the most common types of human intestinal worm infections in the United States. Pinworms are white, narrow worms that can range in size from 8 to 13 millimeters for females and 2 to 5 millimeters for males.
Pinworm infections can spread easily. They most commonly occur in school-aged children and people who live in close quarters (such as institutions). They also occur often in those who have regular, close contact with individuals in these groups.
Medication can effectively treat pinworm infections, though reinfection is possible. Serious complications and long-term health effects are rare.
Learn more about the signs of a pinworm infection and some steps to take to prevent pinworm infection.
Pinworms are tiny, parasitic nematodes that live in the intestines and lay eggs on the skin around the anus. They are named for the pin-like tail on the female worms.
The most common symptom of a pinworm infection is intense itching around the anus, but some individuals with pinworm infections may not experience any symptoms.
Pinworm infections are highly contagious. The infection cycle typically follows these steps:
An individual acquires an infection by ingesting or inhaling pinworm eggs. These microscopic eggs are usually deposited onto a surface by a person with the infection.
The eggs remain in the intestine until they hatch and mature.
Adult female pinworms move into the colon and exit the body through the anus at night. They lay eggs in the folds of skin around the anus and then return to the colon. These eggs often cause itching and irritation.
When the person with a pinworm infection scratches the affected area, the eggs transfer to the fingers and under the fingernails. The eggs can transfer to anything the person touches and survive on an indoor surface, such as fabric, for 2 to 3 weeks.
Surfaces that commonly host pinworms can include:
bedding
towels
clothing
toilet seats
toys
food
While uncommon, it is also possible to inhale airborne eggs, according to the Centers for Disease Control and Prevention (CDC ). This may happen when shaking contaminated bedding, towels, or clothing.
Scratching an affected area and then eating can lead to unintentionally ingesting pinworm eggs. This can lead to a repeat pinworm infection.
Sometimes eggs on the anus hatch, and the larvae can reenter the large intestine. If not treated, this can cause the infection to continue indefinitely.
Pinworm infections affect people of all ages and geographic regions. Since pinworm eggs are so small, it can be difficult to avoid individuals or areas with the infection.
While anyone can get a pinworm infection, the following groups can be more susceptible:
children who attend day care, preschool, or elementary school
Only humans can get a pinworm infection. Cats, dogs, and other animals canât acquire or transmit them. Itâs not necessary to treat your pets for the infection, even if people in your household may have pinworms.
A tape test is the most reliable method for diagnosing a pinworm infection. This test involves pressing the sticky, adhesive side of clear cellophane tape against the skin around the anus.
Because pinworms often exit the anus while a person sleeps, people who suspect they have an infection should conduct a tape test immediately upon waking in the morning. Bathing or using the toilet can remove the eggs from your skin, so perform the test before you do anything else. If eggs are present, they should stick to the tape.
Take the tape to a doctor, who will examine it under a microscope to see if it contains pinworm eggs.
The CDC recommends conducting a tape test on at least three consecutive mornings to increase your likelihood of finding the eggs.
Medications and household cleaning strategies can help eliminate pinworms.
Medication
You can treat pinworm infections with either over-the-counter or prescription oral medications. Talk with a doctor to determine which is best for you.
Since pinworms easily pass from one person to another, all household members of a person with an infection â as well as caregivers and anyone else in close contact â will likely need treatment to prevent a pinworm infection or reinfection.
The most common and effective medications to treat pinworm infections include:
One course of medication usually involves an initial dose followed by a second dose 2 to 3 weeks later. More than one course might be necessary to fully eliminate the eggs.
Creams or ointments can help soothe itchy skin.
Household cleaning
In addition to medication, a hygiene and household cleaning regimen such as the following can help you remove pinworm eggs:
Ensure the person with the infection and other household members thoroughly wash their hands with soap and warm water â especially before eating.
Encourage household members to shower and change their underwear every morning.
No recent scientific studies show that home remedies for pinworm infections are effective, but anecdotal evidence suggests you may find relief with raw garlic, raw carrots, or coconut oil.
The best way to prevent pinworm infections and repeat infections is to follow these hygiene routines and encourage other household members â especially children â to do the same:
Wash your hands carefully with soap and warm water after using the toilet, especially after bowel movements, after changing diapers, and before preparing and eating food.
Keep your fingernails short and clean.
Avoid habits that could spread pinworm eggs, such as nail biting or scratching, if possible.
Shower every morning to remove eggs deposited overnight, if you can.
Change your underwear and clothing daily.
Use hot water in the washing machine and hot air in the dryer when laundering bedding, clothing, and towels, if possible.
Itâs possible to treat a pinworm infection with medication and a diligent cleaning regimen. However, because pinworm eggs are invisible to the naked eye and highly contagious, repeat infection can easily occur.
A pinworm infection can be acquired again when a pinworm larva hatches and reenters the anus. Reinfection can also occur if pinworm eggs are ingested. This can happen if pinworm eggs are on the hands or if the eggs become airborne.
If you experience recurrent infections after youâve treated your household, it is possible that outside individuals and locations may be the source.
A pinworm infection is a common intestinal infection. It is contagious and tends to affect school-age children and those in group settings, like nurseries or group homes.
The most common symptom is intense itching around the anus.
Pinworm infection can be treated with medication and household cleaning. However, repeat infection is possible.
How we reviewed this article:
Healthline has strict sourcing guidelines and relies on peer-reviewed studies, academic research institutions, and medical journals and associations. We only use quality, credible sources to ensure content accuracy and integrity. You can learn more about how we ensure our content is accurate and current by reading our editorial policy.