KDM6B recruitment upon infection exhibited an associated loss of overall H3K27me3 in host cells and was Salmonella SPI1 effectors coordinated. Here, KDM6B is linked to infection.