Results showed that 59% of the study subjects had poor sleep with PSQI scores > 5; more than half of patients could not sleep for 30 minutes; erectile dysfunction, stress in life and anxiety about illnesses were related to sleep quality with p < 0.05.