Story
What does looking after your stomach protect?
The stomach sits in hydrochloric acid without digesting itself, thanks to a defense built from mucus, bicarbonate, and prostaglandins. Looking after your stomach means protecting that; usual culprits are painkillers, H. pylori, and alcohol.
Last updated
Overview and key questions
In short: What looking after your stomach really protects is a defense system built into the surface of the stomach wall.
Educational content, not medical advice. See a clinician about your own case.
A layer of mucus against the wall: The stomach holds hydrochloric acid and pepsin, an enzyme that digests protein, yet its wall is not digested: the first defense is a layer of mucus lying against it.
The painkiller jams an enzyme: Painkillers like ibuprofen block an enzyme called cyclooxygenase (COX), prostaglandins in the stomach fall, and every link in the defense weakens with them.
Story path
Chapter 1
Why the stomach doesn't digest itself
The stomach holds hydrochloric acid and pepsin, an enzyme that digests protein, yet the stomach wall does not digest itself. Lying against the wall is a layer of mucus that is not stirred by the stomach's churning. The surface cells secrete bicarbonate into this mucus, which neutralizes acid on the spot as it seeps in, so the cell surface stays close to neutral. The same mucus layer also keeps pepsin out.
Prostaglandins regulate nearly every link in this defense. The surface cells are also constantly being replaced by new ones, and small injuries can be repaired quickly.
Mechanism · Mucus and bicarbonate
The first line of defense lies outside the cells. The mucus stuck to the stomach wall is a stable layer that the stomach's movements do not stir apart. The epithelial cells secrete bicarbonate into this mucus, creating an acid-base gradient from the stomach cavity to the cell surface: the side facing the cavity is very acidic, and the side against the cells is close to neutral. Pepsin is a large molecule, and this mucus layer also blocks it physically.
A 2005 physiology review concludes that under normal physiological conditions this mucus-plus-bicarbonate barrier is enough to protect the stomach lining from acid and pepsin, and the duodenum even more so. This conclusion rests mainly on experimental and animal research, the authors phrase it as what the evidence suggests rather than as settled fact, and it describes normal conditions, not the stomach after a damaging drug or a drink.
Mechanism · Cells, renewal and blood flow
The surface epithelial cells are sealed one to the next by tight junctions, and they themselves secrete bicarbonate, mucus and prostaglandins.The cells are renewed continuously: progenitor cells deeper down keep dividing to replace the surface cells, a process regulated by growth factors and prostaglandins.Blood flow in the lining's small vessels, sensory nerves, prostaglandins and nitric oxide each form another tier of the defense.
Injury happens in two situations: the attacking agent is strong enough to overwhelm an intact defense, or the defense itself has been weakened. That is why the stomach can normally withstand concentrated hydrochloric acid, bile salts washing back up, alcohol, and foods that vary widely in temperature and concentration: it relies on the lining's moment-to-moment responses and its ability to repair damage quickly.
Mechanism · Where prostaglandins fit
They are not the only protectors either: two other signaling molecules, nitric oxide and hydrogen sulfide, can take over part of their protective role.
So looking after your stomach comes down to one sentence: do not weaken this defense. Painkillers attack it at exactly the prostaglandin link.
Chapter 2
How painkillers strip the lining
These drugs also take a second route: they interact with the phospholipids in cell membranes and disrupt how produce energy, directly making the barrier of the digestive tract leaky.
Once the defense thins, attacking agents such as acid can cause erosions and ulcers in the stomach wall, which in severe cases bleed or even perforate. Take someone who takes ibuprofen for several days in a row for period pain or back pain: while the drug eases the pain, it is also pushing down prostaglandins in the stomach.
Numbers · Risk ratios from the trials
The absolute numbers are actually small: in one group about 0.38% of people a year had a complication, against about 0.19% on placebo. Almost all events came from prescription-level high daily doses, and the trials lasted under a year on average; participants averaged 61 years old, and most were being treated for rheumatoid arthritis or osteoarthritis. For occasional low-dose use the effect is uncertain, so these ratios cannot simply be carried over. So dose and duration are what matter: taking large doses every day for a long time is where the risk in the trials was concentrated.
Clinical · Where ulcers come from
The two known main causes of peptic ulcers are these painkillers and Helicobacter pylori.
Several drugs can reduce these complications, including proton pump inhibitors (), but their benefit has been shown only in high-risk people. Who counts as high risk, and whether to take a stomach-protecting drug alongside, is for a doctor to decide.
In practice · When you take painkillers
If you will be taking one for several weeks or more, tell a doctor or pharmacist which one you take, for how long, and what other medicines you are on. Whether a high-risk person needs stomach protection depends on the individual.If you take an anticoagulant or antiplatelet drug, take steroids, have had an ulcer before, or are older, ask a doctor or pharmacist first even for short-term use. Antithrombotic drugs on their own already make ulcer management more complicated.Know that it belongs to this class before you take it: ibuprofen, naproxen, diclofenac and aspirin all do, and they harm the stomach by the same route. But if a doctor prescribed aspirin for you, do not stop it on your own for fear of your stomach; talk to the doctor first.Ulcers caused by these drugs can bleed. Black stools or vomiting blood while taking them call for medical care immediately.
Chapter 3
What alcohol does to the lining
The amount matters a great deal. In healthy people, low or moderate drinking does not cause bleeding injury; but even a single episode of heavy drinking can cause inflammation of the lining and bleeding lesions.
Time matters too. Changes from short exposure recover quickly; long-term drinking disrupts the lining's microcirculation, and structural damage builds up bit by bit.
Exactly how alcohol damages the stomach lining is still not known.
Mechanism · Where long-term drinking does harm
Mechanism · Beer and spirits differ
Why these drinks stimulate acid is likewise not yet understood. Stimulating acid and breaking the barrier are two different things. A weaker drink is not necessarily gentler on the lining, and a stronger one is not safer just because it does not stimulate acid.
Safety · Alcohol plus painkillers
In other words, taking these painkillers around the time you drink, or soon after, makes alcohol's acute damage to the stomach lining worse. When the two overlap, the painkiller pushes prostaglandins down while the alcohol disrupts the barrier itself.
If you often need painkillers around the time you drink, tell a doctor or pharmacist.
Chapter 4
Crackers, lion's mane and meal timing
Use this to look at popular stomach-care habits. The alkali in soda crackers can neutralize a little stomach acid, and even medicinal antacids work in the stomach for only tens of minutes to two or three hours. For lion's mane mushroom and the human stomach, the only trial that can be found is one small preliminary study from 1985, never repeated since. People who eat three main meals a day report less early fullness than those who eat one, but that is only an association and does not show that it repairs the lining; eating at set times was not measured in that study.
If you have persistent stomach discomfort, what to do is look for the cause, such as whether you carry Helicobacter pylori or which painkillers you are taking, rather than counting on any one food; conversely, chili is not on the list of things that harm the stomach, and on endoscopy a spicy meal barely touches the lining (see Chili & Capsaicin).
Myth · Soda crackers and millet porridge
What is right: sodium bicarbonate, like calcium carbonate and other pharmacy antacids, works by neutralizing acid that has already been secreted.
What is wrong: in the trials pooled by a 2022 narrative review, two calcium carbonate antacid tablets taken after a meal worked for about 60 minutes, against about 540 minutes for an acid-suppressing drug in the same trial. Chewable and effervescent tablets lasted 100-180 minutes in the stomach, and in one trial calcium carbonate had no clear effect on stomach acidity at all. No study has measured how much alkali is left in a cracker; even if it worked like a medicinal antacid, the effect would last only tens of minutes to two or three hours. A cracker is mostly refined flour, and no study has measured what soda crackers do to the stomach lining either.
Millet congee is a different claim: it is warm, watery and easy to digest, so it feels comfortable; but the stomach's alkali and mucus are secreted by its own surface cells, congee takes no part in that step, and it cannot repair the mucus layer (see Millet).
A better move: for occasional heartburn you want to settle, a medicinal antacid works more predictably; if discomfort is frequent, look for the cause.
Myth · Lion's mane mushroom
What is wrong: in people, the evidence is almost empty. The only human trial that can be found is a very small preliminary study from 1985 in patients with atrophic gastritis, and later retellings of it do not agree on the details. In the forty years since, no one has repeated it.
A 2025 systematic review searched the literature from 2000 to 2024 and included 5 and 3 small trials; the human trials mainly looked at cognition and mood, and none looked at the stomach. Reported side effects included stomach discomfort, diarrhea, headaches and allergy; the authors conclude that as a supplement it shows limited effectiveness in clinical trials.
A better move: eat it as an ordinary edible mushroom if you like, but do not count on it to look after your stomach; if a lion's mane supplement upsets your stomach or causes an allergy, stop taking it.
Evidence · How many meals a day
A cross-sectional study shows only an association and cannot tell direction. Eating more meals a day may make the stomach more comfortable, or people with an uncomfortable stomach may eat less. People who already have bloating and early fullness often switch on their own to smaller, more frequent, less fatty meals. Eating at fixed times of day was not measured in this study.
So spreading food over several smaller meals may feel better for someone who is already bloated, and there is no evidence that they do harm; but there is no evidence that they repair the stomach lining.
Chapter 5
The gastritis on your scope report
What really matters on the report is two things. The first is whether Helicobacter pylori was tested for: it lives on the stomach lining for years and keeps up a chronic inflammation, and an international consensus defines the gastritis it causes as an infectious disease, whether or not there are symptoms; but not every chronic gastritis on a report is an infection. The second is whether the biopsy found atrophy or intestinal metaplasia. Intestinal metaplasia means the stomach lining has been replaced by cells that look like those of the intestine. Both are precancerous conditions for stomach cancer; the more widespread they are, the more they deserve attention, and a doctor uses them to decide whether you need follow-up.
Whether and how often to repeat the endoscopy is for a doctor to decide based on your situation.
Numbers · An endoscopy survey of 8892 people
By what the endoscopy showed, 4389 were diagnosed with superficial gastritis, 3760 with erosive gastritis and 1573 with atrophic gastritis. By pathology, atrophy accounted for 25.8%, intestinal metaplasia for 23.6% and dysplasia for 7.3%. The authors conclude that among Chinese patients with upper digestive symptoms, non-atrophic gastritis is the most common endoscopic finding, and precancerous lesions are also common.
These were people who came in with symptoms, not the general population, and the exclusion criteria also set them apart from it. These proportions cannot be applied to people without symptoms.
Clinical · Atrophy is settled by biopsy
Gastritis on a report does not necessarily mean an infection, but it is worth asking whether Helicobacter pylori has been tested for.
Clinical · After the report
A diagnosis on the report also does not mean you need a stomach-protecting drug. In that national survey, mucosal-protective agents and were the two most prescribed classes of drug, at about seven in ten and over six in ten patients; but being prescribed often does not show that they work.
Most people with indigestion turn out, after endoscopy, to have no structural disease, and are classed as having functional dyspepsia (see Functional dyspepsia). Heartburn does not count as indigestion; it belongs to reflux.
References (16)
- Lanas, A., & Chan, F. K. L. (2017). Peptic ulcer disease. The Lancet, 390(10094), 613-624. 10.1016/S0140-6736(16)32404-7
- Bode, C., & Bode, J. C. (1997). Alcohol's role in gastrointestinal tract disorders. Alcohol Health and Research World, 21(1), 76-83. pmc.ncbi.nlm.nih.gov/articles/PMC6826790
- NHS. (2025). Vomiting blood. www.nhs.uk/conditions/vomiting-blood
- Black, C. J., Paine, P. A., Agrawal, A., Aziz, I., Eugenicos, M. P., Houghton, L. A., Hungin, P., Overshott, R., Vasant, D. H., Rudd, S., Winning, R. C., Corsetti, M., & Ford, A. C. (2022). British Society of Gastroenterology guidelines on the management of functional dyspepsia. Gut, 71(9), 1697-1723. 10.1136/gutjnl-2022-327737
- Laine, L., Takeuchi, K., & Tarnawski, A. (2008). Gastric mucosal defense and cytoprotection: bench to bedside. Gastroenterology, 135(1), 41-60. 10.1053/j.gastro.2008.05.030
- Allen, A., & Flemström, G. (2005). Gastroduodenal mucus bicarbonate barrier: protection against acid and pepsin. American Journal of Physiology. Cell Physiology, 288(1), C1-C19. 10.1152/ajpcell.00102.2004
- Wallace, J. L. (2008). Prostaglandins, NSAIDs, and gastric mucosal protection: why doesn't the stomach digest itself? Physiological Reviews, 88(4), 1547-1565. 10.1152/physrev.00004.2008
- Bjarnason, I., Scarpignato, C., Holmgren, E., Olszewski, M., Rainsford, K. D., & Lanas, A. (2018). Mechanisms of damage to the gastrointestinal tract from nonsteroidal anti-inflammatory drugs. Gastroenterology, 154(3), 500-514. 10.1053/j.gastro.2017.10.049
- Garg, V., Narang, P., & Taneja, R. (2022). Antacids revisited: review on contemporary facts and relevance for self-management. Journal of International Medical Research, 50(3), 03000605221086457. 10.1177/03000605221086457
- Xu, C. P., Liu, W. W., Liu, F. X., Chen, S. S., Liao, F. Q., Xu, Z., Jiang, L. G., Wang, C. A., & Lu, X. H. (1985). A double-blind study of effectiveness of hericium erinaceus pers therapy on chronic atrophic gastritis. A preliminary report. Chinese Medical Journal, 98(6), 455-456. pubmed.ncbi.nlm.nih.gov/3932005
- Menon, A., Jalal, A., Arshad, Z., Nawaz, F. A., & Kashyap, R. (2025). Benefits, side effects, and uses of Hericium erinaceus as a supplement: a systematic review. Frontiers in Nutrition, 12, 1641246. 10.3389/fnut.2025.1641246
- Hassanzadeh, S., Saneei, P., Keshteli, A. H., Daghaghzadeh, H., Esmaillzadeh, A., & Adibi, P. (2016). Meal frequency in relation to prevalence of functional dyspepsia among Iranian adults. Nutrition, 32(2), 242-248. 10.1016/j.nut.2015.08.022
- Graham, D. Y., Smith, J. L., & Opekun, A. R. (1988). Spicy food and the stomach: evaluation by videoendoscopy. JAMA, 260(23), 3473-3475. jamanetwork.com/journals/jama/fullarticle/375639
- Du, Y., Bai, Y., Xie, P., Fang, J., Wang, X., Hou, X., et al. (2014). Chronic gastritis in China: a national multi-center survey. BMC Gastroenterology, 14, 21. 10.1186/1471-230X-14-21
- Sugano, K., Tack, J., Kuipers, E. J., Graham, D. Y., El-Omar, E. M., Miura, S., et al. (2015). Kyoto global consensus report on Helicobacter pylori gastritis. Gut, 64(9), 1353-1367. 10.1136/gutjnl-2015-309252
- Dinis-Ribeiro, M., Libanio, D., Uchima, H., & Spaander, M. C. W., et al. (2025). Management of epithelial precancerous conditions and early neoplasia of the stomach (MAPS III): ESGE, EHMSG and ESP Guideline update 2025. Endoscopy, 57(5), 504-554. 10.1055/a-2529-5025
Written from the sources listed above. Checked sentence by sentence against them in . No physician reviews this site: it explains how the body works, and it is not medical advice. How we make content
Spotted an error, or something unclear? Email us. We read every message, check it against the sources, and fix what's wrong.