In this article
Treatment is based on two elements that work together: an antiparasitic medicine, also called an anthelmintic, which kills the adult worms in the intestine, and hygiene measures that prevent the eggs from being swallowed again. One without the other is likely to fail, which is why so many families feel that the worms always come back.
This article explains how treatment works, why a second dose is usually needed, the precautions for young children and during pregnancy and breastfeeding, how to relieve itching and what to do when the infection recurs. Specific questions about whom to treat within the family and how to manage the home are covered in another article in this series. Nothing here replaces a doctor's assessment. The doctor decides the medicine, dose and duration in each case.
How the medicines work
Antiparasitic medicines used against pinworms act on the worms inside the intestine. Some stop the parasite from absorbing the glucose it needs to survive; others immobilise it so that it is passed in the stools. The review by Wendt and colleagues, published in 2019, lists Mebendazole, Pyrantel pamoate (embonate) and Pyrvinium embonate as substances approved in Germany, with reported success rates that may exceed 90%. Albendazole is used in other countries.
In Portugal, the availability and sale conditions of these medicines may vary, and some forms may be sold without a prescription. Even so, it is advisable to speak to a doctor or pharmacist before using them, particularly for children, pregnant women or people taking other medicines. Prescription-only medicines must only be used when prescribed.
| Substance | General mode of action | Notes |
|---|---|---|
| Mebendazole | Stops the parasite from using glucose | Widely used; not recommended without assessment in pregnant women and young children |
| Albendazole | Similar mechanism to mebendazole | Used in several countries; prescription and dose as directed by the doctor |
| Pyrantel | Paralyses the worms | An alternative in some situations, as advised by the doctor |
| Pyrvinium | Acts on the parasite's metabolism | May turn the stools red, which is harmless |
This table is for information only. The choice of medicine, dose and schedule depends on age, weight, other conditions, other medicines and whether the person is pregnant or breastfeeding. These decisions are made by the doctor.
Why the dose is repeated
Current medicines are effective at killing adult worms, but they do not destroy the eggs or larvae at very early stages. This means that eggs swallowed shortly before or after the first dose may continue to develop and become new adult worms in the following weeks.
The usual course therefore consists of a first dose followed by a second around two weeks later. This interval roughly matches the time it takes swallowed eggs to become adult worms. Missing the second dose is one of the most common causes of apparent treatment failure.
| Time | What happens | Aim |
|---|---|---|
| Day 1 | First dose of antiparasitic medicine | Kill the adult worms already present |
| Following days | Strict hygiene measures | Avoid swallowing new eggs |
| Around two weeks later | Second dose, if advised by the doctor | Kill worms that have developed in the meantime |
| Following weeks | Maintain good hygiene habits | Prevent reinfection |
Treatment in children
Children are the group most commonly affected and therefore most often treated. Most antiparasitic medicines are available as oral suspensions or chewable tablets, which are easier to give. The dose depends on age and, for some medicines, weight. It must always be the dose advised by the doctor and stated in the patient information leaflet. Do not use adult doses or split tablets without guidance.
Pinworms are less common in children under two, and experience with some medicines is more limited. In these cases, treatment should only be given on medical advice after the infection has been confirmed. A doctor should also be consulted before giving any antiparasitic medicine to children with other chronic conditions or who take regular medication.
Alongside the medicine, children need practical help: short nails, frequent handwashing, a morning bath and clean underwear every day. Explaining in simple terms why they should not scratch or put their hands in their mouth helps them cooperate.
Pregnancy and breastfeeding
Pinworms are common in pregnant women who live with young children. During pregnancy, particularly in the first trimester, the medicine must be chosen with particular care and always by a doctor. In many cases, itching can initially be managed with strict hygiene measures. The doctor will decide whether and when medicine is needed and which is most suitable.
The same principle applies while breastfeeding: do not take any antiparasitic medicine without speaking to a doctor. A pregnant or breastfeeding woman should also not stop or change any other medicine because of this infection without medical advice.
| Situation | General approach |
|---|---|
| Pregnant woman with suspected pinworms | Medical appointment; do not take antiparasitic medicine on your own initiative |
| Breastfeeding woman | The doctor decides which medicine to use and when |
| Child under two | Treatment only on medical advice |
| Person with liver disease or another chronic condition | Medical assessment before treatment |
| Person taking other medicines | Check for interactions with a doctor or pharmacist |
Relieving the itching
Itching may continue for a few days after treatment because the skin takes time to recover. Washing the area with lukewarm water in the morning, drying it well without rubbing and wearing cotton underwear can help. Avoid perfumed soaps, alcohol-based wipes and repeated washing throughout the day, as these irritate the skin.
If the skin is very irritated, broken or shows signs of infection, such as increasing redness, pain or pus, medical assessment is needed. Do not apply steroid or antibiotic creams without advice, as they may mask other problems or irritate the skin further. Keeping nails short reduces injuries from scratching.
When treatment seems to fail
When the infection returns, this is usually not because the parasite is resistant to the medicine, but because of reinfection: the person has swallowed eggs again, from themselves or someone else at home or school. Other common causes include missing the second dose, treating only one person in the family or stopping hygiene measures too soon. Classic reviews, such as Cook's 1994 review, already described this cycle of self-infection, in which eggs pass from the skin to the hands and from the hands to the mouth.
For recurrent infections, the 2019 review describes extended courses with repeated doses at regular intervals over several weeks, up to around 16 weeks, which the authors call a pulse regimen. These courses must be decided upon and supervised by a doctor. The authors also stress that evidence on treatment is limited and that there are no large randomised clinical trials, supporting a cautious approach.
| Possible reason for failure | What to do |
|---|---|
| Second dose was not taken | Speak to the doctor about repeating the course |
| Only the child was treated | The doctor assesses whether to treat the other household members |
| Hygiene measures stopped too soon | Continue the measures for several weeks |
| Reinfection from school | Inform the school if the family wishes to do so |
| Itching has another cause | Confirm the diagnosis and investigate other causes |
Home remedies and alternative therapies
Many natural treatments for pinworms are suggested, including garlic, pumpkin seeds, raw carrots, coconut and essential oils. There is no good-quality scientific evidence that these products clear the infection. Some may even cause harm: garlic applied to the skin, for example, can cause burns and severe irritation around the anus.
There is also no reason to carry out routine periodic deworming in children without symptoms in countries such as Portugal, or to treat non-specific complaints such as teeth grinding with antiparasitic medicines. Treatment should target a suspected or confirmed infection and be medically guided.
Follow-up after treatment
In most cases, tests do not need to be repeated after treatment if the symptoms disappear. If the itching returns or persists, the doctor may request another adhesive tape test to check for reinfection or whether the itching has another cause.
It is helpful to note the dates of each dose, who was treated and when hygiene measures began. This information helps the doctor understand what may have gone wrong and adjust the plan if necessary.
At Clínica Alegre in Setúbal and Seixal, you can have laboratory tests and ask our team any questions about the results.
Frequently asked questions
Is one dose of the medicine enough?
Often not. Because the medicines do not destroy the eggs, a second dose is usually needed around two weeks later, as advised by the doctor.
Can I give my child the same dose I took?
No. In children, the dose depends on age and sometimes weight and must follow the doctor's advice and the patient information leaflet.
Can I treat pinworms during pregnancy?
Yes, but always under medical guidance. The doctor decides whether medicine is needed, which one and when.
Does the medicine have side effects?
They are generally uncommon and mild, such as abdominal discomfort or nausea. Tell your doctor or pharmacist about any reaction.
Does garlic get rid of pinworms?
There is no evidence that it works, and applying it to the skin may cause burns around the anus.
If symptoms return, has the parasite become resistant?
In most cases, it is reinfection rather than resistance. The doctor will assess what may have gone wrong.
Do tests need to be repeated after treatment?
Usually not if the symptoms disappear. If the itching persists, the doctor may request another test.
Did you enjoy this article?
Scientific references2
- 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;116(13):213-9.
- Cook GC. Enterobius vermicularis infection. Gut. 1994;35(9):1159-62.





