The medications used for the treatment of pinworm are either mebendazole, pyrantel pamoate, or albendazole. Any of these drugs are given in one dose initially, and then another single dose of the same drug two weeks later. Pyrantel pamoate is available without prescription. The medication does not reliably kill pinworm eggs. Therefore, the second dose is to prevent re-infection by adult worms that hatch from any eggs not killed by the first treatment. Health practitioners and parents should weigh the health risks and benefits of these drugs for patients under 2 years of age.
Repeated infections should be treated by the same method as the first infection. In households where more than one member is infected or where repeated, symptomatic infections occur, it is recommended that all household members be treated at the same time. In institutions, mass and simultaneous treatment, repeated in 2 weeks, can be effective.