Everyday wonders Chemistry No background needed 6 min read

Your stomach makes strong acid — so why doesn't it digest itself?
― Protected by a 0.2mm layer of slime

Your stomach is filled with acid strong enough to turn a tough lump of meat to mush in a few hours. Yet the stomach that makes this acid seems completely unbothered. It's not because the wall is thick. The answer lies in a very thin, slippery layer coating the inside of the stomach.

Published: 2026.09.22 Difficulty: ★☆☆ (no background needed) Formulas appear only in the final fold-out section
First, picture this

Your stomach growls with hunger. It's nearly empty, yet it's already producing acid.

That acid is far stronger than lemon juice. Leave a good amount of it on your finger and your skin will sting and break down.

The stomach pours more than a litre of this acid into itself every day. And yet, day after day, it stays fine. Why?

There are just two reasons

1
The acid is weakened before it reaches the stomach wall

The inside of the stomach is coated with a slippery layer of mucus. Into that layer, the stomach wall itself releases alkali. As the acid works its way through the layer, it gets neutralised — by the time it reaches the cells, it's nearly neutral.

2
Even so, damage happens — so the stomach keeps rebuilding itself

The defence isn't perfect. The cells lining the stomach are thought to be replaced entirely within just a few days. Rather than blocking all damage, the strategy is to swap out damaged cells as fast as they wear out.

Let's take these one at a time, starting with what that slippery layer actually does.

How far does the acid get weakened inside the slime?

Mucus is like a mesh packed with water. It's thought to be about 0.2mm thick — roughly the width of two human hairs. That sounds thin, but what matters here isn't the thickness itself — it's that the water inside doesn't flow.

The cells of the stomach wall quietly pump bicarbonate ions — the same alkali found in baking soda — into this mucus. Because the water in the mucus doesn't move, the alkali stays put where it's released. When acid arrives from outside, it meets the alkali right there and gets neutralised.

Look at Figure 1. On the left is the inside of the stomach, on the right the stomach wall. Acid tries to soak in from the left, while alkali seeps out from the right. In that tug-of-war, the acid's strength drops sharply within the mucus layer alone. The pH inside the stomach is around 1.5, but at the surface of the cells it's been measured at around 7 — close to neutral.

From stomach interior to wall — the mucus layer weakens acid Left: stomach interior pH 1.5 (strong acid) Centre: mucus layer Thickness ~0.2mm Right: stomach wall cells pH 7 (near neutral) Acid (H⁺) tries to move right Bicarbonate ions seep left Still acidic Near neutral Dashed line: pH rising left to right (higher = more neutral)
Figure 1: Left is the stomach interior, centre is the mucus layer, right is the stomach wall cells. The upper red arrow points right, showing acid pushing toward the wall; the lower green arrow points left, showing alkali seeping out. The yellow dashed line at the bottom shows pH rising through the mucus layer, approaching neutral.

It still gets damaged — so it's rebuilt every day

The mucus layer isn't perfect. Food rubbing against it wears it down, and stomach movement strips some away. So the stomach keeps producing mucus at the same rate it's lost. The defence isn't a stockpile — it's a daily balancing act.

The cells themselves work the same way. The cells lining the stomach are thought to be replaced within just a few days — one of the fastest-turning-over tissues in the body. Even if a cell takes some damage, by the time it's spent, the next one is already growing in from below.

The flip side is that problems arise when this rebuilding can't keep up. If mucus production drops or wear increases, acid spends longer in contact with the wall. Many stomach problems are thought to come less from "acid that's too strong" and more from "defences that have worn thin."

💡 The stomach deliberately releases its own digestive tool "unfinished"

The digestive enzyme the stomach secretes cuts proteins apart. That means it could cut the stomach itself apart too. So the stomach releases this enzyme in an inactive form, and it only switches into its active, cutting form once it meets the strong acid inside the stomach. Safe where it's made, dangerous only where it's used — that's the order of operations.

💡 Strong stomach acid sounds like a liability, but it pays off

Most bacteria that arrive with food can't survive acid this strong. So beyond digestion, it also acts as a checkpoint, stopping things before they get further into the body. That's reason enough to keep using strong acid, even though it means building a separate system just to defend against it.

Summary

The stomach doesn't digest itself not because it's tough, but because it constantly rebuilds a thin layer that neutralises acid before it can do damage. The defence isn't built on hardness — it's built on speed.

What protects your stomach isn't a thick wall,
but 0.2mm of slime, rebuilt every single day.

There's a similar spot in your mouth that "dissolves every day and recovers every day." See also Teeth are the hardest thing in the body — so why do they dissolve with cavities? And on the theme of acid-alkali balance, Why can't you hold your breath for even a minute? features the same bicarbonate ion.

🧪 See "trapping" in slime, at home
  1. Pour equal amounts of water into two clear glasses. Dissolve a teaspoon of cornstarch into one and stir well until it thickens.
  2. Gently drop one drop of food colouring or soy sauce into each glass. Do not stir.
  3. Compare how far the colour has spread after 1 minute, 5 minutes, and 10 minutes.

In the thickened glass, the colour barely reaches the bottom. This is the same thing the mucus layer does to acid. In water that can't flow, things can't be carried along — they can only seep, slowly, and that buys time for neutralisation.

