Neurontin is a brand name for the generic drug gabapentin. A prescription medication called gabapentin is used to treat shingles-related nerve pain and seizures (rash). This medication is available as an oral capsule in both immediate-release and extended-release formulations.