Cocaine use disorder (CUD) is highly comorbid with HIV infection and worsens HIV outcomes. Preclinical research on the outcomes of HIV infection may yield crucial information on neurobehavioral changes resulting from chronic drug exposure in people living with HIV (PLWH). Repeated exposure to cocaine alters behavioral responses to cocaine. This includes development of cocaine locomotor sensitization - or increased locomotor responses to the same doses of cocaine - which depends on nucleus accumbens (NAc) neural plasticity. NAc astrocytes are key regulators of neural activity and plasticity, and their function can be impaired by cocaine exposure and HIV infection, thus implicating them as potential regulators of HIV-induced changes in behavioral response to cocaine. To characterize the effects of HIV infection on cocaine locomotor sensitization, we employed the EcoHIV mouse model to assess changes in locomotor responses after repeated cocaine (10mg/kg) exposure and challenge. EcoHIV infection potentiated expression of cocaine sensitization. We also identified EcoHIV-induced increases in expression of the astrocytic nuclear marker Sox9 selectively in the NAc core. To investigate whether modulation of NAc astrocytes could reverse EcoHIV-induced deficits, we employed a chemogenetic approach. We found that chemogenetic activation of NAc astrocyte Gq signaling attenuated EcoHIV-enhanced cocaine sensitization. We propose that HIV infection contributes to cocaine behavioral sensitization and induces adaptations in NAc astrocytes, while promoting NAc astrocytic Gq-signaling can recover EcoHIV-induced behavioral changes. These findings identify potential cellular substrates of disordered cocaine-driven behavior in the context of HIV infection and point toward strategies to reduce cocaine-related behavior in PLWH.