During an MRI scan, patients lie on a table that slides into a large, tunnel-like machine. The procedure is painless but can be uncomfortable due to the confined space and loud noises produced by the machine. Some patients may require a contrast dye to enhance the images, which is usually injected intravenously.