How to Get Rid of Heartburn: Fast Relief and Longer-Term Prevention
- GPhC registered UK pharmacy, registration number 9012878
- Pharmacy team advice on heartburn medicines and interactions
- Online consultation with UK registered prescribers for persistent symptoms
- Medically supervised weight management, a recognised way to reduce reflux
The fastest way to get rid of heartburn is to stay upright and take an antacid or an alginate, which start working within minutes. Nothing stops heartburn instantly, but most episodes ease within a quarter of an hour with those two steps. To help stop it coming back, the measures with the strongest support are losing excess weight, stopping smoking, avoiding your own trigger foods, eating your main meal well before bed and raising the head of the bed.
For UK men aged 18 and over dealing with occasional heartburn after meals or recurrent symptoms that keep coming back, this guide from the EveryDayMeds pharmacy team explains what tends to work fast, which medicines are used and how effective they are, which natural and lifestyle steps can help prevent flare-ups, and when you should speak to a pharmacist or GP. It also covers situations that need extra care, including heartburn in pregnancy and the link between reflux and weight.
Heartburn is common, but repeated symptoms can disrupt sleep and daily life and may sometimes point to a more serious condition. That is why this guide uses NICE and MHRA guidance to explain when heartburn needs a GP and when chest pain needs a 999 call.
How do you get rid of heartburn fast?
You get rid of heartburn fast by keeping acid down with gravity and neutralising or blocking it with a fast acting medicine. Work through these steps when an episode starts:
- Stand or sit upright. Do not lie down or bend over. Gravity helps keep stomach contents where they belong.
- Loosen anything tight around your waist. Belts and tight waistbands push stomach contents upwards.
- Take an antacid or an alginate, following the pack instructions. Antacids neutralise acid that is already there. Alginates form a floating layer on top of the stomach contents that helps stop acid rising.
- Sip water. Small sips help wash acid back down the gullet. Avoid fizzy drinks, which increase pressure in the stomach.
- Stop eating for now. A fuller stomach refluxes more.
- If it is night time, prop yourself up. Raise your head and chest together, not just your head.
Key things to know
- Heartburn is a burning sensation behind the breastbone caused by stomach acid rising into the gullet. It is the main symptom of acid reflux, and recognising heartburn symptoms can help you judge when to seek advice.
- Antacids and alginates act within minutes but wear off in a few hours. Proton pump inhibitors (PPIs) are stronger but take one to three days to reach full effect, so they are not a quick fix.
- NICE guidance recommends healthy eating, weight reduction and stopping smoking, and avoiding known triggers such as alcohol, coffee, chocolate, fatty foods, spicy foods and tomatoes. Alcohol can worsen heartburn symptoms significantly.
- NICE also says raising the head of the bed and avoiding food within 2–3 hours before bedtime may help some people avoid acid reflux.
- Medicines bought without a prescription are for short term use. Heartburn that needs treatment for more than two weeks should be discussed with a pharmacist or GP.
- Difficulty swallowing, unintended weight loss, vomiting blood or black stools need prompt medical attention.
- Chest pain that spreads to the arm, neck or jaw, or comes with sweating or breathlessness, is a 999 call.

