Skip to main content

MRI for Cancer

MRI (also known as magnetic resonance imaging, magnetic resonance, MR, and nuclear magnetic resonance [NMR] imaging) helps doctors find cancer in the body and look for signs that it has spread. MRI also can help doctors plan cancer treatment, like surgery or radiation. MRI is painless and you don’t have to do anything special to get ready for this test. But, it’s very important to tell your doctor and the technologist (the person who does the test) if you have any metal in your body.

What does MRI show?

MRI creates cross-section pictures of your insides. But MRI uses strong magnets to make the images – not radiation. An MRI scan takes cross-sectional slices (views) from many angles, as if someone were looking at a slice of your body from the front, from the side, or from above your head. MRI creates pictures of soft tissue parts of the body that are sometimes hard to see using other imaging tests.

MRI is very good at finding and pinpointing some cancers. An MRI with contrast dye is the best way to see brain and spinal cord tumors. Using MRI, doctors can sometimes tell if a tumor is or isn’t cancer.

MRI can also be used to look for signs that cancer may have metastasized (spread) from where it started to another part of the body.

MRI images can also help doctors plan treatment such as surgery or radiation therapy.

(A specific kind of MRI can be used to look inside the breast. Learn more about breast MRI.)

How does MRI work?

An MRI scanner is a long cylinder or tube that holds a large, very strong magnet. You lie on a table that slides into the tube, and the machine surrounds you with a powerful magnetic field. The machine uses a powerful magnetic force and a burst of radiofrequency waves to pick up signals from the nuclei (centers) of hydrogen atoms in your body. A computer converts these signals them into a black and white picture.

Contrast materials can be put into the body through a vein to make the images clearer. Once absorbed by the body, the contrast speeds up the rate at which tissue responds to the magnetic and radio waves. The stronger signals give clearer pictures.

How do I get ready for an MRI?

MRI scans are most often done on an outpatient basis, so you don’t have to be in a hospital to get one.

You don’t usually need to follow a special diet or do anything to get ready for an MRI, but follow any instructions you are given.

If being in a small, enclosed space is a problem for you (you have claustrophobia), you might need to take medicine to help you relax while in the scanner. Sometimes talking with the technologist or a patient counselor, or seeing the MRI machine before the test can help. In some cases, you can arrange to have an open MRI which allows more space around your body (see the next section).

Sometimes a contrast material is used for MRI imaging. You may have to swallow the contrast, or you may have an intravenous (IV) catheter put in a vein in your arm so the contrast can be given into your bloodstream. The contrast material used for an MRI exam is called gadolinium. (This is not the same as the contrast dye used in CT scans.) Let your doctor and the technologist know if you have any kind of allergies or have had problems with any contrast used in imaging tests in the past.

If you have any of these implants, you should not even enter the MRI scanning area unless told to do so by a radiologist or technologist who knows you have:

  • An implanted defibrillator or pacemaker
  • Clips used on a brain aneurysm
  • A cochlear (ear) implant
  • Metal coils put inside blood vessels

Also be sure the technologist knows if you have other permanent metal objects, such as surgical clips, staples, screws, plates, or stents; artificial joints; metal fragments (shrapnel); tattoos or permanent makeup; artificial heart valves; implanted infusion ports; implanted nerve stimulators; and so on.

You may need to have an x-ray to check for metal objects if there’s any doubt.

What can I expect during an MRI?

You may be asked to undress and put on a gown or other clothes without zippers or metal. Be sure to remove any metal objects you can, like hair clips, jewelry, dental work, and body piercings. Before the scan, the technologist will ask you if you have any metal in your body.

You will lie down on a narrow, flat table. The technologist may use straps or pillows to make you comfortable and help keep you from moving. The table slides into a long, narrow cylinder. The part of your body that’s being scanned will be in the center of the cylinder. The scanned part of your body may feel a little warm during the test, this is normal and nothing to worry about.

You’ll be in the exam room alone, but you can talk to the technologist, who can see and hear you at all times.

The test is painless, but you have to lie inside the cylinder with its surface a few inches from your face. It’s important to stay very still while the images are being made, which can take a few minutes at a time. You may be asked to hold your breath during certain parts of the test. Tell the technologist if you need to move or take a break.

The machine makes loud, thumping, clicking, and whirring noises, much like the sound of a washing machine, as the magnet switches on and off. You may be given earplugs or headphones with music to block noise out during the scan.

Special, open MRI machines that are less restrictive may be easier for some people. These machines replace the narrow cylinder with a larger ring. This design lessens the banging sound and the feeling of lying in an enclosed space. But the machine doesn’t create as strong a magnetic field, and the pictures may not be as clear or detailed as they are with standard MRI. Sometimes, this can lead to getting rescanned on a standard MRI machine.

How long does an MRI take?

MRI scans usually take between 45 and 60 minutes, but can sometimes take up to 2 hours. After the test, you may be asked to wait while the pictures are checked to make sure that they are clear and show all of the body part. If not, more pictures may be needed.

What are the possible complications of an MRI?

People can be hurt in MRI machines if they take metal items into the room or if other people leave metal items in the room.

Some people become very uneasy and even panic when lying inside the MRI scanner.

Some people react to the contrast material. Such reactions can include:

  • Nausea
  • Pain at the needle site
  • A headache that develops a few hours after the test is over
  • Low blood pressure leading to a feeling of lightheadedness or faintness (this is rare)

Be sure to let your health care team know if you have any of these symptoms or notice any other changes after you get the contrast material.

Gadolinium, the contrast material used for MRI, can cause a special complication when it’s given to patients on dialysis or who have severe kidney problems, so it’s rarely given to these people. Your doctor will discuss this with you if you have severe kidney problems and need an MRI with contrast.

Small amounts of gadolinium can stay in the brain, bones, skin and other parts of your body for a long time (several months to years) after the test. It’s not known if this might have any health effects, but so far, studies haven’t found any harmful effects in patients with normal kidneys.

What else should I know about an MRI?

  • MRI can cost a lot. You may want to be sure your health insurance will cover this test before you have it.
  • People who are overweight may have trouble fitting into the MRI machine.
  • The use of MRI during pregnancy has not been well studied. MRI is usually not done in the first 12 weeks of pregnancy unless there’s a strong medical reason to use it.
  • Do not bring credit cards or other items with magnetic scanning strips with you into the exam room – the magnet could wipe out the information stored on them.
  • MRI does not expose you to radiation.

The American Cancer Society medical and editorial content team

Our team is made up of doctors and oncology certified nurses with deep knowledge of cancer care as well as journalists, editors, and translators with extensive experience in medical writing.

American College of Radiology/Radiological Society of North America. RadiologyInfo. Magnetic Resonance Imaging (MRI) – Body. February 12, 2014. Accessed at www.radiologyinfo.org/en/info.cfm?pg=bodymr on November 13, 2015.

Hricak H, Akin O, Bradbury MS, et al. Advanced imaging methods: Functional and metabolic imaging. In: DeVita VT, Hellman S, Rosenberg SA, eds. Cancer: Principles & Practice of Oncology. 7th ed. Philadelphia, Pa: Lippincott Williams & Wilkins; 2005:589-720.

Little JB, Grdina DJ. Ionizing radiation. In: Kufe DW, Bast RC, Hait WN, et al, eds. Cancer Medicine. 7th ed. Hamilton, Ontario: BC Decker; 2006:270-282.

Last Revised: August 25, 2023

Our lifesaving work is made possible thanks to generous supporters like you.

Donate now so we can continue to provide access to critical cancer information, resources, and support to improve lives of people with cancer and their families.