Nuclear at initial phase, cytoplasmic at assembly. Shortly after infection, Gag protein is targeted to centrosomes. It is then actively transported into the nucleus thanks to its nuclear localization signal. In the late phases of infection, Gag proteins assemble in the cytoplasm to form the virion's capsids (By similarity).