Studies have demonstrated reduced testosterone levels in men with heart failure as well as other endocrine changes (Tappler and Katz 1979; Kontoleon et al 2003). Treatment of cardiac failure with chronic mechanical circulatory support normalizes many of these changes, including testosterone levels (Noirhomme et al 1999). More recently, two double-blind randomized controlled trials of testosterone treatment for men with low or low-normal serum testosterone levels and heart failure have shown improvements in exercise capacity and symptoms (Pugh et al 2004; Malkin et al 2006). The mechanism of these benefits is currently unclear, although a study of the acute effects of buccal testosterone given to men with chronic cardiac failure under invasive monitoring showed that testosterone increased cardiac index and reduced systemic vascular resistance (Pugh et al 2003). Testosterone may prove useful in the management of cardiac failure but further research is needed.
The bones and the brain are two important tissues in humans where the primary effect of testosterone is by way of aromatization to estradiol. In the bones, estradiol accelerates ossification of cartilage into bone, leading to closure of the epiphyses and conclusion of growth. In the central nervous system, testosterone is aromatized to estradiol. Estradiol rather than testosterone serves as the most important feedback signal to the hypothalamus (especially affecting LH secretion). In many mammals, prenatal or perinatal "masculinization" of the sexually dimorphic areas of the brain by estradiol derived from testosterone programs later male sexual behavior.
Organic ED involves abnormalities the penile arteries, veins, or both and is the most common cause of ED, especially in older men. When the problem is arterial, it is usually caused by arteriosclerosis, or hardening of the arteries, although trauma to the arteries may be the cause. The controllable risk factors for arteriosclerosis--being overweight, lack of exercise, high cholesterol, high blood pressure, and cigarette smoking--can cause erectile failure often before progressing to affect the heart.
Two of the immediate metabolites of testosterone, 5α-DHT and estradiol, are biologically important and can be formed both in the liver and in extrahepatic tissues. Approximately 5 to 7% of testosterone is converted by 5α-reductase into 5α-DHT, with circulating levels of 5α-DHT about 10% of those of testosterone, and approximately 0.3% of testosterone is converted into estradiol by aromatase. 5α-Reductase is highly expressed in the male reproductive organs (including the prostate gland, seminal vesicles, and epididymides), skin, hair follicles, and brain and aromatase is highly expressed in adipose tissue, bone, and the brain. As much as 90% of testosterone is converted into 5α-DHT in so-called androgenic tissues with high 5α-reductase expression, and due to the several-fold greater potency of 5α-DHT as an AR agonist relative to testosterone, it has been estimated that the effects of testosterone are potentiated 2- to 3-fold in such tissues.
The Food and Drug Administration (FDA) does not recommend alternative therapies to treat sexual dysfunction. Many products are advertised as "herbal viagra" or "natural" sexual enhancement products, but no clinical trials or scientific studies support the effectiveness of these products for the treatment of ED, and synthetic chemical compounds similar to sildenafil have been found as adulterants in many of these products. The FDA has warned consumers that any sexual enhancement product that claims to work as well as prescription products is likely to contain such a contaminant.
There are risks to prosthetic surgery and patients are counselled before the procedure. If there is a post-operative infection, the implant will likely be removed. The devices are reliable, but in the case of mechanical malfunction, the device or a part of the device will need to be replaced surgically. If a penile prosthesis is removed, other non-surgical treatments may no longer work.
"Low T" is anything but inevitable. BMJ's Drug and Therapeutics Bulletin says that around 80 percent of 60-year-old men, and half of those in their eighties, have testosterone levels within the normal range for younger men. It concluded, "The evidence that an age-related reduction in testosterone levels causes specific symptoms is weak." The Food and Drug Administration (FDA) meanwhile has not approved testosterone use to improve strength, athletic performance, physical appearance, or prevent aging. And a 2004 report from the Institute of Medicine ("Testosterone and Aging: Clinical Research Directions") called TRT for age-related testosterone decline a "scientifically unproven method."
It is normal for a man to have five to six erections during sleep, especially during rapid eye movement (REM). Their absence may indicate a problem with nerve function or blood supply in the penis. There are two methods for measuring changes in penile rigidity and circumference during nocturnal erection: snap gauge and strain gauge. A significant proportion of men who have no sexual dysfunction nonetheless do not have regular nocturnal erections.
Performance anxiety can be another cause of impotence. If a person wasn’t able to achieve an erection in the past, he may fear he won’t be able to achieve an erection in the future. A person may also find he can’t achieve an erection with a certain partner. Someone with ED related to performance anxiety may be able to have full erections when masturbating or when sleeping, yet he isn’t able to maintain an erection during intercourse.
However, testosterone is only one of many factors that aid in adequate erections. Research is inconclusive regarding the role of testosterone replacement in the treatment of erectile dysfunction. In a review of studies that looked at the benefit of testosterone in men with erection difficulties, nearly half showed no improvement with testosterone treatment. Many times, other health problems play a role in erectile difficulties. These can include:
The association between low testosterone and ED is not entirely clear. Although these 2 processes certainly overlap in some instances, they are distinct entities. Some 2-21% of men have both hypogonadism and ED; however, it is unclear to what degree treating the former will improve erectile function.  About 35-40% of men with low testosterone see an improvement in their erections with testosterone replacement; however, almost 65% of these men see no improvement. 
Factors that mediate contraction in the penis include noradrenaline, endothelin-1, neuropeptide Y, prostanoids, angiotensin II, and others not yet identified. Factors that mediate relaxation include acetylcholine, nitric oxide (NO), vasoactive intestinal polypeptide, pituitary adenylyl cyclase–activating peptide, calcitonin gene–related peptide, adrenomedullin, adenosine triphosphate, and adenosine prostanoids.
Testosterone is necessary for normal sperm development. It activates genes in Sertoli cells, which promote differentiation of spermatogonia. It regulates acute HPA (hypothalamic–pituitary–adrenal axis) response under dominance challenge. Androgen including testosterone enhances muscle growth. Testosterone also regulates the population of thromboxane A2 receptors on megakaryocytes and platelets and hence platelet aggregation in humans.
Findings that improvements in serum glucose, serum insulin, insulin resistance or glycemic control, in men treated with testosterone are accompanied by reduced measures of central obesity, are in line with other studies showing a specific effect of testosterone in reducing central or visceral obesity (Rebuffe-Scrive et al 1991; Marin, Holmang et al 1992). Furthermore, studies that have shown neutral effects of testosterone on glucose metabolism have not measured (Corrales et al 2004), or shown neutral effects (Lee et al 2005) (Tripathy et al 1998; Bhasin et al 2005) on central obesity. Given the known association of visceral obesity with insulin resistance, it is possible that testosterone treatment of hypogonadal men acts to improve insulin resistance and diabetes through an effect in reducing central obesity. This effect can be explained by the action of testosterone in inhibiting lipoprotein lipase and thereby reducing triglyceride uptake into adipocytes (Sorva et al 1988), an action which seems to occur preferentially in visceral fat (Marin et al 1995; Marin et al 1996). Visceral fat is thought to be more responsive to hormonal changes due to a greater concentration of androgen receptors and increased vascularity compared with subcutaneous fat (Bjorntorp 1996). Further explanation of the links between hypogonadism and obesity is offered by the hypogonadal-obesity-adipocytokine cycle hypothesis (see Figure 1). In this model, increases in body fat lead to increases in aromatase levels, in addition to insulin resistance, adverse lipid profiles and increased leptin levels. Increased action of aromatase in metabolizing testosterone to estrogen, reduces testosterone levels which induces further accumulation of visceral fat. Higher leptin levels and possibly other factors, act at the pituitary to suppress gonadotrophin release and exacerbate hypogonadism (Cohen 1999; Kapoor et al 2005). Leptin has also been shown to reduce testosterone secretion from rodent testes in vitro (Tena-Sempere et al 1999). A full review of the relationship between testosterone, insulin resistance and diabetes can be found elsewhere (Kapoor et al 2005; Jones 2007).
And surgery comes with its own serious risks, such as developing incontinence or impotence, while radiation can result in urinary problems. — Peter Loftus, WSJ, "Surgery Adds Three Years to Lives of Prostate-Cancer Patients, Study Finds," 12 Dec. 2018 Male-impotence pill Viagra began facing generic competition late last year, while the Lyrica pain treatment is expected to confront generics at the end of this year. — Jonathan D. Rockoff, WSJ, "Pfizer Narrows Guidance on Tougher Pricing, Generic Competition," 30 Oct. 2018 Arkham Horror Third Edition is a classic struggle of agency versus impotence, set in the uncanny world of H.P. Lovecraft’s Cthulhu mythos. — Charlie Theel, Ars Technica, "Arkham Horror Third Edition: The classic Lovecraft adventure returns," 24 Nov. 2018 There’s obviously a lot of anger and frustration here toward the US government at the moment—along with side effects like bottled rage and sometimes a creeping sense of ineptitude or impotence about our ability to do anything about it. — Corey Seymour, Vogue, "Pussy Riot's Nadya Tolokonnikova On Her New Guide To Activism, Raising The Next President Of Russia, And Her "Holy War" On Fairy Tales," 12 Oct. 2018 In exchange for political impotence, they would be mostly left alone and allowed to get rich. — Paul Mozur, New York Times, "Inside China’s Dystopian Dreams: A.I., Shame and Lots of Cameras," 8 July 2018 Their suspicion is compounded by rumors that the polio vaccine causes impotence, death and, ironically, paralysis. — Meher Ahmad, New York Times, "Pakistan Has Just One New Polio Case, but Isn’t Declaring Victory Yet," 20 May 2018 Fighting back, even as an exercise in impotence, did a lot for McCain. — Alex Horton, Washington Post, "John McCain rebelled at the Naval Academy — and as a POW — long before he was a Senate maverick," 3 May 2018 Feelings of desperation and impotence are being felt throughout Central America, where the lawlessness, endemic poverty and levels of gang violence akin to war zones that have driven so many families from their homes show little signs of abating. — Washington Post, "Violence keeps Central Americans coming to US despite Trump," 21 June 2018
If you’re experiencing psychological ED, you may benefit from talk therapy. Therapy can help you manage your mental health. You’ll likely work with your therapist over several sessions, and your therapist will address things like major stress or anxiety factors, feelings around sex, or subconscious conflicts that could be affecting your sexual well-being.
"One of the reasons erectile dysfunction increases with age is that the diseases that lead to it also increase with age," notes Dr. Feloney. Evaluating the causes of erectile dysfunction starts with your doctor taking a good health history and giving you a physical exam. Common medical issues that can lead to erectile dysfunction include diabetes, high blood pressure, hardening of the arteries, low testosterone, and neurological disease. Talk to your doctor about better managing these health conditions.