Where Does Anxiety Come From in the Brain and Body?

Anxiety comes from a combination of brain wiring, body chemistry, genetics, life experiences, and everyday habits. It is not a single malfunction but a survival system that, in some people and some circumstances, fires too easily or won’t shut off. Roughly 359 million people worldwide live with an anxiety disorder, making it the most common mental health condition on the planet. Understanding where it originates can help you recognize what’s driving your own experience.

Anxiety Started as a Survival Tool

At its core, anxiety is a threat-detection system. In early humans, the ability to sense danger before it arrived meant the difference between life and death. The function of the anxiety response, shared across many species, is to prepare the body to detect and deal with threats. That preparation includes a faster heart rate, sharper focus, tense muscles, and a surge of energy: the classic fight-or-flight response.

The threshold for triggering this response isn’t fixed. It shifts based on how likely threats are and how vulnerable you’d be if one actually showed up. That flexibility was an advantage in unpredictable environments. The problem is that the same system now responds to job interviews, social conflict, financial stress, and late-night scrolling. Your brain can’t always distinguish a lion from a looming deadline, so it activates the same alarm.

What Happens Inside Your Brain

Two brain regions play central roles. The amygdala, a small almond-shaped structure deep in the brain, acts as the alarm bell. It detects potential threats and triggers the body’s defensive response. The prefrontal cortex, the region behind your forehead responsible for reasoning and decision-making, acts as the volume knob. Under normal conditions, the prefrontal cortex sends calming signals to the amygdala, essentially telling it “this isn’t actually dangerous” so the alarm switches off.

In people with anxiety disorders, this balance breaks down. The prefrontal cortex becomes less effective at quieting the amygdala, and the amygdala takes over. Brain imaging studies of people with PTSD, for example, show abnormally low prefrontal cortex activity alongside abnormally high amygdala activity. The result is fear responses that persist even when the threat is gone, and difficulty “unlearning” that something is dangerous. Stress itself worsens this imbalance: exposure to stressful experiences can further reduce the prefrontal cortex’s ability to rein in the amygdala, creating a cycle where anxiety feeds on itself.

The Chemical Signals Behind It

Your brain communicates through chemical messengers, and two of them sit at the heart of anxiety. GABA is the brain’s primary calming chemical. It slows neural activity down. Glutamate does the opposite: it’s the brain’s main excitatory chemical, revving neural circuits up. Anxiety is thought to stem from an imbalance between these two systems, with too much excitation relative to inhibition. This is why one of the oldest classes of anti-anxiety medication works by boosting GABA activity, essentially turning up the brain’s braking system.

Serotonin, a chemical messenger involved in mood regulation, also plays a significant role. Low or dysregulated serotonin signaling is linked to heightened anxiety, which is why the most commonly prescribed medications for anxiety disorders work by increasing serotonin availability in the brain. These chemical systems don’t operate in isolation. They interact with each other and with the brain circuits connecting the prefrontal cortex and amygdala, which means a disruption in one system can ripple through the others.

Your Stress Hormone System

When your brain perceives a threat, it activates a hormonal chain reaction called the stress response. A region of the brain signals the pituitary gland, which signals the adrenal glands (sitting on top of your kidneys) to release cortisol. Cortisol floods the bloodstream, redirecting energy to muscles and sharpening alertness. Once the threat passes, cortisol levels are supposed to drop back down through a built-in feedback loop.

Chronic stress disrupts this feedback loop. With repeated activation, the system can lose its ability to shut itself off, leading to elevated baseline cortisol levels, particularly during times of day when cortisol should be at its lowest. Over time, the brain regions responsible for putting the brakes on cortisol release, including the hippocampus and prefrontal cortex, can become less sensitive to the “stop” signal. This means the stress response stays elevated even when nothing threatening is happening, which feels a lot like anxiety that won’t go away. Prolonged activation of this system is linked to both psychological and physical health problems.

How Much Is Genetic

Genetics account for roughly 30% of the risk for generalized anxiety disorder. That figure comes from meta-analyses combining family and twin studies, and it holds consistently across sexes. Having a first-degree relative with generalized anxiety disorder increases your odds about sixfold compared to the general population.

But 30% is far from the whole story. The remaining 70% comes from individual-specific environment, meaning your personal experiences, not shared family circumstances, carry the most weight. In women, shared family environment (things like household income, parenting style, or neighborhood) contributes a small additional influence, but for most people, it’s the unique events of your own life that tip the balance. Genetics load the gun; environment pulls the trigger.

Life Experiences That Reshape the Brain

Early life stress is one of the strongest predictors of anxiety in adulthood. Adverse childhood experiences, including abuse, neglect, household instability, and exposure to violence, alter the developing brain in ways that make the threat-detection system more reactive. Children who grow up in unpredictable or threatening environments develop a lower threshold for perceiving danger, because in their world, that vigilance was genuinely useful. The problem is that these settings persist in brain circuitry long after the environment changes.

Trauma at any age can produce similar effects. A single overwhelming event or a prolonged period of high stress can weaken prefrontal control over the amygdala, making fear responses harder to extinguish. This is the mechanism behind PTSD and also helps explain why people who go through a stressful period often find themselves more anxious than before, even after the stressor resolves. The brain has been recalibrated to expect threats.

Everyday Habits That Feed Anxiety

Sleep deprivation and anxiety have a bidirectional relationship. Poor sleep increases anxiety, and anxiety disrupts sleep. When you’re sleep-deprived, the prefrontal cortex functions less efficiently, which weakens its ability to regulate emotional responses from the amygdala. Even one night of poor sleep can make you measurably more reactive to stress the next day.

Caffeine adds another layer. It blocks the brain’s receptors for adenosine, a chemical that promotes calm and sleepiness, which is why it makes you feel alert but can also produce a racing heart, restlessness, and nervousness that are physically identical to anxiety symptoms. High caffeine consumption is associated with increased anxiety, and it can aggravate preexisting anxiety disorders. It also disrupts sleep by reducing total sleep time, increasing nighttime awakenings, and making it harder to fall asleep, which feeds back into the anxiety-sleep cycle. If you’re prone to anxiety, caffeine intake is one of the most modifiable factors in your daily routine.

Medical Conditions That Mimic Anxiety

Sometimes anxiety isn’t coming from the brain at all, at least not directly. Several medical conditions produce symptoms that look and feel exactly like an anxiety disorder. Hyperthyroidism, where the thyroid gland produces too much hormone, is one of the most common. It causes nervousness, irritability, a rapid heartbeat, trembling, and difficulty sleeping. The more severe the thyroid dysfunction, the more severe these mood symptoms tend to be. Other conditions that can trigger anxiety-like symptoms include blood sugar fluctuations, heart arrhythmias, and hormonal changes during menopause or certain phases of the menstrual cycle.

This is worth knowing because the treatment is completely different. If anxiety symptoms appear suddenly, especially without an obvious psychological trigger, or if they’re accompanied by physical changes like weight loss, heat intolerance, or a visibly swollen neck, the cause may be medical rather than psychiatric. Treating the underlying condition often resolves the anxiety entirely.

Why It Varies So Much Between People

No single factor explains anxiety on its own. One person might have a strong genetic predisposition but a stable, supportive upbringing and never develop a disorder. Another might have no family history but experience a traumatic event during a period of sleep deprivation and chronic work stress, and develop panic attacks within months. The interaction between all of these layers, genetics, brain chemistry, stress hormones, life history, and daily habits, determines where your personal threshold sits. That threshold isn’t permanent. It shifts throughout your life in response to circumstances, which is also why anxiety can improve with changes in environment, behavior, therapy, or medication.