The Causes of Foamy Poop

Table of Contents
View All
Table of Contents

Foamy poop can have a number of causes, including stomach flu, conditions like celiac disease and chronic pancreatitis, and parasitic infections like giardiasis.

The presence of bubbly, frothy, or foamy poop or foamy diarrhea isn't enough to point to a specific diagnosis. But causes can be narrowed down by considering other factors, such as poop's color and texture, whether or not there is blood present, and the frequency of your bowel movements.

Learn more about possible causes of foamy poop, as well as how to prevent it and the available treatment options.


Calvin Chan Wai Meng / Getty Images

What Causes Foamy Poop or Diarrhea in Adults and Children?

Foamy stools in adults and children can be caused by a number of medical conditions. Many of these conditions cause steatorrhea, an increased amount of fat or mucus passed in the stool.

Steatorrhea is a key symptom of fat malabsorption, which means the body does not fully absorb certain fats. When this occurs, fat content in the stool may increase, which can produce stools that may be:

  • Frothy
  • Greasy
  • Pale
  • Gray
  • Bulky
  • Watery
  • Foul-smelling
  • Large in volume

This stool may be difficult to flush as it can stick to the sides of the toilet or even float on top of the water.

Does Healthy Poop Float or Sink?

Some people may find their poop floats while others notice their poop sinks. Floating poop is not always a cause for concern but may indicate:

  • Pancreatitis
  • Too much gas, usually related to diet
  • Malabsorption
  • A gastrointestinal infection

Gastroenteritis (Stomach Flu)

Gastroenteritis, also called the stomach flu, can cause foamy diarrhea. This happens when gas bubbles in the intestines are passed along with loose stools. 

Gastroenteritis is an infection of the gastrointestinal tract. It is usually caused by a virus such as norovirus or a bacteria that you ingest when you eat contaminated or undercooked food.

Most cases of gastroenteritis resolve on their own in a few days, but if you have symptoms that persist or are accompanied by dehydration or blood in the stool, you should see your healthcare provider.

Viral and bacterial gastroenteritis can be prevented with good hygiene practices like hand washing. Cooking food to a safe internal temperature and taking steps to prevent cross-contamination can prevent foodborne versions of this illness.

Celiac Disease

Celiac disease is an autoimmune condition in which the body's immune system launches an attack when gluten is ingested. This can cause damage to the small intestine.

In celiac disease, the body may not fully absorb nutrients leading to diarrhea, as well as steatorrhea. People with celiac disease may experience a variety of symptoms including, but not limited to:

  • Stools that are foul-smelling
  • Frothy, greasy, and/or foamy stools
  • Stools that are difficult to flush
  • Pain in the abdomen
  • Indigestion
  • Constipation
  • Bloating
  • Flatulence
  • Fatigue

How Common Is Celiac Disease?

It is estimated that roughly 2 million people in the U.S. are living with celiac disease, but many people are undiagnosed.

Celiac disease can't be diagnosed based on symptoms alone. To help diagnose the condition, your healthcare provider may order a blood test or biopsy. Genetic testing can also help with a diagnosis. 

Celiac disease can't be prevented, but adhering to a strict gluten-free diet may help prevent some symptoms and may reduce any further damage to the body.

Irritable Bowel Syndrome

Irritable bowel syndrome (IBS) is a common disorder of the gastrointestinal system. Symptoms typically include abdominal pain and discomfort, gas, bloating, and constipation and/or diarrhea. Foamy stools are also a common symptom of IBS.

The cause of IBS is unclear, but some researchers believe it is related to an over- or undergrowth of the normal bacteria in your digestive system. Psychological factors like stress and anxiety may also contribute to this condition.

There are no specific tests to diagnose IBS, but you may need blood tests or stool samples to rule out other conditions such as celiac disease. An IBS diagnosis is usually made based on your symptoms and medical history after other conditions are excluded.


Giardiasis is a disease caused by a parasite known as Giardia duodenalis, often called Giardia. If a person is infected with Giardia, the parasites inhabit the intestines and the stool. It is spread by:

  • Consuming food or water contaminated with Giardia parasites
  • Travel in areas of poor sanitation
  • Close contact with a person infected
  • Touching contaminated surfaces and then touching your mouth
  • Sexual contact with someone who has or recently has had Giardia

Giardia can cause a variety of other gastrointestinal symptoms, including:

  • Gas
  • Diarrhea
  • Greasy stool
  • Stomach pain or cramps
  • Nausea
  • Stools that float
  • Foul-smelling stool

If your healthcare provider suspects giardiasis, they may test a sample of your stool for the presence of the Giardia parasite.

There are a number of ways to prevent giardiasis including avoiding food or drink that may be contaminated, practicing safe sex, and not swallowing water found in pools, hot tubs, or untreated swimming areas like lakes or rivers.

