In this report, we investigated the role of the Cyp domain of RANBP2 in HIV infection and MX2 activity by gene editing of the endogenous RANBP2 locus. This evidence concerns the gene MX2 and HIV infectious disease.