Triggering receptor expressed on myeloid cells 2 (TREM2) is involved in neuroinflammation and HIV-associated neurocognitive impairment (NCI). People with HIV (PWH) using cannabis exhibit lower inflammation and neurological disorders. We hypothesized that TREM2 dysfunction mediates HIV neuropathogenesis and can be reversed by cannabinoids. EcoHIV-infected wildtype (WT) and TREM2R47H mutant mice were used to study HIV’s impact on TREM2 and behavior. TREM2 and related gene expressions were examined in monocyte-derived macrophages (MDMs) from PWH (n = 42) and people without HIV (PWoH; n = 19) with varying cannabis use via RNA sequencing and qPCR. Differences in membrane-bound and soluble TREM2 (sTREM2) were evaluated using immunocytochemistry (ICC) and ELISA. EcoHIV increased immature and C-terminal fragment forms of TREM2 in WT mice but not in TREM2R47H mice, with increased IBA1 protein in TREM2R47H hippocampi, correlating with worse memory test performance. TREM2 mRNA levels increased with age in PWoH but not in PWH. Cannabidiol (CBD) treatment increased TREM2 mRNA alone and with IL1β. RNA-seq showed the upregulation of TREM2-related transcripts in cannabis-using PWH compared to naïve controls. IL1β increased sTREM2 and reduced membrane-bound TREM2, effects partially reversed by CBD. These findings suggest HIV affects TREM2 expression modulated by cannabis and CBD, offering insights for therapeutic strategies.