Syphilis (active, latent or treated) was positively related to age, HCV infection, and, unexpectedly, lower HIV plasma viral load and higher CD4 count. This evidence concerns the gene CD4 and syphilis.