Gabapentin is used to treat nerve pain, but it primarily prevents and controls seizures. It is considered an anti-seizure drug. Some research suggests that gabapentin might have anti-inflammatory benefits, but its classification has not changed.