Persistent or recurrent inability to attain, or to maintain until completion of the sexual activity, an adequate erection.

The disturbance causes marked distress or interpersonal difficulty.

The erectile dysfunction is not better accounted for by another mental disorder (other than a sexual dysfunction) and is not due exclusively to the direct physiological effects of a substance (e.g., a drug of abuse, a medication) or a general medical condition.