A pinworm infection is one of the most common worm infections worldwide. Pinworms are thin and white. They're about 1/4 to 1/2 inch — about 6 to 13 millimeters — long.
Pinworm infections are caused by swallowing or breathing in pinworm eggs. These tiny eggs are too small to see with the eyes. Infection happens most often in school-age and preschool-age children.
Symptoms of a pinworm infection can include anal itching and restless sleep. That's because when their hosts sleep, female pinworms lay thousands of eggs in the folds of skin that surround the anus. But many people with pinworm infections have no symptoms.
Treatment for a pinworm infection involves taking anti-parasite medicines that kill the pinworms. For best results, everyone in the family of the person with the infection should be treated. All bedding, pajamas and underwear should be washed in hot water too.
Help prevent pinworm infections by bathing often and washing hands regularly. Wash laundry such as bedsheets and underwear in hot water. Keep fingernails short and don't scratch the anal area.