Testosterone is used as a medication for the treatment of males with too little or no natural testosterone production, certain forms of breast cancer,[10] and gender dysphoria in transgender men. This is known as hormone replacement therapy (HRT) or testosterone replacement therapy (TRT), which maintains serum testosterone levels in the normal range. Decline of testosterone production with age has led to interest in androgen replacement therapy.[170] It is unclear if the use of testosterone for low levels due to aging is beneficial or harmful.[171] 

^ Butenandt A, Hanisch G (1935). "Umwandlung des Dehydroandrosterons in Androstendiol und Testosterone; ein Weg zur Darstellung des Testosterons aus Cholestrin" [About Testosterone. Conversion of Dehydro-androsterons into androstendiol and testosterone; a way for the structure assignment of testosterone from cholesterol]. Hoppe-Seyler's Z Physiol Chem (in German). 237 (2): 89–97. doi:10.1515/bchm2.1935.237.1-3.89.

In summary, low testosterone levels are linked to the presence of numerous cardiovascular risk factors. Testosterone treatment acts to improve some of these factors, but effects may vary according to pre- and post-treatment testosterone levels, as well as other factors. There is little data from trials specific to aging males. Appropriately-powered randomized controlled trials, with cardiovascular disease primary endpoints, are needed to clarify the situation, but in the meantime the balance of evidence is that testosterone has either neutral or beneficial effects on the risk of cardiovascular disease in men. It is particularly important to define the effect of testosterone treatment on cardiovascular disease in view of its potential use as an anti-anginal agent.
Overall, it seems that both estrogen and testosterone are important for normal bone growth and maintenance. Deficiency or failure of action of the sex hormones is associated with osteoporosis and minimal trauma fractures. Estrogen in males is produced via metabolism of testosterone by aromatase and it is therefore important that androgens used for the treatment of hypogonadism be amenable to the action of aromatase to yield maximal positive effects on bone. There is data showing that testosterone treatment increases bone mineral density in aging males but that these benefits are confined to hypogonadal men. The magnitude of this improvement is greater in the spine than in the hip and further studies are warranted to confirm or refute any differential effects of testosterone at these important sites. Improvements seen in randomized controlled trials to date may underestimate true positive effects due to relatively short duration and/or baseline characteristics of the patients involved. There is no data as yet to confirm that the improvement in bone density with testosterone treatment reduces fractures in men and this is an important area for future study.
Given the high risk of priapism during escalation of therapy for intracorporeal injection, it is recommended that the drugs be administered in a supervised office visit initially and that the patient be given a well-articulated plan for treatment of priapism if it occurs. Escalation guidelines for alprostadil alone vary, but a general guideline is to start at 2.5 mcg and increase by 2.5 mcg to a dose of 5 mcg and then in increments of 5 mcg to 10 mcg until an erection sufficient for penetration, not lasting more than 1 hour, is achieved. If there is no response to the initial 2.5-mcg dose, escalation dosing can be slightly more liberal.34 A European prospective trial of PGE1 alone found 91% of the 54 patients completing the 4 years of the study reported good or better tolerability and satisfaction with therapy.35
Late onset hypogonadism reflects a particular pathophysiology and it may not be appropriate to extrapolate results from studies concerning the effects of testosterone in treating hypogonadism of other etiology to aging males. For this reason, the age of men treated in clinical trials is certainly relevant. Other important factors include patient comorbidities and the preparation and route of testosterone replacement used in the study, which can affect the production of estrogen and dihydrotestosterone, testosterone’s active metabolites

Conditions associated with reduced nerve and endothelium function (eg, aging, hypertension, smoking, hypercholesterolemia, and diabetes) alter the balance between contraction and relaxation factors (see Pathophysiology). These conditions cause circulatory and structural changes in penile tissues, resulting in arterial insufficiency and defective smooth muscle relaxation. In some patients, sexual dysfunction may be the presenting symptom of these disorders.
Type 2 diabetes is an important condition in terms of morbidity and mortality, and the prevalence is increasing in the developed and developing world. The prevalence also increases with age. Insulin resistance is a primary pathological feature of type 2 diabetes and predates the onset of diabetes by many years, during which time raised serum insulin levels compensate and maintain normoglycemia. Insulin resistance and/or impaired glucose tolerance are also part of the metabolic syndrome which also comprises an abnormal serum lipid profile, central obesity and hypertension. The metabolic syndrome can be considered to be a pre-diabetic condition and is itself linked to cardiovascular mortality. Table 1 shows the three commonly used definitions of the metabolic syndrome as per WHO, NCEPIII and IDF respectively (WHO 1999; NCEPIII 2001; Zimmet et al 2005).