Erectile dysfunction does have a hereditary component, but genes are only part of the picture. A large twin study estimated that genetics account for roughly 35% to 42% of the risk for ED, depending on whether the difficulty is getting or maintaining an erection. The rest comes down to lifestyle, overall health, and psychological factors, many of which are themselves influenced by family history.
What Twin Studies Reveal About ED Heritability
The strongest evidence for a genetic link comes from a study of twins published in JAMA’s Archives of Internal Medicine. Researchers compared rates of ED in identical twins (who share 100% of their DNA) with fraternal twins (who share about 50%). If a condition is partly genetic, identical twins should be more likely to both have it, and that’s exactly what the data showed. The correlation for difficulty getting an erection was 0.35 in identical twins versus 0.17 in fraternal twins. For difficulty maintaining an erection, those numbers were 0.39 and 0.18.
From those figures, the researchers estimated that 35% of the liability for trouble getting an erection and 42% for trouble maintaining one can be attributed to genetic factors. Importantly, this genetic influence remained significant even after adjusting for known ED risk factors like high blood pressure, diabetes, and smoking. That means there is something genetically specific to erectile function beyond the inherited conditions that also raise risk.
The SIM1 Gene: A Specific Genetic Marker
In 2018, researchers at the University of Washington identified the first specific genetic risk factor for ED. Variations near a gene called SIM1 were associated with a 26% increased risk of erectile dysfunction. SIM1 is involved in brain signaling pathways that help regulate sexual function and body weight. This discovery was notable because it pointed to a biological mechanism, not just a statistical pattern, suggesting that some men carry a genetic predisposition to ED that operates through the brain’s control of arousal.
Inherited Health Conditions That Raise ED Risk
Even beyond ED-specific genes, your family medical history matters because many conditions that cause erectile dysfunction are themselves hereditary. Heart disease is the clearest example. A genetic analysis using data from hundreds of thousands of people found that coronary artery disease, coronary heart disease, stroke, heart attack, and atrial fibrillation all have a causal relationship with ED. The mechanism is straightforward: these conditions damage blood vessels or reduce blood flow, and the arteries supplying the penis are among the smallest in the body, so they’re often affected early.
Men with a family history of coronary artery disease are at higher risk for ED, and family clustering studies confirm that individuals whose close relatives have ED are more likely to develop it themselves. Abnormal lipid metabolism, which tends to run in families, contributes to atherosclerosis (plaque buildup in arteries) that directly reduces blood supply to the penis. Type 2 diabetes, another strongly heritable condition, damages both blood vessels and nerves involved in erections.
So even if you didn’t inherit ED-specific gene variants, inheriting a tendency toward high cholesterol, high blood pressure, or diabetes can lead to the same outcome through a different path.
Mental Health and the Genetic Connection
Psychological causes of ED also have a hereditary dimension. A large genomic study found positive genetic correlations between ED and several psychiatric conditions, including depression, PTSD, and ADHD. This doesn’t mean these conditions directly cause ED in every case, but it suggests shared biological pathways. Structural modeling of the genetic data placed ED on two broad clusters of inherited traits: one linked to cardiometabolic health and another linked to substance use and risk-taking behavior.
Anxiety and depression are well-established contributors to ED on their own. If you have a family history of mood disorders, that inherited vulnerability can affect sexual function through stress hormones, changes in brain chemistry, and the behavioral patterns (poor sleep, reduced exercise, substance use) that often accompany these conditions.
What This Means in Practical Terms
Knowing that ED is partly hereditary is useful for two reasons. First, it removes some of the stigma. If your father or brothers have dealt with ED, your own experience isn’t simply a failure of willpower or attraction. There is a real biological basis. Second, it highlights what you can actually control. With genetics accounting for 35% to 42% of risk, the majority of your risk profile is shaped by factors you can influence: cardiovascular fitness, blood sugar management, body weight, smoking, alcohol use, and mental health.
Family history of heart disease or diabetes is a signal to be proactive about those conditions, not just for general health but specifically for sexual function. The same interventions that protect your heart (regular exercise, maintaining a healthy weight, managing cholesterol and blood pressure) protect erectile function by keeping blood vessels healthy. And because the genetic link to ED includes psychological pathways, addressing anxiety or depression early can also make a meaningful difference.
If ED runs in your family, you’re not destined to experience it. But you do carry a higher baseline risk, which makes the modifiable factors all the more worth paying attention to.

