You drink barium before a CT scan because it makes parts of your digestive tract visible on the images. A CT scanner uses X-rays, and X-rays pass straight through the soft walls of the stomach and intestines without leaving much of a trace. Barium is a heavy metal that blocks X-rays. When it coats the inside of your stomach and bowel, those hollow organs show up clearly as bright outlines on the scan. Without it, the radiologist would be looking at a mostly gray, hard-to-read picture of that part of your body.
That is the whole idea. The barium is a contrast agent. It is not a medicine, it is not a treatment, and it does not do anything inside your body except sit in the hollow spaces and block X-rays so the scanner can tell those spaces apart from everything around them.
Why Do I Have To Drink Barium Before A CT Scan?
Hollow organs are the problem. A CT scan is good at showing solid organs like the liver, kidneys, and spleen because those tissues have different densities that the scanner can distinguish. The stomach and intestines are mostly empty space surrounded by thin walls. On a scan, an empty loop of bowel can look like almost anything, or nothing useful at all.
Barium fills and coats that space. When the scanner passes X-rays through your abdomen, the barium absorbs them instead of letting them through. The result is a bright, clearly defined picture of the inside of your gut. The radiologist can then see the shape, width, and position of the bowel, and can spot things that would otherwise be invisible.
This matters for a long list of reasons. A CT with barium can help show:
- Blockages in the bowel
- Perforations or leaks in the stomach or intestine wall
- Inflammation, including in conditions like Crohn’s disease
- Abscesses or collections of fluid
- Tumors and masses
- Abnormal narrowing or widening of the bowel
- How well the bowel is positioned and functioning
Barium is not the only contrast agent used for CT scans. Iodine-based contrast is given through an IV, and it lights up blood vessels and solid organs. Barium is used specifically for the gut because it stays in the digestive tract and does not get absorbed into the bloodstream. That is a key difference. The two types of contrast do different jobs, and some scans use both.
What Is Barium, Exactly?
Barium is a chemical element, a soft silvery metal in its pure form. That form is never what you swallow. The barium you drink is barium sulfate, a chalky white powder mixed with water or flavored liquid. Barium sulfate is very poorly absorbed by the body, which is exactly why it is used. It passes through the digestive tract and leaves in your stool.
You may see it described as a “barium shake” or “barium smoothie.” It has a thick, chalky texture and a taste many people find unpleasant. Some clinics flavor it, but most patients still describe it as heavy and chalky. That part is honest and worth knowing in advance.
The reason barium is chosen over other heavy elements comes down to safety. Pure barium and many barium compounds are toxic. Barium sulfate is not, because it dissolves so poorly that almost none of it enters the bloodstream. This is a case where the chemical form matters more than the element itself.
Why Not Just Use Regular X-Rays?
A plain X-ray of the abdomen has the same limitation as a CT scan without contrast, only worse. Soft tissue does not show up well on X-rays, and the bowel is soft tissue. A standard X-ray can show gas patterns and obvious blockages, but it cannot give a detailed view of the bowel wall or small abnormalities.
CT scanning adds a huge amount of detail by taking many X-ray images from different angles and combining them into cross-sectional slices. But even a CT scan needs help to see inside a hollow organ. Contrast is what turns the bowel from a vague gray tube into a clearly defined structure the radiologist can actually assess.
So the barium is not a replacement for the scan. It is what makes the scan able to do its job in the part of the body being studied.
How Do You Prepare and What Happens During the Scan?
Preparation usually starts the day before. Many clinics ask you to stop eating solid food for several hours beforehand, and some provide a clear liquid diet the day before the scan. You are typically told to drink the barium in stages, often over a period of time before the scan rather than all at once. This lets it move through the stomach and into the small intestine so more of the tract is coated.
Timing matters. If you drink it too early, it may have moved too far along. If you drink it too late, it may not have reached the area being studied. Follow the instructions your clinic gives you, because the schedule is built around how barium moves through the digestive tract.
During the scan itself, you lie on a table that slides into a donut-shaped machine. The scan is painless and usually takes only minutes. You may be asked to hold your breath briefly. Some people feel fullness, bloating, or mild cramping from the barium, and some feel nauseated. These effects are usually temporary.
Afterward, drink plenty of water to help move the barium through your system. Your stool may look pale or chalky for a day or two. That is expected.
Is Drinking Barium Safe?
For most people, barium sulfate is considered safe for a CT scan. The main concern is constipation or, in rare cases, a blockage if the barium cannot pass through. That is why your medical team asks about your history before giving it to you.
Barium is generally avoided if there is a known or suspected perforation in the bowel. If the bowel wall is torn, barium could leak into the abdominal cavity, where it can cause serious inflammation. In that situation, a different contrast agent that is safer if it leaks, such as a water-soluble iodine-based contrast, is usually used instead. This is an important reason your provider needs accurate information about your symptoms.
Tell your care team if you:
- Have or might have a bowel obstruction or perforation
- Have severe constipation or a history of it
- Have had recent bowel surgery
- Have trouble swallowing, which raises the risk of aspiration
- Are pregnant or think you might be
- Have had an allergic-type reaction to contrast before
Allergic reactions to barium sulfate are uncommon because so little is absorbed. Reactions to iodine-based IV contrast are a separate issue and more common, but that is not the same substance. If your scan uses IV contrast too, tell the staff about any prior reactions.
What Are the Alternatives to Barium?
Barium is one option among several. The right choice depends on what the scan is looking for and your medical history.
| Contrast type | How it is given | Main use |
|---|---|---|
| Barium sulfate | Swallowed or given as an enema | Detailed views of the stomach and bowel |
| Iodine-based, oral | Swallowed | Bowel views when barium is not safe |
| Iodine-based, IV | Into a vein | Blood vessels and solid organs |
| Air or carbon dioxide | Into the bowel | Used in some specialized bowel exams |
Water-soluble oral contrast is often chosen when there is any concern about a leak, because it is less irritating if it escapes the bowel. It does not coat the bowel wall as well as barium, so the images can be less detailed in some cases. That trade-off is part of why the choice is made by your physician, not by routine.
Some modern CT protocols for certain conditions skip oral contrast entirely, relying on IV contrast and other techniques. Whether oral contrast adds value depends on the specific question being asked. If you are unsure why you are being asked to drink barium, it is reasonable to ask your radiology team what they are looking for.
What Should You Expect Afterward?
Most people pass the barium within a day or two. Drink extra water to help. If you do not have a bowel movement for a few days, or if you develop severe abdominal pain, vomiting, or bloating, contact your doctor. These can be signs that the barium is not moving through as it should.
The chalky stools and mild bloating are normal and short-lived. The scan itself is quick, and the barium does its job and leaves. The discomfort of drinking it is real, but it is temporary, and it is the reason the scan can give your doctor a clear answer.
Frequently Asked Questions
Why do I have to drink barium before a CT scan?
Barium blocks X-rays and coats the inside of your stomach and intestines so they show up clearly on the scan. Without it, those hollow organs are hard to see because X-rays pass through soft tissue.
Is barium dangerous to drink?
Barium sulfate is poorly absorbed and is considered safe for most people. It is usually avoided if there is a suspected bowel perforation, because leaking barium can cause serious inflammation.
How long does barium stay in your system?
Most people pass it within a day or two, and drinking extra water helps move it along. Contact your doctor if you have no bowel movement for several days or develop severe pain.
What happens if you don’t drink the barium before a CT scan?
The scan may not show the stomach and bowel clearly enough to answer the medical question. Your doctor may need to repeat the scan or use a different test.

