The Complete Guide
Erectile dysfunction: causes, cardiovascular warning signs, and what treatment actually does
A straight, unembarrassed guide to why erections fail, what the pills do and do not do, and when this is a symptom of something you should not ignore.
What is erectile dysfunction, and how common is it really?
Erectile dysfunction is the consistent inability to get or keep an erection firm enough for sex. The key word is consistent. Nearly every man has an off night, and one bad experience after a long day, three drinks, or four hours of sleep is not a diagnosis. Clinicians generally start taking it seriously when the problem shows up in most attempts over roughly three months.
It is far more common than the silence around it suggests. Large population surveys have consistently found that some degree of erectile difficulty affects roughly 40% of men around age 40 and roughly 70% of men around age 70, with the prevalence climbing steadily in between. Complete ED is much less common than partial ED at every age. Most men in these surveys report a middle state: erections that happen but do not last, or that are not as rigid as they used to be.
The three ways it usually shows up
- Trouble getting an erection at all. Arousal is present, but nothing much happens physically. This pattern points more often toward a blood flow or nerve problem.
- Getting one, then losing it. You start fine and lose rigidity partway through. This is the most common complaint and is often described as a venous leak problem, meaning the penis fills but cannot hold pressure.
- Erections that are softer than they used to be. Nothing fails outright, but firmness has slipped over a period of years. Gradual change like this usually has a physical driver, even when anxiety has piled on top of it.
One distinction is worth drawing early, because men often confuse the two. ED is a problem with the erection itself. Finishing too quickly is a separate issue with different causes and different treatments, covered on the premature ejaculation page. Low interest in sex is a third, separate thing again, and it is more often a hormone, mood, or relationship question than an erection question.
An erection is a blood pressure event in a small, well-controlled chamber. Anything that damages blood vessels, blunts nerve signals, or floods the body with stress hormones can interfere with it. That is why ED tracks so closely with overall health.
What physically causes ED?
In most men over 40, the primary cause is physical, and the single most common category is vascular: the arteries that feed the penis cannot deliver enough blood fast enough, or the tissue cannot trap it once it arrives. Nerve problems, hormone problems, and medication side effects account for most of the rest. These categories overlap constantly, and it is normal for one man to have two or three of them at once.
Here is the mechanism, because understanding it makes the treatments make sense. Sexual arousal causes nerve endings and the lining of the blood vessels in the penis to release nitric oxide. Nitric oxide triggers production of a signalling molecule called cyclic GMP. Cyclic GMP relaxes the smooth muscle in the two spongy chambers that run the length of the penis, the corpora cavernosa. Relaxed muscle lets arteries open, blood rushes in, and the expanding chambers press the drainage veins flat against the tough outer sheath. That pinching action is what holds the blood in. Break any link in that chain and the erection fails.
Vascular causes
Atherosclerosis, high blood pressure, high cholesterol, type 2 diabetes, smoking, obesity, and a sedentary lifestyle all damage the endothelium, the thin inner lining of blood vessels that produces nitric oxide on demand. Damaged endothelium makes less nitric oxide, so the signal that starts the whole cascade arrives weakened. Smoking is particularly punishing here and the effect is dose dependent. Diabetes is the heavyweight: men with diabetes develop ED earlier, more often, and more severely than men without it, partly through vessel damage and partly through nerve damage.
Neurological causes
The erection signal has to travel from the brain and spinal cord to the pelvis. Diabetic neuropathy, multiple sclerosis, Parkinson's disease, spinal cord injury, and pelvic surgery or radiation can all interrupt it. Radical prostatectomy is a common and well-documented cause, because the nerves that carry the erection signal run right alongside the prostate. Men in that situation should be having an explicit conversation about penile rehabilitation with their urologist, not quietly waiting to see what happens.
Hormonal causes
Low testosterone is a real cause but a frequently misunderstood one. Testosterone drives desire more than it drives the hardware. A man with genuinely low testosterone often reports low libido, fatigue, and low mood alongside softer erections, and correcting a lab-confirmed deficiency can improve how well he responds to other treatments. Testosterone is not, however, an ED drug, and giving it to a man with normal levels does not fix erections. Thyroid disease and elevated prolactin are less common but treatable contributors. The low testosterone page goes into what the labs actually mean and why a single morning test is not enough to act on.
Medications and substances
This is the cause most often missed, and it is the easiest to address. Bring your full medication list to any evaluation, including over-the-counter products and anything you take for sleep.
- SSRI and SNRI antidepressants. Sexual side effects are common and dose related. Do not stop an antidepressant on your own. There are alternatives and dose strategies worth discussing.
- Blood pressure medications. Thiazide diuretics and older beta-blockers are the usual offenders. Several other classes are far less likely to cause problems, so this is often fixable with a switch.
- Spironolactone and some antipsychotics. Both can interfere through hormonal pathways.
- Opioids. Long-term opioid use suppresses testosterone production and is an underappreciated cause of both low libido and ED.
- Alcohol, in quantity. Occasional heavy drinking impairs erections acutely. Chronic heavy drinking damages nerves and the liver's handling of hormones.
- Finasteride. A small percentage of men report sexual side effects. Worth raising if your ED started within months of beginning it.
Untreated obstructive sleep apnea belongs on this list too. It fragments sleep, suppresses testosterone, and strains the cardiovascular system. If you snore heavily and wake up unrefreshed, that is worth investigating on its own merits.
How much of this is in my head?
Almost always some of it, and almost never all of it. The clean split between physical ED and psychological ED is mostly a myth. What actually happens in the majority of cases is a loop: a small physical change causes a disappointing night, the disappointment creates anxiety, and anxiety is a potent physical cause of ED in its own right. By the third or fourth bad experience, the anxiety is doing more damage than whatever started it.
The physiology of that loop is not mysterious. Anxiety activates the sympathetic nervous system and floods the body with adrenaline. Adrenaline constricts smooth muscle. An erection requires smooth muscle to relax. You cannot be in fight-or-flight and get an erection at the same time, which is exactly why worrying about performance reliably prevents performance. Men describe watching themselves from the outside during sex, monitoring firmness rather than experiencing anything. That spectating is the anxiety loop in action.
Clues that point toward a psychological driver
- Onset was sudden rather than gradual, and you can name the week it started.
- It happens with a partner but not during masturbation, or with one partner but not another.
- You still wake up with erections, or get them on waking during the night.
- It coincided with a job loss, a bereavement, a new relationship, a new medication for depression, or a period of unusual stress.
Morning erections deserve a specific note because men read too much into them in both directions. Their presence suggests the blood flow and nerve machinery is broadly working, which shifts suspicion toward psychological or situational factors. Their absence over months suggests something physical. Neither observation is diagnostic on its own, and morning erections also decline naturally with age and vary with sleep quality.
Depression and ED have a genuinely bidirectional relationship. Depression causes ED, ED causes and deepens depression, and the antidepressants used to treat depression can cause ED. That is a hard knot, and it is a good reason to be honest with a clinician about your mood rather than presenting the erection as an isolated plumbing complaint. Relationship distress operates the same way. Talking therapy and structured sex therapy have real evidence behind them and are often used alongside medication rather than instead of it.
Treating the physical side often breaks the psychological loop. A few reliably good experiences can dismantle months of accumulated performance anxiety. That is a legitimate reason to treat, not a moral failing or a shortcut.
Is ED an early warning sign of heart disease?
Yes, and this is the most important paragraph on this page. Erectile dysfunction with no obvious cause, particularly in a man between 40 and 70, is an independent marker of cardiovascular risk and often precedes a heart attack or stroke by a meaningful interval. Published research commonly puts that lead time in the range of three to five years. ED is not just an inconvenience to be medicated away. It is information about your arteries.
The explanation is straightforward and has to do with plumbing dimensions. Atherosclerosis is a body-wide process, not a local one, and it narrows all arteries at roughly the same rate. But the arteries supplying the penis are small, in the range of one to two millimetres across. The coronary arteries are perhaps three to four millimetres, and the carotids larger still. The same thickness of plaque that produces no symptoms at all in a coronary artery can meaningfully restrict flow in a penile artery. The small vessels complain first. That is why ED frequently arrives before chest pain does.
What this should actually change about your next appointment
If you have new ED and have not had a cardiovascular workup recently, ask for one. Not because you are in danger tonight, but because you have been handed an early warning most men never get. A reasonable baseline evaluation includes blood pressure, a fasting lipid panel, fasting glucose or HbA1c, and a conversation about smoking, weight, activity, and family history. A morning total testosterone level is also standard when low libido or fatigue are part of the picture.
There is an upside to this that gets lost in the alarming framing. The interventions that protect your heart are the same ones that improve erections, and they work. Regular aerobic exercise improves endothelial function measurably. Stopping smoking improves it. Losing meaningful weight improves it, and men who lose weight and increase activity have shown improvement in erectile function in controlled studies. Getting blood pressure and blood sugar under control improves it. None of this is fast, and none of it replaces treatment for a man who wants to have sex this month, but it is the only part of the picture that changes the underlying trajectory.
Any conversation about starting a PDE5 inhibitor should include your cardiac history anyway, because of the nitrate interaction described in the next section. So the cardiovascular evaluation is not an optional extra. It is part of prescribing safely.
How do sildenafil and tadalafil actually work, and how do they differ?
Sildenafil and tadalafil are both PDE5 inhibitors. They work by blocking the enzyme that breaks down cyclic GMP, the molecule that keeps penile smooth muscle relaxed. They do not create an erection. They protect and prolong the chemical signal your body produces when you are already aroused. Sildenafil is the active ingredient in Viagra, tadalafil is the active ingredient in Cialis, and both are available as generics.
That mechanism has one consequence men are rarely told plainly, and it is the source of most disappointment: these medications do nothing without sexual stimulation and desire. If there is no arousal, there is no nitric oxide, so there is no cyclic GMP for the drug to preserve. A PDE5 inhibitor is an amplifier, not a signal generator. Men who take one expecting a spontaneous erection are usually the ones who conclude it did not work.
Sildenafil: shorter window, more precision
Sildenafil typically starts working in about 30 to 60 minutes and remains effective for roughly four to six hours. It is available in 25 mg, 50 mg, and 100 mg tablets, and 50 mg is a common starting point that gets adjusted from there. Absorption is slowed by food, and a heavy or high fat meal can noticeably delay onset, so it is usually taken on a relatively empty stomach. It has been on the market since 1998 and is one of the most extensively studied drugs in men's health.
Tadalafil: much longer window, less planning
Tadalafil has a half-life of around 17 hours, which is why a single as-needed dose can remain effective for up to about 36 hours. It is available at 5 mg, 10 mg, and 20 mg for as-needed use, and also at 2.5 mg or 5 mg for daily dosing, which keeps a low level in the system continuously and removes the timing question altogether. Food does not meaningfully affect it. Tadalafil is also approved for benign prostatic hyperplasia, so men with both urinary symptoms and ED sometimes get two benefits from one prescription. The tradeoff is that back pain and muscle aches are somewhat more commonly reported with tadalafil than with sildenafil. A side-by-side breakdown lives on the sildenafil vs tadalafil comparison page.
Side effects, honestly
The common side effects are shared across the class and are mostly the predictable result of relaxing blood vessels elsewhere in the body: headache, facial flushing, nasal congestion, indigestion, and back or muscle aches. Sildenafil can cause temporary changes in colour vision, usually a blue tinge or light sensitivity, because it slightly affects a related enzyme in the retina. Most of these are mild and often diminish with continued use or a dose adjustment.
The serious effects are rare but you should know their names. Priapism, an erection lasting more than four hours, is a medical emergency and can cause permanent tissue damage if untreated. Go to an emergency department, do not wait it out. Sudden vision loss in one eye and sudden hearing loss have both been reported and warrant stopping the medication and seeking care immediately.
The absolute contraindications: never combine a PDE5 inhibitor with nitrate medications such as nitroglycerin or isosorbide, including recreational nitrites, and never combine one with a guanylate cyclase stimulator such as riociguat (Adempas), which is prescribed for pulmonary hypertension. Both combinations can cause a catastrophic drop in blood pressure. Tell any prescriber about every heart and lung medication you take, and tell emergency staff you have taken one if you ever present with chest pain.
Separate from those two absolute contraindications, dose caution applies with alpha-blockers used for prostate symptoms, and treatment may be inadvisable in men with significant cardiovascular disease who have been told that sex itself carries risk. Roughly 60% to 70% of men with ED respond well to oral PDE5 inhibitors, with lower response rates in men with long-standing diabetes or nerve damage from prostate surgery. Dose and timing matter enormously, and many men who describe a failure have actually had an under-dosed or badly timed trial. A reasonable rule is that a medication has not truly failed until it has been tried properly at an adequate dose on several separate occasions.
Any prescription for these medications requires evaluation and approval by a licensed provider, who will weigh your cardiac history, current medications, and blood pressure before deciding whether treatment is appropriate. A prescription is not guaranteed.
What if the pills do not work well enough?
Oral PDE5 inhibitors are first-line for most men, but they are not the only option, and failing them is not the end of the road. Several established second-line treatments have strong evidence behind them, and men who do not respond to tablets frequently respond very well to something else. The honest sequence usually runs: optimise the oral trial first, then consider a different delivery route, then consider mechanical or surgical options.
- 1Fix the oral trial before abandoning it. Correct the dose, correct the timing, remove alcohol from the equation, treat a contributing medication or a hormone deficiency, and try again several times. This alone rescues a large share of apparent failures.
- 2Vacuum erection devices. A cylinder and pump draw blood into the penis mechanically, held with a constriction ring. Unglamorous, drug-free, and genuinely effective, including for men after prostate surgery. The main complaints are the interruption to spontaneity and a cooler, hinged feeling at the base.
- 3Intracavernosal injection therapy. A very fine needle delivers medication directly into the erectile tissue, bypassing the nitric oxide pathway entirely. This is why it works for many men whom tablets cannot help. Onset is typically within 5 to 20 minutes. It requires proper in-person training, carries a real priapism risk, and demands strict dose discipline. Combination injectable formulations are compounded rather than FDA-approved, and the QUAD Mix page explains what that distinction means before you consider it.
- 4Intraurethral and topical options. A small alprostadil pellet placed in the urethra, or topical formulations, offer a needle-free alternative with generally lower success rates than injection. The oral vs topical ED treatment comparison covers where each route makes sense.
- 5Penile implants. A surgical option, usually reserved for men who have exhausted everything else. Inflatable prostheses have among the highest patient satisfaction rates of any ED treatment, but the surgery is irreversible because it replaces the erectile tissue's function permanently.
Things sold hard with thin evidence
Low-intensity shockwave therapy is heavily marketed and remains investigational for ED. Professional urology guidance treats it as experimental rather than established, and it should be presented that way rather than sold as a cure. Platelet-rich plasma and stem cell injections for ED are likewise not established treatments. Over-the-counter supplements marketed for performance are a persistent problem: regulators have repeatedly found products on the market that were secretly spiked with undeclared prescription PDE5 ingredients, which is dangerous specifically because a man taking nitrates has no way to know he is taking one.
Testosterone therapy deserves a clear statement here because it is so often oversold. It is a treatment for lab-confirmed hypogonadism, not a treatment for ED, and it is not appropriate for men with normal levels. In men who genuinely are deficient, correcting it can improve libido and can improve how well a PDE5 inhibitor works, which is a useful adjunct rather than a replacement.
When should you stop waiting and talk to a clinician?
If erectile difficulty has been present in most attempts for three months or more, that is the point to get evaluated rather than continue managing it privately. There is no prize for waiting, and several of the underlying causes are conditions you would rather find early.
Get seen sooner than that if any of the following apply
- You are under 40 and this is new. Younger men with ED are more likely to have a hormonal, medication-related, or cardiovascular cause worth identifying.
- It started abruptly after beginning a new medication.
- You also have chest pain, breathlessness on exertion, or leg pain when walking. These can be signs of arterial disease elsewhere and deserve prompt attention.
- You have diabetes, high blood pressure, or high cholesterol that is not well controlled.
- You notice a curve, bend, or palpable lump developing in the penis, or erections have become painful. That warrants a urology assessment.
- Your mood is low, you have lost interest in things you used to enjoy, or you are having thoughts of self-harm. Say this out loud to a clinician. It matters more than the erection does.
Seek emergency care for an erection lasting more than four hours, or for sudden loss of vision or hearing after taking a PDE5 inhibitor.
What to bring to the conversation
Be prepared to describe when it started, whether it came on gradually or suddenly, whether it happens in every situation, whether you still get erections on waking, and what your desire level is like independent of performance. Bring a complete list of every medication and supplement you take. Mention alcohol, tobacco, recreational drug use, and sleep quality honestly. None of this is unusual to a clinician who does this work, and vagueness is the main thing that leads to a wasted appointment.
Puri is building a men's health service and is not yet accepting patients. When it launches, an intake assessment will go to an independent licensed provider, who will decide whether treatment is appropriate and whether an in-person evaluation is needed first. A prescription will never be guaranteed, and some situations genuinely require an in-person examination. In the meantime, the fastest route is a conversation with your own physician or a urologist. This page is educational and is not a substitute for individual medical advice.




