Erectile dysfunction affects an estimated 30 million men in the United States, yet the majority of cases are never fully evaluated. Many men are told to reduce stress, exercise more, or simply accept that changes in sexual function are a normal part of aging. While lifestyle and psychological factors do play a role, a significant portion of ED cases have a direct hormonal root cause — one that responds well to appropriate treatment once properly identified.
Understanding the relationship between erectile dysfunction and hormones is the first step toward getting a complete picture of what’s actually happening — and what can be done about it.
Quick answer
Erectile dysfunction is frequently caused or worsened by hormonal imbalances — particularly low testosterone, elevated prolactin, thyroid dysfunction, and disrupted cortisol levels. In many men, addressing the underlying hormonal cause resolves or significantly improves ED without relying solely on medications like PDE5 inhibitors.
What Causes Erectile Dysfunction? The Hormonal Picture
Erection is a vascular event coordinated by the nervous system and regulated by hormones. For an erection to occur, signals from the brain must trigger smooth muscle relaxation in the penile arteries, allowing blood to fill the erectile tissue. Hormones influence almost every step of this process — from the brain signals that initiate arousal to the vascular response in the tissue itself.
The most commonly implicated hormones in erectile dysfunction include testosterone, prolactin, thyroid hormones, cortisol, and growth hormone. Each affects sexual function through distinct mechanisms, and more than one can be involved simultaneously.
How Hormones Affect Erectile Function
Testosterone
Drives libido and nitric oxide production in penile tissue. Low T = reduced desire and impaired vascular response.
Prolactin
Elevated prolactin suppresses testosterone production and blunts sexual desire at the brain level.
Cortisol
Chronic stress elevates cortisol, which suppresses testosterone and constricts penile blood vessels.
Thyroid Hormones
Both hypo- and hyperthyroidism disrupt sexual function, libido, and the autonomic signals that control erection.
Growth Hormone / IGF-1
GH deficiency impairs vascular endothelial function and reduces nitric oxide availability in penile arteries.
Estrogen (in men)
Excess estrogen — from aromatization of testosterone — impairs sexual function even when total T appears normal.
Multiple hormones can be involved simultaneously. Testing only testosterone while ignoring prolactin, thyroid, and cortisol is one of the most common diagnostic oversights.
Low Testosterone and Erectile Dysfunction
Low testosterone is the most frequently identified hormonal cause of ED. Testosterone plays two distinct roles in sexual function: it drives libido in the brain, and it directly regulates nitric oxide synthase activity in the penile smooth muscle — the enzyme responsible for the vascular relaxation that enables erection.
Men with clinically low testosterone often experience a specific pattern: desire is diminished first, followed by difficulty achieving erection, and eventually difficulty maintaining it. This differs from purely vascular ED, where desire may be intact but the mechanical response is impaired.
Why PDE5 inhibitors sometimes fail
Medications like sildenafil (Viagra) and tadalafil (Cialis) work by amplifying nitric oxide signaling in penile tissue. But if testosterone is severely low, the baseline nitric oxide production is itself impaired — leaving these medications with little to amplify. This is why some men find that PDE5 inhibitors stop working or were never very effective: they address the mechanism but not the hormonal root cause. Correcting testosterone levels first often restores the effectiveness of these medications or makes them unnecessary.
Clinical note
Studies show that testosterone replacement therapy improves erectile function in men with documented hypogonadism, with the strongest effects seen in men with testosterone below 300 ng/dL. In men with borderline levels (300–400 ng/dL), a trial of TRT may still be warranted if symptoms are consistent and other causes have been ruled out.
Elevated Prolactin: The Most Overlooked Cause
Prolactin is a hormone produced by the pituitary gland. In normal ranges it has a modest role in sexual function, but when elevated — a condition called hyperprolactinemia — it directly suppresses the hypothalamic-pituitary-gonadal (HPG) axis, reducing LH and FSH secretion and thereby lowering testosterone production.
Men with elevated prolactin frequently present with low libido, ED, and sometimes gynecomastia (breast tissue development). Because the testosterone level may be only modestly reduced, the diagnosis is sometimes missed if prolactin is not included in the hormone panel. Common causes of elevated prolactin include pituitary microadenomas (benign tumors), certain medications (antipsychotics, antidepressants, opioids), hypothyroidism, and chronic stress.
Important
If prolactin is elevated, a pituitary MRI is often the next step before initiating any hormone therapy. A prolactinoma (pituitary adenoma secreting prolactin) is found in a significant proportion of men with sustained hyperprolactinemia and requires its own targeted treatment — typically with dopamine agonists — before addressing testosterone or ED directly.
Thyroid Dysfunction and Sexual Health
Both hypothyroidism (underactive thyroid) and hyperthyroidism (overactive thyroid) can cause or worsen erectile dysfunction, though through different mechanisms.
Hypothyroidism
Low thyroid function reduces metabolic rate, impairs cardiovascular efficiency, and is associated with elevated prolactin levels. Men with hypothyroidism frequently experience reduced libido, fatigue, and ED. Notably, correcting thyroid function alone — without any testosterone or ED medication — resolves sexual dysfunction in a substantial portion of men with hypothyroidism-related ED.
Hyperthyroidism
Excess thyroid hormone can paradoxically also impair sexual function by increasing SHBG (sex hormone-binding globulin), which reduces free testosterone despite normal total testosterone levels. It can also cause anxiety, cardiovascular changes, and disrupted sleep — all of which negatively affect erectile function through additional pathways.
Cortisol, Stress, and Erectile Dysfunction
The connection between stress and ED is frequently dismissed as “psychological,” but the mechanism is partly hormonal. Chronic psychological or physiological stress triggers sustained cortisol elevation. Cortisol has three direct negative effects on erectile function:
Testosterone suppression: Cortisol and testosterone share a precursor (pregnenolone). Under chronic stress, cortisol production is prioritized, reducing available substrate for testosterone synthesis — sometimes called “pregnenolone steal.”
Sympathetic nervous system activation: Cortisol promotes the fight-or-flight response, which constricts blood vessels including those in penile tissue — the physiological opposite of what is needed for erection.
Sleep disruption: Elevated evening cortisol disrupts deep sleep and blunts the nocturnal testosterone surge that normally occurs during REM sleep.
Men who notice their ED is worse during periods of sustained stress — work pressure, sleep deprivation, or major life changes — and better during vacation or relaxed periods should have morning cortisol measured as part of their hormone panel.
Tip
Morning cortisol should be drawn between 7–9 AM, as cortisol follows a strict diurnal pattern — it is highest in the morning and falls through the day. A late-morning or afternoon cortisol draw is not an accurate reflection of baseline cortisol status. If morning cortisol is elevated, ask your provider about a 4-point saliva cortisol test for a fuller picture.
Growth Hormone Deficiency and Vascular Sexual Function
Growth hormone (GH) and its downstream mediator IGF-1 play a meaningful but underappreciated role in erectile function. GH receptors are present in penile tissue, and IGF-1 stimulates the production of nitric oxide — the same compound that PDE5 inhibitors amplify. Adults with confirmed growth hormone deficiency show impaired endothelial function across the body, including in the penile vasculature.
Men who have low testosterone alongside other signs of GH decline — persistent fatigue, poor body composition despite adequate training, disrupted sleep — should have IGF-1 measured. Addressing co-existing GH deficiency often produces more complete improvement in sexual function than treating either hormone in isolation. Read more about distinguishing these conditions in our article on GH deficiency vs low testosterone.
What Labs to Request: A Complete Hormone Panel for ED
A standard GP workup for ED often includes only total testosterone — and sometimes not even that. A comprehensive hormonal evaluation for erectile dysfunction should cover the full endocrine picture. The following tests provide a meaningful starting point:
Recommended Hormone Panel for ED Evaluation
Androgen Panel
Total testosterone (morning draw, 7–9 AM)
Free testosterone
SHBG (sex hormone-binding globulin)
LH and FSH (to identify origin of deficit)
Estradiol (E2 — to rule out excess aromatization)
Pituitary & Metabolic
Prolactin
TSH, free T3, free T4 (full thyroid panel)
IGF-1 (growth hormone screen)
Fasting glucose and HbA1c
Lipid panel (cardiovascular context)
Adrenal / Stress
Morning cortisol (7–9 AM)
DHEA-S
Consider 4-point saliva cortisol if morning is borderline
Vascular Markers
Complete metabolic panel (CMP)
CBC (hematocrit baseline before TRT)
PSA (for men over 40, before TRT)
Blood pressure measurement
All labs should be drawn fasting, in the morning. Testosterone in particular must be drawn before 10 AM to capture the daily peak.
Treatment Pathways: Addressing the Hormonal Root Cause
Treatment depends entirely on which hormonal imbalance — or combination of imbalances — is identified. There is no single protocol for “hormonal ED” because the underlying cause varies between individuals. The following outlines the primary treatment approaches based on lab findings:
TRT — delivered via injections, gels, patches, or pellets — restores androgen levels and is the primary evidence-based intervention for ED caused by hypogonadism. Sexual function improvements are typically seen at 3–6 months of optimized therapy.
Elevated prolactin → Dopamine agonist therapy
Cabergoline or bromocriptine reduce prolactin levels effectively in most cases. If a pituitary adenoma is identified, these medications often shrink the tumor over time, restoring normal prolactin levels and — subsequently — testosterone production and sexual function.
Correcting hypothyroidism with levothyroxine or a T3/T4 combination often resolves associated sexual dysfunction within 3–6 months. Hyperthyroidism treatment depends on the cause and may involve medication, radioactive iodine, or surgery.
GH deficiency → HGH therapy or peptide alternatives
In men with confirmed or suspected GH decline, HGH therapy or — where appropriate — peptide therapy with Sermorelin can restore IGF-1 levels and improve vascular function, including in the penile tissue.
When ED Has Multiple Causes: The Integrated Approach
In practice, erectile dysfunction often has more than one contributing factor. A 48-year-old man with low testosterone, mildly elevated prolactin, pre-diabetes, and chronically elevated cortisol is not going to get a complete result from treating only one of these. The integrated approach — hormonal optimization alongside metabolic intervention, cardiovascular attention, and sleep optimization — produces the most durable outcomes.
PDE5 inhibitors remain a useful tool in this context — but as a bridge or adjunct while underlying hormonal issues are being corrected, not as the only treatment. Men who find that their medication “stopped working” or was never fully effective should consider a comprehensive sexual health and hormone evaluation before increasing the dose.
Tip — Timing your evaluation
Avoid having hormone labs drawn after heavy exercise, alcohol consumption, acute illness, or significant sleep deprivation — all of which temporarily alter testosterone and cortisol levels and can produce misleading results. A rested, fasted morning draw after a normal night’s sleep gives the most accurate baseline.
Frequently Asked Questions
Can low testosterone be the only cause of erectile dysfunction?
Yes, in some men — particularly those with severely low testosterone (below 200 ng/dL) — low T can be the primary or sole hormonal cause of ED. However, most men presenting with both low testosterone and ED have at least one additional contributing factor: elevated blood glucose, cardiovascular changes, poor sleep, elevated prolactin, or psychological stressors. A complete workup identifies which factors are present and in what combination, allowing treatment to be correctly targeted.
My testosterone came back “normal” — can hormones still be causing my ED?
Yes — and this is one of the most common diagnostic frustrations. “Normal” testosterone on a standard lab panel does not rule out hormonal ED for several reasons: reference ranges are broad and population-based, not individual-optimal; high SHBG can leave total T normal but free T low; prolactin may be elevated suppressing libido independently; thyroid dysfunction can impair sexual function with normal T; and morning labs may have been taken too late in the day. If your testosterone is in the lower-normal range and symptoms are consistent, free testosterone, SHBG, prolactin, and thyroid function should all be evaluated.
Does starting TRT always improve erectile dysfunction?
TRT improves ED in men where testosterone deficiency is a contributing cause, but it does not work universally. If the primary cause is vascular (atherosclerosis, diabetes-related microvascular damage), psychological, or related to another hormone such as prolactin or thyroid, TRT alone will have limited effect on erections specifically — though it may still improve libido, energy, and mood. This is why thorough evaluation before treatment matters: knowing the cause allows treatment to be directed at the correct mechanism.
What testosterone level is considered too low for sexual health?
Most clinical guidelines define hypogonadism as a total testosterone below 300 ng/dL, confirmed on two separate morning draws. However, symptomatic men with levels between 300 and 450 ng/dL — particularly if free testosterone is low or SHBG is elevated — may also benefit from evaluation and potentially treatment. The threshold at which testosterone affects sexual function varies between individuals, which is why symptoms must be interpreted alongside lab values rather than numbers alone.
How is elevated prolactin treated and how long does it take to work?
Elevated prolactin is most commonly treated with cabergoline, a dopamine agonist typically taken twice weekly. Prolactin levels usually normalize within 4–8 weeks of treatment, and sexual function improvements often follow within 2–4 months as testosterone levels recover. If a pituitary adenoma is the cause, cabergoline also gradually shrinks the tumor in most cases, with repeat MRI typically performed at 6–12 months to assess response.
Can I use Viagra or Cialis while getting my hormones treated?
In most cases, yes — PDE5 inhibitors and hormone therapy are not contraindicated together and are frequently used concurrently. PDE5 inhibitors can serve as a useful bridge while hormone levels are being optimized (which typically takes 3–6 months). Many men find that as testosterone, prolactin, and other hormones normalize, their reliance on PDE5 inhibitors decreases — or that the medications become more effective at doses that previously didn’t work. Your provider should be aware of all medications you are taking before any hormone therapy is initiated.
Does age alone cause hormonal ED?
Age is associated with declining testosterone and GH levels, and with increasing incidence of conditions — such as metabolic syndrome, hypertension, and cardiovascular disease — that contribute to ED. But age alone does not make ED inevitable or untreatable. Many men in their 50s, 60s, and beyond maintain excellent sexual function with appropriate attention to hormonal and metabolic health. The framing of ED as a natural consequence of aging has historically discouraged evaluation and treatment in men who would have responded well to intervention.
What is the first step if I think hormones are causing my ED?
The first step is a comprehensive hormone panel drawn in the morning, fasting. This should include total and free testosterone, SHBG, LH, FSH, prolactin, estradiol, TSH, free T4, IGF-1, fasting glucose, a comprehensive metabolic panel, and CBC. From those results, a hormone specialist can identify which systems are out of range and design a targeted treatment plan. Avoid requesting only total testosterone — it is insufficient as a standalone diagnostic tool for ED with a possible hormonal component.
Think hormones may be affecting your sexual health?
Our specialists run comprehensive hormone panels covering testosterone, prolactin, thyroid, IGF-1, and cortisol — and review results with you in detail. Get the complete picture, not just one number.
This article is for informational and educational purposes only. It does not constitute medical advice, a diagnosis, or a treatment recommendation. Erectile dysfunction can have multiple causes — hormonal, vascular, neurological, and psychological — and proper evaluation by a licensed healthcare provider is required before initiating any treatment. Testosterone replacement therapy, HGH therapy, and related treatments are prescription interventions that must be managed by a qualified clinician. If you are experiencing the symptoms described in this article, consult a licensed provider for appropriate evaluation and testing.