BACKGROUND: Influenza vaccination is recommended for adults regardless of human immunodeficiency virus (HIV) status. There may be facilitators or barriers to vaccinating people with HIV (PWH) that differ from people without HIV (PWoH). We sought to describe the uptake of influenza vaccination by HIV status and identify factors associated with vaccination. METHODS: We abstracted data from the electronic health records of PWH and PWoH in Kaiser Permanente Northern California during 6 influenza seasons (2013-2018). We determined vaccination uptake and used Poisson regression models to evaluate factors associated with vaccination in PWH and PWoH. RESULTS: 9272 PWH and 194 393 PWoH matched by age, sex, and race/ethnicity were included (mean age: 48 vs 49 years; men: 91% vs 90%; White race: 53% for both groups). PWH were more likely to receive the influenza vaccine (65-69% across years for PWH and 37-41% for PWoH) with an adjusted risk ratio for all years of 1.48 (95% CI: 1.46-1.50). For PWH, lower vaccination uptake was associated with several factors that suggested more complex health needs, such as lower CD4 cell counts, higher HIV viral loads, prior depression diagnoses, having Medicare insurance, and having a higher number of comorbidities. Associations with vaccination uptake were attenuated in PWH, compared with PWoH, for smoking, alcohol, and demographic factors. CONCLUSIONS: PWH had an almost 50% higher uptake of influenza vaccination than PWoH, possibly reflecting greater engagement with the healthcare system. We also found that PWH with more complex health needs had reduced vaccination uptake. Findings may inform outreach strategies to increase influenza vaccination in PWH.