Testosterone and Mental Health: Depression, Anxiety, and Cognitive Function

Written by Adam Maggio | Medically reviewed by Dr. Mitchell Ross, MD, ABAARM

Low testosterone is strongly associated with depression, anxiety, and cognitive decline. TRT consistently improves mood, reduces depressive symptoms, and enhances cognitive function in hypogonadal men. The effect is mediated through testosterone's direct actions on the brain, including neurosteroid effects and dopamine/serotonin modulation.

Testosterone as a Neurosteroid

Testosterone is not merely a peripheral hormone affecting muscle, fat, and sexual function — it is also a potent neurosteroid with direct effects on brain function. Testosterone and its metabolites (estradiol and DHT) act on receptors throughout the brain, modulating neurotransmitter systems, neuroplasticity, and neuroinflammation. Understanding testosterone's neurological effects is essential for appreciating why hypogonadism so profoundly affects mental health.

The Testosterone-Depression Connection

The association between low testosterone and depression is well-established. Multiple meta-analyses have confirmed that hypogonadal men have significantly higher rates of depression than eugonadal men, and that TRT produces significant antidepressant effects. The mechanisms include: testosterone's direct effects on serotonin and dopamine systems, its anti-inflammatory effects in the brain (neuroinflammation is increasingly recognized as a driver of depression), its promotion of neuroplasticity and BDNF expression, and its effects on energy, motivation, and libido that indirectly improve mood.

Anxiety and Testosterone

The relationship between testosterone and anxiety is more complex than the testosterone-depression relationship. Low testosterone is associated with increased anxiety in many men, but the relationship is not linear — very high testosterone can also be associated with irritability and anxiety in some individuals. Optimal testosterone levels (typically 500–800 ng/dL) are associated with the best anxiety outcomes.

Cognitive Effects

Testosterone has significant effects on cognitive function, particularly in domains of spatial cognition, verbal memory, and executive function. Hypogonadal men consistently perform worse on cognitive tests than eugonadal men, and TRT improves cognitive performance in multiple randomized controlled trials. The TRAVERSE trial found that testosterone therapy did not increase the risk of dementia and may have protective effects on cognitive function.

Practical Implications

Men presenting with depression, anxiety, or cognitive decline should have testosterone levels measured as part of their evaluation. In hypogonadal men, TRT should be considered as a component of the treatment plan for these conditions, in addition to conventional psychiatric or psychological treatment. The antidepressant and anxiolytic effects of TRT are often apparent within 4–8 weeks of initiating therapy.