Conclusion: Sexual dysfunction in male patients with type 2 diabetes mellitus with neurological complications in our study accounted for 68.7%, in which the longer the duration of diabetes and the level of the more severe the degree of peripheral neuropathy, the higher the frequency of erectile dysfunction, so it is necessary to detect it early and avoid affecting the patient's quality of life.