This study suggests that HIV-1 infection–induced translocation to nuclear speckles affects the cellular functions of CPSF5 and CPSF6. Here, NUDT21 is linked to HIV-1 infection.