Our study provides valuable insights regarding the association between serum IL-17A and IL-23A levels and the pathophysiology of GAD. Here, IL23A is linked to generalized anxiety disorder.