How does the digestive system work?

A thali takes seconds in your mouth, hours in your stomach and small intestine, and a day or two in your colon. From mouth to anus the digestive tract is about 5 to 7 metres long: oesophagus, stomach, small intestine and colon.

A thali takes seconds in your mouth, hours in your stomach and small intestine, and a day or two in your colon. Follow it through a see-through body, watch enzymes cut starch, protein and fat into pieces, unfold 30 square metres of gut lining, and meet the nerves, hormones and 38 trillion bacteria that run the whole thing.

DigestionClearOpened 17 Aug 202615 min to playFree · no sign-up

In 60 seconds

  1. One long tube, with helpers

    From mouth to anus the digestive tract is about 5 to 7 metres long: oesophagus, stomach, small intestine and colon. The salivary glands, liver, gallbladder and pancreas never touch the food but pour their juices into it; bile and pancreatic juice share one doorway into the duodenum.

  2. The journey of a thali

    About 20 seconds of chewing, 8 seconds down the oesophagus by peristalsis, 2 to 4 hours in the stomach, 3 to 5 hours in the small intestine and usually 10 to 59 hours in the colon. The colon is by far the slowest part.

  3. Cutting food down to size

    Chewing and churning make pieces smaller; enzymes cut the molecules. Amylase turns starch into sugars, pepsin and trypsin cut protein into amino acids, and bile plus lipase turn fat into fatty acids. Pepsin works at stomach pH 1.5 to 3.5; the duodenum is neutralised to about 6 to 7.

  4. Into the blood

    Folds, villi and microvilli give the small intestine about 30 m² of lining, not a tennis court. Sugars and amino acids go by the portal vein to the liver, fats go into the lymph. About 9 litres of water enter the gut a day and only 0.1 to 0.2 leave in stool.

  5. Nerves, hormones and helpers

    A net of 200 to 600 million nerve cells in the gut wall runs it, talking to the brain through the vagus nerve. Gastrin, secretin, CCK and GLP-1 carry messages through the blood, and about 38 trillion bacteria in the colon live on the fibre you eat.

  6. Keeping it healthy

    Acidity, constipation, diarrhoea (where oral rehydration salts save lives), food poisoning, lactose intolerance, IBS, ulcers caused by H. pylori, and colon cancer screening. Blood in stool, black stools or weight loss: see a doctor.

The history

From an inner fire to 38 trillion helpers: 2,000 years of working out what happens to a meal.

Read the full history
  1. 100 BCEAgni, the digestive fire
  2. 1822A gunshot leaves a window into the stomach
  3. 1902Secretin, the first hormone
  4. 1957Light through glass fibres
  5. 2005Nobel Prize for H. pylori

The full explanation

DigestionClear, chapter by chapter

Chapter 1

One long tube, with helpers

From mouth to anus, plus the glands and organs that pour in the juices.

Your digestive system is one long tube that runs right through you, from your mouth to your anus. In a living adult it is about 5 to 7 metres long. Food inside it is not yet really inside your body: it only gets in once it crosses the tube's lining. We are facing the person, so their right side is on your left.

In order, food passes the mouth, the pharynx (throat), the oesophagus (food pipe, about 25 cm), the J-shaped stomach, the small intestine (3 to 5 m, starting with the C-shaped duodenum), and the wider large intestine or colon (about 1.5 m), which frames the coils. It ends at the rectum and anus. Rings of muscle called sphincters, like the one at the bottom of the oesophagus and the pylorus at the stomach's exit, work as one-way gates.

Food never passes through the accessory organs, but they are vital. Three pairs of salivary glands make about a litre of saliva a day. The liver makes bile, stored in the gallbladder. The pancreas makes a juice with enzymes for every kind of food. Bile and pancreatic juice enter the duodenum through one small opening.

Each organ has its own box: StomachClear, IntestineClear, LiverClear, PancreasClear and TongueClear. This box is about how they work together. Click an organ on the model to find its box.

Try “The whole tract” in the interactive model →

Chapter 2

The journey of a thali

Seconds in the mouth, hours in the stomach and small intestine, a day or two in the colon.

Follow a thali: rice, dal, sabzi and curd. The clock on this chapter runs in log steps, so seconds, hours and days all fit on one slider.

In the mouth, teeth grind each bite for about 20 seconds while saliva wets it. Your tongue pushes the soft ball, the bolus, to the back, and the swallow reflex takes over: the airway closes for a moment and the bite enters the oesophagus. A ring of muscle squeezes behind it and travels down, a wave called peristalsis. It works even upside down, and takes about 8 seconds.

The stomach stores the meal, churns it with acid into a thick soup, chyme, and lets it through the pylorus a spoonful at a time. Most of a meal leaves in about 2 to 4 hours. Fatty food leaves more slowly.

The small intestine takes about 3 to 5 hours. Here most of the digesting and nearly all the absorbing happen, so the leftovers shrink as they go.

