- Magnetic resonance imaging: This test uses a strong magnetic field and radio waves to obtain images of the brain. The scanner is a metal cylinder surrounded by a strong magnetic field. The subject lies on a table that can slide in and out of the cylinder. Most scans last between 45 and 90 minutes. Subjects wear earplugs to muffle loud knocking noises that occur during scanning.