• 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. The gene discussed is NLRP3; the disease is infection.