Skip to content
Peptides are here: prescribed by physicians, compounded in the USA.Check it out →
Sexual Health

How Erectile Dysfunction Is Diagnosed: Tests Explained

American Protocol Editorial8 min read
A clipboard with a blank form, a capped pen and a blood pressure cuff resting on a pale wooden desk beside a small green plant

Key takeaways

  • ED is diagnosed mainly from your history: consistent difficulty getting or keeping an erection firm enough for satisfying sex.
  • A short validated questionnaire, the IIEF-5, is often used to gauge severity and track change over time.
  • Blood pressure, blood sugar, cholesterol and, when symptoms suggest it, morning testosterone are the core checks, because they find treatable causes and heart risk.
  • Specialist tests such as penile Doppler ultrasound and nighttime erection monitoring are reserved for specific situations, not routine use.
  • A thorough history can be taken by telehealth; some men need an in-person exam or urology referral, and a good provider says when.

Erectile dysfunction is diagnosed mostly through a careful history, meaning a structured conversation about your erections, health and medications, supported by a brief questionnaire and a few targeted blood tests. Most men do not need specialized imaging or overnight testing. The American Urological Association guideline frames ED as a clinical diagnosis based on what the patient reports, with testing used to find contributing causes and to guide treatment.

Knowing what the evaluation involves can make it less intimidating, and it helps you spot care that skips important steps. This guide walks through each part of a standard evaluation, what it is looking for, and when more specialized tests come in.

Step 1: the sexual and medical history

The AUA guideline recommends that every man with ED have a thorough medical, sexual and psychosocial history. This is where most of the diagnostic information comes from. Expect questions about:

  • The problem itself: difficulty getting an erection, keeping it, or both; how long it has been happening; whether it started suddenly or gradually.
  • Context: whether erections are normal in the morning or when alone, and whether the problem varies by partner or situation.
  • Desire and ejaculation: low desire, early or delayed ejaculation, and pain.
  • Health conditions: heart disease, high blood pressure, diabetes, high cholesterol, kidney disease, sleep apnea, depression and prostate conditions or treatment.
  • Medications and substances: every prescription, over-the-counter medicine and supplement, plus alcohol, nicotine and recreational drugs.
  • Relationship and mood: stress, anxiety, relationship strain and what you hope treatment will achieve.

Some of these questions can feel personal, but each one has a purpose. Sudden onset with normal morning erections points toward a psychological or situational cause, while gradual decline in every situation points toward a physical one. Our article on morning erections explains why clinicians ask about them.

Step 2: a standardized questionnaire

Many clinicians use the IIEF-5, a five-question abridged version of the International Index of Erectile Function, also called the Sexual Health Inventory for Men. It asks about confidence, firmness, maintaining an erection and satisfaction over the previous six months. Scores range from 5 to 25. In the original validation study, a score of 21 or below identified men with ED with good accuracy, and lower scores indicate more severe difficulty.

  • 22 to 25

    Usual interpretation
    No ED
  • 17 to 21

    Usual interpretation
    Mild
  • 12 to 16

    Usual interpretation
    Mild to moderate
  • 8 to 11

    Usual interpretation
    Moderate
  • 5 to 7

    Usual interpretation
    Severe
IIEF-5 score bands commonly used to grade ED severity

A questionnaire does not replace a clinician's judgment, but it gives a consistent baseline to compare against once treatment starts.

Step 3: physical examination and vital signs

A focused exam typically includes blood pressure, heart rate, weight and waist size, and a look for signs of hormonal or vascular problems. A genital exam can identify issues such as curvature, scarring or small testes, and a prostate exam may be relevant for men with urinary symptoms. Blood pressure matters for two reasons: high blood pressure is a common contributor to ED, and some blood pressure readings and medications affect which ED treatments are safe.

In telehealth care, recent home or pharmacy blood pressure readings often stand in for an in-office measurement. When something in your history suggests an exam is needed, for example a new curvature or a testicular change, the provider should refer you for in-person care.

Step 4: blood tests

Lab work looks for treatable contributors and for cardiovascular risk, which is closely tied to ED. A meta-analysis of prospective studies found that men with ED had a higher risk of later cardiovascular disease and stroke, independent of conventional risk factors. Common tests include:

  • Fasting glucose or HbA1c to screen for diabetes and prediabetes
  • Lipid panel for cholesterol and triglycerides
  • Morning total testosterone, especially when desire is low or other symptoms suggest it. The Endocrine Society recommends confirming low testosterone with repeat morning testing before diagnosing it.
  • Additional tests when indicated, such as free testosterone, SHBG, LH, prolactin, thyroid function or kidney function

Our guide to reading a hormone panel explains these results, and our lab testing page shows what a baseline panel covers.

Step 5: specialized tests, when they are needed

