Overview

Ascariasis (as-kuh-RIE-uh-sis) is a type of roundworm infection. These worms are parasites that use the body as a host to mature from eggs to adult worms. Adult worms can be more than a foot long.

Ascariasis is one of the most common worm infections in people worldwide. These infections happen most often in children in tropical and subtropical countries. The risk of infection is higher in areas that lack good sanitation and waste treatment services. Most often, the infection is caused by eating food or drinking water that is tainted with roundworm eggs.

Ascariasis can cause symptoms such as stomach pain, vomiting, fever and cough. Serious health issues called complications can happen if many worms grow inside the body. But most people with ascariasis have no symptoms.

Ascariasis treatment includes medicines that help get rid of the worms. These are called anti-parasite medicines.

In places where ascariasis is common, help prevent the infection by washing hands often. Also wash fresh vegetables and fruit, and peel or cook them before you eat them.

Image of an ascariasis worm

Ascariasis worm

Ascariasis worms are typically pink or white with tapered ends. Female worms can be more than 15 inches (40 centimeters) long and a little less than a quarter inch (6 millimeters) in diameter. Male worms are generally smaller.


Symptoms

Ascariasis symptoms depend on the amount of roundworms in your body, which organs are infected and your immune system health. Most people have no symptoms at all. But having a high number of worms makes symptoms more likely.

In the lungs

The tiny ascaris eggs are too small to see. After you swallow the eggs, they hatch in the small intestine. An early form of the worms, called larvae, come out of the eggs. The larvae travel into the lungs through the bloodstream or part of the immune system called the lymphatic system.

At this stage, you may have no symptoms, or symptoms may be like those of asthma or pneumonia. These symptoms include:

  • Dry cough that may bring up blood.
  • Shortness of breath.
  • Wheezing.

After spending 10 to 14 days in the lungs, the larvae travel to the throat. You cough them up and then swallow them.

In the intestines

The larvae mature into adult worms in the small intestine. Most often, adult worms live in the intestine until they die. In mild or moderate ascariasis, worms in the intestine can cause:

  • Vague stomach pain.
  • Upset stomach and vomiting.
  • Diarrhea or bloody stools.
  • Loss of appetite.

If you have a large number of worms in the intestine, you might have:

  • Serious pain in the stomach area.
  • Constipation.
  • Vomiting.
  • Weight loss or not getting enough nutrients.
  • A worm in your vomit or stool.

When to see a doctor

Talk with your healthcare professional if you have ongoing:

  • Stomach pain.
  • Diarrhea.
  • Upset stomach or vomiting.

Causes

Ascariasis happens when roundworm eggs spread through human or pig stool. Most often, people get ascariasis when they swallow food or water tainted with stool that contains the worms. For example, eating vegetables or fruits that have not been washed, peeled or cooked can cause infection in places where ascariasis is common. So can eating pig or chicken liver that is infected and hasn't been cooked.

Tainted stool gets into food and water through soil. In some parts of the world, human or pig stool is used for fertilizer. Poor sanitary facilities also may allow stool to mix with soil in yards, ditches and fields.

Small children often play in dirt, and infection can happen if they put unwashed fingers in their mouths. Much less often, infection happens after breathing in tainted dust that's in the air.

Handling pigs or their manure for work also can cause ascariasis if infected pig stool is gets in the mouth, called ingested.

Life cycle of a worm

  • Ingestion. The tiny ascaris eggs can't cause infection unless they first come into contact with soil. People can swallow tainted soil in various ways. These include hand-to-mouth contact or eating raw or undercooked fruits or vegetables that have been grown in contaminated soil.
  • Travel through the body. Early forms of the worms called larvae hatch from the eggs in the small intestine. Then they go through the wall of the intestine and get into the bloodstream or part of the immune system called the lymphatic system. From there, they travel to the lungs. After growing for about 10 to 14 days in the lungs, the larvae break into the airway and travel up the throat. Then they're coughed up, swallowed and returned to the small intestine.
  • Growth. Once they're back in the small intestine, the parasites grow into male or female worms. Female worms can grow to 13 to 15 inches (35 to 40 centimeters) in length. They can become about a quarter inch (6 millimeters) wide. Male worms tend to be smaller.
  • Breeding. Female worms can produce 200,000 eggs a day if they mate with male worms in the small intestine. The eggs leave the body in stool. The fertilized eggs must be in soil for at least 2 to 4 weeks before they become able to infect people.

The whole process takes about two or three months. Ascariasis worms can live inside the body for about a year or two.


Risk factors

Risk factors for ascariasis include:

  • Age. Most people who have ascariasis are 10 years old or younger. Children in this age group may be at higher risk because they're more likely to play in dirt.
  • Warm climate. Ascariasis is most common in tropical and subtropical parts of the world with warm, wet climates.
  • Poor sanitation. Ascariasis is widespread in places where human stool is allowed to mix with soil. The condition is rare in places with adequate sanitation.

Complications

Mild cases of ascariasis usually don't cause complications. But having many worms in the body may lead to problems such as:

  • Slowed growth. Loss of appetite and poor absorption of digested food put children with ascariasis at risk of not getting enough nutrition. And that can slow growth.
  • Intestine blockage and tearing. A mass of worms could block part of the intestine. This can cause serious stomach cramping and vomiting. The blockage also can make a hole in the wall of the intestine or in the appendix. The hole could cause internal bleeding or dangerous swelling of the appendix called appendicitis.
  • Duct blockages. Sometimes, worms may block the narrow ducts of the liver or pancreas. This causes serious pain.

Prevention

Follow these tips to help prevent infection:

  • Practice good hygiene. Wash your hands with soap and water after you go to the bathroom and before you handle food. If your job involves raising pigs, wash your hands after handling pigs or their manure, or after cleaning pens.
  • Eat and drink safely. Wash fresh fruits and vegetables thoroughly. Also peel or cook produce that's been grown in soil fertilized with manure. In places where ascariasis is common, eat only foods that are cooked and hot. Use bottled or boiled water.
  • Supervise young children. Don't let them sit directly on soil or play in it.

July 24, 2025

  1. Leder K, et al. Ascariasis. https://www.uptodate.com/contents/search. Accessed Feb. 13, 2024.
  2. Parasites — Ascariasis. Centers for Disease Control and Prevention. https://www.cdc.gov/parasites/ascariasis/. Accessed Feb. 13, 2024.
  3. Ascariasis. Merck Manual Professional Version. https://www.merckmanuals.com/professional/infectious-diseases/nematodes-roundworms/ascariasis. Accessed Feb. 13, 2024.
  4. Ferri FF. Ascariasis. In: Ferri's Clinical Advisor 2024. Elsevier; 2024. https://www.clinicalkey.com. Accessed Feb. 13, 2024.
  5. Kellerman RD, et al. Intestinal parasites. In: Conn's Current Therapy 2024. Elsevier; 2024. https://www.clinicalkey.com. Accessed Feb. 13, 2024.
  6. Roundworm infection. AskMayoExpert. Mayo Clinic; 2023.
  7. Medical review (expert opinion). Mayo Clinic. Feb. 15, 2024.

CON-20369576

Double your impact on cancer!

Make a gift before July 31 and it can be doubled in impact thanks to a $100,000 Summer Challenge.