You get an anxiety disorder when a genetically primed threat system is repeatedly activated by stress or learning, and the brain's fear circuitry fails to recalibrate—so normal defensive responses become persistent, disproportionate, and disabling. It is not caused by one event. It emerges from genes, temperament, life experience, and environment converging over months or years. This explainer covers the actual mechanisms, what raises risk, where the diagnostic line sits, and what the evidence says about prevention.
The threat system and why it fails to reset
The core machinery is the amygdala–prefrontal loop. The amygdala flags possible threats and triggers a defensive response. The prefrontal cortex, especially the ventromedial region, evaluates whether the threat is real and signals the amygdala to stand down. In anxiety disorders, that braking signal is weak or delayed. Imaging studies consistently show reduced prefrontal control over amygdala reactivity in social anxiety disorder and generalized anxiety disorder (GAD), though causality runs both directions.
The chemistry underneath involves norepinephrine (locus coeruleus firing), corticotropin-releasing factor, and GABA—the brain's main inhibitory transmitter. Benzodiazepines work by enhancing GABA at receptor sites, which is why they calm acute anxiety; the fact that they work tells you inhibition is part of the failure. Serotonin modulates how these circuits respond to threat learning, which is why SSRIs take weeks to work: they are not sedatives, they gradually reshape threat appraisal.
The persistence problem is a failure of extinction learning. When a feared outcome stops occurring, the brain normally forms a new "safety" memory that suppresses the old fear memory. In anxiety disorders, the fear memory stays dominant and the safety memory stays weak. This is why avoidance is so corrosive: it prevents the safety learning that would otherwise accumulate. In plain terms, the alarm is both oversensitive and slow to relearn that the emergency is over.
How much is inherited, and how much is environment
Heritability estimates for anxiety disorders cluster around 30 to 50 percent, meaning genes explain roughly a third to half of the variance in who develops one. Panic disorder and GAD sit at the higher end; specific phobias at the lower end. No single "anxiety gene" exists. Thousands of small-effect variants, many shared across anxiety and depression, nudge the threshold.
The environment is not just what happens to you but when. Childhood adversity—abuse, neglect, parental loss, household instability—raises risk substantially, and the effect is dose-dependent: more adverse childhood experiences track with higher risk. Parenting style matters at the margins, but the popular claim that overprotective parenting "causes" anxiety is weaker than often stated; anxious children can elicit protective parenting as much as the reverse.
One counterintuitive point: the same genetic sensitivity that raises anxiety risk also raises sensitivity to the environment in general. Highly reactive temperament is not destiny in either direction—it amplifies both bad and good inputs. A child with an inhibited temperament is at higher risk, but supportive, exposure-rich environments meaningfully shift the trajectory.
When normal anxiety becomes a disorder
Everyone has anxiety; it is a normal alarm. The line into disorder is drawn on three axes: proportionality, persistence, and impairment. Clinically significant anxiety is excessive relative to the actual threat, lasts beyond the point where the stressor resolved, and interferes with work, relationships, or daily function. These are judgment thresholds, not lab values—there is no blood test for an anxiety disorder.
The DSM-5-TR sets duration floors that differ by diagnosis (see timeline below). Fear that is intense but brief and situation-bound is not a disorder. The threshold is the combination of frequency, duration, and functional cost.
| Condition | Core fear or worry focus | Typical onset | Key distinguishing feature |
|---|---|---|---|
| Generalized anxiety disorder | Multiple everyday domains | Often adulthood | Worry is pervasive and hard to control, not tied to one trigger |
| Panic disorder | Having another panic attack | Late adolescence to mid-20s | Recurrent unexpected attacks plus fear of recurrence |
| Social anxiety disorder | Negative evaluation by others | Early adolescence | Fear is specific to social or performance situations |
| Specific phobia | One object or situation | Childhood | Fear is circumscribed and immediately cued |
| Agoraphobia | Being trapped or unable to escape | Variable | Avoidance of situations where escape feels hard |
| Separation anxiety disorder | Loss of attachment figures | Can occur in adults | Distress about separation from key people |
Timeline: how anxiety disorder unfolds
| Stage | What happens | Typical timeframe |
|---|---|---|
| Vulnerability | Genetic load plus temperament established | Childhood and earlier |
| Sensitization | First significant stressor or panic attack primes the circuitry | Adolescence to early adulthood |
| Acute onset | Avoidance and hypervigilance begin to generalize | Days to weeks after the trigger |
| Consolidation | Avoidance prevents extinction learning; fear spreads | Weeks to months |
| Functional impairment | Work, school, or relationships visibly affected | Months |
| Disorder threshold met | Duration and impairment criteria satisfied | Varies by diagnosis |
| With treatment | Extinction learning rebuilt; symptoms remit or ease | Weeks to months |
How much fear learning drives the disorder
Fear learning—classical conditioning—is the engine behind many cases. A neutral cue (a subway car, a meeting room, a bodily sensation) gets paired with a frightening experience and becomes a trigger. Then generalization spreads: the fear bleeds from the specific cue to similar ones. Someone who panics once on an elevator may start avoiding crowded spaces, then driving, then leaving home. This is the pathway from a single event to agoraphobia.
Avoidance is the maintenance mechanism. Each avoided situation delivers short-term relief, which is a powerful reinforcer, but it blocks the corrective experience that would disprove the fear. The counterintuitive finding from exposure research: safety behaviors (carrying water, gripping a phone, checking escape routes) reduce the benefit of exposure because they prevent full disconfirmation. The learning needs to happen without the crutch. This is why cognitive behavioral therapy targets avoidance directly rather than just teaching relaxation.
Interoceptive conditioning explains panic specifically. A harmless bodily sensation—racing heart, slight dizziness—becomes the conditioned trigger. The person notices the sensation, fears a heart attack, and the fear itself produces more of the same sensations. That loop is the panic cycle. It is why panic disorder is treated partly by deliberately inducing the feared sensations in a safe context.
Red flags that change the picture
New anxiety after age 40 with no prior history warrants medical evaluation for thyroid, cardiac, or medication causes. Anxiety with palpitations, chest pain, or breathlessness can mimic cardiac events; new symptoms need medical clearance. Rapid onset with confusion, hallucinations, or tremor suggests a medical or substance cause, not a primary anxiety disorder. Suicidal thinking alongside severe anxiety is an emergency; seek crisis care immediately. Anxiety emerging during or after starting a new medication should be reported to the prescriber.
Common misconceptions and what they get wrong
The biggest misconception is that anxiety disorder is a character flaw or weakness. The evidence says otherwise: it is a treatable condition with measurable neural and behavioral mechanisms. Telling someone to "just relax" is roughly as useful as telling someone with a broken leg to walk it off, because the fear circuitry is not under voluntary control in the acute moment.
A second misconception is that you must identify a trigger to have a disorder. Many cases have no single identifiable cause—risk accumulates from temperament, subtle learning events, and chronic stress. The absence of a dramatic origin story is not evidence against the diagnosis.
A professional caveat worth stating: diagnostic thresholds are consensus conventions, not natural kinds. Two people with identical symptoms can fall on different sides of the line depending on duration and impairment judgment. This is not a reason to dismiss diagnosis—it is a reason to treat the threshold as a guide to when treatment is warranted, not a verdict about whether suffering is real.
Reducing risk and when to act
There is no guaranteed prevention, but the modifiable levers are concrete. Early intervention after a first panic attack reduces progression to panic disorder. Exposure-based therapy is the best-established psychological treatment; SSRIs are first-line pharmacologically. Do not start or stop medication on your own—that is a prescribing decision.
Practical steps:
If anxiety has lasted more than six months and interferes with work or relationships, get a clinical assessment. After a first panic attack, ask about early CBT rather than waiting for it to recur. Reduce avoidance deliberately; each avoided situation reinforces the fear. Limit alcohol and caffeine—both amplify anxiety symptoms and disrupt sleep. Protect sleep; chronic sleep loss worsens threat reactivity. If symptoms began after a new medication, report it rather than self-adjusting.
One note on treatment access: the evidence supports therapy and medication, but availability and cost vary widely by location and insurance, so the practical first step is usually a primary care visit that can screen and refer. Nothing here is a diagnosis or treatment plan for any individual.
What the science cannot yet tell you
The field still cannot predict from genes or brain scans who will develop an anxiety disorder. Risk scores are probabilistic, not deterministic. The heritability figures describe populations, not individuals. And the treatment literature tells you what works on average, not which single approach will work for a given person—that is determined by trial and clinical judgment.
What is well established is the direction of causality in maintenance: avoidance and safety behaviors keep anxiety alive, and structured exposure dismantles it. The question "how do you get an anxiety disorder" has a mechanistic answer—primed circuitry, fear learning, failed extinction, and avoidance—and that same mechanism is the target for getting out.