sofidexFor patientsAre you a clinician? Clinical site

Health Library  ›  Tests  ›  Pinworm test

Test

Pinworm test

A pinworm test checks adhesive tape from around the anus for microscopic pinworm eggs.

8 min readTestReviewed 2026-08-24

PDF
What it measures
Microscopic pinworm eggs from skin around the anus
Sample
Clear adhesive tape sample from around the anus
Fasting needed?
No
How long it takes
About five minutes at home
Results in
Usually one to several days, varying by laboratory
Used for
Diagnosis of suspected pinworm infection
Main limitation
Intermittent egg laying means one sample can miss infection

Overview

A pinworm test looks for eggs from Enterobius vermicularis, a small intestinal worm. Female pinworms usually lay their eggs on the skin around the anus at night.

The usual method is to press clear adhesive tape against this skin soon after waking. A laboratory then examines the tape under a microscope. This is sometimes called an adhesive-tape test.

The test is normally collected at home because timing matters. It should be done before washing, using the toilet, or getting dressed. Testing on several mornings makes an infection less likely to be missed.

A blood test is not normally used to diagnose pinworm infection. Stool testing is also less useful because pinworm eggs are deposited mainly on the skin rather than passed evenly in stool.

Why the test is ordered

The test may be ordered when symptoms or exposure suggest a possible pinworm infection but the diagnosis is uncertain.

Reasons for testing can include:

  • Itching around the anus, especially at night
  • Disturbed sleep linked to nighttime itching
  • Seeing a small, thin, white worm near the anus or on bedding
  • Symptoms in someone who lives with a person who has pinworms
  • Ongoing genital irritation when pinworms are one possible cause

These symptoms can have other causes, including skin irritation, eczema, hemorrhoids, or other infections. The tape test helps determine whether pinworm eggs are present; it does not explain every cause of anal itching.

If a worm has already been seen, a healthcare professional may ask for a photograph or specimen. In some cases, the appearance is distinctive enough that laboratory testing is not needed.

Who should have the test

Testing is most useful for someone with symptoms that fit pinworm infection, particularly nighttime anal itching.

Children are tested more often because pinworms can spread readily among people who share classrooms, bedrooms, bathrooms, or household items. Adults can also be infected.

Routine screening of everyone without symptoms is not usually the purpose of this test. However, a healthcare professional may discuss testing or treatment for household members because infection can pass between close contacts.

Ask for medical advice if you are unsure whether testing is appropriate, especially during pregnancy, for a child under 2, or if treatment has already been taken. These factors may affect the next steps, even though they do not usually change how the sample is collected.

How to prepare

No fasting is needed. You can eat, drink, and take your usual medicines unless you have received different instructions.

Collect the sample immediately after waking, before:

  • Using the toilet
  • Bathing, showering, or washing the area
  • Getting dressed or changing underwear
  • Applying creams, powders, or ointments

Many instructions recommend samples on three consecutive mornings because pinworms do not necessarily lay eggs every night. Follow the schedule provided with your kit.

Use the tape, paddle, slide, or container supplied or approved by the laboratory. Household tapes vary, and opaque or frosted tape may be difficult to examine under a microscope.

If possible, collect the sample before starting pinworm medicine. Tell the healthcare professional or laboratory if treatment has already begun.

What happens during the test

The test is usually collected by you or by a parent or caregiver.

A piece of clear adhesive tape is placed sticky-side down against several areas of skin around the anal opening. The tape should not be inserted into the anus. It is then attached to a laboratory slide or placed in the supplied container.

Some kits use a plastic paddle with an adhesive surface instead of loose tape. Use it exactly as directed, since collection and storage instructions differ between kits.

Label the sample with the requested information and return it according to the laboratory’s instructions. Wash your hands well with soap and water afterward. Pinworm eggs are too small to see and can remain on fingers or under fingernails.

Understanding your results

A positive result means that the laboratory found pinworm eggs. Occasionally, part of an adult worm may also be identified. A positive result generally supports a diagnosis of pinworm infection when the sample and microscopic appearance are clear.

A negative result means no eggs were seen in that sample. It does not always rule out infection. The worms may not have laid eggs that night, or washing, toileting, clothing, or collection technique may have removed them.

Results are usually reported as “detected” or “not detected,” although wording differs between laboratories. The result does not show how many worms are present, how long they have been present, or how severe symptoms should be.

Interpretation also varies with the collection method, number of samples, recent treatment, symptoms, age, pregnancy status, medicines, and clinical context. The laboratory’s report and collection instructions take priority over general information.

What affects the results

