Microbiolopedia ES
Microorganisms

Pinworms, roundworms, anisakis and other intestinal worms

Pinworms are the commonest worms in European children; roundworms, whipworms and hookworms infect 1.5 billion people worldwide, and anisakis in raw fish causes pain and allergy. How they spread, the sticky-tape test, treatments and prevention.

General information only. It does not replace advice from a health professional. Do not self-medicate with antibiotics. For fever with a rash, a stiff neck, confusion or difficulty breathing, call emergency services.

Pinworm (Enterobius vermicularis) eggs under the microscope
Pinworm eggs, flattened on one side, are collected with sticky tape from the skin around the anus. Image: CDC (Public Health Image Library) · Public domain · Wikimedia Commons

What it is

"Worms" is the popular name for many parasites that have little in common except their link with the gut. Almost all are nematodes (roundworms), although tapeworms are cestodes (flatworms). The general biology of helminths is covered in fungi and parasites.

Worm Adult size Where it lives How it is acquired Most typical feature
Enterobius vermicularis (pinworm, threadworm) 2-13 mm, white, thread-like Caecum and colon Eggs from hands, nails, clothing and dust (faecal-oral, autoinfection) Night-time anal itching in children
Ascaris lumbricoides (roundworm) Up to 20-35 cm Small intestine Mature eggs from soil on food or hands Lung passage, obstruction
Trichuris trichiura (whipworm) 3-5 cm, whip-shaped Colon Eggs from soil Colitis, rectal prolapse in heavily infected children
Hookworms (Necator americanus, Ancylostoma duodenale) About 1 cm Small intestine Larvae that penetrate bare skin Iron-deficiency anaemia
Toxocara canis and T. cati Microscopic larva Tissues (does not mature in humans) Eggs from dog and cat faeces in parks and sandpits Visceral and ocular larva migrans
Anisakis simplex and related species 2-3 cm larva Stomach or intestinal wall Raw or undercooked fish or squid Acute pain, allergy
Hymenolepis nana (dwarf tapeworm) 2-4 cm Small intestine Eggs, faecal-oral, autoinfection Children, institutions
Dibothriocephalus latum (fish tapeworm) Several metres Small intestine Raw freshwater fish Vitamin B12 deficiency

Ascaris, Trichuris and hookworms make up the soil-transmitted helminths: their eggs or larvae must mature in soil contaminated with human faeces, so they are common wherever sanitation is lacking. A fourth soil-transmitted worm, with very different biology, has its own page: Strongyloides stercoralis. The large pork and beef tapeworms are covered in Taenia and Echinococcus.

