What Causes Anxiety? Genes, Experience, and the Brain's Alarm
Clinically reviewed by Elizabeth Lokenauth, PA-C, CAQ-Psy
Reviewed November 5, 2026 · Last updated November 5, 2026
Key Takeaways
- Anxiety disorders usually come from several causes working together: inherited sensitivity, temperament, early experiences, current stress, and learned patterns like avoidance.
- Genes matter but don't decide your future. Heritability estimates range from about 35% for generalized anxiety disorder to about 50% for panic disorder and social anxiety disorder, spread across many genes with small effects.
- Childhood adversity raises risk. In a U.S. national survey, childhood adversities were associated with 26% to 32% of mental disorders that started later in life, including anxiety disorders.
- In lab studies, high doses of caffeine triggered panic attacks in about half of people with panic disorder, compared with about 2% of healthy volunteers.
- What keeps anxiety going is often learned. People with anxiety disorders show stronger fear responses to safe cues, which is part of why exposure-based CBT and SSRIs both help.
Maybe your anxiety showed up out of nowhere, or maybe you can’t remember a time without it. Either way, you’ve probably wondered why, and whether something in you is broken. It’s okay to not have all the answers right now. Anxiety has real causes, and most of them have nothing to do with personal weakness.
Your brain has a built-in alarm system designed to keep you safe. When it senses possible danger, it sets off a full-body response, with a faster heartbeat, quicker breathing, and sharper focus. In anxiety disorders, that alarm responds more strongly than the situation calls for. A brain imaging meta-analysis found that people with several anxiety-related disorders consistently showed more activity in the amygdala and insula, areas linked to negative emotional responses. Understanding why your alarm is set that way takes precision, because the answer is usually several causes at once.
The good news is that anxiety is treatable, and the standard treatments have a strong track record. A 2021 Lancet review describes cognitive behavioral therapy (CBT) and serotonin-based medications as effective first-line treatments with similar benefit. The results are real, and the science is well established.
But knowing anxiety is treatable doesn’t explain why it showed up in you, and at Siggy we think understanding your own mix of causes is part of good care.
That mix is best described as a vulnerability-and-trigger model. Inherited sensitivity, temperament, and early experiences set how easily your alarm fires, current stress and substances can trip it, and avoidance teaches it to keep firing. The model describes the same condition treatment targets, with more precision, because it explains why anxiety runs in families and also follows hard life events. That explanation comes from twin, imaging, and learning research, and it points directly to treatment.
What This Page Covers
- Is Anxiety Genetic?
- What Happens in the Brain When Anxiety Takes Over?
- Can Childhood Experiences Cause Anxiety Later?
- Why Are Some People More Prone to Anxiety?
- Can Caffeine, Substances, or Health Problems Cause Anxiety?
- Why Does Anxiety Keep Coming Back?
- What Does This Mean for Treatment?
- How Siggy Fits In
- The Bottom Line on What Causes Anxiety
- Start Your Anonymous Intake
Is Anxiety Genetic?
Anxiety is partly genetic. It runs in families, and twin studies show that genes explain a real share of that pattern. According to the Lancet review, heritability estimates converge at around 35% for generalized anxiety disorder and around 50% for social anxiety disorder, panic disorder, and agoraphobia. The review also notes that children and young adults whose parents have an anxiety disorder have a 78% higher risk of developing one.
That risk is spread thin. In a UK Biobank genetic study of more than 157,000 people, researchers found only three genome regions clearly linked to anxiety, and the genetic risk for different anxiety measures overlapped heavily. The Lancet review concludes that genetic testing can’t yet be recommended for clinical practice.
Experiences unique to each person also shape risk. A genetic epidemiology meta-analysis found that this kind of individual, nonshared experience plays a significant role. In practice, a family history raises your odds without deciding your future.
What Happens in the Brain When Anxiety Takes Over?
Anxiety involves the brain circuits that detect and respond to danger. The imaging meta-analysis found the same pattern of amygdala and insula overactivity in people with social anxiety disorder, specific phobia, and PTSD that healthy people show when they learn to fear something. In other words, anxiety disorders seem to use the brain’s normal fear machinery, turned up.
The Lancet review describes related findings, including stronger stress responses across heart rate, hormone, and startle measures, and a heightened sensitivity to possible threats. It also stresses that no blood test, genetic test, or brain scan can diagnose anxiety. Diagnosis still depends on a careful clinical history.
Can Childhood Experiences Cause Anxiety Later?
Early experiences can shape how sensitive your alarm becomes. In a U.S. national survey of 5,692 adults, childhood adversities were associated with 44.6% of mental disorders that began in childhood and 25.9% to 32.0% of those that began later, across anxiety, mood, behavior, and substance disorders. Adversities tied to family dysfunction, including a parent’s mental illness or substance problems, family violence, abuse, and neglect, had the strongest links. The authors note that people recalling events from long ago may remember them differently, which could inflate the estimates somewhat.
The Lancet review adds separation from caregivers and some forms of overprotective parenting, which can limit a child’s chances to face fears and learn they can handle them. If hard early experiences are part of your history, they say nothing about your strength, and they’re worth sharing with a clinician. Our guide to childhood trauma and adult mental health goes deeper.
Why Are Some People More Prone to Anxiety?
Temperament is one reason. Some children are naturally cautious and quiet around anything new, a trait called behavioral inhibition. In a behavioral inhibition meta-analysis of seven studies, behaviorally inhibited children had more than seven times the odds of later developing social anxiety disorder, and 43% did, compared with 12% of other children. Most inhibited children didn’t develop it, which shows temperament is a starting point rather than a destination.
Sex and age matter too. The Lancet review reports that anxiety disorders are 1.3 to 2.4 times more common in women than in men. They also start early. In the National Comorbidity Survey Replication, the median age at onset for anxiety disorders was 11, and 28.8% of U.S. adults had met criteria for one at some point in their lives.
Can Caffeine, Substances, or Health Problems Cause Anxiety?
They can trigger it or make it worse, especially if you’re already sensitive. In a caffeine meta-analysis, challenge doses of about 400 to 750 mg, roughly five cups of coffee, triggered panic attacks in 51.1% of people with panic disorder and in none after placebo. In studies that compared groups, 53.9% of people with panic disorder had a panic attack after caffeine, compared with 1.7% of healthy volunteers. Smaller amounts look different. In a 2025 low-dose caffeine trial of 29 people with panic disorder and 53 healthy volunteers, 150 mg, about 1.5 to 2 cups of coffee, didn’t raise anxiety in either group, though it did increase physical arousal and avoidance.
Health conditions and medications matter as well. The Lancet review advises that any evaluation for anxiety consider whether symptoms reflect another health condition or the effects of a substance or medication. It also notes that people with cardiovascular, respiratory, or musculoskeletal illness have a higher risk of anxiety, and that the link seems to run in both directions. Our guide to alcohol and mental health covers one common contributor.
Why Does Anxiety Keep Coming Back?
Part of the answer is learning. In a fear conditioning meta-analysis of 44 studies with 963 patients, people with anxiety disorders showed stronger fear responses to cues that signaled safety. They also took longer to let go of a learned fear once the danger was gone. That pattern suggests an alarm that struggles to switch off, even when nothing bad happens.
Avoidance feeds that cycle. When you skip the meeting, leave the store, or cancel the plan, anxiety drops right away, and your brain learns that avoiding was what kept you safe. The Lancet review explains that exposure therapy works by breaking this cycle, giving your brain the chance to learn that the feared outcome doesn’t happen or is manageable.
The table below pulls these contributors together.
| Factor | What the Research Shows | Type of Evidence |
|---|---|---|
| Genes | About 35% to 50% heritable | Twin and family research |
| Childhood adversity | Linked to 26% to 32% of later-onset disorders | National survey |
| Inhibited temperament | Over 7 times the odds of social anxiety | Meta-analysis of 7 studies |
| High-dose caffeine | Panic in about half with panic disorder | Meta-analysis of challenge studies |
| Fear learning | Stronger fear around safe cues | Meta-analysis of 44 studies |
Each row comes from the studies linked in the sections above.
What Does This Mean for Treatment?
If anxiety has several contributors, treatment can work on more than one. The Lancet review concludes that CBT and medications, particularly SSRIs and SNRIs, produce benefits of similar size as first-line treatments, so your preferences and access can guide the choice. It describes benzodiazepines as effective in the short term but linked to dependence and relapse after stopping, which is why they need close monitoring. Our guide to generalized anxiety disorder walks through each option.
Knowing your contributors can also help you spot patterns. If anxiety spikes after a third coffee, a short night of sleep, or a week of avoiding something hard, that’s useful information for you and your clinician. And if you can’t name any cause at all, that’s common too. Getting help doesn’t require a reason you can point to.
How Siggy Fits In
Siggy’s licensed prescribers diagnose and treat the full range of mental health conditions, including anxiety. The intake asks about the things that shape anxiety, like sleep, stress, family history, health conditions, caffeine and alcohol, and past treatments, so a licensed prescriber can see your full picture before anything is prescribed.
The anonymous intake asks for no name, email, or account, which can make it easier to share things like childhood experiences honestly. You’ll get a downloadable summary to keep or share with any clinician, so you don’t have to retell your story from scratch.
Siggy isn’t an emergency service. If you’re in crisis, call 911 or call or text 988. This article is for education only and isn’t a substitute for personal medical advice. It reflects sources available as of October 2026.
The Bottom Line on What Causes Anxiety
Anxiety usually grows from a mix of inherited sensitivity, temperament, early experiences, current stress, and learning, with substances and health conditions sometimes adding fuel. No single factor decides your future, and avoidance is often what keeps the alarm ringing. That’s why exposure-based CBT and SSRIs both work, and why knowing your own mix helps you choose where to start. If you want to understand the sensations themselves, our guide to what anxiety feels like is a good next read.
Start Your Anonymous Intake
If you’re in crisis right now, call 911 or call or text 988 first. If anxiety has been running your days and you want to understand what’s driving it, start your anonymous intake. It’s free, there’s no name or email required, and a licensed prescriber reviews your intake before anything is prescribed. Your summary is yours to keep and share with whoever helps you next.
Mental healthcare should stay with you between appointments.
Siggy combines daily check-ins with clinician-supervised care so your treatment plan can respond to what is actually happening.
Start anonymously. A real doctor reviews every clinical decision. HIPAA-compliant.
Frequently Asked Questions
What is the main cause of anxiety?
There usually isn't one main cause. Anxiety disorders tend to develop from a combination of inherited sensitivity, temperament, early life experiences, current stress, and patterns like avoidance that keep fear going. Health conditions, medications, and substances such as high doses of caffeine can also contribute, which is why a good evaluation looks at your whole picture.
Is anxiety genetic?
Anxiety is partly genetic. Research estimates that about 35% of the risk for generalized anxiety disorder and about 50% of the risk for panic disorder and social anxiety disorder is heritable. That risk comes from many genes with small effects rather than one anxiety gene, so a family history raises your odds without deciding your future. There's currently no genetic test recommended for diagnosing anxiety.
Can trauma or a difficult childhood cause anxiety?
Yes, it can raise the risk. Childhood trauma, separation from caregivers, and some forms of overprotective parenting are recognized environmental risk factors for anxiety disorders. In a U.S. national survey, childhood adversities, especially those involving family violence, abuse, neglect, or a parent's mental illness, were associated with a substantial share of mental disorders that began later in life.
Can caffeine cause anxiety?
Caffeine can trigger anxiety and panic in people who are sensitive to it. In a meta-analysis of challenge studies using about 400 to 750 mg of caffeine, roughly the amount in five cups of coffee, about half of people with panic disorder had a panic attack, while almost none did after a placebo. A 2025 trial found that 150 mg, about 1.5 to 2 cups of coffee, didn't raise anxiety even in people with panic disorder, so the dose matters.
Is anxiety caused by a chemical imbalance?
That's an oversimplification. Researchers describe anxiety disorders as involving brain circuits that respond to danger, shaped by genes, environment, and the way the two interact. Serotonin-based medications help many people, but that doesn't mean anxiety is caused by a simple shortage of one brain chemical.
Does knowing the cause of my anxiety change treatment?
It can help, but you don't need a clear cause to get effective care. Cognitive behavioral therapy and serotonin-based medications are both first-line treatments with similar benefit. Knowing your contributors, such as heavy caffeine use, poor sleep, or a habit of avoiding feared situations, can help you and your clinician decide what to target first.
Sources
- Etkin A, Wager TD. Functional neuroimaging of anxiety: a meta-analysis of emotional processing in PTSD, social anxiety disorder, and specific phobia. American Journal of Psychiatry. 2007;164(10):1476-1488. doi:10.1176/appi.ajp.2007.07030504
- Penninx BWJH, Pine DS, Holmes EA, Reif A. Anxiety disorders. The Lancet. 2021;397(10277):914-927. doi:10.1016/S0140-6736(21)00359-7
- Purves KL, Coleman JRI, Meier SM, et al. A major role for common genetic variation in anxiety disorders. Molecular Psychiatry. 2020;25(12):3292-3303. doi:10.1038/s41380-019-0559-1
- Hettema JM, Neale MC, Kendler KS. A review and meta-analysis of the genetic epidemiology of anxiety disorders. American Journal of Psychiatry. 2001;158(10):1568-1578. doi:10.1176/appi.ajp.158.10.1568
- Green JG, McLaughlin KA, Berglund PA, et al. Childhood adversities and adult psychiatric disorders in the National Comorbidity Survey Replication I: associations with first onset of DSM-IV disorders. Archives of General Psychiatry. 2010;67(2):113-123. doi:10.1001/archgenpsychiatry.2009.186
- Clauss JA, Blackford JU. Behavioral inhibition and risk for developing social anxiety disorder: a meta-analytic study. Journal of the American Academy of Child and Adolescent Psychiatry. 2012;51(10):1066-1075. doi:10.1016/j.jaac.2012.08.002
- Kessler RC, Berglund P, Demler O, et al. Lifetime prevalence and age-of-onset distributions of DSM-IV disorders in the National Comorbidity Survey Replication. Archives of General Psychiatry. 2005;62(6):593-602. doi:10.1001/archpsyc.62.6.593
- Klevebrant L, Frick A. Effects of caffeine on anxiety and panic attacks in patients with panic disorder: a systematic review and meta-analysis. General Hospital Psychiatry. 2022;74:22-31. doi:10.1016/j.genhosppsych.2021.11.005
- Hoppe JM, Björkstrand J, Vegelius JR, et al. Acute effects of 150 mg caffeine on subjective, physiological, and behavioral components of anxiety in panic disorder and healthy controls: a randomized placebo-controlled crossover trial. Journal of Psychopharmacology. 2025;39(8):836-846. doi:10.1177/02698811251344692
- Duits P, Cath DC, Lissek S, et al. Updated meta-analysis of classical fear conditioning in the anxiety disorders. Depression and Anxiety. 2015;32(4):239-253. doi:10.1002/da.22353