How does the stomach digest food?

Your stomach is a muscular bag of acid strong enough to dissolve meat, yet it doesn't digest itself. Swallow a bolus, cut the stomach open, watch it churn food into chyme three times a minute, and meet the germ a doctor drank to win a Nobel Prize.

StomachClearOpened 9 Aug 202615 min to playFree · no sign-up

In 60 seconds

  1. A 25 cm tube and a J-shaped bag

    Food goes from the mouth down the oesophagus, about 25 cm long, through the diaphragm into the stomach, which sits under the left ribs. The stomach has a fundus, a body, an antrum and a pylorus, a ring of muscle at the exit. Its wall has a folded lining and three layers of muscle.

  2. Swallowing is a squeeze, not a slide

    Chewing mixes food with saliva, whose amylase starts on starch. When you swallow, the epiglottis seals the windpipe for about a second, then a peristaltic wave carries the bolus down in about 5 to 10 seconds. It even works upside down.

  3. Acid that doesn't burn its maker

    Parietal cells use proton pumps to make hydrochloric acid, keeping the stomach at about pH 1.5 to 3.5. Chief cells make pepsinogen, which acid turns into pepsin to cut proteins. A mucus gel full of bicarbonate keeps the lining nearly neutral; weaken it and an ulcer can form.

  4. A mill with a gatekeeper

    About three times a minute a squeeze sweeps towards the pylorus, grinding food into chyme. The pylorus lets through only bits under about 1 to 2 mm and jets the rest back. Water leaves in minutes; a meal takes about 2 to 4 hours, and fatty food the longest.

  5. Hungry, full and growling

    The empty stomach holds about 75 mL but relaxes to take 1 to 1.5 litres. Stretch receptors signal fullness up the vagus nerve, ghrelin rises before meals, and gastrin calls for more acid. Growls are gas and fluid being squeezed along.

  6. When things go wrong

    Acid slipping past a weak sphincter causes heartburn. Most ulcers are caused by the germ H. pylori, which Barry Marshall proved by drinking it in 1984; spicy food doesn't cause them. Vomiting is a protective reflex run by the brainstem. For your own health, talk to a doctor.

The history

Two thousand years from a digestive fire and a cooking pot to a hole in a fur trader’s side, a doctor who drank a germ, and the hunger hormone.

Read the full history
  1. 100 BCEAgni, the digestive fire
  2. 1752A bird of prey swallows metal tubes
  3. 1822A gunshot leaves a window into the stomach
  4. 1904Nobel Prize for the digestive glands
  5. 1988The first proton pump inhibitor
  6. 1999The hunger hormone

The full explanation

StomachClear, chapter by chapter

Chapter 1

The stomach and the road to it

A muscular bag under your left ribs, fed by a 25 cm tube.

Digestion starts in the mouth, where teeth and the tongue turn food into a soft ball (see TongueClear). Then it goes down the oesophagus, a muscular tube about 25 cm long that runs behind the windpipe and the heart and passes through the diaphragm, the sheet of muscle you breathe with.

At the bottom a ring of muscle, the lower oesophageal sphincter, opens to let food into the stomach and closes to keep acid out of the oesophagus. We are looking at the patient from the front, so the patient's left is on your right. The stomach sits in the upper left of the belly, tucked under the left ribs, with the big liver on its right and the pancreas behind it.

The stomach is shaped like a J. Food enters at the cardia. The dome that bulges up is the fundus, the big middle part is the body, and the narrower lower part is the antrum, the grinding end. It finishes at the pylorus, a strong ring of muscle (the pyloric sphincter) that lets food out into the duodenum, the start of the small intestine. What happens next is in IntestineClear.

The wall has layers. Inside is the mucosa, folded into ridges called rugae and dotted with millions of tiny gastric pits that make gastric juice. Under it is the submucosa, with blood vessels and nerves. Then come three layers of muscle running in different directions, oblique, circular and longitudinal, so the stomach can squeeze every which way. Most of the gut has only two.

Try “Inside the stomach” in the interactive model →

Chapter 2

From the mouth down

Chewing, a sealed airway and a squeeze that works upside down.

Digestion starts before you swallow. Teeth grind the food and the tongue mixes it with saliva, about 1 to 1.5 litres a day. Saliva makes food slippery and carries an enzyme, salivary amylase, that starts breaking starch into sugar. Chew a piece of plain rice or roti for a minute and it starts to taste sweet. The tongue then rolls the food into a soft ball, a bolus. (How the tongue tastes is in TongueClear.)

This is a side view, cut down the middle: the face is on the left. Pushing the bolus to the back of the mouth is the only part you choose. After that a reflex takes over. The soft palate lifts to close off the nose, the voice box rises and a flap, the epiglottis, tips over the windpipe. For about a second you cannot breathe, so food goes down the right pipe.

