The failure to obtain or maintain a solid enough erection for sexual intercourse is known as erectile dysfunction (ED).