Despite the widespread use of anti-retroviral therapy, human immunodeficiency virus (HIV) still persists in an infected cell reservoir that harbors transcriptionally silent yet replicationcompetent proviruses. While significant progress has been made in understanding how the HIV reservoir is established, transcription repression mechanisms that are enforced on the integrated viral promoter have not been fully revealed. In this study, we performed a wholegenome CRISPR knockout screen in HIV infected T cells to identify host genes that potentially promote HIV latency. Of several top candidates, the KRAB-containing zinc finger protein, ZNF304, was identified as the top hit. ZNF304 silences HIV gene transcription through associating with TRIM28 and recruiting to the viral promoter heterochromatin-inducing methyltransferases, including the polycomb repression complex (PRC) and SETB1. Depletion of ZNF304 expression reduced levels of H3K9me3, H3K27me3 and H2AK119ub repressive histone marks on the HIV promoter as well as SETB1 and TRIM28, ultimately enhancing HIV gene transcription. Significantly, ZNF304 also promoted HIV latency, as its depletion delayed the entry of HIV infected cells into latency. In primary CD4 + cells, ectopic expression of ZNF304 silenced viral transcription. We conclude that by associating with TRIM28 and recruiting host transcriptional repressive complexes, SETB1 and PRC, to the HIV promoter, ZNF304 silences HIV gene transcription and promotes viral latency.