A barium swallow is an X-ray test that shows your throat and esophagus (food pipe) while you swallow a thick, chalky drink called barium. An upper GI series uses the same drink to look further down, at the stomach and the first part of the small intestine. Both tests are painless, take less than an hour in most cases, and you can go home right after.
Key points
- Barium coats the inside of the gut so it shows up clearly on X-rays.
- The tests help find causes of trouble swallowing, heartburn, belly pain and vomiting.
- You’ll usually need to skip food and drink for several hours before.
- The drink tastes chalky and a bit like a thin, flavored milkshake.
- Your stool may look white or pale for a day or two. Drink extra water to avoid constipation.
Barium swallow vs. upper GI series
Both are fluoroscopy tests, which means the X-ray machine makes a live video as the barium moves. The difference is how far down the radiologist looks.
- Barium swallow (also called an esophagram) looks at the throat and esophagus. It shows how you swallow and how food moves down to the stomach.
- Upper GI series covers the esophagus, the stomach and the duodenum, the first part of the small intestine. “GI” stands for gastrointestinal.
- Small bowel follow-through is sometimes added. The radiologist takes pictures every so often as the barium travels through the rest of the small intestine.
Many hospitals do a barium swallow and an upper GI series in one visit.
Why a barium swallow is done
Your doctor may order one of these tests if you have:
- Trouble swallowing, or food that feels stuck in your chest
- Pain when swallowing
- Heartburn or acid reflux that doesn’t get better
- Belly pain, bloating or vomiting without a clear cause
- Unexplained weight loss
The pictures can show:
- A narrowed esophagus (stricture), or a thin ring or web of tissue
- A hiatal hernia, where part of the stomach pushes up into the chest
- Reflux of barium from the stomach back into the esophagus
- Pouches in the wall of the throat or esophagus (diverticula)
- Achalasia and other problems with the muscles that push food down
- Ulcers, growths or a blockage
- How well a surgery on the esophagus or stomach has healed
An upper endoscopy, where a doctor looks inside with a thin camera, is often used instead when a sample of tissue (biopsy) is needed. The barium test is better at showing the shape of the gut and how it moves.
Getting ready for a barium swallow
- Fasting. You’ll usually be asked not to eat or drink for about 6 to 8 hours before, often from midnight. An empty stomach gives clearer pictures.
- Medicines. Ask which of your usual medicines to take with a small sip of water. If you have diabetes, ask how to adjust your insulin or pills while fasting.
- No smoking or gum on the morning of the test. Both make the stomach produce more fluid.
- Tell the staff if you are or could be pregnant, have trouble swallowing liquids, or had a reaction to contrast before.
- Wear clothes without metal. You may change into a gown and take off jewelry.
During the test
You’ll stand or lie on a table that can tilt. A radiologist or technologist hands you a cup of barium and asks you to swallow while the X-ray camera moves over your chest and belly. The barium is often thicker than milk and may be flavored, such as vanilla or berry.
For an upper GI series, you may also swallow fizzy crystals that make gas and open up the stomach. You’ll be asked to hold in any burps for a short time. The staff will ask you to turn onto your side, back and front so the barium coats every surface. They may press gently on your belly.
A barium swallow or upper GI series usually takes 15 to 30 minutes. A small bowel follow-through can add one to several hours, mostly spent waiting between pictures.
Afterward
- You can usually eat, drink and take your normal medicines right away.
- Drink plenty of water for a day or two to help flush out the barium.
- Your stool will be white, gray or pale for 1 to 3 days.
- Barium can cause constipation. Your doctor may suggest a mild laxative.
Possible risks
The test uses a small dose of radiation, similar to what most people get from natural background sources over a few months to two years. Problems are uncommon, but include:
- Constipation, or rarely a hard mass of barium blocking the bowel
- Barium going into the windpipe (aspiration) in people with swallowing problems
- A rare allergic reaction
If a leak or tear in the gut is suspected, a water-based contrast is used instead of barium.
Your results
A radiologist reviews the pictures and sends a report to your doctor, usually within a day or two. A normal result means the barium flowed smoothly, the lining looked even, and the muscles moved food along as they should. An abnormal result might show a narrowing, a hernia, reflux, an ulcer or a growth. Your doctor may then suggest an endoscopy to look more closely or take a biopsy.
When to call your doctor
- No bowel movement for 2 or 3 days after the test
- Belly pain, swelling or very hard stools
- Vomiting or fever
- Coughing or trouble breathing after the test
Common questions about barium swallow tests
What does barium taste like?
Most people say barium tastes chalky and thick, like a slightly sweet milkshake made with chalk. Many clinics add flavors such as vanilla, lemon or berry. Drinking it quickly with a straw, when allowed, helps, and the taste fades soon after you rinse your mouth.
What is a swallow study?
A swallow study usually means a modified barium swallow, done with a speech-language pathologist. You swallow barium mixed into liquids and foods of different thicknesses while X-rays watch your mouth and throat. It checks whether food or drink slips into your airway, which is common after a stroke or with some nerve diseases.
Is a barium swallow better than an endoscopy?
Each test shows different things. A barium swallow is quicker, needs no sedation and is good at showing narrowing and how the esophagus moves. An endoscopy lets the doctor see the lining in color, take biopsies and sometimes treat the problem during the same test.
Questions to ask your doctor
- Why do I need this test, and what are you looking for?
- Will I have a barium swallow, an upper GI series or both?
- Which of my medicines should I take that morning?
- When will I get my results?
- Will I need an endoscopy afterward?
Learn more
- Upper GI and small bowel series (MedlinePlus, U.S. National Library of Medicine)
This guide is general information and doesn’t replace advice from your own doctor. Last updated October 2026.



