What Is a Barium Esophagram and Why Is It Done?

A barium esophagram is an imaging test that uses X-rays and a chalky liquid contrast drink to produce detailed pictures of your esophagus, the muscular tube that carries food from your throat to your stomach. You may also hear it called a barium swallow. The test helps identify structural problems, blockages, and movement disorders in the esophagus that other tests can miss.

How It Differs From an Upper GI Series

The terms can be confusing because both tests involve swallowing barium and standing in front of an X-ray machine. The key difference is scope. An esophagram focuses specifically on the esophagus. An upper GI series goes further, examining the esophagus plus the stomach and the first part of the small intestine (the duodenum). Your doctor orders one or the other depending on where your symptoms point.

Why Doctors Order This Test

A barium esophagram is typically ordered when you’re having trouble swallowing, feeling food get stuck, or experiencing unexplained chest pain that doesn’t seem heart-related. The barium coats the lining of your esophagus and shows up bright white on X-ray, making it possible to see the shape, size, and movement of the esophagus in real time. This lets the radiologist spot problems that a standard X-ray would never reveal.

Conditions It Can Detect

The test is useful for diagnosing a wide range of esophageal problems:

  • Strictures or narrowing: scar tissue or inflammation that makes the esophagus too narrow for food to pass easily
  • Hiatal hernia: when part of the stomach pushes up through the diaphragm into the chest cavity
  • Achalasia: a condition where the muscle at the bottom of the esophagus doesn’t relax properly, trapping food
  • Esophageal spasms: abnormal contractions that cause pain and difficulty swallowing
  • Esophageal cancer or polyps: growths or masses along the esophageal wall
  • Diverticula: small pouches that bulge outward from the esophageal wall
  • Esophageal webs: thin membranes of tissue that partially block the opening
  • Ulcers: sores in the esophageal lining, often from acid reflux

Because the test captures the esophagus in motion as you swallow, it’s particularly good at identifying problems with how the esophagus contracts and moves food downward. Static imaging tests can’t provide that information.

How to Prepare

Preparation is straightforward. You’ll be asked to fast, meaning no food or drink, starting at midnight the night before. You should also avoid anything that could coat your throat on the morning of the test, including smoking, chewing gum, and sucking on hard candy. If you take medications regularly, let your doctor know ahead of time. Some may need to be paused, but don’t stop anything on your own without being told to.

What Happens During the Test

You’ll be asked to drink a thick, chalky liquid containing barium sulfate. Most people describe the taste as mildly unpleasant, like liquid chalk, though some versions are flavored. As you swallow, a radiologist watches your esophagus on a fluoroscope, which is essentially a real-time X-ray video screen. You’ll be asked to swallow multiple times and may need to stand in different positions so the radiologist can view the esophagus from several angles.

The entire process generally takes about 30 minutes or less. It’s painless, though drinking the barium can feel uncomfortable, and holding certain positions while swallowing takes some coordination. There’s no sedation involved, and you can drive yourself home afterward.

After the Test

You can typically eat and resume normal activities right away. The most common side effects are mild: constipation, diarrhea, or stomach cramping as the barium works its way through your system. Your stools will likely look white or light-colored for a day or two as the barium passes. Drinking extra fluids helps move the barium through your digestive tract more quickly and reduces the chance of constipation.

Serious reactions are rare but can include severe constipation that doesn’t resolve, significant stomach pain, nausea, or signs of an allergic reaction like hives, skin rash, or difficulty breathing. These warrant immediate medical attention.

Who Should Not Have This Test

A barium esophagram is contraindicated in two main situations: pregnancy and known or suspected perforation (a tear or hole) in the esophagus or intestines. Radiation exposure during pregnancy carries risks for the developing baby, and if barium leaks through a tear into the surrounding chest tissue, it can cause serious inflammation and is difficult to clean out surgically.

People with severe swallowing problems that make aspiration likely (where liquid goes into the lungs instead of the stomach) are also generally not good candidates. Barium in the lungs can cause a type of lung inflammation. Similarly, anyone with a complete intestinal blockage or severe constipation should avoid the test, since the barium could worsen the obstruction.

When a perforation is suspected but not confirmed, doctors sometimes use a water-soluble contrast agent first instead of barium. This alternative produces less detailed images but is safer if contrast leaks outside the esophagus because it’s easier to wash out during surgery. If that initial test comes back negative but suspicion remains high, a barium study may follow for its superior sensitivity in catching small tears.