BackgroundSexual and gender minorities (SGMs) are at higher risk of HIV incidence compared to their heterosexual cisgender counterparts. Despite the high HIV disease burden among SGMs, there was limited data on whether they are at higher risk of virologic failure, which may lead to potential disease progression and increased transmission risk. The All of Us (AoU) Research Program, a national community-engaged program aiming to improve health and facilitate health equity in the United States by partnering with one million participants, provides a promising resource for identifying a diverse and large volunteer TGD cohort. Leveraging various data sources available through AoU, the current study aims to explore the association between sexual orientation and gender identity (SOGI) and longitudinal virologic failure among adult people with HIV (PWH) in the US.MethodsThis retrospective cohort study used integrated electronic health records (EHR) and self-reported survey data from the All of Us (AoU) controlled tier data, version 7, which includes participants enrolled in the AoU research program from May 31, 2017, to July 1, 2022. Based on participants’ sexual orientation, gender identity, and sex assigned at birth, their SOGI were categorized into six groups, including cisgender heterosexual women, cisgender heterosexual men, cisgender sexual minority women, cisgender sexual minority men, gender minority people assigned female at birth of any sexual orientation, and gender minority people assigned male at birth of any sexual orientation. Yearly virologic failure was defined yearly after one’s first viral load testing, and individuals with at least one viral load test > 50 copies/mL during a year were defined as having virologic failure at that year. Generalized linear mixed-effects models were used to explore the association between SOGI and longitudinal virologic failure while adjusting for potential confounders, including age, race, ethnicity, education attainment, income, and insurance type.ResultsA total of 1,546 eligible PWH were extracted from the AoU database, among whom 1,196 (77.36%) had at least one viral failure and 773 (50.00%) belonged to SGMs. Compared to cisgender heterosexual women, cisgender sexual minority women (adjusted Odds Ratio [aOR] = 1.85, 95% CI: 1.05–3.27) were at higher risk of HIV virologic failure. Additionally, PWH who were Black vs. White (aOR = 2.15, 95% CI: 1.52–3.04) and whose insurance type was Medicaid vs. Private insurance (aOR = 2.07, 95% CI: 1.33–3.21) were more likely to experience virologic failure.ConclusionsMaintaining frequent viral load monitoring among sexual minority women with HIV is warranted because it allows early detection of virologic failure, which could provide opportunities for interventions to strengthen treatment adherence and prevent HIV transmission. To understand the specific needs of subgroups of SGMs, future research needs to examine the mechanisms for SOGI-based disparities in virologic failure and the combined effects of multi-level psychosocial and health behavior characteristics.