Tapeworm infection


This infection may have a major "ick" factor, but it usually only causes a mild intestinal illness.


Tapeworm infection is caused by ingesting food or water contaminated with tapeworm eggs or larvae. If you ingest certain tapeworm eggs, they can migrate outside your intestines and form larval cysts in body tissues and organs (invasive infection). If you ingest tapeworm larvae, however, they develop into adult tapeworms in your intestines (intestinal infection).

An adult tapeworm consists of a head, neck and chain of segments called proglottids. When you have an intestinal tapeworm infection, the tapeworm head adheres to the intestinal wall, and the proglottids grow and produce eggs. Adult tapeworms can live for up to 30 years in a host.

Intestinal tapeworm infections are usually mild, with only one or two adult tapeworms. But invasive larval infections can cause serious complications.


Many people with intestinal tapeworm infection don't have symptoms. If you do have problems from the infection, your symptoms will depend on the type of tapeworm you have and its location. Invasive tapeworm infection symptoms vary depending on where the larvae have migrated.

Intestinal infection

Signs and symptoms of intestinal infection include:

  • Nausea
  • Weakness
  • Loss of appetite
  • Abdominal pain
  • Diarrhea
  • Dizziness
  • Salt craving
  • Weight loss and inadequate absorption of nutrients from food

Invasive infection

If tapeworm larvae have migrated out of your intestines and formed cysts in other tissues, they can eventually cause organ and tissue damage, resulting in:

  • Headaches
  • Cystic masses or lumps
  • Allergic reactions to the larvae
  • Neurological signs and symptoms, including seizures

When to see a doctor

If you experience any of the signs or symptoms of tapeworm infection, seek medical attention.


A tapeworm infection starts after ingestion of tapeworm eggs or larvae.

  • Ingestion of eggs.. If you eat food or drink water contaminated with feces from a person or animal with tapeworm, you ingest microscopic tapeworm eggs. For example, a dog infected with a tapeworm will pass tapeworm eggs in its feces, which get into the soil.

    If this same soil comes in contact with a food or water source, it becomes contaminated. You can then be infected when you eat or drink something from the contaminated source.

    Once inside your intestines, the eggs develop into larvae. At this stage, the larvae become mobile. If they migrate out of your intestines, they form a cyst in the liver or other tissues.

  • Ingestion of larvae cysts in meat or muscle tissue. When an animal has a tapeworm infection, it has tapeworm larvae in its muscle tissue. If you eat raw or undercooked meat from an infected animal, you ingest the larvae, which then develop into adult tapeworms in your intestines.

    Adult tapeworms can measure more than 80 feet (25 meters) long and can survive as long as 30 years in a host. Some tapeworms attach themselves to the walls of the intestines, where they cause irritation or mild inflammation, while others may pass through to your stool and exit your body.


Factors that may put you at greater risk of tapeworm infection include:

  • Poor hygiene. Infrequent washing and bathing increases the risk of accidental transfer of contaminated matter to your mouth.
  • Exposure to livestock. This is especially problematic in areas where human and animal feces are not disposed of properly.
  • Traveling to developing countries. Infection occurs more frequently in areas with poor sanitation practices.
  • Eating raw or undercooked meats. Improper cooking may fail to kill tapeworm eggs and larvae contained in contaminated pork or beef.
  • Living in endemic areas. In certain parts of the world, exposure to tapeworm eggs is more likely. For instance, your risk of coming into contact with eggs of the pork tapeworm (Taenia solium) is greater in areas of Latin America, China, sub-Saharan Africa or Southeast Asia where free-range pigs may be more common.

Intestinal tapeworm infections usually don't cause complications. If complications do occur, they may include:

  • Digestive blockage. If tapeworms grow large enough, they can block your appendix, leading to infection (appendicitis); your bile ducts, which carry bile from your liver and gallbladder to your intestine; or your pancreatic duct, which carries digestive fluids from your pancreas to your intestine.
  • Brain and central nervous system impairment. Called neurocysticercosis (noor-o-sis-tih-sur-KOE-sis), this especially dangerous complication of invasive pork tapeworm infection can result in headaches and visual impairment, as well as seizures, meningitis, hydrocephalus or dementia. Death can occur in severe cases of infection.
  • Organ function disruption. When larvae migrate to the liver, lungs or other organs, they become cysts. Over time, these cysts grow, sometimes large enough to crowd the functioning parts of the organ or reduce its blood supply. Tapeworm cysts sometimes rupture, releasing more larvae, which can move to other organs and form additional cysts.

    A ruptured or leaking cyst can cause an allergy-like reaction, with itching, hives, swelling and difficulty breathing. Surgery or organ transplantation may be needed in severe cases.


To prevent tapeworm infection:

  • Wash your hands with soap and water before eating or handling food and after using the toilet.
  • When traveling in areas where tapeworm is more common, wash and cook all fruits and vegetables with safe water before eating. If water might not be safe, be sure to boil it for at least a minute and then let it cool off before using it.
  • Eliminate livestock exposure to tapeworm eggs by properly disposing of animal and human feces.
  • Thoroughly cook meat at temperatures of at least 145 F (63 C) to kill tapeworm eggs or larvae.
  • Freeze meat for as long as seven to 10 days and fish for at least 24 hours in a freezer with a temperature of -31 F (-35 C) to kill tapeworm eggs and larvae.
  • Avoid eating raw or undercooked pork, beef and fish.
  • Promptly treat dogs infected with tapeworm.

