What Is White Stuff in Poop: Mucus, Parasites & More

White stuff in poop can mean several different things depending on what it looks like. Small white specks are usually undigested food or seeds. A white, stringy, or slimy coating points toward mucus or yeast overgrowth. And an entirely pale or clay-colored stool signals a problem with bile flow that needs medical attention. Understanding the difference helps you figure out whether what you’re seeing is harmless or worth investigating.

Why Poop Is Brown in the First Place

Your stool gets its brown color from a pigment called stercobilin. It starts with your liver breaking down old red blood cells into a compound called bilirubin, which gets packaged into bile and released into your small intestine. Gut bacteria then convert that bilirubin into stercobilin, the brown pigment you expect to see. Anything that disrupts this chain, from liver disease to a blocked bile duct, can lighten your stool dramatically.

White Specks: Usually Food or Seeds

The most common and least concerning explanation for white specks is undigested food. Seeds from sesame, flax, chia, quinoa, sunflower, and similar foods contain insoluble fiber that your intestines can’t fully break down. The leftover bits pass through and show up as small white or light-colored flecks. Nuts, corn, and certain raw vegetables can do the same thing.

If the white specks come and go depending on what you’ve eaten recently, food is almost certainly the cause. No treatment is needed, though chewing more thoroughly can reduce how much passes through undigested.

White Mucus: IBS, Infections, and IBD

Your intestines produce a thin layer of mucus to protect the lining and help stool move along. A small amount of clear or whitish mucus on occasion is normal. But a noticeable amount of white or yellowish mucus, especially if it happens repeatedly, can signal a digestive condition.

Irritable bowel syndrome (IBS) is one of the most common causes of visible white mucus in stool. Inflammatory bowel diseases like Crohn’s disease and ulcerative colitis also trigger excess mucus production, sometimes appearing as white or yellow streaks on your poop. Bacterial, parasitic, or viral gut infections cause inflammation that ramps up mucus output as well.

If the mucus is bloody, consistently off-white or yellow, or accompanied by cramping, diarrhea, or weight loss, it’s worth getting evaluated.

White Strings or Foam: Possible Yeast Overgrowth

Candida is a type of yeast that naturally lives in your gut in small amounts. When it overgrows, it can show up in stool as white, yellow, or light brown mucus, string-like strands, or foam. You might also notice loose stools or diarrhea alongside these changes.

Yeast overgrowth is more likely after a course of antibiotics, in people with weakened immune systems, or in those with high-sugar diets. One study found that 58% of smokers had Candida present in their stool samples compared to 29% of nonsmokers. A stool test can confirm whether Candida levels are elevated.

White Worms or Moving Specks: Parasites

If the white stuff appears to be moving, or looks like tiny threads or flat rice-grain shapes, parasites are a real possibility.

  • Pinworms are the most common culprit, especially in children. They’re small, white, and thread-like, measuring 2 to 13 mm long. They often cause intense itching around the anus, particularly at night.
  • Tapeworm segments look like flat, white, rice-sized pieces that may be found in the stool or on underwear. Beef and pork tapeworms can grow several meters long inside the intestine, but what you see are small broken-off segments.
  • Roundworms are much larger, potentially 15 to 50 cm long, and are less likely to go unnoticed.

Parasitic infections are diagnosed through stool samples and treated with anti-parasitic medication. If you see anything that looks like it could be a worm, try to save a sample or take a photo for your doctor.

Pale, Clay-Colored Stool: A Bile Flow Problem

When your entire stool is white, very pale, or clay-colored rather than just having white specks in it, the issue is different and more serious. This appearance means bile isn’t reaching your intestines. Without bile, stool loses its brown pigment entirely.

The most common reason is a blockage in the bile duct, the tube that carries bile from the liver and gallbladder into the small intestine. A gallstone is the classic culprit, but tumors and other obstructions can do the same thing. Liver diseases like hepatitis and cirrhosis can also reduce bile production enough to turn stool pale. In newborns, a condition called biliary atresia (abnormally narrow bile ducts) is a known cause.

Persistently pale or clay-colored stool, particularly when paired with dark urine, yellowing of the skin or eyes, or abdominal pain, signals a problem that needs prompt medical evaluation.

Fatty, Greasy-Looking White Coating

Stool that’s pale, bulky, unusually foul-smelling, and seems oily or greasy points toward fat malabsorption, a condition called steatorrhea. Normally, your body absorbs over 92% of the fat you eat. When that process breaks down, excess fat ends up in your stool, giving it a pale, whitish, or yellowish appearance. These stools tend to float and can be difficult to flush.

Fat malabsorption has many possible causes, including celiac disease, chronic pancreatitis, and conditions that damage the lining of the small intestine. If your stools consistently look oily or pale and you’re losing weight or feeling fatigued, testing can measure how much fat is passing through unabsorbed.

Ghost Pills: Medication Shells

Some controlled-release medications are designed with an outer shell that doesn’t dissolve. The drug is absorbed through tiny pores in the casing, and the empty shell passes through your digestive tract intact. These “ghost pills” can look like small white or light-colored tablets in your stool and are sometimes mistaken for something abnormal.

Common medications known to leave ghost pills include certain formulations of extended-release antidepressants, ADHD medications, and some heart and pain medications. If you’re taking a controlled-release pill and notice what looks like an intact tablet in your stool, the medication was likely absorbed normally. The shell is just the delivery system doing its job.

How to Tell the Difference

The key is paying attention to what the white stuff actually looks like and how often it appears. Small specks after eating seeds or nuts are nothing to worry about. Slimy, mucus-like coating that shows up repeatedly, especially with changes in bowel habits, deserves a closer look. Anything that looks like it could be a worm should be evaluated. And a stool that’s entirely pale or white, not just flecked, is the scenario that warrants the most urgency, since it can indicate a blocked bile duct or liver problem.

A single pale stool after taking an antacid or eating an unusual meal isn’t typically a concern. But if the color change persists for more than a couple of bowel movements, or comes with pain, jaundice, unexplained weight loss, or bloody mucus, those are signals your body is flagging something that needs attention.