Linalool, a natural compound of the essential oils, has been reported to have anti-inflammatory effects. This study aimed to investigate the anti-inflammatory effects and mechanism of linalool in LPS-stimulated BV2 microglia cells. BV2 microglia cells were stimulated with LPS in the presence or absence of linalool. The production of inflammatory mediators TNF-α, IL-1β, NO, and PGE2 as well as Nrf2, HO-1 expression were detected. Our results showed that linalool inhibited LPS-induced TNF-α, IL-1β, NO, and PGE2 production in a dose-dependent manner. Linalool also inhibited LPS-induced NF-κB activation. Treatment of linalool induced nuclear translocation of Nrf2 and expression of HO-1. In addition, our results showed that the anti-inflammatory effect of linalool was attenuated by transfection with Nrf2 siRNA. In conclusion, these results suggested that linalool inhibits LPS-induced inflammation in BV2 microglia cells by activating Nrf2/HO-1 signaling pathway.