The Facts

The pinworm, or Enterobius vermicularis, is a small parasitic worm that can live inside the human lower intestine. Only 3 mm to 10 mm long, it causes an intense itching in the area of an infected person's anus, especially at night.

Pinworms usually infect people as a result of overcrowding in schools and family groupings or due to unsanitary living conditions and poor food preparation. However, they usually don't indicate poor personal hygiene. They can be commonly found in institutional settings such as dormitories and mental health hospitals or homes.

They're the most common parasite to affect North American children, with estimates that one-third of Canadian children will have pinworms at some time in their life.


At night, the female worm leaves her home in an infected person's lower intestinal tract. She slips out of her host's rectum and lays eggs in the folds of skin around the edge of the anus. The eggs are deposited in a sticky, jelly-like substance that, along with the wriggling of the mother pinworm, causes severe itching. The eggs can be transferred to the fingers, either by directly scratching the anal area or by way of clothing or bedding. They can then be carried to the mouth and swallowed or can be transmitted to others by touch.

Since the eggs can survive for up to 20 days, they might be found in bedding and clothing. If these materials are shaken, it is even possible to spread the eggs in the air and swallow them directly. Once eaten, the eggs hatch in the intestine and develop into adult worms within 2 to 6 weeks. Adult worms can live for approximately 3 months and an adult female can lay more than 10,000 eggs in her lifetime.

Pinworm eggs attached to the skin around the anus hatch within 6 hours, and the emerging larvae migrate back into the anus to reside and mature within the lower intestine. For the eggs that fell off onto adjacent clothing or bedding, they can survive for as long as 3 weeks at room temperature - waiting for unsuspecting hands to carry them into the mouth. Humans are the only natural host of pinworms.

Symptoms and Complications

Pinworms mainly infest children 5 to 10 years old, most of whom have no symptoms apart from itching around the anus, which may then become raw from scratching. Pinworms are uncommon in children less than 2 years old. In girls, pinworm infection can cause vaginal itching and irritation (vaginitis).

In severe cases, weight loss, restlessness, irritability, and loss of appetite may occur. In a few rare cases, attacks of appendicitis may have been caused by pinworms blocking the appendix.

Making the Diagnosis

A diagnosis of a pinworm infection is made by finding the female worm or the eggs. To find a female worm, examine the area around an infected person's anus at night with a flashlight. The person should be sleeping for at least an hour before inspection. The white, hair-thin female worm is only about 10 mm long (males average 3 mm), but it wriggles and is clearly visible to the eye without a microscope. Any worms that are discovered should be placed in alcohol or vinegar and taken to the clinic or doctor for diagnosis.

Another method of diagnosis involves the use of a piece of sticky tape to pick up any eggs or worms that may be around the anal area in the morning before washing or a bowel movement. Pat the folds of skin around the anus with the sticky side of the tape. Then fold the tape on itself, sticky side down, and take it to the doctor. The eggs and worms caught on the tape can be identified under a microscope. This test may have to be repeated 5 times. Pinworms can also sometimes be seen in stool samples.

Treatment and Prevention

Pinworms cause no harm or discomfort apart from anal itching, and treatment cures most cases. The key is to break the 6-week cycle of pinworm reinfection by killing any live pinworms and preventing the ingestion of eggs. A diagnosis should be confirmed before treating with medications.

Medications kill only the adult worms and have no effect on developing eggs and larvae. The prescription of choice is mebendazole* and the non-prescription medication of choice is pyrantel pamoate. Other non-prescription medications that are available to treat pinworms include piperazine and pyrvinium. Both mebendazole and pyrantel pamoate are given as a single dose and repeated in 2 weeks to kill any newly ingested eggs.

Since the eggs can be easily spread, everyone in the household must be treated with the medication. Reinfection is still common because live eggs continue to be excreted in feces for up to a week after the treatment.

It is essential to machine wash all bedding, clothing, and toys in order to kill all the eggs. You can relieve itching in the anal area with petroleum jelly or anti-itching creams and ointments. Wash your hands frequently, especially after going to the toilet, after scratching, and before eating, and keep your fingernails short to reduce the chance of picking up pinworm eggs.

During the week after treatment, all family members should wear cotton underpants that have been washed in hot soapy water. They should be worn all day and changed twice daily. Children should wear closed sleeping garments or snug underpants to prevent hand contact and contamination of bedding.


*All medications have both common (generic) and brand names. The brand name is what a specific manufacturer calls the product (e.g., Tylenol®). The common name is the medical name for the medication (e.g., acetaminophen). A medication may have many brand names, but only one common name. This article lists medications by their common names. For information on a given medication, check our Drug Information database. For more information on brand names, speak with your doctor or pharmacist.