The colon is the slow part: usually 10 to 59 hours, typically a day and a half. It soaks up water, its bacteria ferment the fibre from your sabzi and dal, and a few strong mass movements a day push the stool towards the rectum, often after a meal.

Try “Journey of a meal” in the interactive model →

Chapter 3

Cutting food into pieces small enough

Chewing and churning make pieces smaller; enzymes cut the molecules themselves.

Your body can only absorb small molecules. Digestion is the work of making them.

Mechanical digestion makes pieces smaller: your teeth chew, the stomach churns, and the small intestine squeezes back and forth. Chemical digestion cuts the molecules themselves. It is done by enzymes, proteins that work like molecular scissors, each cutting one kind of bond.

Carbohydrates like the starch in rice are long chains of sugar. Amylase in saliva starts cutting them in your mouth, pancreatic amylase carries on in the duodenum, and enzymes on the gut wall split the last pairs into single glucose units.

Proteins, as in dal, are chains of amino acids. Pepsin in the stomach starts on them, trypsin and chymotrypsin from the pancreas cut them shorter, and peptidases on the gut wall finish the job.

Fats, as in ghee and curd, don't mix with water. Bile from the liver breaks big blobs into tiny droplets, like washing-up liquid, and lipase from the pancreas cuts them into fatty acids.

Each enzyme has a favourite pH. The stomach is very acidic, about pH 1.5 to 3.5, perfect for pepsin. Then the pancreas pours in bicarbonate and the duodenum rises to about pH 6 to 7, where trypsin and lipase work and pepsin stops. More in StomachClear, PancreasClear and IntestineClear.

Try “Breaking it down” in the interactive model →

Chapter 4

Getting food into your blood

A lining folded three times, finger-like villi, and two ways out: blood and lymph.

Once food is cut into small molecules, it has to cross the lining of the small intestine. The more lining, the faster that goes, so the gut folds it three times.

Big circular folds give about 1.6 times the area of a plain tube. They are covered in millions of tiny fingers called villi, each 0.5 to 1 mm tall, which give about 6.5 times more. Each lining cell carries a fuzz of microvilli, about 13 times more again. In all, about 30 m², the size of a small flat. Old books said "a tennis court", about 260 m², but careful measurements in 2014 by Helander and Fändriks showed that was far too big.

Inside each villus are capillaries and a lymph vessel called a lacteal. Sugars and amino acids go into the blood and travel by the portal vein straight to the liver, which checks and stores them (see LiverClear). Fats are packed into tiny parcels that go into the lacteals, travel in the lymph, and join the blood near your neck.

The gut also recycles water. About 9 litres go in each day, but only about 2 come from food and drink: the rest is your own juices. The small intestine takes back most of it, the colon nearly all the rest, and only about 0.1 to 0.2 litres leave in the stool. When that fails, as in diarrhoea, you can lose water very fast.

Try “Absorption” in the interactive model →

Chapter 5

Nerves, hormones and 38 trillion helpers

The gut’s own nervous system, messages to and from the brain, and the bacteria that live in you.

Digestion runs itself. The gut wall holds its own enteric nervous system, about 200 to 600 million nerve cells in two thin nets. It can run peristalsis even when cut off from the brain, which is why it is nicknamed the second brain.

The brain still listens and talks through the vagus nerve, the gut–brain axis. Most of its fibres, about 80%, carry news up from the gut. And messages go down too: just smelling food starts your stomach making acid, as Pavlov showed with dogs.

Gut cells also send hormones through the blood. Gastrin from the stomach turns up the acid. Secretin, the first hormone ever found, tells the pancreas to neutralise acid arriving in the duodenum. CCK squeezes the gallbladder and calls for enzymes when fat arrives. GLP-1 from lower down boosts insulin and makes you feel full; drugs that copy it are now used for diabetes and weight loss (see PancreasClear).

Your colon is home to about 38 trillion bacteria, the gut microbiome, about as many as your own cells. They eat the fibre you cannot digest, from dal, vegetables, whole grains and fruit, and turn it into short-chain fatty acids that feed your colon lining. WHO suggests at least 25 g of fibre a day for adults.

Try “Control and helpers” in the interactive model →

Chapter 6

When digestion goes wrong

Acidity, constipation, diarrhoea, food poisoning, lactose, IBS, ulcers and colon checks.

Almost everyone has tummy trouble sometimes. This chapter explains common problems; it cannot tell what is going on in your own body. For that, see a doctor, especially if you notice blood in stool or vomit, black stools, weight loss you can't explain, trouble swallowing, or pain that won't go away.

Acidity or reflux happens when stomach acid leaks up past the valve at the bottom of the oesophagus, causing heartburn. Frequent reflux is called GERD. Constipation means hard or infrequent stools; fibre, water and moving about usually help.

Diarrhoea can drain water and salts fast, and kills about 440,000 young children a year worldwide. The cure that saved millions is simple: oral rehydration salts (ORS), salt and sugar in clean water, which the gut can still absorb. Food poisoning comes from germs in food or water; handwashing, cooking well and safe water prevent most of it.

