While our study did not find an association between engagement in care and having an mpox diagnosis, we did find that history of an STI diagnosis and lower CD4 counts were both associated with an increased risk of mpox. This evidence concerns the gene CD4 and sexually transmitted disease.