Gabapentin is an anti-epileptic drug, also called an anticonvulsant. It affects chemicals and nerves in the body that are involved in the cause of seizures and some types of pain. All brands of gabapentin are used in adults to treat neuropathic pain (nerve pain) caused by herpes virus or shingles