General information only. It does not replace advice from a health professional. Do not change or stop your medicines without advice. For vomiting blood, black stools, severe abdominal pain or jaundice with fever, call emergency services.

What they are and how they differ from PPIs
Heartburn and acid indigestion occur when stomach acid comes into contact with the oesophagus, as in gastro-oesophageal reflux disease (GORD), or irritates the stomach. There are four ways of acting on acid:
| Family | How it works | Starts working | Lasts | Example of use |
|---|---|---|---|---|
| Antacids | Chemically neutralise acid | 1-5 minutes | 30-60 min on an empty stomach; up to 2-3 h after food | Occasional heartburn |
| Alginates | Form a floating barrier on top of stomach contents | 5-15 minutes | Up to about 4 hours | Reflux after meals, pregnancy |
| H2 blockers (famotidine) | Block histamine's signal to the parietal cell | About 1 hour | 8-12 hours | Preventing predictable heartburn, night-time symptoms |
| PPIs (omeprazole and others) | Block the proton pump | Hours; maximum at 3-5 days | 24 hours or more | Frequent GORD, oesophagitis, ulcer |
Antacids and alginates do not heal oesophagitis or ulcers: they relieve the symptom. PPIs are needed to heal the damage. In exchange, they are fast, are used only when needed and, chosen well, are very safe.
Antacids
Active ingredients
| Active ingredient | Features | Key cautions |
|---|---|---|
| Almagate and magaldrate | Combine aluminium and magnesium in one compound; widely used in Spain | Severe kidney failure |
| Aluminium hydroxide | Tends to cause constipation; binds phosphate | Accumulates in kidney failure; can lower phosphate with prolonged use |
| Magnesium hydroxide | Tends to cause diarrhoea (it is also a laxative) | Can raise magnesium in kidney failure |
| Aluminium + magnesium combinations | Balance constipation and diarrhoea | Kidney failure |
| Calcium carbonate | Strong and fast; provides calcium | Acid rebound; at high doses with milk, "milk-alkali syndrome" (high calcium, kidney damage) |
| Sodium bicarbonate | Very fast, produces gas (belching) | High in salt: avoid in high blood pressure, heart or kidney failure and pregnancy; not for regular use |
Some products add simeticone, which helps release gas, although its benefit for bloating is modest.
How to take them
- When heartburn appears, or on a schedule 1 hour after meals and at bedtime, when reflux is most common. Taken on a full stomach, their effect lasts longer.
- Tablets chewed, or as a liquid; liquids act a little faster.
- Not as continuous treatment: if you need them almost daily, see a doctor.
Alginates
Sodium alginate, extracted from seaweed, reacts with stomach acid to form a gel that floats on top of food, like a raft. The raft settles in the "acid pocket" that forms after meals just below the oesophagus and acts as a mechanical barrier: when reflux happens, mostly gel rises, not acid. They are usually combined with bicarbonate (so the gel floats) and calcium carbonate.
- They are particularly useful for heartburn and regurgitation after meals and in hiatus hernia.
- Several meta-analyses show they relieve symptoms better than placebo and plain antacids, and they are used as an add-on when a PPI does not fully control symptoms after meals.
- In pregnancy, together with positional measures, they are the first-line treatment for heartburn (see the digestive system and pregnancy), because they act locally and are barely absorbed.
- Take them after meals and at bedtime, without eating or drinking straight afterwards so as not to break the raft.
- They contain sodium (sometimes more than 100 mg per dose): ask if you are on a strict low-salt diet.
Mucosal protectants
- Sucralfate: forms a protective film over ulcers. Rarely used today; it contains aluminium, is taken on an empty stomach and reduces the absorption of many medicines (keep 2 hours apart).
- Bismuth salts: part of bismuth quadruple therapy to eradicate Helicobacter pylori (eradication guide). They darken the stools and tongue, a harmless effect that should not be confused with the black stools of bleeding: bismuth stools are not sticky or foul-smelling and do not come with dizziness.
H2 blockers
Histamine is one of the signals that "switch on" acid production. Histamine H2-receptor antagonists (H2 blockers) block that signal and reduce acid, especially at night, for 8-12 hours.
- Famotidine: the reference H2 blocker (20-40 mg, once or twice a day depending on the indication). The dose must be reduced if kidney function is impaired.
- Cimetidine: the first of the family; hardly used because of its interactions (warfarin, phenytoin, theophylline and others) and anti-androgenic effects (breast enlargement in men).
- Ranitidine: for decades one of the best-selling medicines in the world. In 2019 N-nitrosodimethylamine (NDMA), an impurity that is probably carcinogenic, was found in it, and in April 2020 the EMA recommended suspending all ranitidine medicines in the European Union; the FDA requested its withdrawal the same month. If you still have some at home, return it to a pharmacy for safe disposal.
When they are used
- Predictable heartburn: taken 30-60 minutes before a large meal or bedtime.
- Night-time symptoms in people with GORD already taking a morning PPI: a dose at bedtime, preferably intermittently, because they lose effect (tolerance or tachyphylaxis) after about two weeks of continuous use.
- Stopping a PPI: as an intermediate "step" taken on demand.
- Dyspepsia: an alternative to PPIs in some cases, according to the dyspepsia guide and the Rome V criteria (2026).
- Outside the gut: chronic urticaria and prevention of allergic reactions, together with H1 antihistamines.
Side effects
Uncommon: headache, dizziness, diarrhoea or constipation. In older people or those with kidney failure they can cause confusion, which disappears when they are stopped.
Interactions: the 2-hour rule
Antacids (because of aluminium, magnesium and calcium) bind many medicines in the gut and reduce their absorption. As a rule, keep them at least 2 hours apart (sometimes 4 hours) from:
| Medicine | What happens |
|---|---|
| Quinolone antibiotics (ciprofloxacin, levofloxacin) and tetracyclines (doxycycline) | They may lose much of their effectiveness |
| Levothyroxine | Poorer thyroid control |
| Oral iron | Reduced absorption |
| Bisphosphonates (alendronate) | Reduced absorption; already taken alone and fasting |
| Integrase-inhibitor antiretrovirals (dolutegravir, raltegravir…) | Reduced effectiveness; follow the specific instructions |
| Digoxin, mycophenolate, some antifungals | Altered absorption |
H2 blockers and PPIs, by lowering acidity, also reduce the absorption of medicines that need acid (ketoconazole, itraconazole, atazanavir, some oral cancer drugs). Ask your pharmacist.
Pregnancy, breastfeeding, children and kidney disease
- Pregnancy: alginates and calcium- or magnesium-containing antacids at usual doses are preferred; avoid sodium bicarbonate and prolonged high-dose aluminium. If not enough, famotidine or omeprazole on medical advice.
- Breastfeeding: antacids and alginates are compatible; little famotidine passes into breast milk.
- Children: aluminium-containing antacids should not be given to infants. In infants with reflux who are markedly distressed, NICE allows a short trial of an alginate, always on the advice of a paediatrician or GP.
- Chronic kidney disease: avoid continued use of aluminium and magnesium and adjust the famotidine dose.
Warning signs
Warning signs: see a doctor promptly if heartburn comes with difficulty swallowing, unintentional weight loss, persistent vomiting, anaemia, black stools or blood, if it starts after the age of 55, or if you need antacids almost every day for more than 2-4 weeks. If you vomit blood or dark "coffee-ground" material, or have black stools with dizziness, call 112 in Europe, or your local emergency number (999 in the UK). Chest pain mistaken for heartburn can be a heart problem: if it is crushing, spreads to the arm or jaw, or comes with sweating, it is also an emergency.
Frequently asked questions
Can I take an antacid and omeprazole together? Yes: the antacid for immediate relief and the PPI as the underlying treatment. Keep the antacid apart from sensitive medicines.
Does bicarbonate of soda from the kitchen work? It gives relief, but contains a lot of salt and can upset the body's acid-base balance if taken often. It is not a good habit.
Do antacids damage the stomach over time? They do not damage the lining, but daily, prolonged use can alter magnesium, calcium or phosphate levels and, above all, can delay the diagnosis of something that needs investigating.
What about heartburn after Christmas meals? Moderate portions, less alcohol and fat, do not lie down for 2-3 hours and, if it appears, take an antacid or alginate. See coffee, spicy food, milk and the stomach.
What if the heartburn does not improve with anything? The diagnosis needs confirming: the GORD guide explains when a gastroscopy or pH monitoring is requested.
Sources
- Gyawali CP, Yadlapati R, Fass R, et al. Updates to the modern diagnosis of GERD: Lyon consensus 2.0. Gut. 2024;73(2):361-371. doi:10.1136/gutjnl-2023-330616
- Chey WD, Howden CW, Moss SF, et al. ACG Clinical Guideline: Treatment of Helicobacter pylori infection. Am J Gastroenterol. 2024;119(9):1730-1753. doi:10.14309/ajg.0000000000002968
- Rome Foundation. Rome V criteria for disorders of gut-brain interaction (including gastroduodenal disorders). Gastroenterology. 2026.
- Katz PO, Dunbar KB, Schnoll-Sussman FH, et al. ACG Clinical Guideline for the diagnosis and management of gastroesophageal reflux disease. Am J Gastroenterol. 2022;117(1):27-56. doi:10.14309/ajg.0000000000001538
- Leiman DA, Riff BP, Morgan S, et al. Alginate therapy is effective treatment for GERD symptoms: a systematic review and meta-analysis. Dis Esophagus. 2017;30(5):1-9. doi:10.1093/dote/dow020
- National Institute for Health and Care Excellence. Gastro-oesophageal reflux disease and dyspepsia in adults: investigation and management (CG184). Updated 2019.
- European Medicines Agency. Suspension of ranitidine medicines in the EU. 2020.
- Agencia Española de Medicamentos y Productos Sanitarios. CIMA: summaries of product characteristics for almagate, magaldrate, sodium alginate and famotidine. Accessed November 2026.
Sources reviewed and updated in November 2026.
Medicines · Farmacos.ai
Drug information pages
What each medicine is for, how to take it, side effects and interactions, based on the official product information, on Farmacos.ai.