An MRI is a medical imaging test that uses a strong magnetic field and radio waves to create detailed pictures of the inside of your body. It does not use X-rays. Instead, it maps the behavior of hydrogen atoms — mostly in the water that makes up your tissues — to build cross-sectional images a radiologist can read. The scan is painless, though the machine is loud and you must lie very still. Most exams take 15 to 60 minutes, depending on the body part and how many images are needed.
What Is an MRI and How Does It Work?
MRI stands for magnetic resonance imaging. The “magnetic” part is literal: the scanner’s main magnet is many thousands of times stronger than the Earth’s magnetic field. The “resonance” refers to how certain atomic nuclei respond when they absorb and release energy at a specific frequency.
Here is the basic chain of events. Your body is roughly 60% water, and every water molecule contains hydrogen atoms. Each hydrogen nucleus behaves like a tiny compass needle. When you lie inside the scanner, those nuclei line up with the magnetic field. The machine then sends short bursts of radio waves that knock them out of alignment. As the nuclei relax back, they release faint signals. The scanner’s coils detect those signals, and a computer turns them into images.
Different tissues — fat, muscle, fluid, bone marrow, tumor — release energy at different rates. That is why MRI can tell soft tissues apart so well. It is particularly good at showing the brain, spinal cord, joints, and internal organs. On a standard X-ray or CT scan, many of those structures blur together or look similar in density. MRI separates them.
One clarification worth knowing: MRI does not use ionizing radiation. CT scans and X-rays do. That difference matters when a doctor is choosing between imaging options, especially if you might need repeated scans over time.
What Is an MRI Scan Used to Detect?
MRI is often the preferred test when a doctor needs detailed views of soft tissue. Common uses include:
- Brain and spinal cord problems — tumors, stroke, bleeding, inflammation, and conditions such as multiple sclerosis
- Joint injuries — torn ligaments, cartilage damage, and meniscus tears in the knee, shoulder, or other joints
- Spine issues — herniated discs, spinal cord compression, and nerve root problems
- Abdominal and pelvic organs — liver, kidneys, uterus, and prostate
- Breast tissue, in some cases, when mammography or ultrasound results are unclear
- Heart structure and function, in specialized cardiac MRI exams
MRI is not always the right first test. For a suspected broken bone, a plain X-ray is usually faster and cheaper. For emergency bleeding in the head, a CT scan is often done first because it is quicker. The choice depends on the question the doctor is trying to answer.
Some MRI exams use a contrast dye, usually containing gadolinium, given through an IV. Contrast can make certain tumors, blood vessels, or areas of inflammation stand out. Not every MRI needs it.
What Should You Expect During an MRI?
Knowing the steps ahead of time removes most of the anxiety. Here is how a typical exam goes.
Before the scan. You will be asked to remove metal objects — jewelry, watches, hairpins, hearing aids, and sometimes clothing with metal zippers or snaps. You may change into a gown. You will fill out a safety screening form. This is not a formality. It is one of the most important safety steps in the entire process.
Tell the staff if you have any of the following:
- A pacemaker, implanted defibrillator, or other electronic implant
- Metal fragments in your eye or body, including from welding or shrapnel
- Cochlear implants, some aneurysm clips, or certain neurostimulators
- Pregnancy, or possible pregnancy
- Kidney disease, if contrast dye might be used
Not all implants are unsafe in an MRI, but only the radiology team can confirm whether a specific device is MRI-compatible. Never assume yours is fine — always report it.
During the scan. You lie on a table that slides into a tube-shaped opening. The machine makes loud knocking and humming sounds, so you will usually get earplugs or headphones. You must stay very still, because movement blurs the images. For some exams, you may be asked to hold your breath for short periods. You can talk to the technologist through an intercom, and most scanners have a squeeze ball you can press if something is wrong.
If you are claustrophobic, tell your doctor before the appointment. Options include an open MRI (a scanner with a wider, less enclosed design), a mild sedative, or having a friend or family member stay nearby. Open MRI machines generally produce lower-resolution images, so they are not suitable for every exam.
After the scan. You can usually drive yourself home and return to normal activity right away. If you received a sedative, you will need someone else to drive. If contrast dye was used, you may be asked to drink extra water to help your body clear it. A radiologist reviews the images and sends a report to your doctor, often within a few days.
How Long Does an MRI Take?
Most MRI exams last between 15 and 60 minutes. A simple scan of one small area may take about 15 to 30 minutes. A scan of multiple body parts, or one that uses contrast dye, can run longer. Cardiac MRI and some specialized protocols can take an hour or more.
The time depends on several things: how many images the doctor ordered, whether contrast is used, and how still you can stay. If the images come out blurry from movement, part of the scan may need to be repeated. That adds time.
Is an MRI Safe?
For most people, MRI is considered very safe, largely because it does not use ionizing radiation. The main risks come from the magnetic field itself and from contrast dye, not from the imaging process.
The magnetic field can pull on metal objects and can interfere with or heat certain implanted devices. This is why the pre-scan screening matters so much. Serious injuries from MRI are rare, and they are almost always linked to metal that was not reported or an implant that was not MRI-safe.
Gadolinium-based contrast agents carry a small risk of allergic reaction. In people with severely reduced kidney function, some older contrast agents were linked to a rare condition called nephrogenic systemic fibrosis. Newer agents and careful screening have made this uncommon. If you have kidney disease, tell your doctor before the scan.
Pregnancy is a special case. MRI without contrast is generally considered acceptable when a doctor judges that the information is needed, but the decision should be made case by case. Guidelines on contrast use during pregnancy are more restrictive. If you are pregnant or think you might be, say so before the exam.
How Is MRI Different From CT and X-Ray?
All three create images of the inside of the body, but they work in different ways and answer different questions.
| Feature | MRI | CT | X-ray |
|---|---|---|---|
| Energy source | Magnetic field and radio waves | X-rays (ionizing) | X-rays (ionizing) |
| Best for | Soft tissue: brain, spine, joints, organs | Bone, chest, bleeding, trauma | Bone, chest, dental |
| Typical time | 15 to 60 minutes | Often under 15 minutes | A few minutes |
| Radiation exposure | None | Yes | Yes |
| Noise | Loud knocking sounds | Quiet | Quiet |
The trade-off is usually speed and access versus detail. CT is faster and often used in emergencies. MRI takes longer but shows soft tissue in greater detail. Neither is “better” in general — the right test depends on what the doctor needs to see.
Why You Have to Lie Still — and Other Practical Tips
Movement is the single biggest reason MRI images come out unclear. Even small shifts — swallowing, coughing, or shifting your arm — can blur a picture. This is why the technologist gives specific instructions, like “breathe normally but do not move your head.”
A few practical things can make the experience easier:
- Wear comfortable clothing without metal if you can, to avoid changing.
- Use the restroom before the scan, since some exams run long.
- Ask for earplugs or music if they are not offered.
- Tell the technologist if you feel panicky, rather than waiting it out.
- Bring a list of your implants and medical devices.
If you have ever had a bad experience with tight spaces, mention it when you schedule. A little planning usually makes the difference between a stressful scan and an easy one.
Frequently Asked Questions
Does an MRI use radiation?
No. MRI uses a magnetic field and radio waves, not ionizing radiation. That is one reason it may be chosen when repeated imaging is expected.
How long does an MRI usually take?
Most MRI exams take between 15 and 60 minutes, depending on the body part and whether contrast dye is used. Scans of multiple areas or specialized cardiac exams can take longer.
Can I eat or drink before an MRI?
For most MRI exams, you can eat and drink normally. If your scan uses sedation or contrast dye, or targets the abdomen, your doctor may give you specific instructions to follow.
Is it safe to have an MRI if I have a pacemaker?
Some newer pacemakers are MRI-conditional, meaning they are approved for use under certain MRI conditions. Only your radiology team can confirm whether your specific device is safe, so always report it before the scan.

