We have solved the crystal structure of HIV-1 CAN in complex with the cyclophilin domain of nuclear pore protein NUP358, revealing how HIV-1 may target itself to the nuclear pore during infection. Here, PPIB is linked to infection.