Pantoprazole, omeprazole, rabeprazole and esomeprazole are among the most widely taken medicines in India, and among the least discussed. They are sold across the counter, carried forward on prescription after prescription, and taken for years by people who were never told what they are for. This is a plain account of what they do, when to take them, whether long use is safe, how to come off one, and the small number of symptoms that should send you to a doctor rather than to a pharmacy.
The Short Answer
These tablets switch off acid production in the stomach. They are excellent for burning in the chest, acid coming up into the throat, and ulcers. They do nothing for gas or bloating. Take the tablet 30 to 60 minutes before the first meal of the day, not after food and not at bedtime. A randomised study of nearly 17,600 people found three years of daily use safe apart from a small increase in intestinal infections, but the effects that matter, on magnesium and through it calcium, and possibly on bone, appear after that and need checking in anyone taking one for years. Stopping suddenly after months causes a temporary burst of acid that settles in two to four weeks and is often mistaken for the illness returning.
And one thing that overrides all of the above: difficulty swallowing, vomiting blood, black stools, unexplained weight loss or a low haemoglobin need a doctor this week, whatever the tablet is doing for your symptoms.
They Are Acid Tablets, Not Gas Tablets
This is the commonest misunderstanding, and it is worth correcting first. The stomach lining contains millions of tiny pumps that push acid into the stomach. These medicines, properly called proton pump inhibitors, switch those pumps off. That is the whole of their action.
So they work well for the problems acid causes: the burning behind the breastbone, the sour taste that rises after a heavy meal or on lying down, the pain of an ulcer, and the irritation of the food pipe that acid produces over time.
They do not remove gas. They do not relieve wind, fullness or bloating, which have other causes entirely. If you have been taking one for months because your stomach feels heavy and distended after meals, it is very likely not helping, and the actual cause has not been looked for.
When the Problem Is Not Acid At All
If these tablets do nothing for fullness and bloating, what causes it? One answer that is missed for years at a time is a stomach that empties too slowly. The medical term is gastroparesis: the stomach muscle does not propel food onward into the intestine at the normal rate, so a meal sits far longer than it should.
The symptoms separate reasonably well from acid once you know what to listen for. An acid problem burns: behind the breastbone, rising towards the throat, leaving a sour taste, worse on lying flat or bending forward. A slow stomach fills: fullness after a few mouthfuls where a whole meal was managed before, bloating and nausea rather than burning, and the symptom that settles the matter, vomiting food eaten several hours earlier and still recognisable. Weight loss can occur with either and needs assessment either way.
Long-standing diabetes is the commonest identified cause, which is of some importance in this city. It also follows certain operations on the stomach and oesophagus, sometimes follows a viral illness, and in a substantial proportion no cause is ever established.
The diagnosis is not made by inference. An endoscopy comes first, because obstruction at the outlet of the stomach produces identical symptoms and must be excluded. A gastric emptying study follows: a measured solid meal, usually egg based, with scanning over four hours. Retention of more than a tenth of the meal at four hours indicates delayed emptying.
Before any medicine, diet does much of the work: smaller and more frequent meals, food cooked soft and reduced to small particles, less fat and less raw indigestible fibre, both of which slow emptying further, and in a person with diabetes, better glycaemic control, since high blood sugars slow the stomach in their own right.
The Second Tablet in the Capsule
Many patients in India are taking two medicines for the stomach rather than one, in a single capsule, without knowing it. The usual combination pairs an acid-suppressing drug with domperidone, a prokinetic intended to speed gastric emptying, and it is dispensed for gas, acidity and bloating more or less interchangeably.
There is an irony in this. Acid-suppressing drugs themselves slow the emptying of solid food. When the published studies were reviewed together, the effect on solids was consistent, and the mechanism is straightforward: acid-dependent digestion is part of how a solid meal is broken down, so suppressing acid leaves solids in the stomach longer. In a patient whose underlying problem is slow emptying, the acid tablet may be contributing to the very fullness it is being prescribed for.
A prokinetic is a reasonable treatment where emptying has been shown to be delayed and dietary measures have not sufficed. It is harder to justify where no one has demonstrated delayed emptying, and it is simply part of a combination that was convenient to dispense.
That distinction matters, because domperidone is not an inert addition. European regulators restricted it following a safety review: the approved indication is now nausea and vomiting rather than bloating or heartburn, at the lowest effective dose, and normally for no longer than about a week. The concern is cardiac, specifically prolongation of the QT interval and arrhythmia, with the serious events concentrated in patients over 60 and at doses above 30 mg daily. Daily use for months, in an older patient, is a long way from that.
Metoclopramide, the other prokinetic in common use, carries a separate limit of around three months because of a movement disorder that may persist.
None of this argues for refusing a combination capsule. It argues that the second drug in it should be a decision taken about a particular patient, with a reason and an end point, rather than something carried along by the formulation.
The Timing Almost Everybody Gets Wrong
Take the tablet 30 to 60 minutes before the first meal of the day, on an empty stomach, and then eat.
The reason follows from how the medicine works. It can only switch off a pump that is actively working, and the pumps are switched on by food arriving in the stomach. The medicine therefore has to already be in the bloodstream at the moment you eat. Take it after a meal and most of the pumps have already done their work. Take it at bedtime on an empty stomach and there is very little for it to act on.
Patients regularly tell me a tablet has stopped working and ask for something stronger. A good proportion of the time the tablet is fine and only the timing is wrong.
- Once a day: 30 to 60 minutes before breakfast.
- Twice a day: the second dose 30 to 60 minutes before the evening meal, not at bedtime.
- Swallow it whole with water. Do not crush or chew it. The coating exists to carry the medicine safely past stomach acid, which would otherwise destroy it.
- Night-time symptoms are worth mentioning specifically to your doctor, because they change what is prescribed rather than only when it is taken.
Is It Safe to Take for Years?
This is the question patients ask most, usually after receiving a forwarded message listing everything these tablets are said to cause. The honest answer has two halves, and most people hear only one of them.
The first three years are well studied and reassuring. Nearly 17,600 people were allocated by chance to either pantoprazole 40 mg daily or a dummy tablet and followed for a median of three years. Neither patients nor doctors chose who received which, which is the only way to answer a safety question cleanly. Over those three years the investigators looked for pneumonia, fractures, chronic kidney disease, dementia, diabetes, chronic lung disease, heart disease, cancer, changes in the stomach lining, hospital admission and death, and found no increase in any of them. Intestinal infections were slightly more common, about 14 people in every 1,000 against 10 in every 1,000, which is expected, since stomach acid is part of the body’s defence against what we swallow.
Three years is not ten years, and the problems that matter appear later. That is the half which is usually left out, and it is where the circulating warnings are pointing at something genuine.
Magnesium, and the calcium that follows it
This is the best established of the long-term effects, and the three-year trial was simply too short to see it. Long use can reduce the absorption of magnesium from the gut. In the published case series it appeared after a median of about five and a half years of treatment, with a reported range from a fortnight to thirteen years, and the median age at diagnosis was 77.
It matters because magnesium is required both for parathyroid hormone to be released and for it to act on bone and kidney. When magnesium falls far enough, parathyroid function fails with it, and calcium falls too: roughly 6 in every 10 of these patients were also hypocalcaemic, and about 3 in 10 hypokalaemic. The symptoms are cramps, weakness, tingling, tetany and sometimes disturbance of heart rhythm.
Two practical details are worth knowing. Taking magnesium by mouth does not correct the problem while the drug is continued. And levels recover within days of stopping it. Regulators issued a formal safety communication on this in 2011.
Bone
Absorbing calcium from food depends on gastric acid, so bone has been a concern since these drugs came into wide use. Regulators warned about fractures of the hip, wrist and spine, and studies following large groups of users have found on the order of a third more fractures, concentrated in higher doses and in use beyond a year. That evidence is observational, the three-year randomised trial found no excess of fractures, and bone density studies are mixed. So this is not established as caused by the drug. It is, however, a genuine consideration in a woman after the menopause, or in anyone already known to have thin bones, and it should be weighed rather than dismissed.
Kidney
Two different things are often merged here. Acute interstitial nephritis, an uncommon allergic inflammation of the kidney, is an accepted reaction to these drugs and can leave lasting impairment. The broader claim that they cause chronic kidney disease is considerably weaker. The early studies compared people taking the medicine with people who were not, and the first group were older and less well in several other respects. When later work matched patients properly, or compared against an acid-reducing drug of another class, the association largely disappeared.
What to do about it
If you have been taking one of these for more than a year or two, it is reasonable to have magnesium, calcium and vitamin B12 checked, to mention it if you are known to have thin bones, and to ask the question that runs through this whole article: is there still a reason for this, and can someone name it?
Why Stopping Suddenly Makes Things Worse
A common story: a patient takes the tablet for several months, feels well, stops it, and within days the burning is worse than it ever was before treatment began. They conclude they cannot manage without it and return to it indefinitely.
That conclusion is usually wrong. When the acid pumps are suppressed for a long time, the body compensates by producing more of them. Stop the medicine abruptly and those extra pumps all begin working at once. The result is a genuine surge of acid, often worse than the original complaint. It typically starts within a few days and settles over two to four weeks.
This is the medicine leaving, not the disease returning. Recognising the difference matters, because that single difficult fortnight has committed a great many people to years of treatment they did not need.
What usually works better than stopping overnight is reducing the dose first, or moving to taking it only on the days symptoms appear, with a simple antacid available for bad days. Which approach suits you depends on why the medicine was started, so it is a decision to make with the doctor who prescribed it.
Who Should Stay On It Long Term
Not everyone should come off. For some patients continuing is the correct treatment, and stopping would be a mistake.
- Barrett’s oesophagus, where long-standing acid has changed the lining of the food pipe.
- Severe damage to the food pipe seen at endoscopy, or a narrowing caused by acid.
- A previous bleeding ulcer.
- Long-term anti-inflammatory painkillers of the ibuprofen and diclofenac family, or blood-thinning medicines, in someone already at risk of bleeding.
- A small number of less common conditions, which your gastroenterologist will have named to you.
What is not a reason is the commonest reason of all: the tablet was started once and nobody stopped it. It is added during a hospital admission or for a few weeks of pain, and then copied onto every prescription afterwards. Nobody decides to continue it, and nobody decides to stop it.
The useful question at your next appointment is short. Do I still need this, and if so, why? A clear answer means you continue with confidence. No clear answer means there is a sensible way to come off it.
When to See a Doctor Rather Than Buy Another Strip
These symptoms need assessment within the week, whatever the tablet is doing for you.
- Difficulty or pain on swallowing, or the sense that food is sticking.
- Vomiting blood, or stools that are black and tarry.
- Losing weight without trying.
- Repeated vomiting.
- A low haemoglobin found on a blood test. Unexplained anaemia and bleeding should always be investigated rather than treated blindly.
- Indigestion appearing for the first time after the age of 45, particularly where a close relative has had stomach cancer.
The reason this list matters is specific to these medicines. They are good enough at relieving symptoms that they can quieten the early signs of something serious, stomach cancer among them, so that the problem is only recognised when the tablet stops working. Most indigestion is not serious. But that judgement belongs to someone who has examined you.
Common Questions
Can I take it only when I have symptoms? For some conditions, yes, and this is a recognised way of using the medicine. For others, such as Barrett’s oesophagus or after a bleeding ulcer, no. Ask which group you are in.
Does it cause vitamin B12 or magnesium deficiency? Magnesium, yes, with long use, as set out above, and it commonly takes calcium down with it. Vitamin B12 has been reported but is less firmly established. Neither tends to appear within the first three years, which is why the randomised trial did not detect them. If you have been on the medicine for years, have both checked.
Can I take it with my other tablets? Usually, but there are a few genuine interactions, including with some heart and antiplatelet medicines. Show your doctor the whole list rather than asking about one tablet at a time.
Is a probiotic a substitute? No. They do different things, and probiotics have a much narrower genuine role than their marketing suggests.
Do I really need an endoscopy? Not everyone does. It is advised when the warning symptoms above are present, when symptoms persist despite correct treatment, or when the medicine has been taken for a long time without anyone having looked.
Is it safe in pregnancy? Some of these medicines are used in pregnancy when needed, but that decision belongs with the doctor looking after the pregnancy. Do not start one on your own.
The Bottom Line
These are good medicines used carelessly. Take them before food rather than after, for a reason rather than out of habit, and review that reason at least once a year. Three years of use has been studied properly and found safe apart from a small increase in gut infections, while magnesium, calcium and bone are the things worth checking in anyone who has been taking one for longer. Stopping suddenly causes a rebound that is temporary and widely misread. And no tablet, however well it works, is a substitute for being examined when the warning signs are present.
Reviewed October 2026. This is general information and not advice for your own condition. Please see a doctor about your symptoms.
Taking an acid tablet without knowing why?
Dr. Gautham Krishnamurthy provides consultation for acidity, reflux, ulcers and other upper gastrointestinal problems at P&G Hospital, Chennai. Bring every tablet you are taking, including the ones bought without a prescription. For appointments, contact reception.