What Causes Anxiety Chemically in the Brain?

Anxiety is not driven by a single chemical imbalance. It emerges from the interaction of several systems: neurotransmitters that control how excitable your brain cells are, stress hormones that put your body on high alert, immune signals that influence mood, and even chemicals produced by bacteria in your gut. Understanding these overlapping systems helps explain why anxiety feels so physical and why it varies so much from person to person.

The Brain’s Excitation and Inhibition Balance

Your brain runs on a balance between two opposing forces. Glutamate is the main excitatory chemical, revving neurons up. GABA is the main inhibitory chemical, calming them down. In anxiety, this balance tilts toward too much excitation or too little inhibition, leaving your brain in a state of heightened reactivity where normal stimuli trigger alarm.

The relationship between these two systems is more intertwined than scientists originally thought. Research published in Nature found that glutamate can actually bind directly to GABA receptors, boosting their calming effect. This acts as a built-in feedback loop: when excitation rises, it automatically strengthens inhibition to compensate. When this crosstalk breaks down, the brain loses its ability to self-regulate, and the result is the kind of persistent overactivation that characterizes anxiety disorders.

This is also where nutrients like magnesium come in. Magnesium normally blocks a specific type of receptor (the NMDA receptor) that responds to glutamate. When magnesium levels are adequate, it essentially keeps a gate closed on these receptors, preventing excessive calcium from flooding into neurons. In magnesium deficiency, that gate opens, calcium and sodium rush in, and neurons become overexcitable. This is one reason low magnesium is consistently linked to higher anxiety.

Serotonin, Norepinephrine, and Dopamine

For decades, anxiety and depression were explained as simple chemical shortages, particularly of serotonin. The reality is more nuanced. A major 2022 umbrella review in Nature found no convincing evidence that low serotonin levels cause depression, and the same skepticism increasingly applies to anxiety. Methods to artificially reduce serotonin availability in volunteers don’t consistently change mood, and genetic studies have largely ruled out a direct link between serotonin-related genes and these conditions.

That doesn’t mean serotonin is irrelevant. It clearly plays a role in mood regulation, but the problem is less about having “too little” and more about how the system functions as a whole. The same is true for norepinephrine, your brain’s alertness chemical. In anxiety disorders, the norepinephrine system tends to be overactive rather than underactive. This overactivation drives many of the physical symptoms you feel: racing heart, sweating, hypervigilance, and difficulty relaxing. Dopamine, the chemical tied to motivation and reward, also contributes. Disrupted dopamine signaling can make everyday situations feel threatening or unpleasant instead of neutral.

The key takeaway is that anxiety involves complex dysregulation of these systems, not a simple deficit in any one chemical. Your brain has dozens of neurotransmitters working in concert, and the pattern of disruption varies between individuals and between different anxiety disorders.

The Stress Hormone Cascade

When you perceive a threat, your brain initiates a hormonal chain reaction. Your hypothalamus releases a signaling hormone, which tells your pituitary gland to release another hormone, which tells your adrenal glands (sitting on top of your kidneys) to release cortisol. This is called the HPA axis, and it’s designed to help you respond to danger and then shut off.

The shutdown part is critical. Cortisol is supposed to loop back and signal the hypothalamus to stop the cascade, ending the stress response. But chronic stress, trauma, or prolonged anxiety can break this feedback loop. When it malfunctions, your body keeps producing cortisol even when no real threat exists. Chronically elevated cortisol rewires your brain over time, shrinking areas involved in memory and emotional regulation while enlarging the amygdala, the brain region responsible for fear responses. This creates a self-reinforcing cycle: anxiety damages the very systems that would normally help you recover from it.

Alongside cortisol, your adrenal glands release adrenaline and noradrenaline during acute stress. These are the chemicals responsible for the immediate “fight or flight” sensations: pounding heart, shallow breathing, tight muscles, tunnel vision. In people with anxiety disorders, this system activates in response to situations that aren’t actually dangerous, like a work meeting or a crowded store.

Inflammation and Immune Signals