Timing is the most important factor. Eggs are most likely to be found on the skin first thing in the morning, after they were deposited overnight.

A result may be negative even when pinworms are present if:

  • Only one morning is tested
  • The area was washed before collection
  • The person used the toilet or got dressed first
  • The tape did not contact enough skin around the anus
  • The wrong type of tape was used
  • Pinworm medicine was taken before sampling
  • The sample was stored or transported incorrectly

Creams, ointments, powders, and heavy moisture can stop the tape from sticking properly or make the sample harder to examine.

Food, coffee, exercise, and the time of your last meal do not affect the eggs. Age and pregnancy do not directly make the microscopy inaccurate, although they may affect decisions about treatment.

Accuracy and limitations

The tape test can miss pinworms because egg laying is intermittent. Repeating the test on separate mornings improves the chance of finding eggs. One medical review reported detection in about half of infections with a single sample and about nine in ten when samples were collected on three consecutive mornings. Results in everyday practice can differ because collection technique and the people being tested are not identical across settings.

A clearly positive sample is usually reliable when characteristic eggs are identified by trained laboratory staff. False-positive results appear uncommon, but debris, air bubbles, fibers, or eggs from another parasite can occasionally create uncertainty. The laboratory may request another sample if the appearance is unclear.

The test cannot determine the number of worms or whether every household member is infected. It also cannot identify other common causes of itching.

A stool parasite test is generally not a better substitute because pinworm eggs are not consistently present in stool. Directly seeing an adult worm around the anus two to three hours after sleep begins can also support the diagnosis, but not seeing one does not rule it out.

Risks and complications

Collection may feel awkward or mildly uncomfortable. Adhesive can occasionally irritate sensitive or already inflamed skin.

The test does not involve needles or insertion into the body. Wash your hands after handling the sample to reduce the chance of spreading eggs to other surfaces or people.

What happens next

If the result is positive, arrange routine follow-up with the healthcare professional who requested the test. They can discuss treatment, whether close household contacts need attention, and practical steps to reduce reinfection.

If the result is negative but symptoms continue, another morning sample may be requested. A healthcare professional may also check for skin conditions or other causes of itching rather than assuming the negative result is conclusive.

Pinworm symptoms are rarely an emergency. Seek urgent medical assessment rather than waiting for the result if there is severe or worsening abdominal pain, repeated vomiting, fever, blood in the stool, or significant genital or urinary symptoms. Call emergency services for collapse, severe breathing difficulty, or another immediately life-threatening symptom.

Common questions

Can I drink coffee before a pinworm test?

Yes. Coffee, food, and other drinks do not affect the result. The important preparation is not washing, toileting, or dressing before collecting the sample.

Does the time of day matter?

Yes. Collect the sample immediately after waking, before anything removes eggs from the skin. A sample taken later in the day is more likely to miss them.

Can I exercise beforehand?

Exercise does not change whether pinworm eggs are present. However, showering, sweating heavily, or changing clothes before collection may remove eggs, so collect the sample first.

Why do I need to test for three mornings?

Pinworms may not lay eggs every night. Testing on three consecutive mornings increases the chance of finding an infection that one sample could miss.

Can I use a stool sample instead?

Usually not. Pinworm eggs are found more reliably on the skin around the anus than in stool. Use the collection method requested by the laboratory.

Can I collect the sample from my child while they are asleep?

It may be possible, but follow the kit instructions. Early-morning collection before your child toilets, washes, or dresses is usually practical and provides an appropriate sample.

Sources

  1. 1Centers for Disease Control and Prevention. Diagnosing Pinworms
  2. 2Centers for Disease Control and Prevention. Clinical Overview of Pinworm Infection
  3. 3Centers for Disease Control and Prevention. DPDx: Enterobiasis
  4. 4MedlinePlus. Pinworm Test
  5. 5Wendt S, Trawinski H, Schubert S, Rodloff AC, Mössner J, Lübbert C. The Diagnosis and Treatment of Pinworm Infection

Cite this page

NLM

sofidex [Internet]. Daloreum; c2026. Pinworm test; [reviewed 2026 Aug 24; cited 2026 Nov 10]. Available from: https://sofidex.com/patients/tests/pinworm-test

APA 7th

sofidex. (2026, August 24). Pinworm test. Daloreum. Retrieved November 10, 2026, from https://sofidex.com/patients/tests/pinworm-test

AMA 11th

Pinworm test. sofidex. Reviewed August 24, 2026. Accessed November 10, 2026. https://sofidex.com/patients/tests/pinworm-test

The cited date is today’s, because a citation records when you read the page. The reviewed date is when a clinician last checked it.