• Selenium intervention mitigated both oxidative stress and the inflammatory reaction. It downregulated the expression of IL-1β, TNF-α, ASC, caspase-1, and pro-IL-1β.• Additionally, selenium hindered the activation of NLRP3 within bMECs following infection with S. aureus. This evidence concerns the gene TNF and infection.