In the oesophagus, rings of muscle squeeze one after another just behind the bolus: a peristaltic wave. It takes about 8 to 10 seconds to cross the 25 cm, or about 5 to 8 when you are sitting up and gravity helps. Because it is a squeeze, not a slide, it works upside down too, which is how astronauts eat. At the bottom, the lower oesophageal sphincter relaxes just in time, lets the bolus into the stomach and shuts again.

Try “Chew and swallow” in the interactive model →

Chapter 3

A bath of acid that doesn’t digest itself

Parietal cells pump acid, chief cells make pepsin, and mucus keeps the lining safe.

The stomach lining is covered in millions of tiny gastric pits. Each leads down into a gland lined with different workers. Parietal cells make hydrochloric acid. Each has millions of proton pumps (the H⁺/K⁺-ATPase), tiny machines that use energy from ATP to push hydrogen ions out in exchange for potassium. The juice they make is about pH 0.8, and the stomach’s contents are usually about pH 1.5 to 3.5, as sour as lemon juice or stronger.

Chief cells make pepsinogen. Acid snips it into pepsin, an enzyme that cuts proteins into shorter pieces. Pepsin works best at about pH 2 and stops above about pH 5. A little gastric lipase starts on fats. Altogether the stomach makes about 1.5 litres of gastric juice a day. The acid also kills many germs swallowed with food.

So why doesn’t the stomach digest itself? Its surface cells coat it in a thick mucus gel and pump bicarbonate, an antacid, into it, so the cells sit in almost neutral conditions while acid swirls just above. The surface cells are also replaced every few days. If that shield is weakened, most often by the germ H. pylori or by some painkillers, acid and pepsin can eat a sore into the lining: an ulcer. That needs a doctor.

Try “Acid and enzymes” in the interactive model →

Chapter 4

Churning food into chyme

Three squeezes a minute, a gatekeeper at the exit, and 2 to 4 hours to empty.

The stomach isn’t just a bag: it is a mill. About three times a minute, a ring of squeezing muscle starts in the middle of the stomach and sweeps down towards the exit, getting stronger in the antrum. This peristalsis mixes food with acid and pepsin into a thick soup called chyme.

At the end sits the pylorus. As a wave arrives, it opens just a crack and lets a small squirt of chyme into the duodenum. Then it shuts, and the wave has nowhere to go, so it jets the lumps back into the stomach to be ground again. Only pieces smaller than about 1 to 2 mm get through. A mixer grinder does the same job with blades at about 20,000 turns a minute; your stomach does it with slow, strong squeezes and chemistry.

How long it takes depends on the food. Water starts leaving within minutes. A meal usually takes about 2 to 4 hours: carbohydrates like plain rice leave fastest, protein-rich dal takes longer, and fat slows things most, because fat reaching the duodenum sends signals that hold the stomach back. The duodenum then gets bile from the liver and juices from the pancreas, and the rest of digestion happens in the intestines (IntestineClear).

Try “The mixing mill” in the interactive model →

Chapter 5

Hunger, fullness and a growling stomach

Stretch sensors, a nerve to the brain, and hormones made by the stomach itself.

An empty stomach holds only about 75 mL, and its lining lies in deep folds. As you eat, the top of the stomach relaxes to make room, so it can take about 1 to 1.5 litres comfortably without the pressure inside rising much. At the most it stretches to about 2 to 4 litres, which is very uncomfortable.

The wall is full of stretch receptors. As it fills, they send signals up the vagus nerve to the brain: that’s enough. More “full” signals follow from hormones made in the intestine once food arrives there, which takes a while. That is one reason eating slowly helps you notice when you are full.

The stomach makes hormones too. Ghrelin, the hunger hormone, comes mostly from the top of the stomach. Its level climbs before your usual meal times and falls within about an hour after eating. Gastrin, from the antrum, is released when food arrives and tells the parietal cells to make more acid.

And the growling? Its proper name is borborygmi: gas and liquid being squeezed along. Between meals a strong “housekeeping” wave sweeps through about every 1.5 to 2 hours to clear leftovers, and with little food to muffle it, an empty stomach sounds loudest.

Try “Hungry or full?” in the interactive model →

Chapter 6

Keeping it healthy, and what goes wrong

Heartburn, H. pylori and ulcers, food poisoning, and why we vomit.

Stomach trouble is very common, so it is worth understanding. This chapter shares general facts only: for anything about your own health, talk to a doctor.

Acidity and heartburn. If the lower oesophageal sphincter is weak or relaxes at the wrong time, acid splashes up into the oesophagus, whose lining has no mucus shield. That burning feeling behind the breastbone is heartburn; when it keeps happening, doctors call it GERD. A big or fatty meal and lying down soon after eating make reflux more likely. It is common: about 1 in 5 people in the US, and a survey in India found weekly symptoms in about 1 in 13.

