Macrophages are long-lived target cells for HIV infection and are considered viral reservoirs. HIV assembly in macrophages occurs in virus-containing compartments (VCCs) in which virions accumulate and are stored. The regulation of the trafficking and release of these VCCs remains unknown. Using high resolution light and electron microscopy of HIV-1-infected primary human macrophages, we show that the spatial distribution of VCCs depended on the microtubule network and that VCC-limiting membrane was closely associated with KIF3A+ microtubules. Silencing KIF3A strongly decreased virus release from HIV-1-infected macrophages, leading to VCC accumulation intracellularly. Time-lapse microscopy further suggested that VCCs and associated KIF3A move together along microtubules. Importantly, KIF3A does not play a role in HIV release from T cells that do not possess VCCs. These results reveal that HIV-1 requires the molecular motor KIF3 to complete its cycle in primary macrophages. Targeting this step may lead to novel strategies to eliminate this viral reservoir.