What Can Cause Depression: From Genes to Gut Bacteria

Depression rarely has a single cause. It typically results from a combination of genetic vulnerability, brain chemistry, life experiences, and physical health factors that interact in ways unique to each person. Roughly 332 million people worldwide live with depression, making it one of the most common health conditions on the planet. Understanding what triggers it can help you recognize risk factors in your own life and make sense of why it develops when it does.

Genetics Account for About Half the Risk

Depression runs in families, and research from Stanford Medicine estimates that heritability accounts for 40 to 50 percent of the cause, possibly higher for severe forms. That means if you have a close relative with depression, your biological starting point is different from someone without that family history. But 40 to 50 percent also means the other half comes from non-genetic factors: your environment, your experiences, your physical health. Having a genetic predisposition doesn’t guarantee you’ll develop depression, and lacking one doesn’t protect you entirely.

No single “depression gene” has been identified. Instead, hundreds of small genetic variations each contribute a tiny amount of risk, influencing everything from how your brain processes stress hormones to how efficiently your nerve cells communicate. This is why depression looks so different from person to person, even within the same family.

Brain Chemistry Beyond Serotonin

For decades, the popular explanation for depression centered on low serotonin levels. That story is incomplete. While serotonin plays a role, researchers now focus on a broader network of chemical messengers. One key player is glutamate, the brain’s primary excitatory signal. People with depression show altered glutamate-related activity in the prefrontal cortex, the region responsible for decision-making, motivation, and emotional regulation. These changes are so consistent that the degree of disruption correlates with how many treatments a person has tried without success.

GABA, the brain’s main calming signal, also appears lower in certain brain regions of people with depression, even after symptoms have resolved. Dopamine, the chemical tied to motivation and reward, is affected too. The interplay between all of these systems helps explain why depression doesn’t just make you “sad.” It can strip away your ability to feel pleasure, concentrate, or summon the energy to get out of bed.

Physical Changes in the Brain

Depression isn’t just a matter of chemistry. It can physically reshape brain structures over time. The hippocampus, a region critical for memory and emotional processing, is consistently smaller in people with depression. Studies comparing brain scans show that the left and right hippocampus in depressed individuals are roughly 8 to 9 percent smaller than in people without the condition. The amygdala, which processes fear and emotional reactions, also shows volume reductions of 5 to 7 percent.

These changes aren’t random. They track with how long someone has been depressed, how many episodes they’ve experienced, and how young they were when depression first appeared. Longer and more frequent episodes are associated with greater volume loss. The encouraging side of this research is that these changes appear partially reversible with effective treatment, since the brain retains some capacity to rebuild.

Stress Hormones and the Cortisol Connection

Your body’s stress response system is one of the most well-documented biological pathways to depression. When you encounter a threat, your brain triggers a hormonal cascade that ends with cortisol flooding your bloodstream. In a healthy system, cortisol rises, does its job, and then feedback signals tell your brain to dial it back down. In 40 to 60 percent of people with depression, this feedback loop is broken.

The result is chronically elevated cortisol, a flattened daily rhythm where cortisol stays high when it should drop, or both. Persistently high cortisol is toxic to the hippocampus, the very brain region already vulnerable in depression. It impairs memory, clouds thinking, and makes it harder for the brain to regulate emotions. People with the most severe forms of depression, particularly those experiencing psychotic symptoms, tend to show the most dramatic cortisol elevations.

Childhood Adversity and Trauma

What happens to you early in life can set the stage for depression decades later. Research using the Adverse Childhood Experiences (ACE) framework, which counts exposures like abuse, neglect, household dysfunction, and violence, shows a clear dose-response relationship. Adults who experienced four or more types of adversity in childhood are more than three times as likely to develop depression compared to those with no adverse experiences. Some studies put that figure closer to five times the risk.

This isn’t simply about having painful memories. Early adversity physically reprograms the stress response system described above, making it more reactive and harder to shut off. Children exposed to chronic stress develop a biological “hair trigger” for cortisol release that persists into adulthood. The combination of a sensitized stress system and the psychological weight of unresolved trauma creates fertile ground for depressive episodes, especially when new stressors emerge later in life.

