Here, it is shown that MG is an anti-pyroptotic phenolic metabolite that targets NLRP3, NLRC4, and AIM2 inflammasomes, subsequently reducing caspase-1 and IL-1β protein levels in murine primary cortical microglia and the brain, as its beneficial effect to counteract anxiety and depression is also demonstrated. This evidence concerns the gene NLRP3 and depressive symptom measurement.