Taken together, our results identified IL-17A as a novel biomarker for mediating heightened anxiety in chronic epilepsy. Here, IL17A is linked to Anxiety.