What Is a Cardiac MRI? How It Works and What to Expect

A cardiac MRI is a scan that uses a powerful magnet and radio waves to create detailed images of your heart, without any radiation. It’s considered the gold standard for measuring heart size and pumping function, and it can reveal scarring, inflammation, and structural problems that other imaging tests sometimes miss. If your doctor has ordered one, or you’re just curious about what it involves, here’s what you need to know.

What a Cardiac MRI Can Show

The main strength of cardiac MRI is its ability to produce high-resolution images of the heart’s structure and tissue. It can measure how well your heart pumps (your ejection fraction) with greater precision than an echocardiogram, because it images the entire heart in three dimensions rather than estimating volume from a two-dimensional view. It’s also the best noninvasive tool for evaluating the right side of the heart, which is notoriously hard to see on ultrasound.

Beyond pumping function, cardiac MRI excels at characterizing heart tissue itself. It can distinguish healthy muscle from scarred or inflamed muscle, which makes it uniquely useful for diagnosing conditions like:

  • Myocarditis: inflammation of the heart muscle, often from a viral infection. Cardiac MRI is the gold standard for noninvasive diagnosis, outperforming conventional imaging and even tissue biopsy in some cases.
  • Cardiomyopathy: diseases that weaken or thicken the heart muscle. MRI can detect scarring patterns that predict risk of dangerous heart rhythms and heart failure.
  • Hypertrophic cardiomyopathy: abnormal thickening of the heart walls. In one study comparing MRI to echocardiography, MRI picked up mild, focal thickening in about 7.5% of patients that echo missed entirely.
  • Heart attack damage: MRI can map exactly where scarring exists and how much healthy muscle remains.
  • Congenital heart defects: structural problems present from birth.

How It Differs From an Echocardiogram

An echocardiogram uses sound waves and is quick, portable, and widely available. For most routine heart assessments, it does the job well. Overall diagnostic agreement between echo and MRI is around 90%. But MRI fills in the gaps. It doesn’t depend on “acoustic windows,” the angles through your chest wall that sound waves need to reach the heart. In people with larger body types or lung disease, those windows can be poor, making echo images unreliable.

MRI also provides tissue characterization that echo simply cannot. An echocardiogram can show that your heart muscle is thickened, but it can’t tell you whether the thickening is from high blood pressure, a storage disease, or a genetic condition. A cardiac MRI often can, because each of those conditions leaves a distinct pattern in the tissue.

The Role of Contrast Dye

Many cardiac MRIs include an injection of a contrast agent called gadolinium, delivered through an IV line during the scan. Gadolinium highlights areas of the heart where tissue is damaged. Healthy heart muscle washes the contrast out quickly, while scarred or inflamed tissue holds onto it. This technique, called late gadolinium enhancement, is one of the most valuable parts of a cardiac MRI because it can reveal fibrosis that predicts future heart failure or sudden cardiac events.

One limitation worth noting: this technique detects focal scarring (distinct patches) but not diffuse fibrosis spread evenly throughout the muscle. Newer MRI methods are being developed to address that gap, but the standard approach works well for most clinical questions.

Gadolinium is generally safe, but it poses a real risk for people with significant kidney disease. The kidneys clear the contrast from the bloodstream, and when they can’t do that efficiently, gadolinium can trigger a rare condition called nephrogenic systemic fibrosis. This causes skin thickening, joint stiffness, and in severe cases, hardening of tissue around the heart and lungs. The FDA requires warning labels on certain gadolinium products for this reason. Your medical team will check your kidney function before giving contrast, and if your kidneys aren’t working well enough, they’ll either skip the contrast or use an alternative approach.

What the Scan Feels Like

You’ll lie on a narrow table that slides into a large, tube-shaped magnet. The machine is loud, producing rhythmic banging and buzzing sounds, so you’ll wear earplugs or headphones. If you have hearing aids, you’ll need to remove them. The technologist communicates with you through a speaker inside the scanner, and you’ll hear instructions throughout.

The most important thing you’ll be asked to do is hold your breath repeatedly. Because the heart moves with every beat and every breath, the scanner needs moments of stillness to capture sharp images. Expect breath-holds of 10 to 20 seconds, repeated many times over the course of the scan. The technologist will coach you through each one.

Total time in the scanner varies. A straightforward scan without contrast can take as little as 15 minutes. A comprehensive study with contrast typically runs 30 to 45 minutes. There’s minimal preparation beforehand, usually just 10 minutes to get positioned and confirm you can hear instructions clearly. If you’re claustrophobic, let your doctor know ahead of time. A mild sedative taken about an hour before the scan can make the experience much more manageable.

Stress Cardiac MRI

Sometimes a cardiac MRI is combined with a stress test. Rather than having you exercise on a treadmill (which isn’t possible inside the scanner), your medical team uses a medication delivered through your IV that temporarily increases blood flow to the heart, mimicking the effects of exercise. This reveals areas of the heart that aren’t getting enough blood supply, a sign of blocked or narrowed coronary arteries.

The medication works quickly and wears off within minutes. You may feel a warm flush, a brief sense of shortness of breath, or mild chest tightness while it’s active. These sensations are expected and short-lived. If side effects are uncomfortable, your team can administer a reversal agent to stop them promptly. A stress cardiac MRI adds some time to the overall procedure but provides information about blood flow that a standard MRI can’t.

Pacemakers and Metal Implants

Because the scanner uses an extremely powerful magnet, metal inside your body is a safety concern. Most modern pacemakers and defibrillators are designed to be MRI-compatible, labeled “MR Conditional.” If yours is one of these, you can safely have a cardiac MRI as long as the device is reprogrammed into a special MRI mode before the scan and all manufacturer conditions are met. A cardiac technologist or cardiologist will handle this reprogramming, and you’ll be monitored continuously during the scan with a pulse oximeter or ECG.

Older devices that aren’t labeled MRI-compatible present a more complex situation. Scanning is still sometimes possible when the clinical benefit is significant, but it requires a careful risk assessment and strict safety protocols. Abandoned leads (old wires left in place from a previous device) carry intermediate risk, and permanently implanted leads on the heart’s surface are considered high risk. If you have any implanted cardiac device, your care team will determine whether MRI is appropriate for your specific hardware before scheduling the scan.

Other metal implants, such as certain joint replacements, surgical clips, or metal fragments, also need to be evaluated. You’ll fill out a detailed screening questionnaire before your appointment. Some implants are perfectly safe in the scanner, while others are not.