Yes, you can drink black coffee before a bone density test, and you do not need to fast for a DXA scan. Coffee contains no calcium and does not alter the X-ray attenuation the scanner measures, so a morning cup will not change your T-score. The one real exception is a coffee drink loaded with milk or cream, which delivers a small calcium load; keep it modest and finish it at least two hours before your appointment to be safe. Caffeine pills and espresso shots are also fine. What you should avoid is calcium supplements in the 24 hours before the scan and any recent contrast dye study.

Why Coffee Does Not Interfere With a DXA Scan

A dual-energy X-ray absorptiometry (DXA) scan measures how much of two X-ray energies pass through bone. It reports grams of mineral per square centimeter (g/cm²), not blood or urine chemistry. Coffee never enters that measurement.

The machine compares your bone mineral density to a young healthy reference population, producing a T-score, and to age-matched peers, producing a Z-score. Neither number depends on what you drank an hour earlier. Caffeine is absorbed within 45 minutes and peaks in blood at about 30 to 60 minutes, but it has no measurable effect on bone mineral content in that window.

In plain terms: DXA photographs your skeleton's mineral density. Coffee affects your bloodstream, not your skeleton's X-ray shadow, so the two systems never touch.

What does interfere is anything that changes the physical composition of your body in the scan field. That means dense material like contrast dye, metal hardware, or recent nuclear medicine isotopes. A cup of water or coffee is invisible to the detector at these energies.

The One Coffee Exception: Milk, Cream, and Latte Calcium

The only coffee-related caveat is calcium-containing additives. A standard 8-ounce latte with 6 ounces of milk delivers roughly 200 to 300 mg of calcium. A splash of cream adds 20 to 50 mg. Plain black coffee contributes essentially zero.

Why would a few hundred milligrams matter? It almost certainly does not for a DXA of the spine or hip, which measures mineral already deposited in bone. Calcium in your gut does not instantly become bone mineral. But because the standard instruction for DXA is "no calcium supplements for 24 hours," some labs extend the caution to calcium-rich drinks.

Caffeine itself has a subtle calcium connection. Each 100 mg of caffeine (about one cup of brewed coffee) increases urinary calcium loss by roughly 2 to 3 mg over a few hours. That is trivial against a 1,000 mg daily intake and irrelevant to a single scan.

Drink Calcium per serving Effect on DXA Practical guidance
Black coffee ~5 mg None Drink freely before scan
Espresso ~2 mg None Drink freely before scan
Coffee with splash of cream 20-50 mg Negligible Fine; finish 2 hours before
Latte or cappuccino 200-300 mg Negligible to small Finish 2 hours before
Protein shake or fortified drink 300-500 mg Small calcium load Treat like a supplement; avoid 24 hours prior

The pattern is clear: the more dairy, the more you should treat the drink like a supplement rather than a beverage.

What Actually Has to Be Avoided in the 24 Hours Before

Caffeine is not on the avoid list. Three things are.

The first is calcium supplements and multivitamins containing calcium. Per the International Society for Clinical Densitometry 2019 position statement, patients should stop calcium supplements for at least 24 hours before a DXA because an unabsorbed calcium load can sit in the gut and, in some scanning positions, add a faint but measurable attenuation artifact. The effect is small, but the ISCD recommends the washout, so labs follow it.

The second is barium or iodine contrast from a recent imaging study. Contrast contains dense elements that remain in the bowel or bloodstream and can falsely raise apparent bone density. Wait 7 to 14 days after barium studies and at least 48 to 72 hours after iodinated contrast if the scan includes the spine or hip.

The third is nuclear medicine isotopes such as technetium-99m from a bone scan. These emit gamma rays that the DXA detector can pick up as spurious signal. Labs typically require 48 to 72 hours between a bone scan and a DXA.

Avoid before DXA Minimum wait Why it matters
Calcium supplements 24 hours Unabsorbed calcium in gut
Calcium-fortified drinks or shakes 24 hours Same as supplements
Barium contrast study 7-14 days Dense material in bowel
Iodinated IV contrast 48-72 hours Residual attenuation in soft tissue
Technetium-99m bone scan 48-72 hours Gamma interference with detector
Coffee (black or milky) No wait required No measurable effect

Read that last row carefully. Coffee sits at the bottom of the list for a reason: it has no mechanism to interfere, so no washout applies.

A Timeline: What to Do in the 24 Hours Before Your Scan

The timeline below assumes a standard DXA of the lumbar spine and hip, which is the most common test ordered. Timing assumes an afternoon appointment; shift everything if your scan is earlier.

Time before scan Action Coffee allowed?
24 hours Stop calcium supplements and fortified drinks Yes
24 hours Avoid calcium-heavy meals (cheese, milk) if your lab advises Yes
12 hours Normal meals resume; hydrate normally Yes
2 hours Finish any milky coffee drink Only black coffee after
1 hour Empty your bladder before arrival Yes
30 minutes Wear loose clothing without metal zippers or buttons Yes
At check-in Disclose recent contrast or bone scans N/A

