Here, we show that YTHDF1–3 proteins recognize m6A-modified HIV-1 RNA and inhibit HIV-1 infection in cell lines and primary CD4+ T-cells. Here, CD4 is linked to HIV-1 infection.