Gabapentin, often referred to by its brand name Neurontin, is a medication primarily used to treat neuropathic pain and seizures. It works by affecting the way that nerves send messages to your brain, helping to reduce pain and prevent seizures. Gabapentin is also sometimes prescribed for conditions like anxiety and restless legs syndrome. Common side effects may include dizziness, fatigue, and drowsiness.