Free shipping on orders over $149
SafeRxPills - Online Pharmacy
These products are intended for personal use only. We are not licensed by the FDA.
Back to BlogMen's Health

What Is Erectile Dysfunction? How Doctors Define, Score and Diagnose It

S

SafeRxPills Pharmacy Team

Our pharmacy team consists of certified pharmacists and medical writers with 10+ years of experience in pharmaceutical sciences.

May 18, 202619 min read
Last updated: October 21, 2026
Share:
In this article (22 sections)

Erectile dysfunction (ED) is the ongoing or repeated inability to get or keep an erection firm enough for satisfying sex. That is close to the exact wording used by the American Urological Association (AUA) and the European Association of Urology (EAU). The words "ongoing or repeated" matter: one bad night is not ED.

This guide explains how doctors define ED, how they measure it with a short five-question score, what a proper check-up includes, which blood tests are usually ordered and why, and when special tests are used. It is written for men who want to know whether what they are experiencing counts as ED and what to expect at an appointment. Causes are covered in more depth in our separate guide to erectile dysfunction causes, and treatment options in other guides linked below. Every number here comes from the guidelines and studies listed at the end.

The short answer

ED means erections that are not firm enough, or do not last long enough, for satisfying sex, on a consistent or recurring basis. It is common: in a national US survey, 18.4% of men aged 20 and over reported it, and in the Massachusetts Male Aging Study, 52% of men aged 40 to 70 had some degree of it. A doctor confirms ED from your history, not a single test. The usual visit includes questions about your erections, a short questionnaire such as the five-item Sexual Health Inventory for Men (SHIM, also called IIEF-5), a physical exam with blood pressure and weight, and blood tests for blood sugar (or HbA1c), cholesterol and a morning testosterone level. Special tests such as penile ultrasound are kept for selected men. Both major urology guidelines treat ED as a possible early sign of heart and blood vessel disease, which is a good reason to see a doctor rather than only buying tablets.

The definition doctors use

The AUA guideline defines ED as the inability to attain and/or maintain penile erection sufficient for satisfactory sexual performance. It also endorses a second version from the Fourth International Consultation on Sexual Medicine: the consistent or recurrent inability to attain and/or maintain penile erection sufficient for sexual satisfaction. The EAU guideline uses the persistent inability to attain and maintain an erection sufficient to permit satisfactory sexual performance.

Three points follow from those definitions:

  • It is about function, not size or desire. ED is a problem with firmness or staying power, not with libido, orgasm or penis size.
  • It is persistent. The guidelines use the words consistent, recurrent or persistent. Occasional problems after alcohol, tiredness or stress are common and do not by themselves mean ED.
  • Satisfaction counts. The definitions refer to satisfactory sexual performance or satisfaction, so how much the problem bothers you and your partner is part of the picture.

What ED is not

The AUA guideline points out that men often confuse ED with other sexual problems. Telling them apart matters because the treatments are different:

ProblemWhat happensWhy it is different from ED
Premature (early) ejaculationEjaculation before or shortly after penetration, after which the erection is lostThe erection was adequate; it was lost because of ejaculation
Refractory periodAfter orgasm the penis will not become erect again for a whileNormal; the AUA notes it tends to get longer with age
Low sexual desireLess interest in sexThe AUA notes that successful ED treatment will not fix low desire
Peyronie's diseaseA curve or deformity of the erect penis from scar tissueA structural problem that may need its own assessment

A man can have more than one of these at the same time, which is one reason a doctor will ask about desire, ejaculation and the shape of the erection as well as firmness.

How common ED is

ED becomes more common with age, but it is not limited to older men. Some of the most quoted figures:

