This study was conducted in order to determine the prevalence of sexual dysfunction and factors affecting sexual dysfunction (SD) in male patients with diabetes. Diabetes is a public health problem. Erectile dysfunction (ED) is seen in nearly half of all males who have had diabetes for more than 10 years. Erectile dysfunction, metabolic and psychological factors are involved in the emergence. A descriptive was conducted and questionnaire was used in this study. Data was gathered via general knowledge form which consists of socio-demographic characteristics and risk factors, International Index of Erectile Function, Quality of Life Scale (SF-36), Beck Depression Inventory, Coopersmith Self-Esteem Scale, and Body Image Scale. SD was determined in 48 % of our cases. The most affected domain among the cases was erectile function (33.1 %) and intercourse satisfaction (29.1 %), and the least affected domain was sexual desire (6.3 %). Most of the male cases with ED had mild and moderate ED (42.6 %). Factors affecting SD's included age, education level, obesity, hypertension, retinopathy, vasculopathy, nephropathy, diabetic foot, HBA1C and LDL levels, diabetes duration, drugs used. All quality of life subgroups scores were lower in male patients with SD than patients without SD except for pain. Depression and body image scores were lower in male patients with SD. SD's are affected by both metabolic and psychosocial factors. Sexual dysfunction in men with diabetes should be routinely evaluated.