Using both in vitro and in vivo studies, we found that Eri and Hom likely inhibit inflammation through the NLRP3 inflammasome to improve Aβ25–35-induced memory impairment in mice. Here, NLRP3 is linked to memory impairment.