To diagnose a tapeworm infection, your doctor may rely on one of the following:

  • Stool sample analysis. For an intestinal tapeworm infection, your doctor may check your stool or send samples to a laboratory for testing. A laboratory uses microscopic identification techniques to check for eggs or tapeworm segments in your feces.

    Because the eggs and segments are passed irregularly, the lab may need to collect two to three samples over a period of time to detect the parasite. Eggs are sometimes present at the anus, so your doctor may use a piece of transparent adhesive tape pressed to the anus to collect eggs for microscopic identification.

  • Blood test. For tissue-invasive infections, your doctor may also test your blood for antibodies your body may have produced to fight tapeworm infection. The presence of these antibodies indicates tapeworm infestation.
  • Imaging exam. Certain types of imaging, such as CT or MRI scans, X-rays, or ultrasounds of cysts, may suggest invasive tapeworm infection.

Some people with tapeworm infections never need treatment, for the tapeworm exits the body on its own. Others don't realize they have it because they have no symptoms. However, if you're diagnosed with intestinal tapeworm infection, medication will likely be prescribed to get rid of it.

Treatments for intestinal infections

The most common treatment for tapeworm infection involves oral medications that are toxic to the adult tapeworm, including:

  • Praziquantel (Biltricide)
  • Albendazole (Albenza)
  • Nitazoxanide (Alinia)

Which medication your doctor prescribes depends on the species of tapeworm involved and the site of the infection. These drugs target the adult tapeworm, not the eggs, so it's important to avoid reinfecting yourself. Always wash your hands after using the toilet and before eating.

To be certain that your tapeworm infection has cleared, your doctor will probably have your stool samples checked at certain intervals after you've finished taking your medication. Successful treatment — meaning that your stool is free of tapeworm eggs, larvae or proglottids — is most likely if you receive appropriate treatment for the type of tapeworm causing your infection.

Treatments for invasive infections

Treating an invasive infection depends on the location and effects of the infection.

  • Anthelmintic drugs. Albendazole (Albenza) can shrink some tapeworm cysts. Your doctor may monitor the cysts periodically using imaging studies such as ultrasound or X-ray to be sure the drug is effective.
  • Anti-inflammatory therapy. Dying tapeworm cysts can cause swelling or inflammation in tissues or organs, so your doctor may recommend prescription corticosteroid medication, such as prednisone or dexamethasone, to reduce inflammation.
  • Anti-epileptic therapy. If the disease is causing seizures, anti-epileptic medications can stop them.
  • Shunt placement. One type of invasive infection can cause too much fluid on the brain, called hydrocephalus. Your doctor may recommend placing a permanent tube (shunt) in your head to drain the fluid.
  • Surgery. Whether cysts can be removed surgically depends on their location and symptoms. Cysts that develop in the liver, lungs and eyes are typically removed, since they can eventually threaten organ function.

    Your doctor might recommend a drainage tube as an alternative to surgery. The tube allows aggressive rinsing (irrigation) of the area with anti-parasitic solutions.


For a tapeworm infection, you might first see your primary physician. However, in some cases, he or she may refer you to a doctor who specializes in infectious diseases or a doctor who specializes in disorders of the gastrointestinal tract (gastroenterologist).

Here's some information to help you get ready for your appointment, and what you can expect from your doctor.

What you can do

  • Write down the symptoms you're experiencing, including any that may seem unrelated to the reason for which you scheduled the appointment.
  • Write down key personal information, including any recent travel, especially to other countries. Tell your doctor if you believe you've been exposed to food or water contaminated with tapeworm.
  • Make a list of all medications, vitamins and supplements you're taking.
  • Write down questions to ask your doctor.

Your time with your doctor is limited, so preparing a list of questions can help you make the most of your time together. For tapeworm infection, some basic questions to ask your doctor include:

  • What's the most likely cause of my symptoms?
  • Are there other possible causes?
  • What kinds of tests do I need, if any?
  • What treatments are available and which do you recommend?
  • Are there any dietary restrictions that I need to follow?
  • Are there any brochures or other printed material that I can take home with me? What websites do you recommend visiting?

In addition to the questions that you've prepared to ask your doctor, don't hesitate to ask questions during your appointment.

What to expect from your doctor

Your doctor may ask that you bring a stool sample to your appointment for testing. Your doctor may also ask you questions about your condition, such as:

  • When did your symptoms begin?
  • How severe are your symptoms?
  • Does anything seem to improve your symptoms?
  • Does anything make your symptoms worse?
  • Have you traveled recently? To what areas?
  • Could you have been exposed to food or drink contaminated with tapeworm?

What you can do in the meantime

While you're waiting to see your doctor, try to stay well-hydrated.



Last Updated:

March 16th, 2021

© 1998-2022 Mayo Foundation for Medical Education and Research (MFMER). All rights reserved.
Terms of Use