Background: Chronic kidney disease (CKD) has a high global prevalence with an estimated prevalence of 10.6%. While the global prevalence of erectile dysfunction (ED) is 18.4% in men aged> 20 years and 33% aged> 50 years. ED is found in 70% of CKD patients. The aim of the study is to determine the relationship between duration of chronic kidney disease with ED in patients undergoing routine hemodialysis.Method: A cross-sectional study conducted from 1 October 2018 to 18 June 2019 of 60 CKD patients undergoing hemodialysis. History and examination were carried out using the International Erectile Function Index (IIEF-5) questionnaire.Result: Out of 60 samples, 42 patients (70%) had ED. The average duration of chronic kidney disease resulting in mild, moderate-moderate and moderate ED was 10.94 ± 10.79, 24.20 ± 17.84 and 38.40 ± 16.78 months, respectively. Univariate analysis using Spearman rank correlation showed a direct relationship between the duration of CKD and DE (P = 0.00, R squared 0.814).Conclusion: Duration of chronic kidney disease has strong relationship with ED in hemodialysis patients