Erectile dysfunction is usually diagnosed through a conversation with your doctor, a focused physical exam, and a small set of blood tests. Most men don’t need advanced imaging or specialized procedures. The process is designed to figure out two things: how severe the problem is, and whether the cause is physical, psychological, or a mix of both.
The Conversation Comes First
The most important diagnostic tool is the medical interview. Your doctor will ask about the specific pattern of your erections: when they happen, when they don’t, how firm they are, and how long the problem has been going on. Expect questions about your overall health, any medications you take (including over-the-counter drugs and supplements), your stress levels, your relationship, and whether you smoke or drink.
Three questions in particular help distinguish a physical cause from a psychological one. Your doctor may ask: Do you ever wake up with an erection? Can you get an erection on your own through self-stimulation? And can you get an erection at any time of day, during any type of sexual activity? If you answer yes to these, stress or anxiety is the more likely trigger rather than a physical problem or medication side effect. If the answer is no across the board, a physical cause becomes more probable.
Sudden onset also points toward psychological causes, while a gradual decline over months or years suggests something vascular, hormonal, or neurological. Your doctor may also use a short standardized questionnaire that asks you to rate your erectile function on a numbered scale to categorize severity as mild, moderate, or severe.
What the Physical Exam Covers
The physical exam focuses on three systems: cardiovascular, neurological, and genital. It’s typically quick and straightforward.
For the cardiovascular check, your doctor will take your blood pressure and pulse, listen for unusual sounds (called bruits) over your abdominal and groin arteries, and check the pulses in your legs and feet. Weak or uneven pulses can signal blood vessel disease that’s restricting flow to the penis. This matters because atherosclerosis, the buildup of plaque in arteries, often affects the small arteries of the penis before it shows up in larger vessels supplying the heart or brain. ED can be a warning sign that a heart attack or stroke could follow within the next three to five years.
The neurological portion may include checking reflexes and sensation in the genital area. One specific test involves checking a reflex that confirms the nerves running through the lower spinal cord are functioning properly.
The genital exam looks for local abnormalities. Your doctor will check testis size (a normal adult testis is roughly 3.5 to 5 cm long), feel the penis for fibrous plaques that could indicate Peyronie’s disease, and look for signs of low testosterone like reduced body hair or changes in testicular size.
Blood Tests Your Doctor Will Order
A standard blood panel for ED screens for hidden health conditions that commonly cause or worsen erection problems. The American Urological Association recommends checking a morning testosterone level for all men being evaluated for ED. Testosterone is measured in the morning because levels peak early in the day and drop later, so a midday draw can give a falsely low reading.
Beyond testosterone, most clinicians order a set of routine labs: a blood sugar marker called HbA1c to screen for diabetes, a lipid panel to check cholesterol and triglyceride levels, kidney and liver function tests, a thyroid hormone level, and a basic blood count. These tests matter because ED frequently turns out to be the first visible sign of undiagnosed diabetes, high cholesterol, or thyroid imbalance. Your doctor may ask you to fast before the blood draw so the lipid results are accurate.
When Overnight Erection Testing Is Used
Healthy men naturally get erections three to five times per night during sleep, regardless of age. This happens automatically from the brain’s activity during REM sleep and has nothing to do with sexual thoughts or dreams. Nocturnal penile tumescence (NPT) testing measures whether these overnight erections are occurring normally.
A normal nocturnal erection is defined as one that reaches at least 60% rigidity at the tip of the penis and lasts at least 10 minutes. If at least one erection meeting those criteria shows up across two consecutive nights of monitoring, erectile function is considered physically intact, and the problem is more likely psychological. If no qualifying erections appear on at least two separate nights, an organic (physical) cause is indicated.
NPT testing isn’t part of every evaluation. It’s typically reserved for cases where the cause is unclear after the initial workup, or when there’s a reason to confirm whether the physical machinery is working, such as before recommending surgery or when psychological and physical factors seem to overlap.
Why the Diagnosis Looks Beyond the Penis
ED rarely exists in isolation. The conditions most commonly linked to it include diabetes, depression, smoking, high blood pressure, high cholesterol, urinary symptoms from an enlarged prostate, and overactive bladder. That’s why your doctor may seem more interested in your heart, blood sugar, and mood than in your erections specifically. Treating the underlying condition often improves erectile function on its own.
The vascular connection is especially important. The arteries supplying the penis are smaller than those feeding the heart, so they clog earlier in the process of atherosclerosis. The same endothelial dysfunction that prevents penile arteries from expanding properly during arousal will eventually affect coronary arteries. For this reason, a new ED diagnosis in a man over 40 with no obvious psychological cause should prompt a cardiovascular risk assessment.
How to Prepare for Your Appointment
Bring a complete list of every medication, vitamin, and supplement you take. Several common drugs, including certain blood pressure medications, antidepressants, and antihistamines, can cause or worsen ED, and your doctor needs the full picture. Don’t empty your bladder before arriving, since you may be asked to provide a urine sample. Be ready to discuss your symptoms honestly, including how long the problem has been present and whether it happens in some situations but not others. That detail alone can shape the entire diagnostic direction.
Most men leave the first appointment with a diagnosis and a treatment plan. The evaluation is rarely invasive, and the conversation, while personal, follows a clinical framework your doctor has walked through many times before.

