Depression is a common psychiatric disorder, which seriously affects people’s health and quality of life. Current treatments, which mainly focus on neurotransmitter levels, are not effective in many patients. Recent studies have shown that neuroinflammation has certain correlation with the pathogenesis of depression. Tert-butylhydroquinone (TBHQ) is an antioxidant with an anti-inflammatory effect. The present study evaluated the effects of TBHQ on the improvement of depression-like behaviors induced by lipopolysaccharide (LPS) in mice and its possible mechanism. Behavioral test results showed that TBHQ treatment could significantly improve the depression-like behaviors of mice. Western blot results showed that TBHQ treatment inhibited the protein expression of NLRP3, Caspase-1, IL-1β, and IL-18, which induced by LPS. Immunofluorescence staining results showed that TBHQ treatment inhibited the activation of microglia induced by LPS. These results suggested that, by inhibiting LPS-induced neuroinflammation and microglia activation, TBHQ could effectively improve LPS-induced inflammation-related depression-like behavior through modulating the NLRP3 signaling pathway.