StudyWho was studiedFinding
Massachusetts Male Aging Study (Feldman 1994)Men aged 40 to 70 near Boston, 1987 to 198952% had minimal, moderate or complete ED; complete ED rose from 5% at age 40 to 15% at age 70
NHANES 2001 to 2002 (Selvin 2007)2,126 US men aged 20 and over18.4% overall, about 18 million US men; 51.3% of men with diabetes
NHANES 2001 to 2002 (Saigal 2006)3,566 US men aged 20 and overAlmost 1 in 5 overall; 77.5% of men aged 75 and over
Cologne Male Survey (Braun 2000)4,489 German men aged 30 to 8019.2% overall, rising from 2.3% to 53.4% across age groups

The AUA guideline estimates that up to 30 million men in the United States and 150 million worldwide are affected. A 1999 projection based on the Massachusetts study estimated that the worldwide number could reach about 322 million by 2025, mostly because populations are ageing. Figures differ between studies because each used a different question or questionnaire and a different age range, so they should not be compared directly.

Is it ED, or just an off night?

There is no fixed rule in the guidelines for how many failed attempts make a diagnosis. What doctors look for is a pattern: problems that happen consistently or keep coming back, and that bother you. Things that point towards a pattern worth discussing include:

  • problems on most occasions rather than once in a while
  • erections that have gradually become softer over months, which the AUA says may suggest underlying conditions, particularly heart and blood vessel disease
  • difficulty that happens with every partner and in every situation
  • worry about erections that is starting to affect your relationship or your confidence

If you recognise these, it is reasonable to see a doctor. If you had one or two bad nights after drinking or during a stressful week, it is more likely to be situational.

The five-question score (SHIM or IIEF-5)

Both guidelines recommend validated questionnaires. The EAU rates this as a strong recommendation. The AUA recommends them to grade severity, measure treatment effect and guide management.

The most widely used short form is the Sexual Health Inventory for Men (SHIM), also called the IIEF-5 because it was taken from the 15-item International Index of Erectile Function. It has five questions, each scored from 1 to 5, about the last six months. The questions cover your confidence that you can get and keep an erection, how often erections were hard enough for penetration, how often you could keep the erection after penetration, how difficult it was to keep it until the end of intercourse, and how often intercourse was satisfying. The total runs from 5 to 25.

SHIM total scoreInterpretation (AUA guideline)
22 to 25No ED
17 to 21Mild ED
12 to 16Mild to moderate ED
8 to 11Moderate ED
5 to 7Severe ED

In the study that developed the SHIM (Rosen 1999, 1,152 men: 1,036 with ED and 116 without), a cut-off of 21 or below picked up ED with a sensitivity of 0.98 and a specificity of 0.88. In plain terms, it rarely missed a man who had ED, and it wrongly labelled about 12 in 100 men without ED.

What the score can and cannot tell you

The SHIM is good at grading how severe the problem is and at tracking change with treatment. It does not tell you why erections are failing. The AUA also notes that a questionnaire will not give a valid score for a man who is not sexually active, because several questions ask about intercourse.

The full 15-item IIEF has an erectile function domain scored from 5 to 30. The AUA gives these ranges for it: 26 to 30 normal, 18 to 25 mild, 11 to 17 moderate, and 10 or below severe. The AUA warns that the SHIM and the IIEF erectile function domain use different score ranges, so a score from one should not be read using the other's scale.

A simpler one-question tool, the Erection Hardness Score, asks you to rate hardness from 0 (the penis does not enlarge) to 4 (completely hard and fully rigid). Both guidelines list it as a validated option.

What the doctor will ask

The AUA's first statement is that men with ED should have a thorough medical, sexual and psychosocial history, a physical examination and selective laboratory testing. The EAU says the first step is always a detailed medical and sexual history, including from the partner when possible. Typical questions, drawn from the AUA guideline, include:

  • when the problem started and whether it came on suddenly or gradually
  • whether the difficulty is getting an erection, keeping it, or both
  • whether it happens in every situation or only some, for example only with a partner
  • whether you still have erections at night or on waking, and with masturbation
  • how much it bothers you, and whether you have tried ED medicines before
  • other health conditions, operations, medicines, family history of heart disease, smoking, alcohol and drug use
  • changes in desire, ejaculation or orgasm, and any curve in the penis
  • stress, mood, anxiety and the state of the relationship

