Here, we show that IRF8 deficiency drives anxiety-like and repetitive disorders in mice in a sex-dependent manner, with female mice exhibiting more severe symptoms. Here, IRF8 is linked to Anxiety.