JCI-accredited · 45+ hospitals & clinics · 90+ countries served · 24/7 multilingual support
General Health

Pinworms: An Evidence-Based Guide for Patients

8 min read Published July 16, 2026
Patients and healthcare professionals in a hospital corridor at Acibadem Hospitals Group.
Quick answer

Pinworms are small parasitic worms that spread easily through microscopic eggs on hands, surfaces, bedding, and clothing. The most typical symptom is itching around the anus at night, though some people have no symptoms at all.

Key Takeaways

  • Pinworms are small parasitic worms that spread easily through microscopic eggs on hands, surfaces, bedding, and clothing.
  • The most typical symptom is itching around the anus at night, though some people have no symptoms at all.
  • Diagnosis is often made with a tape test rather than a stool test.
  • Treatment usually includes anti-parasitic medicine plus washing, hand hygiene, and cleaning household items.
  • Because reinfection is common, doctors may recommend treating close household contacts at the same time.
  • Medical review is important if symptoms persist, return often, or affect sleep, skin, or general wellbeing.

Medically reviewed by the Acıbadem International Medical Board — July 15, 2026

Dr. Bahadır Kaynarkaya, MD Dr. Şule Eren, MD

Pinworms are a common intestinal worm infection, especially in children, that often causes itching around the anus at night. Although unpleasant, pinworms are usually straightforward to diagnose and treat, and careful hygiene helps prevent reinfection and spread within households.

Overview: what pinworms are and why they happen

Pinworms are tiny parasitic worms that live in the large intestine. They are also called Enterobius vermicularis. In many people, especially school-aged children, pinworms cause itching around the anus, most often at night when the female worms lay eggs on the surrounding skin.

Pinworm infection is common worldwide and does not necessarily mean poor hygiene. It spreads very easily because the eggs are microscopic and can get onto fingers, under fingernails, on bed linens, towels, clothing, toys, and bathroom surfaces. When eggs are swallowed, they can hatch in the intestine and continue the cycle.

For most people, pinworms are more uncomfortable than dangerous. Still, the infection can disturb sleep, irritate the skin, and repeatedly spread among family members or groups of children if it is not recognized and managed carefully. A clear diagnosis, proper treatment, and household prevention steps usually lead to full resolution.

Symptoms and how pinworms may feel

Symptoms and how pinworms may feel — pinworms

The most common symptom of pinworms is itching around the anus, especially in the evening or overnight. This happens because the worms come out to lay eggs on the skin while the person is sleeping. The itching may be mild or intense, and it can come and go.

Some people, especially children, may become restless, wake frequently, grind their teeth, or seem unusually irritable because the itching disrupts sleep. Repeated scratching can lead to redness, soreness, or mild skin irritation around the anus. In some cases, worms may be seen as tiny, thin, white thread-like worms on the skin or in underwear.

Not everyone has symptoms. A person can carry pinworms and still feel well, which is one reason the infection can spread easily in households, schools, and childcare settings. Less commonly, girls may have irritation around the genital area if worms move into nearby tissues, causing itching or discomfort.

  • Nighttime anal itching
  • Sleep disturbance or restlessness
  • Skin irritation from scratching
  • Occasional visible tiny white worms
  • Sometimes no symptoms at all

How pinworms spread: causes and risk factors

Doctor explaining pinworm infection to mother and child in a consultation room.

Pinworms spread through the fecal-oral route, usually by swallowing microscopic eggs. After scratching the itchy area, eggs can stick to the fingers and under the nails. They may then be transferred to food, the mouth, toys, doorknobs, bedding, or other shared items. Another person can accidentally swallow these eggs and become infected.

Children are affected most often because they spend time in groups, share objects, and may not always wash their hands thoroughly. However, adults can also get pinworms, particularly parents, caregivers, teachers, and people living in close quarters. Reinfection is common because eggs can survive for a period of time on surfaces and fabrics.

Risk is higher in households where one person already has the infection, in childcare or school settings, and when hand-to-mouth habits are common. Nail biting, thumb sucking, and infrequent handwashing can increase spread. Pinworms are a different condition from many other digestive infections, but they may be discussed alongside gastrointestinal infections when doctors consider causes of abdominal or bowel-related symptoms.

Diagnosis: why the tape test is often used

Doctors often diagnose pinworms based on symptoms and a simple home collection method called the tape test. Because pinworms lay eggs on the skin around the anus, a piece of clear adhesive tape is pressed against the area first thing in the morning, before bathing or using the toilet. The sample is then examined under a microscope for eggs.

This method is usually more useful than a stool test. Many people assume a stool sample will show pinworms, but the eggs are often not present in enough quantity in stool to make that test reliable. In some cases, doctors may suggest repeating the tape test on several mornings to improve the chance of finding eggs.

