Rarer causes: endocrine disease (hypogonadism, prolactin-secreting pituitary tumours), neurological disease (multiple sclerosis, spinal cord injury, prolapsed disc), damage to the cavernosal nerves during radical pelvic surgery, neuropathy after pelvic radiotherapy, and drugs (antihypertensives, antidepressants, antipsychotics).