During early in vivo infection in mice, AMs upregulate a Nrf-dependent transcriptional program that limits IL-1β and TNF production to impair the control of Mtb33. Here, NKRF is linked to infection.