Merck Manual

Please confirm that you are not located inside the Russian Federation

honeypot link

Tapeworm Infection


Chelsea Marie

, PhD, University of Virginia;

William A. Petri, Jr

, MD, PhD, University of Virginia School of Medicine

Reviewed/Revised Mar 2022 | Modified Sep 2022
Topic Resources

Tapeworm infection of the intestine occurs mainly when people eat raw or undercooked contaminated pork, beef, or freshwater fish or, for the dwarf tapeworm, contaminated food or water.

A Beef Tapeworm

A Beef Tapeworm

Several species of tapeworms can cause infection in people. They include

  • Taenia saginata (beef tapeworm)

  • Taenia solium (pork tapeworm)

  • Taenia asiatica, which is acquired by eating pork in Asia (Asian tapeworm)

  • Diphyllobothrium latum (fish tapeworm)

  • Hymenolepis nana (dwarf tapeworm)

Adult tapeworms of other species—Echinococcus granulosus and Echinococcus multilocularis (dog tapeworms Echinococcosis (Dog Tapeworm Infection) Echinococcosis is caused by the dog tapeworms Echinococcus granulosus and Echinococcus multilocularis. In people, the tapeworms can cause fluid-filled cysts or masses to form in... read more Echinococcosis (Dog Tapeworm Infection) )—live in the intestine of dogs or other canines. These tapeworms sometimes infect people, causing cysts in the liver or other organs.

Tapeworms have three main parts:

  • The head, which is the part that attaches to intestine

  • The neck, which can regenerate

  • The rest of the worm, which consists of many segments (called proglottids) and which may contain eggs

If treatment does not eliminate the head and neck, the entire worm may re-form.

Pork, beef, and fish tapeworm life cycle

The pork, beef, and fish tapeworms are large, flat, ribbon-like worms that live in the intestine of people and can grow 15 to 30 feet (4.5 to 9 meters) in length. People are considered the definitive host because adult tapeworms live in their intestine. Egg-bearing sections of the worm (proglottids) are passed in the stool.

If untreated human waste is released into the environment, the eggs may be ingested by intermediate hosts, such as pigs, cattle, or, in the case of fish tapeworms, small freshwater crustaceans, which are in turn ingested by fish. The eggs hatch into larvae in the intermediate host. The larvae invade the intestinal wall and are carried through the bloodstream to skeletal muscle and other tissues, where they form cysts.

People acquire the parasite by eating the cysts in raw or undercooked meat or certain types of freshwater fish. The cysts hatch and develop into adult worms, which latch onto the wall of the intestine. The worms then grow in length and begin producing eggs.

Life Cycle of the Pork Tapeworm

  • 1. People may become infected when they eat raw or undercooked pork containing cysts of tapeworm larvae (called cysticerci).

  • 2. In the intestine, the cysticerci mature into adult tapeworms and attach themselves to the wall of the intestine.

  • 3. Adult tapeworms produce segments (called proglottids) that bear eggs. The proglottids may release the eggs or detach from the rest of the tapeworm and travel to the anus.

  • 4. The eggs, proglottids, or both are passed in stool.

  • 5. Pigs or, less often, people become infected by consuming the eggs or proglottids (for example, in food contaminated with human stool).

  • 6. After the eggs are consumed, they hatch in the intestine and release spheres (called oncospheres) that penetrate the wall of the intestine.

  • 7. The oncospheres then travel through the bloodstream to muscles and to the brain, liver, and other organs, where they develop into cysts.

Life Cycle of the Pork Tapeworm

Did You Know...

  • Tapeworms can grow to be 15 to 30 feet (4.5 to 9 meters) long.

Dwarf tapeworm life cycle

Dwarf tapeworms are small, only up to 2 inches (40 millimeters) long. People become infected with dwarf tapeworms by consuming tapeworm eggs, rather than cysts, as occurs in pork and beef tapeworm infection. The eggs may be consumed in food or water contaminated by human stool or may be transferred to the mouth after contact with infected people. Sometimes people accidentally consume infected insects, such as fleas and beetles, in grains.

The eggs develop into adults that live in the intestine. The adult tapeworms lay eggs that are passed in stool. The eggs may be consumed by another person or by the same person, resulting in infection with a new generation of adult tapeworms.

Sometimes the eggs hatch in the intestine and develop into adult dwarf tapeworms, causing infection without ever leaving the body. This type of infection is called autoinfection (infection of self). A large number of dwarf tapeworms can accumulate and cause symptoms.


People who ingest the eggs of the pork tapeworm can become an intermediate host for the tapeworm (people cannot be intermediate hosts for the beef and fish tapeworms). People may become an intermediate host when one of the following occurs:

  • They swallow the pork tapeworm eggs in food or water contaminated with human stool.

  • They transfer the eggs to their mouth after contact with an infected person or with contaminated clothing and furniture.

  • People with an adult worm in their intestine may reinfect themselves when they swallow eggs from their stool (for example, in contaminated food or water) or possibly when egg-bearing segments of the worm (proglottids) move from their intestine into the stomach and release eggs (autoinfection).