A clinician may also ask about nighttime itching, sleep disturbance, recent exposure in the household, and whether anyone has seen thread-like worms. If there is uncertainty, or if symptoms point to another cause such as skin disease, hemorrhoids, or another bowel condition, further evaluation may be needed. In selected cases, physicians may use diagnostic imaging or other tests to rule out unrelated causes of symptoms, although this is not typical for straightforward pinworm infection.

Treatment options and why the whole household may matter

Pinworms are usually treated with anti-parasitic medication prescribed or recommended by a doctor. Because the medicines kill the worms but may not destroy all eggs, a second dose is often advised after a short interval to reduce the chance that newly hatched worms continue the infection. It is important to follow a clinician’s instructions closely.

Doctors may recommend treatment not only for the person with symptoms but also for close household contacts, especially if several people are itching or if reinfection keeps happening. This practical step can help break the cycle of passing eggs back and forth. Medication works best when combined with careful cleaning and hand hygiene.

If scratching has caused broken skin, discomfort, or ongoing irritation, the clinician may also advise gentle skin care and ways to reduce further trauma to the area. Persistent or unclear symptoms may lead to review by specialists in gastroenterology or pediatrics when the affected person is a child. Near the end of the care pathway, Acibadem International’s multidisciplinary specialists in JCI-accredited hospitals also diagnose and treat pinworm infection for international patients when expert assessment is needed.

Prevention and self-care at home

Preventing reinfection is a central part of pinworm care. Eggs can spread widely in the home, so treatment should be paired with practical household measures. Good hand hygiene is especially important: hands should be washed with soap and water after using the toilet, after changing diapers, and before eating or preparing food.

Bathing in the morning can help remove eggs laid overnight on the skin. Fingernails should be kept short and clean, and children should be encouraged not to scratch, bite their nails, or suck their thumbs. Underwear should be changed daily, and pajamas, bed linens, towels, and washcloths should be washed regularly in hot water when appropriate for the fabric.

It can also help to clean commonly touched surfaces such as toilet seats, bathroom fixtures, toys, and doorknobs. Shaking out bedding or clothes is best avoided because it may spread eggs into the air. Families do not need extreme cleaning measures, but consistent routines over the treatment period can make reinfection less likely.

  • Wash hands often and thoroughly
  • Shower or bathe in the morning
  • Keep fingernails short
  • Change underwear and sleepwear daily
  • Launder bedding and towels regularly
  • Discourage scratching and nail biting

When to seek medical care

Many cases of pinworms can be managed successfully after medical advice and standard treatment, but a doctor should be consulted if the diagnosis is uncertain, symptoms are severe, or they keep coming back. Ongoing itching can affect sleep and quality of life, and repeated scratching may lead to skin irritation or infection.

Medical review is also sensible if a very young child, a pregnant person, or someone with a complex medical history may need treatment, because medicine choices and timing may need individualized advice. A doctor can also help if there are symptoms that are not typical for pinworms, such as significant abdominal pain, weight loss, bleeding, fever, or persistent bowel changes, since these may point to another condition that needs attention.

If symptoms around the anus are caused by something other than pinworms, assessment may involve related fields such as hemorrhoids or skin conditions. Prompt evaluation can bring reassurance, clarify the cause, and guide the most appropriate treatment plan.

Frequently asked questions

What are pinworms?

Pinworms are tiny parasitic worms that live in the intestine and commonly cause itching around the anus, especially at night. They are very common in children, but adults can get them too.

How do people get pinworms?

People get pinworms by swallowing microscopic eggs, usually after the eggs get onto hands, food, or shared objects. The eggs can spread easily through scratching, touching surfaces, and handling bedding or clothing.

Can pinworms go away on their own?

Some infections may eventually clear, but pinworms often continue to spread and reinfect the same person or household. Because of this, medical treatment plus hygiene measures is usually the most reliable approach.

Do stool tests usually diagnose pinworms?

Not usually. Pinworms are more often diagnosed with a tape test because the eggs are typically found on the skin around the anus rather than in stool.

Should the whole family be treated for pinworms?

In some households, doctors recommend treating all close contacts, especially when several people have symptoms or reinfection is happening. This can help stop eggs from passing back and forth among family members.

Are pinworms dangerous?

Pinworms are usually more annoying than harmful. Still, they can disrupt sleep, cause skin irritation from scratching, and continue to spread if they are not properly treated.

References

This article is for general information only and is not a substitute for professional medical advice. Please consult a qualified doctor about your individual situation.

Add Acıbadem on Google

Add us as a Preferred Source to see more of our trusted health content across Google Search, AI Overviews and Discover.

Share this page
Was this content helpful?
Your feedback helps us improve.
Dr. Lanya Qadir Khayat
Dr. Lanya Qadir Khayat, MD
Author
View profile →
Keep Reading

More from the Health Library

Specialists

Related Specialists

We’re With You at Every Step

How can we help you today?

We value your privacy We use essential cookies to run this site and, with your consent, analytics cookies to understand how it is used and improve it. You can accept, reject, or choose what to allow. See our Cookie Policy.