Diabetes mellitus is one of the most common chronic diseases in nearly all countries. It has been associated with sexual dysfunction, both in males and in females. Diabetes is an established risk factor for sexual dysfunction in men, as a threefold increased risk of erectile dysfunction was documented in diabetic men, as compared with nondiabetic men. Among women, evidence regarding the association between diabetes and sexual dysfunction are less conclusive, although most studies have reported a higher prevalence of female sexual dysfunction in diabetic women as compared with nondiabetic women. Female sexual function appears to be more related to social and psychological components than to the physiological consequence of diabetes. Hyperglycemia, which is a main determinant of vascular and microvascular diabetic complications, may participate in the pathogenetic mechanisms of sexual dysfunction in diabetes. Moreover, diabetic people may present several clinical conditions, including hypertension, overweight and obesity, metabolic syndrome, cigarette smoking, and atherogenic dyslipidemia, which are themselves risk factors for sexual dysfunction, both in men and in women. The adoption of healthy lifestyles may reduce insulin resistance, endothelial dysfunction, and oxidative stress – all of which are desirable achievements in diabetic patients. Improved well-being may further contribute to reduce and prevent sexual dysfunction in both sexes.