BACKGROUND: Cancer is one of the most common comorbidities in men living with HIV (MLWH). However, little is known about the MLWH subgroups with the highest cancer burden to which cancer prevention efforts should be targeted. Because Medicaid is the most important source of insurance for MLWH, we evaluated the excess cancer prevalence in MLWH on Medicaid relative to their non-HIV counterparts. METHODS: In this cross-sectional study using 2012 Medicaid Analytic eXtract data nationwide, we flagged the presence of HIV, 13 types of cancer, symptomatic HIV, and viral coinfections using codes from the International Classification of Diseases, Ninth Revision, Clinical Modification. The study population included individuals administratively noted to be of male sex (men), aged 18 to 64 years, with (n = 82,495) or without (n = 7,302,523) HIV. We developed log-binomial models with cancer as the outcome stratified by symptomatic status, age, and race/ethnicity. RESULTS: Cancer prevalence was higher in MLWH than in men without HIV (adjusted prevalence ratio [