H. pylori and ulcers. For a century doctors blamed ulcers on stress and spicy food. In 1982 two Australians, Barry Marshall and Robin Warren, grew a spiral bacterium, Helicobacter pylori, from stomach samples. Nobody believed it could live in acid, so in 1984 Marshall drank a culture and made himself ill. They won the 2005 Nobel Prize. H. pylori hides in the mucus and makes ammonia to neutralise acid around itself. About half the world carries it and most never notice, but it causes most ulcers. Doctors can test for it and treat it. Spicy food does not cause ulcers, though it can make an existing one hurt more.

Food poisoning and vomiting. About 600 million people a year fall ill from contaminated food (WHO). Stomach acid kills many germs, but not all. Vomiting is a protective reflex run by the brainstem: a deep breath, the airway shuts, and the diaphragm and belly muscles squeeze the stomach until its contents are forced out. See a doctor for vomiting that won’t stop, signs of dehydration, blood in vomit or black stools, trouble swallowing, or heartburn that keeps coming back.

Try “Healthy stomach” in the interactive model →

Test yourself

Frequently asked

Which side of the body is most of the stomach on?

The left, under the ribs. The stomach sits in the upper left of the belly, under the left dome of the diaphragm. The liver fills most of the upper right.

What is special about the stomach’s muscle?

It has three layers running in different directions. Oblique, circular and longitudinal layers let it squeeze, twist and churn. Most of the gut has just two layers.

What does the pyloric sphincter do?

Controls food leaving the stomach for the duodenum. It is the ring of muscle at the stomach’s exit. It opens a little at a time so only well-mashed food leaves.

What stops food going into your windpipe?

The epiglottis tips over the airway and the voice box rises. During the automatic stage of the swallow the epiglottis covers the airway and breathing stops for about a second.

Can you swallow while upside down?

Yes, peristalsis squeezes it along. Rings of muscle squeeze behind the bolus and push it, so it works in any position. Gravity only speeds it up when you sit up.

Which food starts being digested in your mouth?

Starch, by amylase in saliva. Salivary amylase starts breaking starch into sugars, which is why plain rice or bread tastes sweeter the longer you chew.

What do parietal cells make?

Hydrochloric acid. Their proton pumps push hydrogen ions out, and with chloride that makes hydrochloric acid. (They also make intrinsic factor for vitamin B12.)

Why doesn’t the stomach digest itself?

A mucus gel full of bicarbonate keeps the cell surface nearly neutral. Mucus and bicarbonate form a shield, and the surface cells are replaced every few days.

Pepsin is made active by…

Acid. Chief cells release inactive pepsinogen; acid in the stomach turns it into pepsin, which works best near pH 2.

About how often does a squeeze wave sweep across the stomach?

About three times a minute. The stomach’s pacemaker cells set a rhythm of about three waves a minute.

What happens to a lump that is too big to pass the pylorus?

It is jetted back into the stomach and ground again. The pylorus shuts as the wave arrives, so the lump is squirted back (retropulsion) and broken smaller.

Which usually leaves the stomach slowest?

Fried, fatty food. Fat reaching the duodenum triggers signals that slow the stomach down, so fatty meals stay longest.

Ghrelin is often called…

The hunger hormone. Ghrelin, made mostly by the stomach, rises before meals and is linked to feeling hungry. It falls after you eat.

How does the stomach tell the brain it is full?

Stretch receptors signal along the vagus nerve, joined later by gut hormones. Stretch sensors in the wall fire as it fills and signal up the vagus nerve; hormones from the intestine add to it.

What makes a stomach growl?

Gas and fluid being squeezed along by the muscle. Borborygmi are gas and liquid pushed along by waves of muscle. An empty stomach has little to muffle them.

What is heartburn?

Stomach acid flowing back up into the oesophagus. When the lower oesophageal sphincter lets acid back up, it irritates the oesophagus lining, which has no mucus shield. It has nothing to do with the heart.

What causes most stomach ulcers?

H. pylori bacteria (and some painkillers). Marshall and Warren showed that H. pylori causes most ulcers; NSAID painkillers cause many of the rest. Spicy food and stress don’t cause them.

Why do we vomit?

It is a protective reflex, run by the brainstem, to get rid of harmful contents. The brainstem coordinates a deep breath, a closed airway and a hard squeeze by the diaphragm and belly muscles.

Words worth knowing

Oesophagus
The 25 cm muscular food pipe from the throat to the stomach.
Peristalsis
Waves of muscle squeezing that push food along the gut.
Lower oesophageal sphincter
The ring of muscle that lets food into the stomach and keeps acid out of the oesophagus.
Parietal cell
A stomach cell that makes hydrochloric acid using proton pumps (H⁺/K⁺-ATPase).
Pepsin
An enzyme, activated by acid, that breaks proteins into smaller pieces.
Mucus barrier
A gel laced with bicarbonate that protects the stomach lining from its own acid.
Chyme
The soupy mix of partly digested food and gastric juice that leaves the stomach.
Pylorus
The stomach's exit, whose sphincter lets through only small particles.
Ghrelin
The hunger hormone, made mostly by the stomach, which rises before meals.

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/stomachclear”.

git clone https://github.com/bdeeps/stomachclear.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?