Several epidemiological studies have reported a positive association between nocturia and erectile dysfunction (ED). Yet only limited evidence exists regarding the association between nocturia and ED among patients with type 2 diabetes mellitus, although nocturia and ED are common among type 2 diabetes mellitus patients.