What morning erections tell the doctor

The AUA guideline says that having night-time or morning erections suggests, but does not confirm, a psychological component to ED. In other words, if the plumbing works while you sleep, anxiety, stress or relationship factors may be playing a larger part. It is a clue, not a test result, and many men have a mix of physical and psychological factors. The EAU notes that most cases are of mixed cause and suggests the terms primary organic or primary psychogenic ED rather than a strict either/or.

The physical examination

The examination is short and practical. According to the AUA and EAU guidelines it usually includes:

  • Blood pressure and pulse. The EAU says these should be measured if they have not been checked in the previous three to six months.
  • Weight and waist. BMI or waist size, as a guide to metabolic and heart risk. The AUA prefers waist measurement because it reflects belly fat better.
  • Signs of low testosterone, such as breast enlargement or reduced body hair.
  • Genital examination: the skin of the penis, the position of the opening, any hard plaques along the shaft (a sign of Peyronie's disease), and the size and consistency of the testicles.

The AUA says a rectal prostate exam is not required to evaluate ED, though it may be considered in men with prostate symptoms or before testosterone treatment.

Blood tests and why they are ordered

The AUA says that, with the possible exception of testosterone, blood sugar (or HbA1c) and in some cases cholesterol, no routine blood test is likely to change how ED itself is treated. The tests are still important because they can reveal conditions that need treatment in their own right. The EAU recommends glucose or HbA1c and a lipid profile if not checked in the previous 12 months, and an early morning total testosterone.

TestWhat it looks forGuideline
Fasting glucose or HbA1cUndiagnosed diabetes or prediabetesAUA and EAU
Lipid profile (cholesterol)Raised cholesterol, a shared risk factor for ED and heart diseaseAUA (in some men) and EAU
Morning total testosteroneTestosterone deficiencyAUA and EAU
Kidney function (BUN, creatinine)Kidney diseaseAUA, in some men
Thyroid tests, PSAThyroid disease; prostate checksAUA, may be appropriate for some men
Prolactin and LHPituitary and hormone problemsEAU, in selected men

The reason these particular tests are chosen is that the factors they look for are strongly linked to ED. In a national US survey, diabetes, smoking, obesity and high blood pressure each independently raised the odds of ED:

Bar chart of adjusted odds ratios for ED in US men aged 20 and over: diabetes 2.69, current smoking 1.74, obesity 1.60, high blood pressure 1.56.
Figure 1. How much each common risk factor raised the odds of ED after adjusting for the others, in a national US survey. An odds ratio of 2.69 means the odds of ED were about 2.7 times higher. Source: Saigal 2006, PMID 16432090.

Why testosterone is checked in the morning

The AUA recommends measuring morning total testosterone in men with ED. Testosterone varies through the day: the AUA says late afternoon levels can be about 20% lower than morning levels in young men, that the difference may be as high as 50%, and that it is much smaller in older men. Levels also vary by about 10% from day to day, and acute illness can lower them temporarily.

For that reason the AUA says at least two morning measurements are needed before diagnosing testosterone deficiency, which it defines as total testosterone below 300 ng/dL together with symptoms and signs. Low testosterone is one cause of ED among several, and the EAU notes that men should also be asked about symptoms such as reduced desire, low energy and fatigue.

Why a heart check is part of an ED visit

The AUA advises that men should be counselled that ED is a risk marker for underlying cardiovascular disease and other conditions. The EAU says ED should be considered a precursor of cardiovascular disease. ED and heart disease share risk factors (age, smoking, diabetes, high blood pressure, raised cholesterol, obesity, inactivity and depression, according to the AUA) and often the same underlying damage to blood vessels.

One of the clearest data sets comes from the placebo group of the Prostate Cancer Prevention Trial, which followed US men aged 55 and over. ED was very common at entry, and most men who did not have it at the start reported it within five years:

Bar chart: in the Prostate Cancer Prevention Trial placebo group, 47% of 8,063 men aged 55 and over without heart disease had ED at entry (3,816 men); of the 4,247 without ED at entry, 57% (2,420) reported new ED after 5 years.
Figure 2. How common ED was, and how often it appeared, in a large US trial cohort of men aged 55 and over. Source: Thompson 2005, PMID 16414947.

In the same men, those who had ED at the start went on to have more cardiovascular events:

Bar chart of unadjusted cardiovascular event rates: 15 per 1,000 person-years in men without ED at entry and 24 per 1,000 person-years in men with ED at entry. After adjustment, ED (new or existing) carried a hazard ratio of 1.45 (95% CI 1.25 to 1.69).
Figure 3. First cardiovascular events per 1,000 person-years in men with and without ED. After adjusting for age, weight, blood pressure, cholesterol, diabetes, smoking and other factors, men with new or existing ED had a 45% higher risk (hazard ratio 1.45). Source: Thompson 2005, PMID 16414947.

After adjustment for age, weight, blood pressure, cholesterol, diabetes, smoking, family history and other factors, men with new or existing ED had a hazard ratio of 1.45 (95% CI 1.25 to 1.69) for later cardiovascular events. The authors said the link was in the range of the risk from current smoking or a family history of heart attack. The AUA guideline adds that ED may come before a cardiovascular event by up to five years. Our guide to ED in young men looks at why this warning matters most at younger ages.

Is sex safe for your heart?

Because ED and heart disease often travel together, the guidelines also consider whether sexual activity is safe. The AUA says the absolute risk of a cardiac event during sex is small, particularly in men who are physically active in other ways. It summarises the Princeton III approach: men without heart disease who can exercise with no or minimal symptoms are low risk and can be treated for ED without extra heart tests, as can men whose heart disease has been successfully treated with a stent or bypass surgery, controlled blood pressure without symptoms, mild (class I or II) heart failure or mild valve disease. All other men with cardiovascular conditions need a cardiology assessment first. The EAU's 2026 text is adapted from the later Princeton IV recommendations, which add a 10-year cardiovascular risk calculation and, in men at borderline or intermediate risk, a coronary artery calcium scan; the EAU says these should be applied with local test availability and cost in mind.

When special tests are used

Most men do not need specialist testing. The AUA lists situations where more detailed evaluation may be needed: men who are young, have a strong family history of heart disease, have had pelvic trauma, have not responded to earlier ED treatment, have a likely psychological cause, have Peyronie's disease, or have had ED all their life. It adds that specialist tests should only be done if the result will change management.

TestWhat it involvesWhat it shows
Nocturnal penile tumescence and rigidity (NPTR)Strain gauges on the penis record erections during sleep; the EAU says on at least two nightsWhether night-time erections are normal. The EAU treats an erection of at least 60% rigidity at the tip lasting 10 minutes or more as a sign of a working mechanism. The AUA warns it is prone to false negatives.
Injection testA drug that causes an erection is injected into the penis in the clinicThe response to direct stimulation. Anxiety can give a falsely poor result, and the EAU says the test alone is inconclusive.
Penile duplex ultrasoundUltrasound of blood flow after an injectionArterial inflow and venous leak. The AUA calls it the gold standard for penile blood vessel assessment.

Physical, psychological or both

The EAU guideline groups ED by cause into organic (physical), psychogenic and mixed, but warns that most cases are mixed. In practice, a doctor builds the picture from the history (sudden or gradual start, situational or constant, morning erections present or absent), the examination and the blood results. Depression, anxiety, stress and relationship conflict can be either the starting point or the result of ED, according to the AUA, which recommends involving a mental health professional when those issues are affecting the sexual relationship. Our causes guide goes through each physical and psychological cause in detail.

Grading severity: mild, moderate or severe

Severity is usually described using the SHIM bands above, combined with the doctor's overall assessment. The AUA says categorising severity means putting together the history, examination, questionnaire answers and any tests, rather than relying on a score alone. Severity matters for expectations: the AUA notes that men with more severe ED at the start need larger improvements in score to reach a satisfactory result.

What happens after the diagnosis

The AUA recommends shared decision-making: the man, ideally with his partner, should be told about every treatment that is not medically unsuitable, and can choose to start with any of them or with none. Whatever the choice, both guidelines advise dealing with the underlying risk factors found during the work-up.

For most men the first options discussed are lifestyle changes and tablets. Our guides cover what lifestyle changes actually do for ED, tadalafil compared with sildenafil, and what comes next when tablets do not work. If you have diabetes, see diabetes and erectile dysfunction, and if you are considering an online service, what an online ED consultation should ask.

Signs you should see a doctor promptly

  • ED that came on together with chest pain, breathlessness on exertion or leg pain when walking
  • ED with diabetes, high blood pressure or high cholesterol that has not been checked recently
  • a new curve, lump or pain in the penis
  • ED with low desire, tiredness or breast enlargement, which can point to a hormone problem
  • ED that started after a new medicine (do not stop a prescribed medicine on your own; ask the prescriber)
  • an erection that lasts more than four hours, which is a medical emergency

Where SafeRxPills fits

We sell ED medicines such as Cenforce 100 (sildenafil), Vidalista 20 (tadalafil) and Tadaflo 5 (daily tadalafil), so we have a commercial interest in ED treatment. We still recommend a doctor's assessment, for the reasons in this guide: the check-up looks for diabetes, high cholesterol, low testosterone and heart risk that a tablet will not fix, and it confirms that ED medicines are safe for you. Do not take sildenafil, tadalafil or similar medicines if you use nitrates (including "poppers") or riociguat. All our ED guides are listed on the erectile dysfunction hub.

Questions to ask your doctor

  • Based on my history, does this look mainly physical, psychological or mixed?
  • What is my SHIM score, and what severity band does it put me in?
  • Do I need blood sugar, cholesterol or testosterone tests, and when were they last done?
  • Do my heart and blood vessels need checking before I start treatment?
  • Could any of my current medicines be contributing?
  • Which treatment would you suggest first, and how will we judge whether it is working?

Sources

  1. Burnett AL, Nehra A, Breau RH, et al. Erectile dysfunction: AUA guideline. J Urol. 2018. Web edition, American Urological Association. Definition, epidemiology, Guideline Statements 1 to 5.
  2. European Association of Urology. EAU Guidelines on Sexual and Reproductive Health: Management of Erectile Dysfunction (web edition, accessed October 2026). Sections 5.1, 5.4 and 5.5.
  3. Rosen RC, Cappelleri JC, Smith MD, Lipsky J, Peña BM. 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-26. PMID 10637462.
  4. Feldman HA, Goldstein I, Hatzichristou DG, Krane RJ, McKinlay JB. Impotence and its medical and psychosocial correlates: results of the Massachusetts Male Aging Study. J Urol. 1994;151(1):54-61. PMID 8254833.
  5. Selvin E, Burnett AL, Platz EA. Prevalence and risk factors for erectile dysfunction in the US. Am J Med. 2007;120(2):151-7. PMID 17275456.
  6. Saigal CS, Wessells H, Pace J, Schonlau M, Wilt TJ. Predictors and prevalence of erectile dysfunction in a racially diverse population. Arch Intern Med. 2006;166(2):207-12. PMID 16432090.
  7. Braun M, Wassmer G, Klotz T, et al. Epidemiology of erectile dysfunction: results of the 'Cologne Male Survey'. Int J Impot Res. 2000;12(6):305-11. PMID 11416833.
  8. Ayta IA, McKinlay JB, Krane RJ. The likely worldwide increase in erectile dysfunction between 1995 and 2025 and some possible policy consequences. BJU Int. 1999;84(1):50-6. PMID 10444124.
  9. Thompson IM, Tangen CM, Goodman PJ, et al. Erectile dysfunction and subsequent cardiovascular disease. JAMA. 2005;294(23):2996-3002. PMID 16414947.

This guide is for information and does not replace a consultation with a doctor who can examine you and review your medical history.

?Frequently Asked Questions

What is the medical definition of erectile dysfunction?

The American Urological Association defines ED as the inability to attain and/or maintain a penile erection sufficient for satisfactory sexual performance, and also endorses the wording consistent or recurrent inability. The European Association of Urology uses persistent inability. Occasional problems do not meet the definition.

How many failed erections count as ED?

The guidelines do not set a number. Doctors look for a pattern: problems that happen consistently or keep coming back and that bother you or your partner. One or two difficult nights after alcohol, tiredness or stress are common and usually situational.

What is a normal SHIM or IIEF-5 score?

The SHIM has five questions scored 1 to 5, giving 5 to 25. The AUA interprets 22 to 25 as no ED, 17 to 21 as mild, 12 to 16 as mild to moderate, 8 to 11 as moderate and 5 to 7 as severe ED.

How accurate is the IIEF-5 questionnaire?

In the study that developed it, with 1,152 men, a score of 21 or below detected ED with a sensitivity of 0.98 and a specificity of 0.88. It grades severity well but does not show the cause, and it does not give a valid score for men who are not sexually active.

How common is erectile dysfunction?

In a US national survey, 18.4% of men aged 20 and over reported ED, and 51.3% of men with diabetes. In the Massachusetts Male Aging Study, 52% of men aged 40 to 70 had some degree of ED. Another US analysis found 77.5% of men aged 75 and over were affected.

What blood tests are done for erectile dysfunction?

Guidelines recommend blood sugar or HbA1c, a cholesterol profile and a morning total testosterone. Some men also need kidney, thyroid, PSA, prolactin or LH tests. These look for diabetes, raised cholesterol and hormone problems that need treatment in their own right.

Why is testosterone tested in the morning?

Testosterone changes during the day. The AUA says late afternoon levels can be about 20% lower than morning levels in young men, and the difference may be as high as 50%. It recommends at least two morning tests before diagnosing deficiency, defined as total testosterone below 300 ng/dL with symptoms and signs.

If I still get morning erections, is my ED psychological?

Not necessarily. The AUA says night-time or morning erections suggest, but do not confirm, a psychological component. Most cases have a mix of physical and psychological factors, so a doctor looks at the whole history, examination and test results.

Is erectile dysfunction a sign of heart disease?

It can be. Both the AUA and EAU treat ED as a marker of cardiovascular risk. In a US trial cohort of men aged 55 and over, those with ED had a 45% higher adjusted risk of later cardiovascular events, and the AUA says ED may precede a heart event by up to five years.

Do I need a penile ultrasound to diagnose ED?

Usually not. Most men are diagnosed from history, examination and blood tests. The AUA reserves specialist tests such as duplex ultrasound for selected men, for example young men, those who did not respond to treatment, men with pelvic trauma or Peyronie's disease, and only when the result would change management.

Is ED the same as premature ejaculation?

No. In premature ejaculation the erection is adequate but ejaculation happens before or soon after penetration, after which the erection is lost. ED is a problem getting or keeping a firm erection. The two can occur together, and the treatments differ.

S

SafeRxPills Pharmacy Team

Pharmacist, Content, B.Pharm, M.Pharm, Rajiv Gandhi University

Pharmacist writing on antiparasitic, ophthalmic and dermatological generics. Focuses on what the regulatory labelling and published evidence actually support.

Comments (0)

Leave a Comment

No comments yet. Be the first to share your thoughts!