Inflammation Throughout the Body

One of the more surprising discoveries in depression research is how closely it’s tied to inflammation. Immune molecules called cytokines, normally released to fight infection or heal injuries, are consistently elevated in people with depression. These inflammatory signals reach the brain through multiple routes: crossing through vulnerable spots in the blood-brain barrier, hijacking the vagus nerve to relay signals directly to brain regions involved in mood, and activating immune cells that have migrated into brain tissue.

Once inflammation reaches the brain, it disrupts the production of serotonin and other mood-regulating chemicals, activates the stress hormone system, and damages neurons. This pathway helps explain why depression is so common alongside inflammatory conditions like autoimmune diseases, obesity, heart disease, and chronic infections. It also explains why some people develop severe depression during treatment with interferon-alpha, a medication that deliberately ramps up the immune system. Up to 58 percent of patients receiving that drug develop significant depressive symptoms.

Your Gut Bacteria Play a Role

The trillions of bacteria living in your digestive tract communicate with your brain through chemical messengers, nerve signals, and immune pathways. People with depression consistently show lower levels of certain beneficial bacteria, particularly species that produce a compound called butyrate. This compound crosses into the brain, where it reduces inflammation, supports the growth of new brain cells, and even boosts serotonin production by increasing the activity of an enzyme needed to make it.

Butyrate and related compounds produced by gut bacteria also appear to calm the stress hormone system. In animal studies, administering these compounds reduced the expression of genes involved in the cortisol stress response. The gut-brain connection creates a feedback loop: poor diet, antibiotics, or chronic stress can deplete beneficial bacteria, which reduces protective compounds like butyrate, which in turn increases inflammation and stress hormone activity, all of which raise depression risk.

Medications That Can Trigger Depression

Certain medications cause depression as a side effect, sometimes at surprisingly high rates. Corticosteroids taken long-term carry a 60 percent lifetime risk for mood and anxiety disorders. Interferon-alpha, used for hepatitis and some cancers, triggers depression in up to 58 percent of patients. Among anti-seizure medications, one older drug causes depressive symptoms in about 40 percent of users, while topiramate, commonly prescribed for migraines and epilepsy, triggers depression in roughly 10 percent of patients. That risk jumps dramatically, up to 23-fold, in people with a prior history of depression, especially when the dose is increased quickly.

The antimalarial drug mefloquine and the HIV medication efavirenz are also linked to depressive symptoms. If you notice a mood shift after starting a new medication, that timing is worth paying attention to. Drug-induced depression often improves when the medication is adjusted or changed.

Sleep Disruption as Both Cause and Consequence

Insomnia doubles your risk of developing depression, a magnitude comparable to having a parent or sibling with recurrent depressive episodes. This relationship goes both directions: depression disrupts sleep, and disrupted sleep worsens depression. But longitudinal studies tracking people over time have confirmed that insomnia often comes first, making it a genuine risk factor rather than just a symptom.

Sleep is when your brain clears metabolic waste, consolidates emotional memories, and restores the chemical balance needed for stable mood. Chronic sleep loss impairs all of these processes. It increases inflammation, raises cortisol, and reduces activity in the prefrontal cortex, hitting many of the same biological pathways that other depression triggers use. For people already carrying genetic or environmental risk, poor sleep can be the factor that tips the balance.

Hormonal Shifts and Life Transitions

Hormonal changes create windows of vulnerability. More than 10 percent of pregnant women and new mothers experience depression, driven partly by dramatic shifts in estrogen, progesterone, and cortisol during and after pregnancy. Thyroid disorders, particularly an underactive thyroid, produce symptoms that closely mimic depression: fatigue, weight gain, difficulty concentrating, and low mood. Perimenopause and menopause bring fluctuating and declining estrogen levels that increase depression risk, especially in women with prior episodes.

These hormonal triggers interact with all the other factors on this list. A woman with a genetic predisposition, a history of childhood adversity, and chronic sleep disruption may sail through her twenties without a depressive episode, only to experience one during the hormonal upheaval of postpartum life. Depression almost always reflects multiple causes converging at a vulnerable moment, which is exactly why it can seem to appear “out of nowhere” even when the groundwork has been building for years.