About two in three adults worldwide absorb lactose, milk sugar, poorly, because they make little lactase. Curd is often easier, because its bacteria have already eaten much of the lactose. IBS is pain with changed bowel habits, linked to the gut's nerves and the gut–brain axis. Ulcers are sores in the stomach or duodenum, mostly caused by the germ H. pylori or by painkillers.

Colon cancer is the third most common cancer in the world. It usually grows from small polyps over years, so screening can find and remove them early.

Try “Keeping it healthy” in the interactive model →

Test yourself

Frequently asked

Which of these does food NOT pass through?

Pancreas. The pancreas is an accessory organ. It sends its juice into the duodenum through a duct, but food never goes through it.

About how long is the digestive tract in a living adult?

About 5 to 7 metres. Mouth to anus is about 5 to 7 m, most of it small intestine. It looks longer after death, when the muscles relax.

Where does bile enter the tract?

The duodenum. Bile from the liver and gallbladder, and juice from the pancreas, both enter the duodenum through one small opening.

Which part of the journey usually takes longest?

The colon. The colon usually takes 10 to 59 hours, far longer than the 2 to 4 hours in the stomach or 3 to 5 in the small intestine.

What is peristalsis?

A wave of muscle squeezing that pushes food along. A ring of muscle tightens behind the food and travels along the tube. It even works if you swallow upside down.

Why does the stomach let chyme out a little at a time?

So the small intestine has time to neutralise and digest each bit. The pylorus lets out small squirts. The duodenum needs time to neutralise the acid and mix in bile and enzymes.

Where does the digestion of fat mostly happen?

The small intestine. Bile and pancreatic lipase both arrive in the duodenum, so almost all fat is digested in the small intestine.

Why does pepsin stop working in the duodenum?

Bicarbonate raises the pH to about 6 to 7, and pepsin only works in acid. Pepsin works best around pH 2. The pancreas neutralises the acid, and pepsin switches off.

What is the difference between chewing and what amylase does?

Chewing makes pieces smaller; amylase cuts the starch molecules. Chewing is mechanical digestion. Amylase is an enzyme: chemical digestion that breaks the bonds in starch.

About how big is the inner surface of your small intestine?

About 30 m², a small flat. Careful measurements in 2014 found about 30 m² for the small intestine, not the tennis court of older books.

Where do sugars and amino acids go right after they are absorbed?

To the liver through the portal vein. Blood from the gut goes by the portal vein to the liver first, which checks, stores and sends out what you absorbed.

About how much water enters your gut each day, including your own juices?

About 9 L. About 2 L from food and drink and about 7 L of saliva, stomach juice, bile and more. Almost all of it is taken back.

Which was the first hormone ever discovered, in 1902?

Secretin. Bayliss and Starling found that acid in the duodenum releases secretin into the blood, which makes the pancreas pour out bicarbonate.

Why is the enteric nervous system called the second brain?

It has hundreds of millions of neurons and can run the gut on its own. Its 200 to 600 million neurons can run peristalsis and secretion even without orders from the brain.

What do gut bacteria mostly live on?

Fibre and other food we cannot digest. They ferment fibre and resistant starch into short-chain fatty acids, which feed the colon lining.

Why does ORS work even during bad diarrhoea?

Sugar and salt are absorbed together, and water follows. Gut cells carry sodium and glucose in together, and water follows by osmosis. That pathway keeps working even in cholera.

Which is a warning sign to see a doctor soon?

Black stools or blood in the stool. Black stools or blood can mean bleeding somewhere in the gut, which needs checking.

What causes most stomach ulcers?

The bacterium H. pylori, or painkillers. Marshall and Warren showed that H. pylori causes most ulcers. Painkillers such as NSAIDs cause many others.

Words worth knowing

Peristalsis
A wave of muscle squeezing that pushes food along the gut.
Chyme
The thick, acidic soup of part-digested food that leaves the stomach.
Enzyme
A protein that speeds up one reaction, like molecular scissors cutting one kind of bond.
Bile
A liquid from the liver, stored in the gallbladder, that breaks fat into tiny droplets.
Villi
Tiny finger-like bumps lining the small intestine that make its surface huge.
Portal vein
The vein that takes blood from the gut to the liver before anywhere else.
Enteric nervous system
The gut's own network of hundreds of millions of nerve cells, its second brain.
Gut microbiome
The trillions of bacteria and other microbes living in your gut, mostly in the colon.
Oral rehydration salts
Salts and glucose in clean water, absorbed together even in bad diarrhoea.

Fork it. Teach with it.

This box is plain HTML, CSS and JavaScript, with no build step and no accounts. Run it yourself and it sends nothing anywhere. The code is MIT. The words, images and videos are CC BY 4.0, so you can reuse them anywhere if you credit “Glassbox, glassbox.how/e/digestionclear”.

git clone https://github.com/bdeeps/digestionclear.git

Built with three.js (MIT), Geist, Instrument Serif (SIL OFL 1.1).

←→ previous / next box · / search

Would you like to see the full page, with the interactive model?