Magnetic resonance imaging provides images of soft tissue structures in the body. Though an MRI cannot show nerve damage, it can help identify any structural changes or abnormalities in the body that may be causing nerve compression, such as a herniated disk. Nerve damage is typically diagnosed based on the results of a neurological examination.