Electromyography, commonly known as EMG, is electrodiagnostic testing. EMG is used to diagnose disorders of the nervous system. This includes pinched nerves from your spine or extremities. It is used for diagnosing conditions such as carpal tunnel syndrome or peripheral neuropathy. Results of the testing will provide objective information for your doctor to help guide your care.