One of the more surprising chemical contributors to anxiety is your immune system. Your body produces small signaling proteins called cytokines that coordinate immune responses. Some of these are pro-inflammatory (they ramp up inflammation) and others are anti-inflammatory (they dial it down). Research has found that people with generalized anxiety disorder often show altered levels of specific cytokines compared to people without anxiety.

The findings are not entirely consistent across studies. Some research has found elevated levels of certain pro-inflammatory markers in anxious patients, while other studies have found no difference. One machine learning study analyzing blood samples from people with generalized anxiety disorder found that two specific immune markers were the most important features distinguishing anxious patients from healthy controls, suggesting immune dysregulation plays a measurable role even when the picture is complex.

Inflammation can affect your brain directly. Pro-inflammatory cytokines cross the blood-brain barrier and influence neurotransmitter production, particularly serotonin and dopamine. Chronic low-grade inflammation, whether from poor diet, sedentary lifestyle, chronic illness, or ongoing stress, can chemically prime your brain toward anxiety by altering the same neurotransmitter systems described above.

Chemicals From Your Gut

Your gut bacteria produce a remarkable range of brain-active chemicals, including GABA, serotonin, dopamine, and norepinephrine. In fact, roughly 95% of your body’s serotonin is produced in the gut, not the brain. Gut bacteria also produce short-chain fatty acids (mainly acetate, propionate, and butyrate) as byproducts of digesting fiber. These compounds act as signaling molecules that influence brain function through multiple pathways.

The primary communication route is the vagus nerve, a long nerve that runs from your gut to your brainstem. Chemicals produced by gut bacteria stimulate nerve cells in the gut wall, which convert those chemical signals into electrical impulses sent up the vagus nerve to the brain. This means the composition of your gut bacteria can directly shape your brain chemistry. Studies in animals have shown that disrupting gut bacteria increases anxiety-like behavior, and restoring certain bacterial strains reverses it. The human research is still catching up, but the chemical pathway is well established.

Genetic Differences in Chemical Cleanup

Your genes influence how quickly your brain breaks down neurotransmitters after they’ve been used. Two enzymes are particularly important. COMT breaks down norepinephrine, adrenaline, and dopamine. MAO-A breaks down serotonin, norepinephrine, adrenaline, and dopamine. Genetic variations in these enzymes can make them work faster or slower, meaningfully changing your brain chemistry.

The most studied COMT variation involves a single genetic swap that produces either a fast or slow version of the enzyme. If you carry the slow version, your brain clears dopamine and norepinephrine more slowly, meaning these chemicals linger longer in your synapses. This can make you more reactive to stress and more prone to anxiety, though it also comes with cognitive advantages like better working memory in calm conditions. The fast version clears these chemicals quickly, which tends to produce more emotional resilience but slightly lower baseline cognitive performance. Neither version is “broken.” They represent different points on a spectrum of stress reactivity that helped our ancestors survive in different environments.

Growth Factors and Brain Maintenance

Your brain produces a protein called BDNF (brain-derived neurotrophic factor) that acts like fertilizer for neurons, helping them grow, form new connections, and recover from stress. BDNF is especially active in the hippocampus, a brain region critical for memory and emotional regulation, and in circuits connecting the hippocampus to the amygdala.

Chronic stress reduces BDNF production through a specific molecular chain: stress impairs signaling at certain receptors in the hippocampus, which reduces the activity of a protein that normally switches on BDNF genes. Less BDNF means weaker neural connections in the circuits that help you recover from stress and regulate fear. This is another self-reinforcing loop. Exercise, one of the most reliable anxiety-reducing interventions, works in part by boosting BDNF levels and restoring this molecular cascade.

Natural Chemical Buffers Against Anxiety

Your brain also produces chemicals that actively counteract anxiety. Neuropeptide Y is one of the most potent. It acts as a natural anxiolytic, dampening the fear response and promoting resilience. People with higher neuropeptide Y levels tend to cope better with stress, and levels of this chemical are notably lower in people with PTSD and certain anxiety disorders. Oxytocin, often associated with social bonding, also reduces anxiety by lowering HPA axis activity and calming the amygdala. These natural buffers explain why social connection, physical touch, and strong relationships consistently reduce anxiety at a biological level: they’re literally changing the chemical environment in your brain.