Abstract: To analyse the risk factors for diabetic erectile dysfunction(DED).The prevalence of DED in male with T2DM was 67.7%(153/226).It was found by the analysis of logistic regression that the values of OR rose to 1.9617,1.2519,2.3207,1.1219,1.6745(P<0.05) and 4.3671(P<0.01),along with the adding of 5 years of duration,10 years of age,2% of HbA1c,30 mmHg of systolic blood pressure,positive history of smoking and drinking respectively.