There are many common causes of ED, including heart disease, blood vessel disease, diabetes, certain medications, obesity, cigarette smoking, depression, anxiety, stress, and more. Sometimes ED is caused by a combination of factors, and sometimes a specific cause is never determined.