You finish a meal. Somewhere inside you, an organ roughly the size of a small melon begins flooding itself with a liquid acidic enough to dissolve metal. The acid is hydrochloric acid, produced by specialised cells in the stomach lining called parietal cells, secreted at a rate of approximately two to three litres per day. Its pH sits between 1.5 and 3.5 — strong enough to denature the proteins in steak, fish, eggs, or anything else you have just eaten, activate the protein-digesting enzyme pepsin from its inactive precursor, kill most of the bacteria that entered through your mouth, and aid in the absorption of iron, calcium, and vitamin B12. It is also corrosive enough to dissolve much of the same tissue that produces it. Every meal you have ever eaten, your stomach has filled itself with a fluid that would, if applied to almost any other surface in your body, cause significant chemical injury.
The stomach manages this paradox not — contrary to popular framing — by simply regenerating faster than the acid can do damage, but through a layered defence system in which rapid cellular regeneration is the third tier rather than the first. According to the Wikipedia reference on the gastric mucosal barrier, drawing on Adrian Allen and Gunnar Flemström’s seminal 2005 review of the topic, the first tier is a thick gel-like layer of mucus that physically separates the cells of the stomach wall from the acidic contents of the lumen. The second tier is a set of tight cellular junctions between adjacent stomach lining cells, which prevent acid from seeping between cells into the underlying tissue. The third tier is the rapid replacement of surface cells every three to five days that absorbs whatever damage manages to penetrate the first two defences.
The mucus-bicarbonate barrier
The primary defence against the stomach’s own acid is the mucus layer that coats the entire interior surface of the organ. The mucus is secreted by specialised cells called surface mucous cells, which line the gastric pits. It consists of large glycoproteins called mucins, principally MUC5AC and MUC6, mixed with water, electrolytes, and bicarbonate ions. The thickness of the mucus layer varies between approximately 50 and 450 micrometres. The mucus is not static — it is continuously secreted, continuously eroded by the mechanical action of food and stomach contractions, and continuously renewed.
The chemistry of the barrier is what makes it effective. The bicarbonate ions embedded in the mucus react with any hydrogen ions that diffuse into the gel layer, neutralising them before they can reach the epithelial cells below. The result is a pH gradient: in the centre of the stomach, the contents are at pH 1.5 to 3.5, but at the cellular surface immediately beneath the mucus, the pH is closer to neutral — approximately 7. The stomach lining, in other words, is not actually in contact with strongly acidic conditions. The acid is held off, throughout a healthy human’s life, by a layer of mucus and bicarbonate roughly half a millimetre thick.
The cellular layer beneath
Where mucus is the primary line of defence, the cellular layer of the stomach wall provides the secondary one. According to a review of gastrointestinal epithelial defence in Scandinavian Journal of Gastroenterology, the surface mucous cells lining the stomach are connected to one another by tight junctions — specialised protein structures that seal the gaps between adjacent cells. Even if the mucus barrier is locally disrupted and acid contacts the cellular layer directly, the tight junctions limit the depth to which the damage can penetrate.
The cellular layer is also organised so that the cells most exposed to risk — the surface mucous cells — are the ones with the shortest lifespans. According to a 2026 ScienceInsights review of stomach epithelial turnover, the entire surface epithelium of the stomach is replaced approximately every three to five days. Stem cells located in the isthmus — the narrow zone partway down each gastric gland — divide constantly to produce daughter cells. Some daughter cells migrate upward toward the stomach surface, where they mature into mucus-secreting surface cells, fulfil their function for a few days, and are then sloughed off into the stomach lumen, where they are digested along with food. Other daughter cells migrate downward into the gland, where they mature into the specialised cells that secrete acid, pepsinogen, or various hormones.
When the barrier fails
The layered defence system works, in a healthy person, for an entire lifetime. When it fails, the consequences are gastritis, peptic ulcer disease, and in some cases gastric cancer. The most common cause of barrier failure is infection with the bacterium Helicobacter pylori, which uses its corkscrew-shaped body and a battery of urea-metabolising enzymes to burrow through the mucus layer and establish itself directly on the cellular surface of the stomach. H. pylori infection is now understood to be the underlying cause of approximately 70 to 90 percent of peptic ulcers worldwide. The discovery of this link, by the Australian researchers Barry Marshall and Robin Warren in 1982, overturned the previous medical consensus that ulcers were primarily caused by stress and dietary factors. Marshall and Warren shared the 2005 Nobel Prize in Physiology or Medicine for the discovery.
The second most common cause is the use of non-steroidal anti-inflammatory drugs such as aspirin, ibuprofen, and naproxen. These drugs work by inhibiting an enzyme called cyclooxygenase, which is also required for the synthesis of prostaglandins — chemical messengers that, among other functions, regulate the production of stomach mucus and bicarbonate. NSAID use therefore reduces the protective mucus barrier, leaving the cellular layer more directly exposed to acid. Alcohol, smoking, and bile reflux are additional risk factors, though their effects on their own tend to be modest unless combined with H. pylori infection or chronic NSAID use.
The three-to-five-day replacement cycle is, on its own, one of the more remarkable facts about the human body. The entire interior surface of the stomach — an area of approximately one square metre when stretched flat, consisting of perhaps tens of billions of individual cells — is completely rebuilt from scratch roughly every four days. The cells you grew yesterday will, in most cases, be gone before next weekend. The same is partly true of every other part of the body, but the stomach is on the extreme end of the spectrum, alongside the small intestine and the skin. It is, by some distance, the part of you that is most consistently being remade.