Losing Nrf2 makes mice vulnerable to viruses and activation of Nrf2 reduces the infection by Salmonella typhimurium. Here, NFE2L2 is linked to infection.