Chronic Pancreatitis

Chronic pancreatitis is an inflammation in the pancreas that worsens over time. In chronic pancreatitis, the body does not produce the necessary amount of pancreatic enzymes to digest food. This causes a lack of proper nutrient absorption and may cause steatorrhea, which can lead to frothy stools.

Other changes in stool due to chronic pancreatitis include diarrhea and clay-colored or pale stool.

Pancreatitis is usually diagnosed with a combination of imaging scans, lab tests, and diagnostic procedures such as upper endoscopy.

Some lifestyle choices that can help reduce symptoms and control chronic pancreatitis include avoiding alcohol or smoking and following the dietary recommendations of your doctor. This may include a low-fat, high-protein, high-calorie diet that includes fat-soluble vitamin supplements.

Cystic Fibrosis

Cystic fibrosis is a disease that causes the body to produce thick mucus that can affect the lungs, pancreas, and digestive system.

In the digestive system, the mucus can slow the passage of food. It can also clog the ducts in your liver, pancreas, and intestines and prevent digestive enzymes from entering your intestines.

This leads to malabsorption, which in turn can cause bulky, foamy stools. The mucus itself can also be passed through the stool and contribute to the foamy or frothy appearance.

Early diagnosis improves the long-term health of people with cystic fibrosis. In the United States, babies are routinely screened for the condition at birth.

Cystic fibrosis is an inherited condition that is passed down in families. There is no cure and the condition can't be prevented, but following the treatment plan devised by your doctor will assist in reducing symptom severity. Taking enzymes can help with the digestion of food, which may help prevent frothy stools.

Short Bowel Syndrome

This condition can occur after weight loss surgery or other procedures that remove part of the intestine, such as surgery to remove cancer or correct intestinal injuries. Some children may also be born with a short bowel.

Short bowel syndrome occurs because the shorter part of the digestive system is less able to absorb nutrients and fats from food, causing malabsorption. People with short bowel syndrome may have chronic diarrhea that appears foamy, as well as other symptoms such as fatigue and bloating.

Short bowel syndrome may resolve on its own. Cases that last longer can be treated with nutritional supplements.

Foamy Poop  in Babies

Babies who are nursed may produce frothy poop that is bright green in color.

This is not a cause for concern as it typically suggests the baby is getting too much foremilk, or the milk that comes at the beginning of a feeding.

It can also be due to the nursing parent switching from one breast to the other during a feed.

Nursing from one breast at a time until that breast is drained ensures the baby is getting the hindmilk as well.

How Is Foamy Poop Treated?

Treatment options for foamy stools will vary based on the underlying cause. Giardiasis, for example, doesn't always require treatment. Mild cases may resolve on their own. If you have a severe case of giardiasis, your healthcare provider may prescribe an antiparasitic/antibiotic such as Flagyl (metronidazole), Tindamax (tinidazole), or Alinia (nitazoxanide).

For chronic conditions like celiac disease, you'll need to adhere to a strict gluten-free diet. This will typically result in an improvement of symptoms like foamy poop.

Additional treatment options may also involve supplements to address malabsorption and malnutrition.

When to See a Healthcare Provider

If you have consistently frothy stools, you may have an issue with proper absorption within the digestive tract. This can warrant a visit to your healthcare provider as long-term complications from malabsorption include:


Foamy poop is typically the result of an increased amount of fat in the stool. This can be caused by a number of conditions including celiac disease, chronic pancreatitis, giardiasis, and cystic fibrosis. In babies, foamy poop can be related to nursing and lactation. Treatment specific to the cause of your foamy stools will alleviate most gastrointestinal symptoms.

12 Sources
Verywell Health uses only high-quality sources, including peer-reviewed studies, to support the facts within our articles. Read our editorial process to learn more about how we fact-check and keep our content accurate, reliable, and trustworthy.
  1. Penn Medicine. The scoop on poop: what does your poop say about your health?

  2. Loma Linda University. Exocrine pancreatic insufficiency (EPI).

  3. NHS. Overview - celiac disease.

  4. National Institute of Diabetes and Digestive and Kidney Diseases. Definition & facts for celiac disease.

  5. National Institute of Diabetes and Digestive and Kidney Diseases. Treatment for celiac disease.

  6. Centers for Disease Control and Prevention. Parasites - Giardia.

  7. The National Pancreas Foundation. Chronic pancreatitis causes and symptoms.

  8. NHS. Treatment - chronic pancreatitis.

  9. Stanford Medicine Children's Health. Cystic fibrosis and the digestive system.

  10. Nemours Kids Health. Cystic fibrosis.

  11. Pregnancy birth and baby. All about baby poo.

  12. MedlinePlus. Malabsorption.