Erectile dysfunction (ED) is the inability to achieve or maintain an erection sufficient for satisfactory sexual performance. It is a common condition, particularly in older men, but it can affect men of any age. ED can be caused by a variety of factors, including physical, psychological, or a combination of both.