Want to know more? ― Terms, formulas, and textbook linksMarked from junior-high science through university-level specialist courses
How to read the labels below
  • JHSCovered in junior high school science
  • HSCovered in high school "Chemistry Basics / Chemistry"
  • HS+High school advanced content, or textbook sidebar material
  • UnivNot covered in high school — university specialist courses (physiology, biochemistry)
  • ResearchNot yet settled fact even at university level — still under active study

JHSTerms: this phenomenon has names

JHSHSCheck with a formula: how much does the acid's concentration drop inside the mucus layer?

Hearing that "pH rises from 1.5 to 7" doesn't easily convey how big a difference that is, because pH is a special scale that changes tenfold with every single step. Let's go back to the underlying formula and work out the actual concentrations.

⓪ The underlying formula
In symbols[H⁺] = 10 to the power of (−pH) / n = c × V
In wordsHydrogen ion concentration = 10 to the power of (minus pH); amount of acid = concentration × volume
Where it comes fromThe first is the very definition of pH: pH is the negative of the base-10 logarithm of the hydrogen ion concentration. The second is the definition of concentration: how many moles are present per litre.
What the symbols mean
[H⁺]Hydrogen ion concentration. Units: moles per litre
pHA scale for acid strength. The smaller the number, the stronger the acid
cConcentration. Units: moles per litre
VVolume. Units: litres
nAmount of substance. Units: moles
① Starting figures
pH inside the stomach (fasting)Thought to be about 1.5
pH at the surface of the stomach wallThought to be about 7.0
10 to the power of −1.5About 0.032 (mol/L)
10 to the power of −70.0000001 (mol/L)
Amount of gastric juice produced per dayThought to be about 1.5 litres
Weight of 1 mole of sodium bicarbonate (baking soda)84 grams
② Working it out
Ratio of concentration: stomach interior vs. wall surface0.032 ÷ 0.0000001 = 320000
Amount of acid produced per day (moles)0.032 × 1.5 = 0.048
Weight of baking soda needed to neutralise that (grams)0.048 × 84 = 4.032

The acid's concentration drops to 1/320,000th of its original strength crossing the 0.2mm layer. And a full day's worth of acid could be cancelled out by just 4 grams of baking soda — about a teaspoon. Despite its strength, the actual quantity is surprisingly small.

HSHS+Why can such a thin layer achieve such a big drop?

HSWhen acid and alkali meet in the same place, neutralisation occurs. What matters here is that the water inside the mucus doesn't move. If it flowed, the seeping alkali would be washed away immediately, and the area near the wall couldn't stay neutral. The mucus's role is to pin the site of neutralisation in place.

HS+The balance between the "speed of soaking in" and the "speed of neutralising" determines the shape of the pH curve inside the layer. Soaking-in is diffusion; cancelling-out is the neutralisation reaction, and depending on which is faster, the point where pH rises shifts deeper or shallower within the layer. That's why the dashed line in Figure 1 rises partway through the layer.

UnivThe mucus-bicarbonate barrier and the buffer equation

The mechanism just described is called the mucus-bicarbonate barrier in physiology. The enzyme carbonic anhydrase produces the bicarbonate ions, instantly converting carbon dioxide and water into bicarbonate. Because the pH within the layer is governed by the balance between carbonic acid and bicarbonate ion, it's standard to treat it with the Henderson–Hasselbalch equation. The transporter that pumps out acid is called the proton pump, and it's the target of many stomach medications.

📖 For the derivation of the formula and further reading: Carbonic anhydrase (Japanese Wikipedia) / Henderson–Hasselbalch equation (Japanese Wikipedia)

ResearchWhat's still not fully understood

In other words, this article too reflects "the current state of understanding." If stomach trouble persists, please consult a medical professional rather than self-diagnosing.

Links to textbooks (by level)

LevelSubject / unitWhere in this article
JHSScience — acids and alkalis, neutralisationWhere acid is cancelled out by alkali
HSChemistry Basics — pH and neutralisation; Chemistry — reaction ratesThe whole "check with a formula" calculation
HS+Chemistry — buffer solutions; Biology — digestion and enzymesWhere pH rises within the layer
UnivPhysiology / biochemistry (mucus-bicarbonate barrier, transporters)The section on carbonic anhydrase and the proton pump
ResearchGastroenterology / microbiologyLayer thickness and how bacteria pass through
―Everyday relevanceNot blaming stomach trouble on "acid strength" alone
References / sources
  1. The Nobel Prize in Physiology or Medicine 2005 (Nobel Foundation — discovery of stomach bacteria and gastritis)
  2. Allen, A. & Flemström, G., Gastroduodenal mucus bicarbonate barrier: protection against acid and pepsin, American Journal of Physiology - Cell Physiology (2005)
  3. Hongo, Toshinori et al. (eds.), Standard Physiology (標準生理学), Igaku-Shoin (chapter on the digestive system — gastric juice secretion and mucosal defence)
  4. Carbonic anhydrase (炭酸脱水酵素, Japanese Wikipedia)

※This article is a general-audience science explainer. The figures given are approximations to aid understanding of the mechanism. For decisions about your health or treatment, please follow the guidance of a medical professional.