What is heartburn, and why does it happen?
Heartburn happens when acid from the stomach escapes upwards into the oesophagus, the tube that carries food from the mouth to the stomach. The lower esophageal sphincter is a ring of muscle at the bottom of the oesophagus that normally acts as a one way valve. Acid reflux occurs when it relaxes at the wrong time or when pressure in the stomach is high, letting acid get past it. The stomach lining is built to cope with acid. The lining of the oesophagus is not, so it burns.
Four terms are often mixed up:
- Heartburn is the burning symptom and one of the main symptoms of reflux.
- Acid reflux is the event that causes it, while acid reflux disease is the medical diagnosis used when symptoms are frequent and persistent.
- Gastro-oesophageal reflux disease (GORD), also called gastroesophageal reflux disease, is a chronic condition in which reflux happens often enough to cause troublesome symptoms or damage.
- Indigestion, or dyspepsia, is a wider term for upper abdominal discomfort, which may include heartburn, bloating, nausea and feeling full quickly.
Is it heartburn or a heart problem?
Heartburn and heart pain can feel alike, and the safe rule is simple: if you are not sure, treat it as your heart. The table shows typical patterns, but they overlap and no list is reliable enough to rule out a heart attack at home.
| More typical of heartburn | Call 999 if you have any of these |
|---|---|
| Burning that rises from the stomach towards the throat | Pain, pressure or tightness in the chest that does not settle |
| A sour or bitter taste in the mouth | Pain spreading to the arm, neck, jaw or back |
| Worse after meals, when bending or when lying down | Sweating, nausea, breathlessness or light headedness |
| Eases with an antacid within minutes | Chest pain brought on by exertion |
Which medicines relieve heartburn, and how fast do they work?
Four groups of medicine treat heartburn, and they differ mainly in speed and staying power. Some over the counter treatments can effectively manage mild, occasional symptoms and help reduce heartburn before stronger options are considered. The table describes how each works and does not rank them. Always read the patient information leaflet, and ask a pharmacist which suits you.
| Type | How it works | How quickly it acts | How long it lasts | Points to check |
|---|---|---|---|---|
| Antacids | Neutralise acid already in the stomach | Within minutes | A few hours at most | Common over the counter medications for occasional symptoms. Can stop other medicines being absorbed. Some are high in sodium. |
| Alginates | Form a floating raft on the stomach contents | Within minutes | Up to a few hours, longer after meals | Often combined with an antacid. Check sodium content. |
| H2 receptor antagonists, such as famotidine | Reduce acid production | Within about an hour | Several hours | Mainly supplied on prescription in the UK. Ranitidine products have been unavailable since recalls that began in 2019. |
| Proton pump inhibitors, such as omeprazole, esomeprazole and pantoprazole | Switch off most of the stomach's acid pumps | One to three days for full effect | Around 24 hours per dose | Short courses only without medical advice. |
Can you get rid of heartburn instantly?
No. Nothing works instantly, and any product that claims to should be treated with suspicion. Antacids and alginates are the quickest option for heartburn relief and usually ease symptoms within minutes. Staying upright helps in the meantime.
Why is a PPI not a fast fix?
A PPI is not a fast fix because it only blocks acid pumps that are active, and it takes a few days of regular use to switch most of them off. PPIs suit people with frequent heartburn, not a single episode. Non-prescription PPIs are licensed for short courses in men aged 18 and over, and their leaflets say to see a doctor if symptoms have not improved within 14 days. Do not take more than the leaflet states, and never double up after a missed dose.
What should you check before taking a heartburn medicine?
- Other medicines. Antacids can reduce the absorption of some antibiotics, iron, thyroid medicines and others. Leaflets usually advise leaving a gap of about two hours.
- Salt. Some antacids and alginates contain a lot of sodium. This matters if you have heart failure, high blood pressure or kidney disease.
- Kidney disease. Products containing aluminium or magnesium may not be suitable.
- Pregnancy. See the section below, and ask a pharmacist first.
- How often you need them. Reaching for an antacid most days means the cause needs attention, not just the symptom. Frequent use of over the counter antacids should prompt a review rather than self-treatment alone.
How do you stop heartburn naturally?
You stop heartburn naturally by reducing the things that push acid upwards and relax the valve, and these natural remedies can help reduce acid reflux and prevent acid from rising. The measures below are the ones NICE guidance recommends, so "natural" here does not mean unproven.
- Find and avoid your own triggers. Certain foods and specific foods can bring on symptoms, and keeping a food diary can help identify your personal triggers. NICE lists smoking, alcohol, chocolate and fatty foods as known precipitants, and acidic foods such as tomato-based sauces and citrus fruits can also be a problem. Coffee can trigger heartburn because of its acidity. Triggers vary, so avoid trigger foods you personally notice instead of cutting out everything.
- Eat smaller meals, and eat your main meal well before bed. This can lower pressure on the stomach and help if peppermint worsens symptoms by relaxing the stomach.
- Lose excess weight. Maintaining a healthy weight can ease pressure around the middle and support symptom control.
- Stop smoking. Nicotine relaxes the valve at the bottom of the oesophagus.
- Raise the head of the bed. Blocks under the legs at the head end work. Extra pillows do not, because they bend you at the waist.
- Wear looser clothing around the waist. This helps avoid pressure at the waist.
Which home remedies work, and which do not?
Most popular home remedies have little evidence behind them, and a few can make things worse.
| Remedy | What is known | Sensible view |
|---|---|---|
| Sipping water | Helps clear acid from the oesophagus | Reasonable and harmless |
| Milk | skim milk or other low-fat milk may briefly buffer stomach acid, but milk is not a reliable treatment | May soothe briefly, but not reliable |
| Bicarbonate of soda in water | baking soda is an antacid, and baking soda mixed with water can neutralize stomach acid quickly, but it is very high in sodium and it produces gas | Use a licensed antacid instead |
| Apple cider vinegar | No good evidence. It is acidic and can damage tooth enamel | Not recommended |
| Peppermint tea | Peppermint may aid digestion for some symptoms, but it can relax the valve at the bottom of the oesophagus and make heartburn worse | May make reflux worse |
| Chewing sugar free gum after meals | chewing gum, ideally sugar-free, can stimulate saliva production; chewing for 30 minutes after meals may lower acid levels in the oesophagus | Harmless to try. Avoid mint flavours |
| Ginger | Traditionally used for nausea. Evidence for heartburn is limited | Harmless in food amounts |
| Banana | A ripe banana is gentle on the digestive system and may help some people feel relief relatively quickly | Reasonable to try |
| Aloe vera juice | Food-grade aloe vera or aloe vera juice may calm irritation in the oesophagus and reduce stomach acid, but evidence is limited | Only consider food-grade products; evidence is limited |
How do you stop heartburn at night?
You stop night time heartburn by going to bed with an emptier stomach and a raised upper body, which can help stop symptoms worse overnight and help avoid acid reflux while sleeping. Night reflux tends to be more damaging than daytime reflux, because you swallow less when asleep and acid stays in contact with the oesophagus for longer.
- Finish your main meal well before bedtime, and avoid late snacks and alcohol.
- Raise the head of your bed by around 10 to 20 cm, or use a wedge that lifts the whole upper body, which helps prevent acid from rising at night.
- Some people find that sleeping on the left side can reduce acid reflux episodes.
- Keep an antacid or alginate by the bed, and sit up to take it.
- If night symptoms happen more than once or twice a week, speak to a pharmacist or GP.
How do you prevent heartburn in the longer term?
Longer term prevention means finding your pattern, changing what you can and having your medicines checked. A simple plan works for most people:
- Keep a diary for two weeks. Note meals, drinks, timing, posture and symptoms. Patterns usually appear quickly.
- Change the biggest trigger first. For many people this is late eating, large portions or alcohol.
- Tackle weight and smoking. These two have the most consistent support in NICE guidance.
- Ask for a medicines review. Several common medicines can cause or worsen heartburn.
- Use medicines to cover flare ups, not to cover up a daily problem.
- Review progress after a month. If heartburn is still frequent, see your GP.
How does weight affect heartburn?
Excess weight, particularly around the waist, increases pressure inside the abdomen and pushes stomach contents towards the oesophagus. NICE names being overweight as a precipitant and recommends weight reduction as part of managing reflux symptoms. For men aged 18 and over living with obesity, medically supervised weight loss treatment is one option, subject to an individual clinical assessment.
Can weight loss injections cause heartburn?
Yes, they can. Medicines such as semaglutide and tirzepatide slow the rate at which the stomach empties. Their product information lists indigestion, reflux and belching among the common side effects, particularly when treatment starts or the dose changes. Smaller meals, slower eating and avoiding fatty foods usually help. Tell your prescriber if symptoms are troublesome, and do not start a heartburn medicine long term without mentioning it.
Which medicines can trigger heartburn?
NICE guidance advises reviewing medicines that can cause indigestion symptoms. These include calcium channel blockers, nitrates, theophyllines, bisphosphonates, corticosteroids and non-steroidal anti-inflammatory drugs such as ibuprofen. Do not stop a prescribed medicine yourself. Ask your GP or pharmacist whether an alternative, a different timing or a protective medicine is appropriate.
How is heartburn treated in pregnancy?
Heartburn in pregnancy is very common, especially for those experiencing heartburn during pregnancy, and is treated first with changes to eating and posture. Hormones relax the valve at the bottom of the oesophagus, and the growing baby adds pressure from below. NICE guidance on antenatal care advises giving information about lifestyle and diet changes, and says a trial of an antacid or alginate can be considered. Check with a pharmacist or midwife before taking any medicine, because not every product is suitable in pregnancy.
When should you see a pharmacist or GP about heartburn?
See a pharmacist early, and a GP or other healthcare provider if heartburn keeps returning. NICE guidance says community pharmacists should offer initial and ongoing help for people with persistent acid reflux symptoms, including advice on lifestyle changes, non-prescription medicines and when to consult a GP.
See your GP if:
- Heartburn happens most days, or has lasted more than a few weeks.
- You need non-prescription medicines regularly to control it.
- Symptoms return as soon as a short course of treatment ends.
- You are 55 or over and the symptoms are new.
- You have severe heartburn or symptoms are becoming more frequent.
What might a GP do?
A primary care doctor or GP may start the initial assessment and offer a course of a PPI. NICE guidance recommends a full dose PPI for four or eight weeks for people with GORD, followed by the lowest dose that controls symptoms if they return. A GP may also test for Helicobacter pylori, a stomach infection linked with ulcers, and review your other medicines. Your prescriber will determine the appropriate treatment.
Are PPIs safe to take long term?
PPIs are widely used and generally well tolerated, but long term use should be reviewed. The MHRA has advised that prolonged PPI treatment has been linked with low magnesium levels, mostly after a year or more of use, and with a small increase in fracture risk. NICE guidance recommends an annual review for people on long term treatment, with encouragement to step down or stop where appropriate. This is a reason for review, not a reason to stop a prescribed PPI on your own.
What are the red flags with heartburn?
Some symptoms need prompt or urgent attention, and no home remedy should delay them. Persistent untreated reflux can sometimes point to or lead to more serious disease, including even esophageal cancer.
- Chest pain with sweating, breathlessness, nausea, or pain spreading to the arm, neck or jaw: call 999.
- Vomiting blood, vomit that looks like coffee grounds, or black, tarry stools: call 999 or go to A&E.
- Difficulty swallowing, trouble swallowing, or food sticking: see your GP urgently. NICE guidance recommends an urgent endoscopy, within two weeks, for people with difficulty swallowing.
- Aged 55 or over with unintended weight loss and reflux, indigestion or upper abdominal pain: see your GP urgently. NICE recommends the same urgent investigation.
- Persistent vomiting, a lump in the upper abdomen, or unexplained tiredness that could suggest anaemia: see your GP promptly.
How can EveryDayMeds help with heartburn?
Start with a conversation. Our pharmacy team can help you choose between an antacid, an alginate and a short PPI course, and can check for clashes with your other medicines, which is the step people most often miss. EveryDayMeds is a GPhC registered UK pharmacy, registration number 9012878.
If heartburn keeps returning, an online consultation with UK registered prescribers can assess whether prescription treatment is appropriate, or whether you need to see your GP for tests. If weight is part of the picture, our weight management clinic offers medically supervised treatment with clinical assessment before supply. Results vary between individuals.
Medical Disclaimer
This article is for general information only and does not replace advice from a doctor, pharmacist or other qualified healthcare professional. It is not a diagnosis. Always read the patient information leaflet supplied with any medicine. If you have chest pain and are unsure of the cause, call 999.









