Yes, diabetes is a leading cause of erectile dysfunction (ED) in men. High blood sugar levels can damage blood vessels and nerves that control erection, leading to poor blood flow to the penis. Both type 1 and type 2 diabetes are associated with an increased risk of ED. Additionally, conditions like obesity, hypertension, and low testosterone—common in diabetics—can worsen sexual function. Psychological factors such as stress or depression may also contribute. Managing blood sugar levels, maintaining a healthy lifestyle, and seeking medical guidance can significantly improve erectile function in men with diabetes. Early intervention is key.