Published 2 Years AgoGabapentin for anxietyit is prescribed mainly to treat pain brought about by the shingles virus or the flu virus (called herpes zoster.)