Epileptic IL-17A WT mice showed thigmotaxis and reluctance to stay in open arms, whereas IL-17A KO mice spent more time in the center area and open arms, suggesting alleviated anxiety in epilepsy. Here, IL17A is linked to epilepsy.