As in animal intermediate hosts, the eggs develop into spheres containing larvae (oncospheres) when they reach the intestine. The spheres penetrate the intestinal wall and travel to the brain, muscles, other organs, or tissue under the skin, where they form cysts. In people, this form of the disease is called cysticercosis.

Symptoms of Tapeworm Infection

Although adult tapeworms in the intestine usually cause no symptoms, some people experience upper abdominal discomfort, diarrhea, and other symptoms. Occasionally, people with a tapeworm can feel a piece of the worm move out through the anus or see part of the ribbon-like tapeworm in stool. The dwarf tapeworm is more likely than other tapeworms to cause abdominal symptoms such as nausea, vomiting, diarrhea, abdominal discomfort, loss of appetite, and weight loss.

The fish tapeworm can cause anemia because it absorbs vitamin B12, which is necessary for red blood cells to be produced.

Cysticercosis symptoms are caused by cysts that form in the brain and other organs (such as the spinal cord, liver, lungs, and eyes). These cysts can cause severe, sometimes life-threatening symptoms years after the initial infection, when the cysts start to deteriorate and cause inflammation. Cysts in the brain Neurocysticercosis In some parts of the world, brain infections may be due to worms or other parasites. These infections are more common in developing countries and rural areas. They are less common in the United... read more and the tissues covering the brain (meninges) can result in headaches, seizures, confusion, or other neurologic symptoms. Rarely, cysts develop in the eyes, sometimes causing blindness, or in the spinal cord, sometimes causing muscle weakness or paralysis.

Diagnosis of Tapeworm Infection

  • For intestinal tapeworm infection, examination of a stool sample

  • To check for cysticercosis, computed tomography or magnetic resonance imaging and sometimes blood tests

A doctor diagnoses intestinal tapeworm infection by finding worm segments or eggs in a stool sample.

Prevention of Tapeworm Infection

The first line of defense against tapeworms is

  • Thoroughly cooking whole cuts of meat and freshwater fish to a temperature of more than 145° F (63° C) for 3 minutes or more.

If the meat is ground, a cooking temperature of at least 160° F (71° C) is recommended.

Whole cuts of meat should rest for 3 minutes after being cooked before carving or consuming. Ground meats do not require a rest period.

Freshwater fish should not be served raw (as sushi) and should be eaten only after it has been cooked to a temperature of 145° F (63° C) or properly frozen at temperatures below that of typical home freezers. These measures kill the fish tapeworm.

The following are recommended freezing methods for freshwater fish:

  • At -4° F (-20° C) or below for 7 days

  • At -31° F (-35° C) or below until solid, then stored at -31° F (-35° C) or below for 15 hours

  • At -31°F (-35° C) or below until solid, then stored at -4° F (-20° C) or below for 24 hours

Smoking and drying do not kill cysts.

Another line of defense is

  • Careful evaluation of meat and fish by trained inspectors

Cysts are visible in infected meat.

Adequate treatment of human waste interrupts the life cycle and thus helps prevent infections with beef tapeworms or pork tapeworms, including cysticercosis.

Dwarf tapeworm infection can be prevented by avoiding the following:

  • Food and water likely to be contaminated with stool

  • Grains contaminated by infected insects

For example, when traveling in countries where food is likely to be contaminated with human stool, people should wash, peel, and/or cook all raw vegetables and fruits using safe water before these foods are eaten.

Washing hands with soap and warm water after using the toilet, after changing diapers, and before preparing foods can also help.

Treatment of Tapeworm Infection

  • For intestinal infection, praziquantel or nitazoxanide (antiparasitic drugs)

  • For symptoms due to cysticercosis, sometimes corticosteroids and an antiparasitic drug with or without surgery

A person with an intestinal tapeworm is treated with a single oral dose of praziquantel. For dwarf tapeworm infection, nitazoxanide may be used instead.

Cysticercosis treatment

Cysticercosis treatment depends on various factors, such as symptoms and the number and location of cysts in the brain.

Cysticercosis is usually not treated unless it involves the brain. Corticosteroids, such as prednisone, are given to people with symptoms due to cysts in the brain. These drugs can reduce inflammation. People who have seizures are given antiseizure drugs. Antiparasitic drugs (such as albendazole or praziquantel) can be used to kill living cysts in the brain, but they are given after symptoms are adequately controlled. Corticosteroids are also given with the antiparasitic drug to minimize inflammation caused by dying cysts.

Antiparasitic drugs are not used to treat cysts in the eye or spinal cord because they can trigger severe inflammation that can damage nearby tissues.

Occasionally, surgery is necessary—for example, when cysts are blocking the flow of fluid that surrounds the brain and spinal cord (cerebrospinal fluid) or when cysts are causing problems in the spinal cord or eye.

Drugs Mentioned In This Article

Generic Name Select Brand Names
Deltasone, Predone, RAYOS, Sterapred, Sterapred DS
quiz link

Test your knowledge

Take a Quiz!