Abstract
            Introduction: Endocrine disorders are one of the causes of infertility and sexual dysfunction is  one of the neurological complications of diabetes.  
  Objectives: The present study investigated the relationship between sexual function and type 2  diabetes in infertile men referring to the Royan Institute in 2019.  
  Patients and Methods: This cross-sectional study was conducted in 2019 on 150 non-diabetic  infertile men and 126 diabetic infertile men who referred to the Royan institute and were  qualified in terms of research inclusion criteria. The convenience sampling method was used.  The tools used to collect data include a demographic checklist, an 11-item version of Sexual  Quality of Life-Male (SQOL-M), and a 15-question International Index of Erectile Function  (IIEF) Questionnaire.  
  Results: A total of 276 people were evaluated in this study. The mean age of participants was 40.98  (7.44) years in the diabetic group and 35.2 (6.08) years in the non-diabetic group. Sexual function,  failure to reach ultimate pleasure, sexual desire, satisfactory sexual intercourse, overall sexual  satisfaction, erectile function, as well as the standard index of sexual quality of life (SQOL-M  score) showed no statistically significant difference between diabetic and non-diabetic infertile  men (P> 0.05). In people with normal body mass index (BMI) and employees, the relationship  between diabetes and the overall score of sexual function was statistically significant (P< 0.05).  In addition, there is a significant relationship between diabetes and the SQOL-M in people under  37 years of age and people with primary infertility (P< 0.05).  
  Conclusion: Age and BMI are the two main factors influencing sexual function. In the present  study, statistical relationship of these two factors in two groups of diabetics and non-diabetic  infertile men not in general but in subgroups was proved. Our investigation indicated no  statistically significant relationship between the two groups of diabetic and non-diabetic infertile  men in any of the factors of sexual function and the standard index of male quality of sexual life.