That burrito you ate at lunch? It’s not coming out tonight. Digestion is less of a sprint and more of a multi-day road trip, with a quick stop up top and a very long layover at the end. Here’s the full itinerary.

The short answer

From the moment you swallow to the moment it leaves as poop, the whole process usually takes about two to five days, depending on the person.[1] What you ate and how much you ate change the clock too.[1]

Stop 1: mouth and esophagus (seconds)

Chewing starts the breakdown, and once you swallow, the process runs on autopilot: your brain signals the esophagus, and waves of muscle called peristalsis push the food down into your stomach.[2] A ring of muscle at the bottom lets it in, then closes to keep it there.[2]

Stop 2: stomach and small intestine (about 6 hours)

Your stomach churns food with digestive juices into a soupy mix called chyme, then releases it slowly into the small intestine.[1] There, juices from the pancreas, liver, and intestine finish the job, and the intestinal walls absorb water and nutrients into your bloodstream.[2] On average, this whole leg takes about six hours.[1]

That’s why a big, rich dinner can still feel like it’s sitting there at bedtime: bigger, heavier meals take longer to move along.

Stop 3: the colon (about 36 to 48 hours)

What reaches the large intestine is mostly leftovers: undigested bits of food, fluid, and old cells from your gut lining.[2] The colon absorbs water and minerals, and the waste firms up as it travels, which on average can take 36 to 48 hours.[1] The rectum then holds it until you’re ready to go.[2]

This is the stretch that decides whether your poop is soft and easy or hard and stubborn. The longer stool hangs out, the more water gets pulled from it. Hello, fiber and water.

Why your timing isn’t your friend’s timing

Gut speed is personal. In a carefully controlled study of 32 healthy volunteers on standardized diets, colon transit was significantly faster in men than in women, and the same person could clock noticeably different times from one test to the next.[3] In other words, a slower day isn’t automatically a problem. Your own pattern is the benchmark.

Hormones play a role too, which is why some people poop more on their period. And if you go right after breakfast, that’s the gastrocolic reflex making room, not your breakfast sprinting through.

Time your own gut (yes, really)

Researchers behind the PREDICT 1 study measured transit time in 863 people with a delightfully low-tech trick: eat something dyed bright blue, then note when blue poop appears.[4] That simple “blue dye” number tracked gut microbiome makeup better than stool frequency or consistency did.[4]

You can run a home version with any food that leaves an obvious marker. Corn is the classic (here’s why corn shows up whole), and beets work if you don’t panic at red. Write down the time you eat it and the time it shows up. Somewhere in the one-to-three-day range is common.

When the timing is a clue

Food that comes through in a few hours with urgent, watery stool usually means something sped things up, like an infection or something you ate (see food poisoning vs. stomach flu). On the slow end, going days without a bowel movement plus hard, painful stool is constipation; try these tricks to get things moving, and check when to see a doctor if it sticks around or comes with blood or weight loss.

The bottom line

Roughly six hours to pull out the good stuff, a day or two in the colon, and two to five days door to door. Feed the trip with fiber and water, listen when it’s time, and when the timeline lands while you’re out, the DookieMaps restroom map finds the nearest bathroom fast.