Skip to main content

Swallowing and chest pain

Oesophageal spasm: symptoms, causes and treatment

Oesophageal spasm is a swallowing-tube movement disorder in which waves of muscle contraction in the oesophagus (gullet) do not move food along normally. It can cause severe squeezing chest pain, trouble swallowing and reflux symptoms. The pain can mimic angina, so heart causes are checked first. Treatment ranges from reassurance and reflux treatment to medicines.

Last checked: 2026-10-18

Key facts

At a glance.

  • What it is

    Patient.info's UK clinical reference describes oesophageal spasm as a disorder of oesophageal motility: the normal waves of coordinated muscle contraction (peristalsis) do not progress normally.

  • Main symptoms

    Episodes of severe, crushing pain behind the breastbone, difficulty swallowing (dysphagia) and reflux symptoms such as heartburn and regurgitation.

  • Looks like angina

    Because the heart and oesophagus sit close together, oesophageal pain can be hard to tell from cardiac pain and is often first diagnosed as angina.

  • How common

    Patient.info gives the incidence of distal oesophageal spasm as 1 in 100,000 per year, rising with age.

  • Cause

    The precise cause is unknown. Possible factors include nerve abnormalities, visceral hypersensitivity, a defect in the nitric oxide pathway and reflux.

  • Outlook

    Patient.info says the prognosis is probably good: most patients improve over time and the condition is unlikely to progress to achalasia.

What is oesophageal spasm?

The oesophagus is the muscular tube that carries food and drink from the throat to the stomach. Normally it pushes food along with waves of coordinated muscle contraction called peristalsis. In oesophageal spasm those waves do not progress normally, so parts of the tube squeeze at the wrong time.

Older names were diffuse oesophageal spasm and nutcracker oesophagus. Patient.info explains that diffuse oesophageal spasm has been renamed distal oesophageal spasm, and nutcracker oesophagus has been replaced by the term hypercontractile oesophagus (sometimes called jackhammer oesophagus). The change followed the use of high-resolution manometry, a pressure-measuring test.

Either condition can be linked with gastro-oesophageal reflux, which can make symptoms worse.

What are the symptoms of oesophageal spasm?

Patient.info lists the main symptoms as chest pain, difficulty swallowing (dysphagia) and reflux-related symptoms, and says the condition may be diagnosed after investigation of non-cardiac chest pain or dysphagia.

  • Chest pain: episodes of severe, crushing pain behind the breastbone. It may be gripping, boring, pressing or stabbing, is usually felt in the front of the chest, throat or upper abdomen, and can spread to the neck, back or upper arms, as cardiac pain does.

  • Dysphagia: difficulty swallowing.

  • Reflux-related symptoms such as heartburn, regurgitation, cough and hoarseness.

Is it the heart or the oesophagus? Chest pain compared

Patient.info stresses that oesophageal and cardiac problems can exist together, and that a diagnosis of one does not exclude the other. For that reason a heart cause is considered first. The NHS chest pain page lists the red flags for a heart attack and how the common causes differ.

Common causes of chest pain (NHS chest pain page and Patient.info)
Possible causeHow it tends to feel
Angina or heart attackSqueezing or pressure, or burning or indigestion-type discomfort; may spread to the arm, neck, jaw, stomach or back; may come with sweating, sickness, light-headedness or breathlessness
Heartburn or indigestion (acid reflux)Starts after eating, with bringing up food or bitter fluid, feeling full and bloated; burning in the middle of the chest and a sour taste
Oesophageal spasmEpisodes of severe, crushing or gripping pain behind the breastbone, sometimes with trouble swallowing; can mimic angina
Anxiety or panic attackOften sharp, continuous pain triggered by worries, with a faster heartbeat, sweating and dizziness

When to get urgent help

