
If the word "tests" makes you want to close this tab, you're not alone. Most men can be assessed for erectile dysfunction (ED) through a talk about their symptoms and medical history, plus a physical exam (AUA, 2018).
Doctors diagnose ED mainly from your medical and sexual history and a physical exam (AUA, 2018). Blood tests can help find health problems that may be adding to it, and imaging is only needed in some cases.
Your first assessment may include a questionnaire, such as the International Index of Erectile Function (IIEF) or the Sexual Health Inventory for Men (SHIM). It may also include a morning testosterone test and checks for heart and blood vessel risk factors (AUA, 2018). A doctor or other qualified healthcare provider makes the actual diagnosis. For the bigger picture on what causes ED and how it's treated, start with our full guide to erectile dysfunction.
An ED assessment usually begins with your medical and sexual history, followed by a physical exam and any tests or referrals your doctor thinks you need (AUA, 2018); (NIDDK, 2024). How many tests you have, and in what order, depends on your symptoms, your history, and what the exam finds. If you haven't had that first appointment yet, here's what to expect from that first conversation.
An ED check-up can include:
Diagnosis works best as a two-way conversation. Your doctor should explain why they're suggesting each test, and you can ask about anything that isn't clear. Doctors call this shared decision-making, which means you and your doctor decide on next steps together (AUA, 2018).
Expect questions about what's changed, when it started, and how it's affecting your life. Your doctor may also ask whether you still get erections in the morning or when you masturbate, how your sex drive is, and whether the problem happens every time or only in some situations (AUA, 2018). These details help show what might be behind your ED.
They'll also ask about your general health and mood. They'll want to know about any prescription medicines, supplements, alcohol, recreational drugs, and nicotine (from cigarettes, vapes, or pouches) (NIDDK, 2024). All of these can affect erections, so honest answers help your doctor find the cause.
The IIEF is a 15-question tool covering 5 areas of sexual function, and 6 of its questions focus on erections. The SHIM is a shorter, 5-question version (also called the IIEF-5) that's often used instead (AUA, 2018). Both help measure how severe erection difficulties are and track changes over time, but they don't replace a doctor's assessment.
| Questionnaire | Score | What the score suggests |
|---|---|---|
| IIEF (erection questions) | 26–30 | Normal erectile function |
| IIEF (erection questions) | 18–25 | Mild ED |
| IIEF (erection questions) | 11–17 | Moderate ED |
| IIEF (erection questions) | 10 or below | Severe ED |
| SHIM (IIEF-5) | 22–25 | No ED |
| SHIM (IIEF-5) | 17–21 | Mild ED |
| SHIM (IIEF-5) | 12–16 | Mild to moderate ED |
| SHIM (IIEF-5) | 8–11 | Moderate ED |
| SHIM (IIEF-5) | 5–7 | Severe ED |
Score ranges as given in the American Urological Association (AUA) guideline (AUA, 2018).
Show up with a questionnaire already filled in, and you've given your doctor a useful head start. If you don't have time for that, don't worry. Your doctor will get what they need either way.
Your doctor may also ask whether you feel pressure to perform, or find yourself distracted by worry during sex. This is sometimes called performance anxiety, where worrying about your erection makes it harder to relax and enjoy sex. It can add to erection difficulties alongside other factors.
A physical exam for ED checks for signs of blood vessel, nerve, hormone, or penis problems that could be involved (NIDDK, 2024).
Depending on your history, this might include:
Not every doctor runs every check. They use your history to decide what's relevant to you.
No single blood test diagnoses ED, but blood tests can find conditions that may be contributing. Doctors often recommend a morning testosterone test to check whether low hormone levels may be playing a part (AUA, 2018).
Testosterone is usually highest in the morning, which is why the test is done then. One low result isn't enough to confirm low testosterone, so doctors repeat the test and look at your symptoms before making that diagnosis (AUA, 2018).
The European Association of Urology (EAU) also recommends blood sugar and cholesterol tests if you haven't had them in the past year (EAU, n.d.). Depending on your history, your doctor might check:
Some of these tests need you to skip breakfast and some don't. An HbA1c test doesn't need fasting, and a morning testosterone test is ideally done before you eat (EAU, n.d.). Your doctor will tell you how to prepare, and they'll only order what applies to you.
Most men don't need imaging or specialist tests. They're usually only used in some cases, like when a blood vessel problem is suspected, after a penis injury, when the penis has changed shape, or when standard treatment hasn't worked (AUA, 2018). Penile duplex ultrasound is a specialist imaging test that checks blood flow to the penis when a blood vessel problem is suspected.
Here's how the main parts of an ED assessment compare. Your doctor will choose what fits you, so most men won't need every step.
| Step | What it checks | When it's used |
|---|---|---|
| Medical and sexual history | Your symptoms, health, medicines, and what might be contributing | Routine |
| Questionnaire (IIEF or SHIM) | How severe erection difficulties are | Often used, but not required |
| Physical exam | Signs of heart, blood vessel, hormone, or penis problems | Routine |
| Morning testosterone | Whether low testosterone may be contributing | Recommended for men with ED |
| Blood sugar and cholesterol | Diabetes and heart risk factors | If not checked in the past year |
| Other blood tests (thyroid, kidney) | Other conditions that can affect erections | Depending on your history |
| Nighttime erection test | Erections during sleep, to help look into physical causes. Results can't show the cause on their own. | Selected cases only, at home or in a sleep lab |
| Injection test | How well the penis develops an erection after medicine is injected. More tests may be needed to check blood flow. | Selected cases only, usually in a clinic |
| Penile duplex ultrasound | Blood flow in the penis | Selected cases, mainly when a blood vessel problem is suspected |
Sources for this table: (AUA, 2018); (EAU, n.d.).
Older vein-leak tests, like cavernosometry and cavernosography, still get mentioned online, but the AUA guideline notes they're seldom performed today (AUA, 2018).
At-home blood tests can measure some health markers, like testosterone, but they can't diagnose ED or find all its possible causes. If you use one, choose a reputable provider, and still book a medical assessment.
A doctor can choose the right tests for you. They can also read the results alongside your symptoms, your exam, and your medical history.
You might also come across the old "stamp test," where a strip of stamps is wrapped around the penis overnight to see if the perforations break by morning. It isn't a reliable way to diagnose ED. Unlike clinical nighttime erection testing, it can't measure how firm an erection is or how long it lasts.
If you're trying to figure out how to tell whether your ED is more likely physical or psychological, that's a good next read.
ED can be an early warning sign of heart and blood vessel disease, sometimes showing up before other symptoms do (AUA, 2018). Doctors call ED a risk marker. It means your heart health is worth checking, and it doesn't mean you have heart disease.
When ED comes from a blood flow problem, one explanation is that the arteries in the penis are smaller than the ones around the heart. Narrowing can affect erections before it causes heart symptoms (Montorsi et al., 2006). This mainly applies to blood-flow-related ED, so not every erection problem is a sign of heart trouble.
ED and heart disease share several risk factors, including nicotine use, diabetes, high blood pressure, high cholesterol, obesity, and not being physically active (AUA, 2018). Depression and anxiety can also contribute to erection difficulties. If your check-up turns up one of these, treating it can help your overall health and may help your erections too.
Getting checked can help find underlying health conditions, show what's contributing to your erection difficulties, and point you to the right treatment. Understanding the physical and psychological causes of ED is a good next step once you know what your doctor found.
Once your doctor has a clearer picture, they'll talk you through next steps. Depending on what's contributing to your ED, they may suggest a urologist, a mental health professional, a specialist sex therapist, or a mix of support (NIDDK, 2024).
Healthy eating and regular physical activity can improve your overall health. They may also help erections, especially when heart or lifestyle factors are involved (AUA, 2018).
Physical and psychological factors often overlap, so treatment may need to address both at the same time. You can read more about psychological erectile dysfunction and the full range of ED treatment options.
Mojo focuses on the psychological side. Some studies show that as many as 30% of men under 40 have had erection difficulties, though estimates vary a lot between studies (Nguyen et al., 2017). Psychological factors are a common and important cause, particularly in younger men.
The Erection Reset was built by Dr. Shannon Chavez, a licensed clinical psychologist and AASECT-certified sex therapist. It's designed to help men address performance anxiety, rebuild sexual confidence, and develop healthier responses to erection difficulties.
Mojo doesn't diagnose, treat, or replace a doctor's evaluation. If you haven't talked to a doctor yet, that's a good first step. If performance anxiety or other psychological factors are affecting your erections, the program can offer support alongside the right medical care.
It's worth seeing a doctor if erection problems keep happening or are worrying you. A doctor can help work out the cause and what to try next.
Get emergency medical help right away if:
Mojo provides expert-led educational content. It doesn't diagnose, treat, monitor, or cure ED or any other medical condition. Always talk to a qualified doctor or healthcare provider about your specific situation.
Doctors assess ED through your medical and sexual history, a physical exam, and sometimes a questionnaire. Blood tests may help find underlying conditions, and imaging is usually only needed in some cases (AUA, 2018).
Home tests can't reliably diagnose ED or find its cause. A doctor can assess your symptoms, look for underlying health problems, and suggest more tests if needed.
If you can get an erection alone but struggle with a partner, things like performance anxiety or relationship worries may be involved. Physical and psychological causes can overlap, though, so a medical check is still useful.
No single blood test diagnoses ED. Doctors may test testosterone, blood sugar, and cholesterol to look for conditions that could be contributing. Other tests may be needed depending on your symptoms (AUA, 2018).
ED can often improve with the right treatment, and some men get back to normal erections. How much it improves depends on the causes, which may include lifestyle, medicines, psychological factors, or physical health conditions (AUA, 2018).
Mojo aims to provide useful wellbeing resources to its users; however, you should not solely rely on opinions or advice available on the Website or given by the Community. Always seek advice from a qualified medical doctor or other healthcare professional before acting.

With 18 years as an accredited COSRT and BACP therapist, Amanda helps people navigate desire, intimacy, and the changes life brings.

A neurobiologist and science communicator, Paula turns research on the brain, behaviour and health into clear, evidence-based education about mental, physical, and sexual well-being.