How Do You Get Anxiety: Brain, Genes, and Trauma

Anxiety develops through a combination of brain chemistry, life experiences, thought patterns, and physical health. There’s rarely a single cause. For most people, anxiety results from several of these factors interacting over time, which is why it can seem to appear out of nowhere or build gradually without an obvious trigger. About 4.4% of the global population currently lives with an anxiety disorder, making it the most common mental health condition in the world, affecting 359 million people as of 2021.

Your Brain’s Alarm System

Anxiety starts in the brain, specifically in a small structure called the amygdala that acts as your threat detector. When it senses danger, real or imagined, it triggers the release of stress hormones like cortisol and adrenaline within about 15 minutes. It also causes an immediate spike in blood sugar to fuel your body for a fight-or-flight response. This system evolved to keep you alive, and in short bursts, it works perfectly.

The problem comes when this alarm system stays switched on. Your brain relies on a chemical messenger called GABA to calm nerve cells down after a threat passes. GABA is the most common inhibitory neurotransmitter in your central nervous system, and its entire job is to slow things down and block overactive signaling. When GABA activity drops too low or falls out of balance with other brain chemicals like serotonin, your brain essentially loses its braking system. Nerve cells keep firing at high alert, and you feel that as persistent anxiety, restlessness, or dread even when nothing threatening is happening.

Childhood Experiences and Trauma

What happens to you early in life has a measurable effect on your anxiety risk. Adverse childhood experiences, things like abuse, neglect, household instability, or witnessing violence, change the way your brain processes threat long into adulthood. A large study using UK Biobank data from over 150,000 participants found a dose-dependent relationship: the more adverse experiences someone had, the higher their risk of developing anxiety. People with four or more adverse childhood experiences had 38% higher odds of an anxiety disorder compared to those with none. Even a single adverse experience raised the odds by 12%.

This happens because repeated stress during childhood can recalibrate your brain’s alarm system. The amygdala becomes more reactive, and the parts of the brain responsible for putting stressful events in context don’t develop as robustly. The result is a nervous system that’s primed to detect threats everywhere, even in safe situations. This doesn’t mean childhood trauma guarantees anxiety, but it stacks the deck significantly.

Thought Patterns That Feed Anxiety

The way you interpret events plays a surprisingly large role. People with anxiety tend to overestimate how likely bad outcomes are and underestimate their ability to cope if something does go wrong. A thought like “I’m going to fail this exam and have to drop out” or “people will think I’m stupid” feels absolutely real in the moment. The brain treats these predictions as genuine threats, triggering the same stress hormones you’d get from actual danger.

The catch is that most of these negative predictions never come true. And when the feared outcome does happen, it’s usually far less catastrophic than the anxious mind predicted. But the brain doesn’t automatically learn from these near-misses. Without intervention, the pattern repeats: overestimate the threat, underestimate your coping ability, feel anxious, avoid the situation, and never get the chance to prove the fear wrong. Over months and years, this cycle can harden into a chronic anxiety disorder.

Substances That Trigger or Worsen Anxiety

Caffeine is one of the most common and overlooked anxiety triggers. Research shows that people who consume 400 milligrams or more daily (roughly four cups of brewed coffee) have a significantly higher risk of anxiety. For people who are already anxiety-prone, even lower amounts can provoke symptoms. Studies on caffeine and panic attacks consistently involve doses above that 400 mg threshold, but individual sensitivity varies widely. If you’ve noticed your anxiety worsening, your coffee habit is worth examining.

Alcohol creates a more insidious problem. While drinking temporarily boosts GABA activity and feels calming, the brain compensates by ramping up its excitatory signals. When the alcohol wears off, you’re left with suppressed GABA function, fewer GABA receptors, and a surge of the brain’s primary excitatory chemical, glutamate. This combination produces the jittery, on-edge feeling many people recognize as “hangxiety.” In people who drink heavily and then stop, this rebound effect becomes the alcohol withdrawal syndrome, which is essentially the nervous system in a state of hyperarousal. The imbalance can take about two weeks of abstinence to begin normalizing.

Medical Conditions That Mimic Anxiety

Sometimes what feels like anxiety is actually a physical illness producing identical symptoms. Thyroid problems are among the most common culprits. An overactive thyroid floods your body with hormones that speed up your heart rate, make you feel restless, and disrupt sleep, all symptoms that look exactly like an anxiety disorder. An underactive thyroid can cause anxiety too, along with fatigue and brain fog.

Other conditions worth knowing about include vitamin B12 deficiency (where anxiety may be the very first symptom), adrenal gland tumors that produce excess adrenaline, Lyme disease from tick bites, and even mild head injuries. Chronic pain conditions, autoimmune disorders like lupus, and neurological conditions like Alzheimer’s can all produce anxiety as a secondary symptom. Georgetown University psychiatrist Robert Hedeya developed the mnemonic “THINC MED” to help clinicians remember these medical mimics: tumors, hormones, infectious diseases, nutrition deficiencies, central nervous system issues, and miscellaneous conditions like chronic illness and genetic metabolic disorders.

If your anxiety appeared suddenly, came with physical symptoms that don’t quite fit, or doesn’t respond to typical anxiety treatments, a medical workup can rule out these hidden causes.

How Genetics Load the Gun

Anxiety runs in families, and the heritability is significant. If a close relative has an anxiety disorder, your own risk is substantially higher. This isn’t about inheriting “anxiety” directly but rather inheriting variations in how your brain produces and uses neurotransmitters like GABA and serotonin, how reactive your amygdala is, and how efficiently your stress response shuts off after a threat passes. These inherited traits create a vulnerability. Whether that vulnerability turns into a full anxiety disorder typically depends on what life throws at you.

When Anxiety Becomes a Disorder

Everyone experiences anxiety. It becomes a clinical disorder when it persists for at least six months, involves excessive worry about everyday issues that’s out of proportion to any actual risk, and is difficult to control. A diagnosis of generalized anxiety disorder requires at least three of these six symptoms occurring most days: restlessness or nervousness, being easily fatigued, poor concentration, irritability, muscle tension, and sleep disturbance. For children, only one symptom is needed.

The six-month threshold matters because it distinguishes a normal stress response (worrying before a big move, feeling anxious after a breakup) from a pattern that has taken on a life of its own. Many people live with anxiety for years before recognizing it as something beyond ordinary worry, partly because it builds so gradually that the heightened state starts to feel normal.