Where Does Poop Come From? How Your Body Makes It

Poop is what’s left after your body extracts the nutrients and water it needs from the food you eat. It forms gradually as food travels through about 30 feet of digestive tract, a journey that takes anywhere from 10 to 73 hours depending on the person. By the time it exits, what started as a meal has been broken down, filtered, and compressed into something that’s roughly 75% water and 25% solid material.

The Journey Starts in Your Stomach

When you swallow food, it drops into your stomach, where acid and enzymes break it into a thick, soupy mixture. Your stomach churns this mixture for 2 to 5 hours before releasing it in small batches into the small intestine. This is where the real extraction happens. The small intestine is lined with tiny, finger-like projections that absorb sugars, amino acids, fats, vitamins, and minerals into your bloodstream. It also absorbs up to 90% of the water in the mixture. By the time material leaves the small intestine (another 2 to 6 hours later), your body has already claimed most of what it can use.

The Large Intestine Turns Liquid Into Solid

What enters the large intestine is still mostly liquid. The colon’s main job is absorbing the remaining water and electrolytes, gradually compacting that liquid waste into something solid. This is the slowest leg of the trip, taking anywhere from 10 to 59 hours. How long waste spends in the colon directly affects its consistency. Too little time and not enough water is absorbed, resulting in loose or watery stool. Too much time and excess water is pulled out, leaving hard, dry pellets.

The colon is also home to trillions of bacteria that ferment leftover carbohydrates and fiber, producing gases and short-chain fatty acids in the process. These bacteria aren’t just bystanders. They end up making a massive contribution to the final product.

What Poop Is Actually Made Of

About three-quarters of any given stool is water. The remaining quarter, the dry solid portion, breaks down like this:

  • Bacteria: Living and dead gut bacteria make up 25 to 54% of the dry weight. This is the single largest solid component. Your gut sheds enormous quantities of microbes every day.
  • Undigested plant matter: Fiber and other plant material your body can’t break down account for roughly 25% of dry solids. Corn kernels, seed husks, and the tough cell walls of vegetables are common examples.
  • Fats: Undigested lipids contribute 2 to 15% of the dry weight.
  • Protein and other nitrogen-containing material: This makes up 2 to 25% of dry solids, and about half of the bacterial mass itself is protein.
  • Shed cells: Your digestive tract constantly replaces its lining. Old cells slough off and get swept along with the waste.

So poop isn’t simply “leftover food.” It’s a mix of water, bacteria, fiber, fat, protein fragments, and dead intestinal cells.

Why Poop Is Brown

The color comes from a pigment called stercobilin, and its origin story starts with your blood. When old red blood cells break down, their oxygen-carrying molecule (heme) gets converted in the liver into bilirubin, a yellowish compound. The liver packages bilirubin into bile and sends it into the intestines, where gut bacteria chemically transform it through several steps into stercobilin, a brown pigment. This is why stool is brown in healthy adults, and why changes in bile flow or gut bacteria can shift stool color to green, yellow, or pale clay.

How Your Body Knows It’s Time to Go

Once the colon has done its work, wave-like muscle contractions called peristalsis push the formed stool into the rectum. The rectum works as both a storage chamber and a launch pad. If only a small amount of stool arrives, the rectum simply holds it, its walls relaxing to accommodate the growing volume, much like the stomach stretches to hold a meal.

As stool accumulates and the rectum stretches enough, pressure-sensing nerve endings in the rectal wall fire off signals that create the urge to defecate. This triggers a reflex that increases pressure in the rectum while relaxing the internal anal sphincter. You can temporarily override this urge by squeezing the external sphincter, which causes rectal pressure to drop and the sensation to fade. The stool stays put until the next wave of filling restarts the cycle.

What Healthy Stool Looks Like

Doctors use the Bristol Stool Chart to classify stool into seven types. Types 1 and 2, hard lumps or lumpy sausage shapes, indicate constipation and suggest waste spent too long in the colon. Types 6 and 7, mushy or completely liquid, suggest it moved through too quickly for adequate water absorption. The middle of the scale, types 3 through 5, represents normal, healthy stool. Type 4, smooth, soft, and snake-like, is generally considered ideal.

Diet, hydration, physical activity, and the composition of your gut bacteria all influence where you fall on that scale on any given day. Fiber-rich diets tend to produce bulkier, softer stools because fiber holds onto water and gives gut bacteria more to ferment, both of which add volume. Low-fiber diets tend to produce smaller, harder stools that move more slowly through the colon.