Our Services
Medical Information
Helpful Resources
Published on: 9/14/2026
Getting rid of pinworms usually takes an anti-parasitic medication such as mebendazole, albendazole, or over-the-counter pyrantel pamoate, repeated after two weeks to kill newly hatched worms, plus treating everyone in the household at the same time to stop reinfection. Nighttime itching can ease within a day or two by washing the anal area each morning, applying a soothing or anti-itch cream, wearing snug underwear to bed, and keeping fingernails short and clean. Hot-washing all bedding, pajamas, towels, and underwear, vacuuming bedrooms, and handwashing after every bathroom trip are essential, because eggs survive on surfaces for up to three weeks. There are important dosing, age, pregnancy, and reinfection details to consider, so review the complete answer below before starting treatment.
If the itching keeps returning, worsens at night, or comes with rash, vaginal irritation, abdominal pain, poor sleep, or symptoms in other family members, it helps to know whether pinworms are truly the cause or whether something else is being missed. A free, instant, online symptom check can help you sort through your specific symptoms in a few minutes, point to the most likely explanations, and show you what to do next, including whether you need a prescription or an in-person visit, so you stop guessing and start sleeping again.
Last reviewed for medical accuracy: 09/13/2026
Pinworms (Enterobius vermicularis) are tiny, white intestinal worms that cause itching around the anus, especially at night. While they’re common—particularly in children—they can be uncomfortable and disruptive to sleep. The good news is that pinworm infections are treatable, and you can take steps to relieve itching quickly while preventing reinfection.
Some people have pinworms without noticeable symptoms.
Cool Compresses
Topical Soothing Agents
Oral Antihistamines
Keep the Area Clean
Avoid Scratching
Effective treatment requires killing both adult worms and eggs:
Note: Treat all household members at the same time, even if they have no symptoms.
Pinworm eggs can survive up to two weeks on surfaces. To avoid bounce-back infections:
While no foods kill pinworms directly, a balanced diet and good gut health can help:
Most pinworm infections are mild, but consult a healthcare provider if you experience:
If you’re unsure whether your symptoms are due to pinworms, consider a free, online symptom check, using the doctor approved Ubie Symptom Checker. It’s a quick way to understand your symptoms and decide if you need professional care.
Disclaimer: This information is for educational purposes. Always speak to a doctor about any symptoms that could be life threatening or serious.
(References)
* Katz M. Anthelmintics. Drugs. 1977 Feb;13(2):124-36. doi: 10.2165/00003495-197713020-00002. PMID: 319991.
* Yoshikawa TT. Antiparasitic drugs. Am Fam Physician. 1980 Mar;21(3):132-8. PMID: 7355683.
* O'Brien TJ. Paediatric vulvovaginitis. Australas J Dermatol. 1995 Nov;36(4):216-8. doi: 10.1111/j.1440-0960.1995.tb00979.x. PMID: 8593114.
* Harcup J. Tackling threadworms. Prof Care Mother Child. 1995;5(1):15-6. PMID: 8680209.
* Wu ML, Kuksuk LK, Olinger EJ. Enterobius vermicularis. Arch Pathol Lab Med. 2000 Apr;124(4):647-8. doi: 10.5858/2000-124-0647-EV. PMID: 10747336.
* Faruqi S, Ahmed I, Membreno FE, Molina CP, Raju GS. Pinworms. Gastrointest Endosc. 2003 Apr;57(4):566. doi: 10.1067/mge.2003.88. PMID: 12665774.
* WHITE RH. Treatment of enterobiasis. Br Med J. 1963 Jan 26;1(5325):264. doi: 10.1136/bmj.1.5325.264. PMID: 14000355; PMCID: PMC2123657.
* Wendt S, Trawinski H, Schubert S, Rodloff AC, Mössner J, Lübbert C. The Diagnosis and Treatment of Pinworm Infection. Dtsch Arztebl Int. 2019 Mar 29;116(13):213-219. doi: 10.3238/arztebl.2019.0213. PMID: 31064642; PMCID: PMC6522669.
* Chai JY, Jung BK, Hong SJ. Albendazole and Mebendazole as Anti-Parasitic and Anti-Cancer Agents: an Update. Korean J Parasitol. 2021 Jun;59(3):189-225. doi: 10.3347/kjp.2021.59.3.189. Epub 2021 Jun 21. PMID: 34218593; PMCID: PMC8255490.
* Leung AKC, Lam JM, Barankin B, Wong AHC, Leong KF, Hon KL. Pinworm (Enterobius Vermicularis) Infestation: An Updated Review. Curr Pediatr Rev. 2025;21(4):333-347. doi: 10.2174/0115733963283507240115112552. PMID: 38288810.
We would love to help them too.
For First Time Users
We provide a database of explanations from real doctors on a range of medical topics. Get started by exploring our library of questions and topics you want to learn more about.
Was this page helpful?
Purpose and positioning of servicesUbie Doctor's Note is a service for informational purposes. The provision of information by physicians, medical professionals, etc. is not a medical treatment. If medical treatment is required, please consult your doctor or medical institution. We strive to provide reliable and accurate information, but we do not guarantee the completeness of the content. If you find any errors in the information, please contact us.