The NHS says to call 999 if you get sudden pain or discomfort in your chest that does not go away (it can feel like squeezing or pressure, burning or indigestion), pain that spreads to your arm, neck, jaw, stomach or back, or chest pain with sweating, sickness, light-headedness or shortness of breath, because you could be having a heart attack. Do not assume new chest pain is oesophageal.

For swallowing problems, the NHS says to ask for an urgent GP appointment or get help from NHS 111 if you have difficulty swallowing, cough or choke while eating or drinking, feel something is stuck in your throat after eating, keep bringing food back up, are short of breath after eating or drinking, or get a lot of chest infections. Over time, the NHS says dysphagia can also cause weight loss, dehydration and repeated chest infections.

The NHS heartburn page adds that you should see a GP if heartburn is not helped by lifestyle changes and pharmacy medicines, happens most days, or comes with food getting stuck in the throat, frequent vomiting or unexplained weight loss.

What causes oesophageal spasm?

Patient.info says the precise cause is unknown. Factors that may be involved include a defect in the nitric oxide pathway, abnormalities of the nervous system, visceral hypersensitivity (the gut being over-sensitive to normal sensations), gastro-oesophageal reflux and thickening of the smooth muscle in the oesophageal wall.

Movement disorders of the upper gut have also been found alongside other conditions, including anxiety and depression, diabetes, alcohol-related nerve damage, amyloidosis and scleroderma. If the spasm is secondary to an underlying condition such as scleroderma, Patient.info says the outlook depends on how well that condition is controlled.

The NHS lists things that can bring on or worsen heartburn, which often overlaps with spasm: coffee, tomatoes, alcohol, chocolate, fatty or spicy foods, being overweight, smoking, stress and anxiety, and some medicines such as anti-inflammatory painkillers.

How is oesophageal spasm diagnosed?

Patient.info notes that any tests create anxiety, and that tests to rule out a cardiac cause will have been or will be done first. It then describes the usual investigations.

  • Upper gastrointestinal endoscopy (gastroscopy): no longer routinely recommended, but indicated in people with chest pain, dysphagia or reflux. The NHS describes it as a thin tube with a camera passed down your throat into your stomach.

  • Oesophageal manometry: a test that records pressure through the oesophagus. High-resolution manometry gives greater detail and is particularly helpful in people with dysphagia, distal oesophageal spasm and hypercontractile oesophagus.

  • Reflux testing: standard manometry is still useful for investigating gastro-oesophageal reflux, particularly when pH monitoring is needed.

How is oesophageal spasm treated?

Patient.info says there is a lack of both evidence and controlled trials in this area, so treatment is often a matter of trying options in turn. It sets out the following steps.

Treatment options described by Patient.info
ApproachWhat it involves
Reassurance and dietReassurance that this is not heart disease and that no significant progression occurs. Avoiding cold fluids and taking hot liquids with meals helps some patients.
Treating refluxA trial of a proton pump inhibitor to rule out gastro-oesophageal reflux has been suggested as a first step by some authors.
MedicinesNitrates; calcium-channel blockers such as nifedipine or diltiazem; antidepressants such as trazodone, imipramine or sertraline, which may act as visceral analgesics; sildenafil (relief in one small study); peppermint oil (low cost, few side effects, but more research needed); theophylline (some evidence in one trial).
Botulinum toxin injectionInjection at the gastro-oesophageal junction, with favourable results in two studies that lacked controls. Repeated injections may be needed.
SurgeryOesophageal dilatation or myotomy (cutting the muscle). Considered rather drastic by some clinicians; published results come from highly specialised centres.

What can I do myself?

There is no proven home cure for spasm itself. The NHS heartburn page gives measures that help reflux, which commonly coexists: eat smaller, more frequent meals, avoid foods and drinks that trigger symptoms, do not eat within 3 or 4 hours of bed, avoid tight clothing around the waist, stop smoking, cut down on alcohol, lose weight if overweight and find ways to relax. It also suggests raising the head of the bed by 10 to 20 cm using wood, bricks or books, rather than extra pillows.

