To conduct a population-based analysis and compare life expectancy between people with HIV and the general population in New York City (NYC).
We obtained the annual total number and age, sex, and race/ethnicity distributions of people with HIV from the NYC HIV registry and generated comparable numbers for the NYC general population from the Census 2000 and 2010 data using linear interpolation.
Life expectancy at age 20 among people with HIV increased from 38.5 years [95% confidence interval (CI): 37.4 to 39.5] in 2009 to 50.6 (95% CI: 48.5 to 52.7) in 2018, whereas it increased from 62.0 years (95% CI: 61.8 to 62.1) to 63.6 (95% CI: 63.5 to 63.7) among the NYC general population. The gap between the 2 populations narrowed from 23.5 years (95% CI: 22.4 to 24.6) in 2009 to 13.0 (95% CI: 10.9 to 15.1) in 2018. By sex and race/ethnicity, life expectancy at age 20 among people with HIV increased from 36.7 years in 2009 to 47.9 in 2018 among Black men; 37.5 to 50.5 years among Black women; 38.6 to 48.9 years among Hispanic men; 46.0 to 51.0 years among Hispanic women; 44.7 to 59.7 years among White men; and 38.0 years in 2009–2013 to 50.4 years in 2014–2018 among White women.
Life expectancy among people with HIV improved greatly in NYC in 2009–2018, but the improvement was not equal across sex and racial/ethnic groups. The gap in life expectancy between people with HIV and the general population narrowed but remained.