The 24-hour calcium cutoff and the 2-hour milky-drink cutoff are not in conflict; they reflect different calcium loads. Supplements deliver 500 to 1,200 mg in a single dose. A latte delivers roughly 200 to 300 mg, diluted by stomach contents. The 2-hour margin is a conservative buffer, not a strict requirement.

Variation by Scan Type: Spine, Hip, and Whole-Body

Not all DXA scans are identical, and the coffee question shifts slightly depending on what is being measured.

Lumbar spine and hip scans, the standard osteoporosis workup, are unaffected by coffee. The detector targets high-density cortical and trabecular bone, and soft-tissue caffeine levels are irrelevant.

Whole-body composition scans, used in research and some clinical settings, measure fat and lean mass in addition to bone. Caffeine can cause mild diuresis, shifting fluid balance by 0.5 to 1 percent of body weight in sensitive people. This is small but can appear as a tiny variation in lean mass readings. If you are tracking body composition over time, keep coffee intake consistent on scan days.

Peripheral scans of the heel or forearm, often done in pharmacies with portable units, are even less affected. They measure a smaller bone region and are not typically used for diagnosis.

Vertebral fracture assessment, sometimes done alongside DXA, relies on lateral spine imaging. Coffee does not change the result, but gas or recent barium can obscure the view.

How Much Caffeine Alters Bone — and Why That Is Different From a Test Day

A common worry is that coffee weakens bones, so it must also skew a bone test. That logic is backwards and worth unpacking.

The 2022 American College of Physicians guidance on osteoporosis treatment does not list caffeine as a risk factor at typical intake. Caffeine-induced calcium loss of 2 to 3 mg per 100 mg is offset by as little as one tablespoon of milk or a balanced diet. The 2017 National Osteoporosis Foundation guidance similarly does not recommend caffeine restriction for bone health, only moderation.

A meta-analysis by Hallström and colleagues in 2013 found no increased fracture risk at intakes below 4 cups per day. Above that threshold, and especially in people with low calcium intake, a small association appears, but it is confounded by lifestyle. The mechanism is real but small. The setting is chronic, over years. A single cup before a scan is not a chronic exposure.

In plain terms: coffee's long-run effect on bone is a rounding error at normal intake, and its short-run effect on a scan is zero.

Common Misconceptions, Corrected

Misconception one: "I must fast for a DXA." False. DXA requires no fasting. Eating a normal breakfast does not change bone density readings. Some labs ask you to avoid a large meal for comfort, not for accuracy.

Misconception two: "Caffeine shows up on the scan." Caffeine is carbon, hydrogen, nitrogen, and oxygen. It has no X-ray-dense atom and does not register.

Misconception three: "Coffee dehydrates me and shrinks my bone measurements." Mild diuresis does not change bone mineral density. It may shift soft-tissue fluid slightly, but the bone signal is stable.

Misconception four: "Any drink with calcium counts as a supplement." Only concentrated doses, meaning supplements and fortified shakes, warrant the 24-hour washout. A splash of milk in coffee does not.

Misconception five: "I should skip my morning pill too." No. Take your medications as prescribed unless your doctor says otherwise. Calcium and iron supplements are the exception, and those wait 24 hours.

The professional caveat here is that lab protocols vary. Some centers say "no coffee" out of habit rather than evidence. If your lab gives a stricter instruction, follow it; the scan is quick and rescheduling is annoying.

What to Actually Do on Scan Day

Practical steps, in order.

Drink your coffee as usual. Black coffee, espresso, and Americanos are fine at any time before the scan. Milky drinks are fine up to two hours before.

Hold calcium supplements for 24 hours. This includes multivitamins with calcium, calcium carbonate, calcium citrate, and fortified protein shakes. You can resume immediately after the scan.

Check your imaging history. If you had a barium study in the past two weeks, a bone scan in the past three days, or IV contrast in the past two days, call the imaging center before you arrive.

Wear clothing without metal. Zippers, underwire bras, and belt buckles can appear as artifact. Many centers provide a gown, but avoiding metal saves time.

Empty your bladder just before the scan. A full bladder can shift the spine's position slightly and add soft-tissue thickness.

Bring your medication list and prior DXA results. Comparison over time is the whole point of DXA, and consistent technique across scans matters more than any pre-scan drink.

If you are unsure whether your lab has a stricter coffee rule, call the day before. The answer is usually "coffee is fine."

Limits of This Guidance

This advice applies to standard DXA scans using X-ray absorptiometry. It does not cover quantitative ultrasound, which is a screening tool with its own preparation rules, or peripheral DXA, which some clinics run differently.

It does not apply to children, pregnant patients, or people with recent fractures at the scan site; those cases need individualized instructions from the ordering clinician. It also assumes a typical appointment time; exact lab protocols vary by center and by technologist.

No guideline body has issued a formal statement specifically on coffee before DXA, because the question has not been studied as a standalone trial. The reasoning above rests on mechanism, on the ISCD 2019 supplement washout recommendation, and on the absence of any reported interference. Where evidence is thin, this article says so: the conclusion that coffee is safe is well supported by physics and physiology, but it is not backed by a dedicated randomized study, and no such study is likely to be funded.