Nerve pain (neuropathic pain) brought on by diseases including fibromyalgia, diabetic neuropathy, and postherpetic neuralgia (shingles) is frequently treated with gabapentin. Additionally, it is used to treat epilepsy seizures and to ease the symptoms of restless legs syndrome.