Vascular disease is the most common cause of erectile dysfunction. Cardiovascular disease shares common risk factors with ED. Other causes include neurological disorders, inflammatory conditions, psychiatric and psychological conditions, mechanical deformities, trauma, prescription and recreational drugs and endocrine disorders.