Depression and anxiety rarely have a single cause. They typically emerge from a combination of biological vulnerabilities, life experiences, and ongoing stressors that interact in ways unique to each person. Understanding these overlapping factors can help you make sense of what you’re experiencing and have more productive conversations about treatment.
Your Brain’s Chemical Messaging System
The brain relies on chemical messengers to regulate mood, motivation, and the stress response. Several of these play direct roles in depression and anxiety. Serotonin helps stabilize mood and emotional processing. When the body is under inflammatory stress, the raw material used to make serotonin (an amino acid called tryptophan) gets diverted toward other pathways, effectively reducing the brain’s serotonin supply. Dopamine drives motivation and the ability to feel pleasure, and disruptions in dopamine signaling are closely tied to the flat, unmotivated feeling that characterizes depression. Norepinephrine regulates alertness and the fight-or-flight response. GABA, the brain’s primary calming signal, and glutamate, its primary excitatory signal, work as a balancing act. When glutamate activity overwhelms GABA’s calming influence, the result can be the racing, restless quality of anxiety.
These systems don’t operate in isolation. Inflammation anywhere in the body can alter how these messengers are produced, transported, and received. People with major depression consistently show elevated levels of inflammatory markers in their blood, including proteins like C-reactive protein, IL-6, and TNF-alpha. These inflammatory molecules can cross into the brain and directly interfere with serotonin function by ramping up the machinery that clears serotonin from the spaces between neurons. This is one reason depression so often accompanies chronic inflammatory conditions like autoimmune disease or long-term infections.
The Stress Hormone Connection
Your body has a built-in stress response system that connects the brain to the adrenal glands, which sit on top of your kidneys. When you perceive a threat, this system releases cortisol, the hormone that puts your body on high alert. Normally, cortisol spikes briefly and then drops back down through a feedback loop. In people with depression and anxiety, that feedback loop often breaks down.
The result is chronically elevated cortisol, or cortisol that spikes too easily and stays elevated too long. People with anxiety disorders tend to have higher baseline cortisol levels and exaggerated cortisol responses to everyday stressors. In major depression, the feedback mechanism that should tell the brain “we have enough cortisol, stop producing more” becomes impaired. Persistent cortisol elevation doesn’t just feel bad. It actively damages brain tissue, particularly in regions critical for memory and emotional regulation, creating a cycle where the stress response itself makes the conditions worse.
Physical Changes in the Brain
Depression and anxiety aren’t just about chemistry. They involve measurable structural changes. The hippocampus, a brain region essential for memory and emotional context, is roughly 8% smaller in people with major depression compared to healthy controls. The amygdala, which processes fear and emotional reactions, shows a 5 to 7% volume reduction as well. These aren’t subtle statistical artifacts. Hippocampal shrinkage can be present even during a first depressive episode and tends to worsen with each recurrence.
A key protein called brain-derived neurotrophic factor (BDNF) helps maintain and grow brain cells. People with depression have lower levels of BDNF in their blood, and those lower levels correlate with both reduced hippocampal volume and more severe depressive symptoms. The encouraging flip side: effective treatment raises BDNF levels, and that increase tracks with symptom improvement. This suggests the brain retains the capacity to recover structurally, not just chemically.
The hippocampus also plays a direct role in keeping the stress hormone system in check. When it shrinks, its ability to signal “enough cortisol” weakens, leading to even more cortisol exposure and further damage. This feedback loop helps explain why untreated depression tends to become more severe and harder to treat over time.
How Much Is Genetic
Twin studies provide the clearest window into genetic risk. For generalized anxiety, genetic factors account for about 39 to 46% of the variation seen at any single point in time. For people whose anxiety persists over years rather than flaring temporarily, heritability climbs to around 60%, suggesting that genetic influence is strongest in chronic, stable forms of the condition. Depression shows a similar pattern, with heritability estimates generally falling in the 30 to 50% range.
No single gene causes either condition. Instead, hundreds of genetic variants each contribute a small amount of risk. What you inherit isn’t depression or anxiety itself but a nervous system that may be more reactive to stress, less efficient at regulating cortisol, or more prone to inflammation. Whether that vulnerability becomes a full disorder depends heavily on what life throws at you.
Childhood Experiences and Lasting Risk
Adverse childhood experiences, including abuse, neglect, household dysfunction, and exposure to violence, are among the strongest predictors of adult depression and anxiety. The CDC estimates that preventing adverse childhood experiences could reduce the number of adults with depression by as much as 44%. That single statistic underscores how profoundly early life shapes mental health decades later.
The mechanism isn’t just psychological. Chronic childhood stress physically reshapes the developing brain’s stress response system, calibrating it toward hypervigilance. Children who grow up in unpredictable or threatening environments develop a cortisol system that stays on high alert, and that biological setting can persist into adulthood even when the original threat is long gone. This is one reason trauma-informed approaches to treatment focus not just on current symptoms but on recalibrating the body’s stress thermostat.
Your Gut’s Role in Mental Health
The gut contains its own nervous system and produces a surprising share of the body’s neurotransmitters, including serotonin, dopamine, and GABA. Gut bacteria influence the brain through several pathways: the vagus nerve (a direct communication line between the gut and brain), regulation of the stress hormone system, tryptophan metabolism, and production of short-chain fatty acids that reduce inflammation.
Specific bacterial species, including Faecalibacterium prausnitzii and Roseburia inulinivorans, appear to support mental health by producing anti-inflammatory compounds and regulating cortisol pathways. Animal research has shown that certain beneficial bacteria can reverse depression-like behavior, calm an overactive stress hormone system, and increase BDNF levels in the brain. The gut-brain connection helps explain why depression and anxiety so often co-occur with digestive problems and why diet quality consistently shows up as a risk factor in large population studies.
Medical Conditions That Mimic or Trigger Symptoms
Sometimes what looks like depression or anxiety is actually the first sign of a physical illness. Depression is a well-documented early symptom of hypothyroidism (underactive thyroid), Cushing’s syndrome (excess cortisol production), hyperparathyroidism (overactive parathyroid glands), pancreatic and lung cancer, heart attack, Wilson’s disease, and HIV/AIDS. In these cases, the mood symptoms can appear months or even years before the underlying condition is diagnosed.
This is one reason a thorough medical workup matters when depression or anxiety appears for the first time, especially if it arrives without an obvious life trigger. Thyroid panels, vitamin levels, and basic metabolic bloodwork can rule out treatable physical causes that no amount of therapy or antidepressant medication would fully address.
Medications That Can Cause Symptoms
Several common medication classes carry depression or anxiety as recognized side effects. Corticosteroids (often prescribed for inflammation or autoimmune conditions) are among the most well-established culprits. Hormonal contraceptives, particularly those containing progesterone, have long been associated with depressive symptoms in some users. Certain anti-seizure medications, antimalarial drugs, and interferon-alpha (used in hepatitis treatment) also carry meaningful risk.
If your depression or anxiety started or worsened shortly after beginning a new medication, that timing is worth noting. Medication-induced mood changes are often reversible once the drug is adjusted or discontinued, making them one of the more straightforward causes to address.
Why It’s Usually Not One Thing
The reality for most people is that depression and anxiety emerge from the collision of multiple factors. You might carry a moderate genetic vulnerability that never becomes a problem until a period of chronic work stress disrupts your sleep and diet, which shifts your gut bacteria and increases inflammation, which impairs serotonin production, which makes you less able to cope with the next stressor. Each factor amplifies the others. This layered causation is also why treatment approaches that address multiple levels, combining therapy, lifestyle changes, and sometimes medication, tend to outperform any single intervention. It also means that identifying your specific contributing factors, rather than looking for one universal cause, is the most useful framework for understanding what’s happening and what might help.

