The role that serum uric acid (UA) plays in the pathophysiological development of erectile dysfunction (ED) is controversial. We aimed to screen the factors related with ED, and to examine the association between serum UA and ED. Our data were derived from a cross-sectional Survey on Prevalence in East China for Metabolic Diseases and Risk Factors study in 2014-2015. Questionnaire of International Index of Erectile Dysfunction-5 was used for assessment of ED. Data were collected in three general communities respectively. A total of 1365 men were enrolled with an overall mean age 55.5 ± 10.8 years (range: 20-83 years). The prevalence of ED was 62.4% (51.4% standardized) in the population. Males with ED were older, and more prone to have a higher follicle-stimulating hormone, luteinizing hormone, sex hormone-binding globulin, glycated hemoglobin, fasting plasma glucose levels and lower free androgen index (FAI), UA levels, and more likely to have diabetes and elevated blood pressure compared with those without ED. Age and UA were independent influencing factors for ED. Besides, UA was positively correlated with FAI after adjustment for age. In conclusion, our study demonstrated the protective role that UA might play in development of ED.