In addition to nasal symptoms, allergic rhinitis (AR) has increasingly been reported to be associated with depression-like behaviors. Recent evidence suggests that neuroinflammation in the hypothalamus may cause these depressive symptoms in AR. However, the precise mechanisms and effective treatments remain to be elucidated. This study investigated the ameliorative effects of metformin on neuroinflammation in the hypothalamus, depressive-like behavior and the underlying molecular mechanisms of AR mice. Mice were administered ovalbumin (OVA) intranasally to induce allergic rhinitis and subsequently subjected to behavioral experiments to detect depressive-like behavior. The roles of the TRPV1/NLRP3 pathway in depression-like behaviors in AR were examined in vivo. Additionally, the mechanism of TRPV1/NLRP3-mediated neuroinflammation was investigated in vitro. Finally, metformin was utilized to explore its possible mechanisms and efficacy in treating depressive-like behavior in AR. AR mice exhibited significant depressive-like behavior, which was attenuated by metformin. The number of Iba-1