There are numerous neurological (nerve-related) causes of ED. Diabetes, persistent alcoholism, multiple sclerosis, heavy metal toxicity, drug induced, spinal cord and nerve trauma, and nerve damage after pelvic surgery can all result in erectile dysfunction.