Herpes simplex virus type 2 (HSV-2) is the most common cause of genital herpes (GH), but genital infection by herpes simplex virus type 1 (HSV-1) is increasing. The aim of this study was to analyze and compare epidemiological characteristics of patients with GH. Retrospective study conducted from January 2004 to December 2015 in patients with GH attended at two Sexually Transmitted Diseases (STDs) medical consultation of Bilbao-Basurto Integrated Health Organisation in Northern Spain. Patient's medical history was reviewed and data of interest was analyzed. One thousand three patients (524 male and 479 female) were reviewed. HSV-2 was detected in 74%. The proportion of HSV-1 increased during the study period, significantly in men (28% in 2004-2007 vs. 50% in 2012-2015). More female than male had HSV-1 infection (56% vs. 44%). The proportion of primary infection was higher among HSV-1 compared to HSV-2 (79% vs. 21%). Among the patients with HSV-1, primary infection was higher among men (86%) and in younger than 30 years. Recurrent GH was higher among HSV-2 infections (63%). In a multivariate model older age, geographic origin outside Spain, recurrent infection, prior contact with a partner's genital herpetic lesions, previous N. gonorrhoeae infection and prostitution were significantly associated with HSV-2 infection. HSV-2 was the most common causative agent of GH, but the proportion of HSV-1 increased. Overall, antecedent of STD and sexual risk behaviors were more frequent in patients with genital HSV-2 infection. Copyright © 2020 Elsevier España, S.L.U. and Sociedad Española de Enfermedades Infecciosas y Microbiología Clínica. All rights reserved.