BackgroundThe aim of this study was to determine the evolution of HIV infection, gonorrhea, syphilis and lymphogranuloma venereum (LGV), and their epidemiological characteristics in Barcelona city.MethodsPopulation-based incidence study of all newly occurring diagnoses of HIV infection, syphilis, gonorrhea and LGV detected in Barcelona between January 2007 and December 2011. A descriptive analysis was performed. The annual incidence rates per 100,000 inhabitants were calculated by sex, sexual conduct and educational level. To estimate global sex-specific rates we used the Barcelona city census; for the calculation of rates by sexual conduct and educational level we used estimates of the Barcelona Health Interview Survey. Trends were analysed using the chi-squared test for linear trend.ResultsHIV. 66.8 % of the HIV cases were men who had sex with men (MSM). The incidence rates in MSM over the study period were from 692.67/100,000 to 909.88/100,000 inh. Syphilis. 74.2 % of the syphilis cases were MSM. The incidence rates in MSM were from 224.9/100,000 to 891.97/100,000 inh. and the MSM with a university education ranged from 196.3/100,000 to 1020.8/100,000. Gonorrhea. 45.5 % of the gonorrhea cases were MSM. The incidence rates in MSM were from 164.24/100,000 to 404.79/100,000 inh. and the MSM with university education ranged from 176.7/100,000 to 530.1/100,000 inh.. Lymphogranuloma venereum (LGV). 95.3 % of the LGV cases are MSM. The incidence rates in MSM were from 24.99/100,000 to 282.99/100,000 inh. and the MSM with university education ranged from 9.3/100,000 to 265/100,000 inh.ConclusionAn increase in cases of STI was observed. These STI mainly affected MSM with a university education. Continuing to monitor changes in the epidemiology of STI, and identifying the most affected groups should permit redesigning preventive programs, with the goal of finding the most efficient way to reach these population groups.