A physical cause can be identified in about 80% of cases.[2] These include cardiovascular disease, diabetes mellitus, neurological problems such as following prostatectomy, hypogonadism, and drug side effects. Psychological impotence is where erection or penetration fails due to thoughts or feelings; this is somewhat less frequent, in the order of about 10% of cases.[2] In psychological impotence, there is a strong response to placebo treatment.

A duplex ultrasound is a diagnostic technique that uses painless, high frequency sound waves to visualize structures beneath the skin's surface. The principle is similar to the sonar used on submarines. Sound waves are reflected back when they contact relatively dense structures such as fibrous tissue or blood vessel walls. These reflected sound waves can be converted into pictures of the internal structures being studied.
For best results, men with ED take these pills about an hour or two before having sex. The drugs require normal nerve function to the penis. PDE5 inhibitors improve on normal erectile responses helping blood flow into the penis. Use these drugs as directed. About 7 out of 10 men do well and have better erections. Response rates are lower for Diabetics and cancer patients.