This page explains how the machine works; it isn't medical advice. If you're having a scan, the hospital team will explain what to expect.
How does an MRI work? The short answer
An MRI scanner makes pictures of the inside of your body using a very strong magnet, radio waves and a computer. It uses no X-rays.12 Here's how it works, in four steps:
- Line up. Your body is full of water, and the hydrogen in water has tiny magnetic particles called protons. The scanner's huge magnet lines many of them up.2
- Tip over. A short pulse of radio waves, tuned to exactly the right frequency, tips the protons out of line.2
- Relax and signal. When the pulse stops, the protons settle back ("relax") and give off faint radio signals. Different tissues relax at different speeds.1
- Find the spot. Extra "gradient" magnets make the field slightly different from place to place, so the computer can work out where each signal came from and build a picture, slice by slice.23
MRI stands for magnetic resonance imaging. "Magnetic" is the big magnet, "resonance" is the radio pulse matching the protons' natural frequency, and "imaging" is the picture the computer makes.2
Why water? You're full of tiny magnets
Up to 60% of an adult's body is water.9 Each water molecule is made of one oxygen atom and two hydrogen atoms, and about two thirds of all the atoms in your body are hydrogen.8 The centre (nucleus) of a hydrogen atom is just one proton. Protons spin and have a tiny magnet built in, with a north and a south pole, so you can picture each one as a microscopic compass needle.26
Normally those tiny magnets point every which way, so they cancel each other out and your body isn't magnetic.3 The MRI's signal comes mainly from the protons in the water and fat in your body.12
The giant magnet: how strong is an MRI?
Magnet strength is measured in tesla (T). Hospital MRI scanners are usually 1.5 T or 3 T.314 Earth's magnetic field is about 0.00005 T (0.5 gauss), so a 3-tesla scanner is about 60,000 times stronger than the field that turns a compass needle.3
In that field, more of the protons line up with the magnet, like compass needles swinging to point north.6 In fact only a very small extra share line up: about 9 out of every 2 million protons at 1.5 T.3 But there are so many protons in your body that this tiny surplus is enough to measure. (The toy on this page exaggerates the share so you can see it.)
Why is an MRI magnet cooled with liquid helium?
The main magnet is an electromagnet: electricity flowing through miles of coiled wire. Ordinary wire resists the current and heats up. So the coils are made of special wire and chilled with liquid helium to about −269 °C (−452 °F). At that temperature the wire becomes a superconductor and the current flows with no resistance, making a powerful, steady field.313 The helium is sealed inside an insulated tank, so you don't feel cold.3 Curious where that helium comes from? See where helium comes from, and how magnets work in general.
Why can't you take metal into an MRI room?
For most hospital scanners the main magnetic field is always on, even between patients.18 It reaches beyond the machine and pulls hard on iron and some steels. NIBIB says it's strong enough to fling a wheelchair across the room.1 That's why staff keep objects like screwdrivers and oxygen tanks out of the room, and why everyone fills in a safety screening form and takes off jewellery, watches, phones and clothes with metal parts first.4 Some implants, such as some pacemakers and aneurysm clips, can mean a person can't have an MRI, while dental fillings usually aren't a problem.16
The radio pulse: what is the "resonance" in MRI?
Once the protons are lined up, a coil near your body sends a short pulse of radio waves. Radio waves are a kind of light our eyes can't see.2 (Read more about how light travels.) The pulse only works if it's tuned to exactly the right frequency, which depends on the strength of the magnet. That frequency match is the resonance.26 The frequencies used are close to those of FM radio stations, which is why the scanner room is shielded from outside radio signals.3
The pulse tips the protons out of line. When it stops, they swing back into line, a bit like spinning tops settling down. Scientists call this relaxation. As the protons relax, they give off faint radio signals of their own, and the scanner's coils pick them up.21
How does an MRI tell different tissues apart?
The time protons take to relax, and how much signal they give off, depends on their surroundings.1 Protons in fat relax faster than protons in water. The operator picks the timing of the pulses and when to listen, which changes which tissues look bright:3
On T1-weighted images, fat, with its short relaxation time, is bright and water is dark.15 T2-weighted images show fluid as bright.19 Bone has little hydrogen, so it looks dark.17 Sometimes a contrast agent (often containing the element gadolinium) is used to help protons realign faster, which makes some areas brighter.1 The speeds in this page's toy are made up to show the idea, not real measurements.
Gradient coils: how an MRI knows where a signal came from
All the protons in the scanner would answer at once, so how does the machine know where each signal came from? The answer is three extra, weaker magnets called gradient coils, one for each direction (x, y and z).3 They make the field slightly stronger at one end of your body than the other. Because the resonance frequency depends on the field strength, protons in each spot now answer at a slightly different "note", like the keys along a piano.6
By choosing the note, the scanner can pick out one thin slice of the body, like a slice from a loaf of bread, and the slices can point in any direction.3 Paul Lauterbur first showed that gradients could turn the signals into a two-dimensional picture.6 The machine repeats the pulse-and-listen cycle many times, and a computer combines all the signals into images, even 3D ones.2
Why is an MRI so loud?
The knocking, tapping and buzzing you hear comes from the gradient coils being switched on and off very quickly.3 In some scanners the sound can reach up to 120 decibels, so you'll be given earplugs or headphones, and some headphones play music.1416 The noises are normal and don't mean anything is wrong.4
Does an MRI use radiation?
No ionizing radiation. X-rays and CT scans use ionizing radiation. MRI uses a magnetic field and radio waves, so there's no exposure to ionizing radiation.15 The older name for the physics, nuclear magnetic resonance, refers to the nucleus of the atom (the proton), not to anything radioactive. The medical name dropped "nuclear" partly to avoid that confusion.8
MRI vs CT scan: what's the difference?
NIBIB notes that the brain, spinal cord, nerves, muscles, ligaments and tendons are seen much more clearly with MRI than with X-rays and CT, which is why MRI is often used for knee and shoulder injuries.1 MRI scans take longer than CT scans.17 MRI is less good than X-rays at spotting broken bones, so the tools complement each other.8
How long does an MRI take?
An MRI exam can take anywhere from about 15 minutes to more than an hour, depending on what's being scanned.10 You need to lie still, because moving blurs the pictures.1 For people who find the tunnel uncomfortable, some hospitals have "open" MRI machines that are open at the sides.1
Who invented the MRI?
The physics behind MRI, nuclear magnetic resonance, was shown for protons in 1946 by Felix Bloch and Edward Mills Purcell, who shared the 1952 Nobel Prize in Physics.76 For decades it was used mainly to study chemicals. In the early 1970s, Paul Lauterbur discovered that gradients in the magnetic field could be used to make two-dimensional pictures, and Peter Mansfield showed how to analyse the signals mathematically and how imaging could be made very fast. They shared the 2003 Nobel Prize in Physiology or Medicine.6 Today an estimated 40 million MRI scans happen each year in the U.S. alone.2
Common misconceptions
"An MRI is a kind of X-ray." No. It uses a magnet and radio waves, with no ionizing radiation.
1
"The magnet is only switched on for your scan." In most hospital scanners the main field is on all the time, which is why metal is kept out of the room.
184
"'Nuclear' magnetic resonance means it's radioactive." "Nuclear" means the nucleus of the atom, the proton. Nothing radioactive is involved.
8
"The loud banging means something's wrong." It's the gradient coils switching on and off. It's normal.
43
"An MRI takes a photo of your organs." It listens to faint radio signals from the hydrogen in your water and fat, and a computer builds the picture.
2
FAQ
How does an MRI work, in simple words?
Your body is mostly water, and the hydrogen in water has tiny magnetic protons. The MRI's huge magnet lines them up. A radio pulse tips them over, and when it stops they settle back and give off faint radio signals. Signals from different tissues fade and recover at different rates, and a computer turns all those signals into a detailed picture.
Does an MRI use radiation?
Not the kind X-rays and CT scans use. An MRI uses a strong magnetic field and radio waves, which are non-ionizing. There is no exposure to ionizing radiation during an MRI.
Why is an MRI so loud?
The knocking, tapping and buzzing comes from the gradient coils. These coils switch on and off very quickly to tell the machine where each signal comes from, and the switching makes the coils vibrate. Some scanners reach up to 120 decibels, so you get earplugs or headphones. The noise is normal.
Why can't you wear metal in an MRI?
The main magnet stays on all the time and pulls very hard on iron and some steels. Loose metal objects can fly toward the magnet, and some metal on or in the body can heat up, move or blur the pictures. That's why everyone fills in a screening form and removes jewellery, phones and other metal items first.
How long does an MRI take?
An MRI exam can take from about 15 minutes to more than an hour, depending on what is being scanned. You need to lie still, because moving blurs the pictures.
What is the difference between an MRI and a CT scan?
A CT scan uses X-rays and is quick and good for bones. An MRI uses a magnet and radio waves instead of X-rays, takes longer, and is especially good at showing soft tissues like the brain, spinal cord, muscles, ligaments and tendons.
Is an MRI safe?
MRI is generally safe and painless when the hospital's screening and safety steps are followed: staff check for metal and implants, give ear protection against the loud noise, and watch for warming. The main risks come from metal objects and some implanted devices, which is why the team asks detailed questions before a scan. If you're having one, the hospital team will explain what to expect.
Sources
- NIH National Institute of Biomedical Imaging and Bioengineering (NIBIB), Magnetic Resonance Imaging (MRI)
- NIST, How Does an MRI Machine Work?
- National High Magnetic Field Laboratory, MRI: A Guided Tour
- RadiologyInfo.org (RSNA/ACR), MRI Safety
- RadiologyInfo.org (RSNA/ACR), MRI of the Body
- Nobel Prize, Physiology or Medicine 2003: press release
- Nobel Prize in Physics 1952: Bloch and Purcell
- OpenStax College Physics 2e, 22.11 More Applications of Magnetism
- USGS Water Science School, The Water in You
- Mayo Clinic, MRI
- Cleveland Clinic, MRI (Magnetic Resonance Imaging)
- U.S. FDA, MRI (Magnetic Resonance Imaging)
- National High Magnetic Field Laboratory, BiSCCO Breakthrough (liquid helium temperature)
- Point-of-care low-field MRI in acute stroke (POCS): study protocol, BMJ Open (on 1.5 T and 3 T scanners)
- Zimny et al., Intracranial lesions with high signal intensity on T1-weighted MR images, Polish Journal of Radiology
- Johns Hopkins Medicine, Magnetic Resonance Imaging (MRI)
- Encyclopaedia Britannica, Magnetic resonance imaging
- Frontiers in Public Health (2025), 3D mapping of the static magnetic field around a 3T MRI scanner
- Partridge et al., The Role of DWI in the Assessment of Breast Lesions, Topics in MRI (T2-weighted bright-fluid sequence)