IMPORTANCE Following infection with M. tuberculosis, levels of HDAC1 go up in macrophages, and it is recruited to the promoter of IL-12B where it hypoacetylates histone H3, leading to the downregulation of the gene. Here, IL12B is linked to infection.