Enterobius vermicularis, commonly known as pinworm, is a tiny parasitic worm that lives in the human large intestine, especially the cecum and rectum. It is the most common intestinal worm infection in the world, and its life cycle is tightly adapted to human behavior. After a person accidentally ingests microscopic eggs on contaminated hands, surfaces, or food, the eggs hatch in the small intestine. The developing larvae then migrate to the colon, where they mature. Adult females move to the skin around the anus at night to lay eggs. This nighttime egg-laying causes intense itching, which encourages scratching. Eggs then spread onto hands, under fingernails, and across household surfaces, allowing the cycle to continue. Reinfection is extremely common, especially in children.
Pinworm rarely causes serious disease, but it can create significant discomfort. The classic symptom is nighttime perianal itching, which disrupts sleep and can lead to daytime irritability, behavioral challenges, or reduced school performance in children. Some people experience abdominal pain, nausea, or disturbed bowel habits. When scratching breaks the skin, secondary bacterial infections can develop. In rare cases, the worms migrate beyond the intestines, which can lead to inflammation in locations such as the appendix, colon lining, or female reproductive tract. These complications are uncommon, but they explain why pinworm sometimes appears in workups for appendicitis, pelvic inflammatory disease, or chronic abdominal pain.
Diagnosis usually relies on the perianal tape test, because eggs are rarely visible in stool. Treatment is simple and highly effective: a single dose of an antiparasitic medication such as mebendazole, albendazole, or pyrantel pamoate, followed by a repeat dose two weeks later to eliminate newly hatched worms. Because reinfection is so common, all household members are treated at the same time. Good handwashing, daily bathing, and frequent cleaning of bedding and clothes help break the cycle. Pinworm does not cause significant long-term damage to the gut, and some studies suggest it may temporarily shift gut microbial diversity and immune signals, although these changes typically resolve after treatment.