GWAS of erectile dysfunction (ED) in 6,175 cases among 223,805 European men identified one new locus at 6q16.3 (lead variant rs57989773, OR 1.20 per C-allele; p = 5.71x10-14), located between MCHR2 and SIM1. In-silico analysis suggests SIM1 to confer ED risk through hypothalamic dysregulation; Mendelian randomization indicates genetic risk of type 2 diabetes causes ED. Our findings provide novel insights into the biological underpinnings of ED.