Gabapentin is used in combination with other treatments to treat and prevent seizures. It is often used to help alleviate nerve pain following shingles (an unpleasant rash caused by herpes zoster infection). Gabapentin is used as an anticonvulsant or antiepileptic drug.