What Is Stool in the Body? Formation and Function

Stool is the solid waste your body produces after digesting food. It’s made up of about 75% water, with the remaining 25% being a mix of dead bacteria, undigested plant fiber, fats, and proteins. Far from being just “leftover food,” stool is actually a complex byproduct of digestion that reveals a surprising amount about what’s happening inside your body.

What Stool Is Made Of

Most people assume stool is mainly undigested food, but the biggest solid component is actually bacteria. Between 25% and 54% of the dry weight of stool consists of bacterial biomass, the remains of the trillions of microorganisms living in your gut. Some of these bacteria are still alive when they leave your body; others have died along the way. Altogether, 30% to 50% of your stool’s solid material is made up of bacteria, viruses, fungi, and other microorganisms that once populated your intestines.

The rest breaks down roughly like this: about 25% is undigested plant matter (fiber and carbohydrates your body can’t absorb), 2% to 25% is protein or nitrogen-containing material, and 2% to 15% is undigested fat. The exact proportions shift depending on what you eat. A high-fiber diet produces bulkier stool with more plant matter. A fatty diet increases the lipid content.

Stool’s characteristic brown color comes from a pigment called stercobilin, which is produced when your liver’s bile gets broken down by gut bacteria during digestion. And the smell? That’s primarily caused by compounds called indole and skatole, nitrogen-based chemicals produced when gut bacteria break down proteins. Hydrogen sulfide, the same gas that gives rotten eggs their smell, also contributes.

How Your Body Forms Stool

Stool formation is a process that takes anywhere from 10 to 73 hours, depending on the person. It begins the moment food leaves your stomach and enters the small intestine, where your body absorbs most of the nutrients. What’s left is a watery, soupy mixture of indigestible material that passes into your large intestine, or colon.

The colon’s main job is to turn that liquid waste into something solid. It does this by absorbing water and electrolytes like sodium, potassium, and chloride. Water follows these electrolytes through the intestinal wall by osmosis, gradually drying out the waste material. The ascending colon (the first stretch of the large intestine) handles most of this absorption. As the material moves through the transverse and descending portions of the colon, it becomes increasingly solid.

The speed of this journey matters. If waste moves through the colon slowly, more water gets absorbed, producing harder, drier stool. If it moves too quickly, less water is absorbed, and the result is loose or watery stool. This is why dehydration often leads to constipation, and why infections that speed up gut movement cause diarrhea.

What Normal Stool Looks Like

A healthy bowel movement frequency ranges from three times a day to three times a week. That’s a wide range, and what’s “normal” varies from person to person. Consistency matters more than frequency. The Bristol Stool Scale is a simple seven-point chart that doctors use to classify stool by shape and texture:

  • Type 1: Separate hard lumps, like pebbles
  • Type 2: Lumpy and sausage-shaped
  • Type 3: Sausage-shaped with cracks on the surface
  • Type 4: Smooth, soft, and snakelike
  • Type 5: Soft blobs with clear-cut edges
  • Type 6: Fluffy, mushy pieces with ragged edges
  • Type 7: Entirely liquid with no solid pieces

Types 3 and 4 are the ideal range. These stools hold together but pass without straining. Types 1 and 2 indicate constipation, meaning stool has spent too long in the colon and lost too much water. Types 5 through 7 point toward diarrhea, where the colon hasn’t had enough time to absorb water before the stool is pushed out.

What Stool Color Tells You

All shades of brown and even green are considered normal. Green stool often just means food moved through the colon faster than usual, so bile (which starts out green) didn’t have time to fully break down into its usual brown pigment. Green leafy vegetables and iron supplements can also turn stool green.

Yellow, greasy, foul-smelling stool can signal that your body isn’t absorbing fat properly. This sometimes points to conditions like celiac disease, though fatty meals alone can occasionally cause it. Light, clay-colored, or white stool suggests a lack of bile reaching the intestines, which could indicate a blockage in the bile duct.

Two colors warrant immediate attention. Black, tarry stool can indicate bleeding in the upper digestive tract, such as the stomach or upper small intestine. Bright red stool can mean bleeding in the lower intestinal tract, often from the large intestine, rectum, or hemorrhoids. That said, iron supplements can turn stool black, and beets or red food coloring can make it look red. If you haven’t consumed any of these and notice black or bright red stool, that’s something to address quickly.

Why Your Body Needs to Produce Stool

Stool isn’t just waste removal. It’s the body’s primary way of getting rid of substances it can’t use or doesn’t want: excess cholesterol, metabolized hormones, toxins processed by the liver, heavy metals, and dead cells shed from the intestinal lining (your gut replaces its entire lining roughly every three to five days). Without regular elimination, these substances would build up.

Stool also serves as the exit route for your gut’s microbial turnover. Your intestines host an enormous population of microorganisms, and the ones that die or get outcompeted need somewhere to go. This constant cycling is part of how your gut microbiome stays in balance. It’s why researchers increasingly study stool samples to diagnose digestive conditions, detect infections, and even screen for colon cancer. What comes out tells a detailed story about what’s happening inside.