Most men never need these. The AUA guideline reserves specialized testing for situations where the results would change management, such as complex cases, men considering surgery, suspected Peyronie's disease, or a history of pelvic trauma.

  • Penile duplex Doppler ultrasound. After an injection that triggers an erection, ultrasound measures blood flow into and out of the penis. A 2023 review describes it as a key tool for identifying arterial insufficiency, venous leak and Peyronie's disease and for planning treatment.
  • Nocturnal penile tumescence and rigidity testing. A device worn overnight records nighttime erections. A normal recording in a man with erection complaints suggests a psychological cause, although reviews caution that the test has limitations and does not settle the question on its own.
  • Psychological or sex therapy assessment when anxiety, depression or relationship factors appear central.

How to prepare for an ED evaluation

A little preparation makes the history more accurate and the visit or questionnaire faster. Before you start, it helps to gather:

  • A complete list of prescriptions, over-the-counter medicines and supplements, including anything used only occasionally, such as chest-pain sprays or tablets
  • Your most recent blood pressure readings and any lab results from the past year
  • A rough timeline: when the problem started, whether it came on suddenly, and anything that changed around then, such as a new medication, a stressful period or weight change
  • Notes on what you notice: trouble getting versus keeping an erection, morning erections, desire, and ejaculation
  • Your goals and preferences, for example whether you would prefer an as-needed or a daily option

Being specific and honest, including about alcohol, nicotine and recreational drugs, lets the clinician choose safe options. Nothing you share changes whether you deserve care; it only changes which care is safest.

What a good evaluation should not skip

Whether in person or online, a responsible evaluation should always ask about nitrate medications and heart symptoms before considering a PDE5 inhibitor, review every medication you take, consider whether blood work is needed, and leave room for referral when something does not fit. It should also treat ED as a possible signal about heart and metabolic health rather than only a prescription request. Our guide to ED treatment online covers how this works through telehealth, and ED and heart health explains the cardiovascular link.

Our sexual health program starts with a detailed online questionnaire reviewed by a licensed provider, who decides whether treatment is appropriate, whether labs are needed first, or whether you should be seen in person.

Common questions

Is there a single test for erectile dysfunction?

No. ED is diagnosed mainly from your history. Questionnaires, blood tests and, occasionally, specialized tests help find the cause and gauge severity.

What blood tests are done for ED?

Common tests are fasting glucose or HbA1c, a lipid panel and a morning testosterone level. Others, such as thyroid function, prolactin or LH, are added when the history suggests them.

What is the IIEF-5 score?

It is a five-question survey about erections over the past six months, scored from 5 to 25. A score of 21 or below suggests ED, and lower scores indicate more severe difficulty.

Do I need a penile ultrasound?

Usually not. Penile Doppler ultrasound is mainly used in complex cases, when surgery is being considered, or when Peyronie's disease or a blood-flow problem is suspected.

Can ED be diagnosed online?

For many men, yes. A thorough questionnaire covering history, medications and heart health, reviewed by a licensed provider, follows the same history-first approach as an office visit. The provider should refer you for an in-person exam when your history calls for one.

Why does the doctor ask about heart disease?

ED and heart disease share risk factors and blood-vessel changes, and ED can appear before heart symptoms. Heart conditions and nitrate medicines also determine whether ED medications are safe.

Sources

  1. Burnett AL, Nehra A, Breau RH, et al. Erectile dysfunction: AUA guideline. J Urol. 2018;200(3):633–641. Link (opens in a new tab)
  2. Rosen RC, Cappelleri JC, Smith MD, et al. Development and evaluation of an abridged, 5-item version of the International Index of Erectile Function (IIEF-5) as a diagnostic tool for erectile dysfunction. Int J Impot Res. 1999;11(6):319–326. Link (opens in a new tab)
  3. Elgendi K, Zulia N, Beilan J. A review on penile Doppler and ultrasonography for erectile dysfunction. Curr Urol Rep. 2023;24(2):69–74. Link (opens in a new tab)
  4. Zou Z, Lin H, Zhang Y, Wang R. The role of nocturnal penile tumescence and rigidity (NPTR) monitoring in the diagnosis of psychogenic erectile dysfunction: a review. Sex Med Rev. 2019;7(3):442–454. Link (opens in a new tab)
  5. Bhasin S, Brito JP, Cunningham GR, et al. Testosterone therapy in men with hypogonadism: an Endocrine Society clinical practice guideline. J Clin Endocrinol Metab. 2018;103(5):1715–1744. Link (opens in a new tab)
  6. Dong JY, Zhang YH, Qin LQ. Erectile dysfunction and risk of cardiovascular disease: meta-analysis of prospective cohort studies. J Am Coll Cardiol. 2011;58(13):1378–1385. Link (opens in a new tab)
  7. National Institute of Diabetes and Digestive and Kidney Diseases (NIH). Diagnosis of erectile dysfunction. Link (opens in a new tab)

This article is for general education and is not medical advice. Protocols described here require an online consultation with a licensed provider who will determine if a prescription is appropriate for you. Explore sexual health options or read the FAQ.

Ready When You Are.

Answer a few questions. A licensed provider takes it from there.