In numbers

  • Soil-transmitted helminths worldwide: WHO estimates that about 1.5 billion people (almost 24% of the world's population) are infected, mainly in sub-Saharan Africa, the Americas, China and East Asia. In 2024, according to the WHO Global Health Observatory, more than 883 million children needed preventive treatment and about 505 million received it (57% coverage).
  • Pinworms: the most common helminth in Europe, including Spain and the UK. It is not notifiable, but it is thought to affect a substantial proportion of school-age children, peaking between 5 and 10 years, with frequent spread to mothers and siblings. In the UK, threadworms are one of the commonest childhood infections seen in general practice and pharmacies.
  • Anisakis in Spain: Spain is, together with Japan, one of the countries with the most cases in the world, because of the popularity of anchovies in vinegar (boquerones) and marinated, smoked or lightly cooked fish. A risk model (Bao and colleagues, Scientific Reports, 2017) estimated 7,700 to 8,320 cases a year needing medical care; recorded hospital admissions (Herrador and colleagues, Clinical Infectious Diseases, 2019) were about 2.9 per million population per year between 1997 and 2015, just the "tip of the iceberg".
  • Toxocara: seroprevalence studies in Europe show that a significant proportion of the population has been exposed, more so in rural areas and in children who play in sandpits.
  • In migrants and long-stay travellers, soil-transmitted worms are common findings when eosinophilia is investigated.

How they spread

  • Pinworms: at night the female emerges from the anus and lays thousands of eggs on the surrounding skin. The itch leads to scratching, eggs lodge under the nails and return to the mouth (autoinfection) or are transferred to clothing, bedding, toys and dust, where they survive 2-3 weeks. They become infective within hours, so spread between household members is very easy. See infections at school and nursery.
  • Roundworms and whipworms: eggs are passed in stool and need weeks in soil to become infective: they are not spread directly from person to person. They are acquired from vegetables irrigated with sewage, soil-covered hands or unsafe water.
  • Hookworms: larvae in soil that penetrate the skin of bare feet. Dog and cat hookworms cause cutaneous larva migrans on tropical beaches.
  • Toxocara: eggs from the faeces of dogs and cats (especially puppies and kittens) that mature in the soil of parks and sandpits; also from eating raw animal liver. See pets and health.
  • Anisakis: larvae live in the viscera and muscle of hake, blue whiting, anchovy, sardine, mackerel, horse mackerel, wild salmon, squid and others. They are acquired by eating fish that is raw, marinated, pickled in vinegar, cold-smoked, salted or undercooked without prior freezing. It is not spread between people either.

How they cause disease

  • Pinworms: perianal irritation from the eggs and the migrating females; in girls they may reach the vulva and vagina.
  • Roundworms: larvae pass through the liver and lungs (cough, wheeze, lung infiltrates with eosinophilia: Löffler syndrome). Adults, if numerous, form tangles that block the bowel in children, or enter the bile duct or pancreatic duct and cause biliary colic, cholangitis or pancreatitis.
  • Whipworms: anchor into the lining of the colon and cause bleeding, colitis and, at high burdens, rectal prolapse.
  • Hookworms: each worm "sucks" blood from the gut lining; with many worms, iron and protein are lost: anaemia and stunted growth.
  • Toxocara: larvae do not mature in humans and wander through the liver, lungs, brain or eye, causing inflammation with eosinophilia.
  • Anisakis: the larva burrows into the wall of the stomach or intestine and causes intense inflammation; its proteins are also potent allergens, even when the larva has been killed by cooking.

Diseases they cause

Disease Who Key features More information
Enterobiasis (pinworm infection) Children aged 5-10 and their families Night-time anal itching, restless sleep, irritability; vulvovaginitis in girls; small white moving worms in stool or around the anus School and nursery
Ascariasis Children in areas without sanitation Symptomless or abdominal pain, malnutrition; cough and eosinophilia; bowel or biliary obstruction; passing a large worm in stool or vomit Gastroenteritis
Trichuriasis Same Bloody diarrhoea, anaemia, rectal prolapse —
Hookworm infection People walking barefoot in endemic areas Itchy foot, iron-deficiency anaemia, tiredness Traveller's fever
Cutaneous larva migrans Travellers walking on tropical sand Red, very itchy serpiginous track that advances millimetres to centimetres a day —
Toxocariasis Children playing in soil, puppy owners Visceral: fever, enlarged liver, cough, marked eosinophilia; ocular: loss of vision in one eye, sometimes mistaken for a tumour Pets and health
Gastric anisakiasis People eating raw or undercooked fish Sudden, severe upper abdominal pain hours later (often within 12 h), nausea, vomiting —
Gastroallergic anisakiasis and allergy Same; sensitised people Hives, angioedema or anaphylaxis after eating fish —
Intestinal anisakiasis Same Abdominal pain days later, sometimes obstruction or mimicking appendicitis Intra-abdominal infections

Colonisation versus infection

Finding eggs or worms indicates infestation, even without symptoms. With pinworms, however, treatment is given only when infection is confirmed or symptoms are typical, and always to all household members at the same time. One detail: pinworms rarely cause eosinophilia, because they barely invade tissues; if a child with pinworms has high eosinophils, another cause should be sought.

Microbiological diagnosis

Test What for How it is done Performance and interpretation
Graham test (sticky tape) Pinworms In the morning, before washing or using the toilet, clear sticky tape is pressed on the skin around the anus and stuck onto a glass slide One sample detects about half of cases; three consecutive mornings about 90%. Stool tests almost never detect them
Stool examination (concentration, Kato-Katz) (parasites in stool) Roundworms, whipworms, hookworms, tapeworms Three samples on different days Identifies the species from the egg; eggs per gram indicate intensity
Multiplex PCR panels Soil-transmitted worms Stool More sensitive; available in some laboratories
Full blood count (white cells and differential) Clue to tissue-invasive helminths Blood Eosinophils > 500/µL: eosinophilia; > 1,500/µL: marked (toxocariasis, larval stage of Ascaris, hookworms)
Toxocara serology Toxocariasis Blood A positive result only indicates exposure; interpret with symptoms and eosinophilia
Endoscopy Gastric anisakiasis Within the first hours Allows the larva to be seen and removed: diagnosis and treatment at once
Anisakis-specific IgE and skin tests Anisakis allergy Allergy clinic Confirms sensitisation; false positives may occur from cross-reactivity with house dust mites and crustaceans
Ultrasound or CT (imaging) Complications — Tangles of Ascaris, worms in the bile duct, bowel wall thickening from anisakis

Teaching example (invented report): "Graham test, 3 samples: Enterobius vermicularis eggs seen in the second sample." Interpretation: confirmed pinworm infection; treat the child and all household members, repeat the dose after 2 weeks and reinforce hygiene.

Resistance

Benzimidazole drugs (albendazole, mebendazole) have been used on a massive scale for decades. Their efficacy is high against roundworms and pinworms, moderate against hookworms and low against whipworms with a single dose. Possible emerging resistance is monitored in mass treatment programmes, as has already happened in livestock. Pinworm "relapses" are almost always reinfections, not resistance.

Treatment

The drugs are described in antiparasitic drugs: albendazole, ivermectin and others. Some are sold over the counter, but it is best to ask the GP or pharmacist, especially for children under 2 and during pregnancy.

Infection First choice Alternatives and comments
Pinworms Mebendazole 100 mg single dose, repeated after 2 weeks Albendazole 400 mg single dose repeated after 2 weeks, or pyrantel pamoate 11 mg/kg (max. 1 g) repeated. Treat all household members on the same day
Ascariasis Albendazole 400 mg single dose Mebendazole 500 mg single dose or 100 mg twice daily for 3 days; ivermectin. Obstruction or biliary involvement: hospital, sometimes endoscopy or surgery
Trichuriasis Albendazole 400 mg or mebendazole for 3 days Albendazole + ivermectin is more effective in trials
Hookworm infection Albendazole 400 mg single dose (or 3 days) Mebendazole; iron if anaemic
Cutaneous larva migrans Oral ivermectin single dose Albendazole for 3-7 days
Visceral toxocariasis Albendazole 400 mg twice daily for 5 days Corticosteroids in ocular or severe forms (ophthalmology)
Gastric anisakiasis Endoscopic removal of the larva In intestinal forms, supportive treatment; sometimes albendazole
Anisakis allergy Treat the reaction (adrenaline for anaphylaxis) Allergy assessment; dietary advice
Hymenolepis nana Praziquantel 25 mg/kg single dose Nitazoxanide

In pregnancy, benzimidazoles are avoided in the first trimester; in endemic areas, WHO allows their use from the second trimester. For infectious diarrhoea with or without parasites, see infectious diarrhoea.

Prevention

  • Pinworms: wash hands with soap and water on waking, after using the toilet and before eating (hand hygiene); short nails; no scratching or nail-biting; a morning shower or bath; change underwear and nightwear daily; wash sheets and towels at 60 °C after treatment; vacuum and damp-dust. Children do not need to be kept off school.
  • Soil-transmitted worms: sanitation, safe drinking water, washing fruit and vegetables well, wearing shoes. Periodic preventive treatment of schoolchildren in endemic areas (WHO strategy). Travel advice in healthy travel.
  • Toxocara: deworm dogs and cats as advised by the vet, especially puppies and kittens; pick up their faeces; cover sandpits; wash hands after playing in soil.
  • Anisakis: the effective measure is to freeze fish that will be eaten raw, marinated, pickled, salted or cold-smoked: EU rules require at least −20 °C for 24 hours (or −35 °C for 15 hours) in the food industry; at home, the Spanish food safety agency (AESAN) recommends a three-star or better freezer for at least 5 days. Cooking to 60 °C or more in the centre for at least 1 minute also kills them. Vinegar, salt, lemon juice, cold smoking or microwaving without reaching that temperature do not kill them. Gutting fish promptly reduces the passage of larvae into the flesh. Since 2006, Spanish restaurants serving raw or lightly cooked fish have been required to freeze it and inform customers. More in food safety at home.

Warning signs: call 112 in Europe, or your local emergency number, if after eating fish you develop hives with difficulty breathing, swelling of the lips or tongue, or faintness: this may be anaphylaxis. Go to the emergency department with severe, persistent abdominal pain, repeated vomiting or a swollen abdomen without passing wind (possible obstruction), jaundice with fever, or if a large worm comes out of the mouth or nose.

Curiosities and brief history

  • Roundworm and whipworm eggs have been found in coprolites (fossilised faeces) thousands of years old; Hippocrates and Aristotle already described intestinal worms.
  • The sticky-tape test was described by the American C. F. Graham in 1941; it is still the test of choice more than 80 years later.
  • A female Ascaris can lay about 200,000 eggs a day, which survive for years in soil.
  • Anisakis has a marine life cycle involving crustaceans, fish, squid and marine mammals (dolphins, whales); the recovery of marine mammal populations has been linked to more larvae in fish.

Myths and facts

  • "Pinworms come from eating sweets." False: they are spread by eggs passing from hands to mouth.
  • "If a child grinds their teeth, they have worms." False: studies have not linked bruxism to pinworms.
  • "Only dirty children get pinworms." False: they are very common in all settings and do not mean poor hygiene at home.
  • "Garlic or pumpkin seeds cure worms." There is no evidence: antiparasitic drugs and hygiene work.
  • "The vinegar in pickled anchovies kills anisakis." False: only adequate freezing or cooking kills it.
  • "If fish is well cooked, a person allergic to anisakis can eat it safely." Not always: some allergens survive cooking and freezing; the allergist will advise.

Sources

  1. World Health Organization. Soil-transmitted helminth infections: fact sheet. Geneva: WHO; 2023.
  2. World Health Organization. Global Health Observatory: soil-transmitted helminthiases, preventive chemotherapy data for 2024. Geneva: WHO; 2025.
  3. World Health Organization. Schistosomiasis and soil-transmitted helminthiases: progress report, 2024. Wkly Epidemiol Rec. 2025.
  4. Bao M, et al. Assessing the risk of an emerging zoonosis of worldwide concern: anisakiasis. Sci Rep. 2017;7:43699. doi:10.1038/srep43699
  5. Herrador Z, et al. Epidemiological scenario of anisakidosis in Spain based on associated hospitalizations: the tip of the iceberg. Clin Infect Dis. 2019;69(1):69-76. doi:10.1093/cid/ciy853
  6. Agencia Española de Seguridad Alimentaria y Nutrición (AESAN). Anisakis: consumer recommendations.
  7. Jourdan PM, et al. Soil-transmitted helminth infections. Lancet. 2018;391(10117):252-65. doi:10.1016/s0140-6736(17)31930-x
  8. Wendt S, et al. The diagnosis and treatment of pinworm infection. Dtsch Arztebl Int. 2019;116(13):213-9. doi:10.3238/arztebl.2019.0213
  9. Centers for Disease Control and Prevention. CDC Yellow Book 2026: Health Information for International Travel. Soil-transmitted helminths, cutaneous larva migrans and toxocariasis chapters. Oxford University Press; 2025.
  10. Regulation (EC) No 853/2004 of the European Parliament and of the Council, Annex III, Section VIII (fishery products: freezing treatment).

Sources reviewed and updated in November 2026.

History · Medicapedia

The history of this condition

How it was described, who studied it and how its treatment has changed over the centuries, on Medicapedia, our sister encyclopedia of the history of medicine.

Medicines · Farmacos.ai

Drug information pages

What each medicine is for, how to take it, side effects and interactions, based on the official product information, on Farmacos.ai.

Spotted a mistake? Write to partenopides@gmail.com