Gabapentin is used primarily to treat seizures and neuropathic pain. It is also commonly prescribed for many off-label uses, such as treatment of anxiety disorders insomnia, and bipolar disorder.