A pharmacist can advise on antacids or alginates for heartburn, but the NHS says these help in the short term only and should not be taken regularly for long periods. Patient.info says avoiding cold fluids and taking hot liquids with meals helps some people with spasm.

Is oesophageal spasm serious, and will it go away?

Patient.info says the prognosis is probably good: the limited evidence so far suggests most patients improve over time, and distal oesophageal spasm and hypercontractile oesophagus are unlikely to progress to the more severe condition of achalasia. Because the pain is frightening and resembles a heart attack, reassurance after a proper check is an important part of treatment.

NHS and private pathways in general terms

On the NHS the first step is usually a GP, who rules out a heart cause and may start a reflux trial. If symptoms persist or you have swallowing problems, the NHS says the GP may refer you to a specialist for tests such as a gastroscopy, and possibly a speech and language therapist or dietitian if swallowing is affected. Manometry is a specialist test usually done in hospital gastroenterology or motility services.

Some people arrange a gastroscopy or manometry privately to shorten waiting times. The tests are the same in either setting, and any result should be shared with your GP. Do not delay emergency help for new chest pain while arranging tests.

Frequently asked

Questions people ask.

Quick, plain-English answers to the questions we hear most.

  • What does oesophageal spasm feel like?

    Patient.info describes episodes of severe, crushing pain behind the breastbone that may be gripping, boring, pressing or stabbing. It can spread to the neck, back or upper arms, so it can feel like angina, and it may come with difficulty swallowing.

  • How do I know if it is oesophageal spasm or a heart attack?

    You cannot tell from the pain alone. The NHS says to call 999 for sudden chest pain that does not go away, pain spreading to the arm, neck or jaw, or chest pain with sweating, sickness or breathlessness. Heart causes are checked first.

  • What causes oesophageal spasm?

    The cause is unknown, according to Patient.info. Possible factors are nerve abnormalities, visceral hypersensitivity, a defect in the nitric oxide pathway, reflux and thickened smooth muscle in the oesophageal wall.

  • How long does an oesophageal spasm last?

    The sources used here do not give a duration for an episode. Patient.info describes episodes of pain and says most people improve over time. Get urgent advice for any chest pain that does not go away.

  • How is oesophageal spasm diagnosed?

    Patient.info says heart causes are ruled out first. Gastroscopy may follow for chest pain, swallowing difficulty or reflux, and oesophageal manometry (pressure measurement) is particularly helpful for diagnosing spasm.

  • Can oesophageal spasm be cured?

    There is no single cure, but Patient.info says the prognosis is probably good and most people improve over time. Treatment aims to control symptoms, from reassurance and reflux treatment to medicines, injections or, rarely, surgery.

  • What medicines are used?

    Patient.info lists a proton pump inhibitor trial for reflux, nitrates, calcium-channel blockers such as nifedipine or diltiazem, antidepressants such as imipramine or sertraline, sildenafil and peppermint oil. It notes that evidence from controlled trials is lacking.

  • Will it turn into achalasia?

    Patient.info says distal oesophageal spasm and hypercontractile oesophagus are unlikely to progress to the more severe condition of achalasia.

  • Do hot or cold drinks matter?

    Patient.info says avoiding cold fluids and taking hot liquids with meals helps some patients. Triggers differ between people, so it is worth noting what brings episodes on.

  • When should I see a GP about swallowing problems?

    The NHS says to ask for an urgent GP appointment or call NHS 111 if you have difficulty swallowing, choke or cough when eating, feel food is stuck, keep bringing food back up or are short of breath after eating.

Where this comes from

Sources and checking.

This guide is for information, not medical advice.

Your GP or consultant knows your history and can tell you which parts apply to you. If your symptoms are severe, rapidly worsening, or come with red-flag features, seek urgent medical care. Figures and availability change, so treat them as a guide and confirm with the provider.

Published 2026-10-18, next review 2027-10-18.