Anxiety has no single cause. It develops from a combination of genetic wiring, brain chemistry, life experiences, physical health, and daily habits. Around 4.4% of the global population currently lives with an anxiety disorder, making it the most common mental health condition worldwide, affecting 359 million people as of 2021. Understanding the factors behind it can help you recognize what’s driving your own experience.
Genetics Set the Baseline
Your genes account for roughly 32% of the risk for generalized anxiety disorder. That figure comes from a meta-analysis of twin and family studies in the American Journal of Psychiatry, which also found that the same genes predispose both men and women to generalized anxiety. Panic disorder has an even stronger genetic component, with heritability estimated at 43%.
This doesn’t mean anxiety is inevitable if it runs in your family. It means your threshold for developing it may be lower. You might need fewer environmental triggers to tip into a clinical disorder than someone without that genetic loading. Researchers have not yet pinpointed specific “anxiety genes,” but the hereditary pattern is clear and consistent across large studies.
How Your Brain Produces Anxiety
The amygdala, a small almond-shaped structure deep in the brain, acts as your threat-detection center. In people with anxiety, the amygdala tends to be more reactive, firing alarm signals in situations that aren’t genuinely dangerous. Brain imaging studies have found that differences in the size of the left amygdala predict individual levels of neuroticism and trait anxiety.
A key player in calming this alarm system is GABA, a chemical messenger that puts the brakes on neural activity. GABA-releasing neurons in the amygdala normally dampen its output, keeping fear responses proportional to actual threats. When GABA signaling is weak or disrupted, the amygdala’s output goes unchecked, and you experience the racing heart, muscle tension, and dread that characterize anxiety. This is why some anti-anxiety medications work by boosting GABA activity in this region.
Childhood Adversity and Trauma
Difficult childhood experiences rewire the brain’s stress response in lasting ways. A large study using UK Biobank data from over 150,000 participants found a clear dose-dependent relationship between adverse childhood experiences (ACEs) and adult anxiety. Each additional type of adversity increased the odds: people with one ACE had 12% higher odds of anxiety compared to those with none, while those with four or more ACEs had 38% higher odds.
The strongest effect appeared when anxiety and depression occurred together, where four or more ACEs nearly quintupled the risk. These experiences include physical or emotional abuse, neglect, household dysfunction, and parental separation. The link held even after researchers accounted for factors like smoking, exercise, education, and body weight, suggesting the relationship is direct rather than explained by lifestyle differences alone.
Physical Health Conditions
Sometimes what feels like anxiety is actually a symptom of a medical problem. Several conditions produce symptoms nearly identical to an anxiety disorder:
- Thyroid problems: An overactive thyroid floods your body with hormones that speed up your metabolism, heart rate, and nervous system, mimicking a constant state of anxiety.
- Heart disease: Irregular heartbeats and chest tightness can trigger or worsen anxious feelings.
- Respiratory conditions: COPD and asthma create sensations of breathlessness that the brain easily interprets as panic.
- Chronic pain and irritable bowel syndrome: Persistent physical discomfort keeps the nervous system on high alert.
- Diabetes: Blood sugar swings produce shakiness, sweating, and confusion that overlap with anxiety symptoms.
- Rare adrenal tumors: These can produce surges of fight-or-flight hormones, causing sudden episodes of intense anxiety.
If your anxiety appeared suddenly without an obvious psychological trigger, or if it started alongside other new physical symptoms, a medical workup can rule out these conditions.
Caffeine and Other Substances
Caffeine is one of the most overlooked anxiety triggers. It stimulates the fight-or-flight response, raising your heart rate, blood pressure, and adrenaline levels. It also blocks adenosine, a brain chemical that helps you relax, which is why that third cup of coffee can leave you wired and on edge rather than focused. People who consume 400 mg or more daily (roughly four standard cups of coffee) face a significantly higher risk of anxiety. In a review covering more than 235 participants, over half experienced panic attacks after consuming caffeine.
If you already have anxiety, caffeine won’t necessarily create new symptoms, but it amplifies the ones you have, making a racing heart feel even more alarming. Caffeine also hides in unexpected places: certain chewing gums, ice cream, and over-the-counter pain medications. Quitting abruptly can temporarily worsen anxiety too, with withdrawal symptoms like headaches, increased heart rate, and tremors lasting up to nine days.
Alcohol withdrawal and stopping certain medications, particularly benzodiazepines, can also produce intense anxiety. Drug misuse is another well-documented trigger.
Sleep Deprivation
Poor sleep and anxiety form a vicious cycle. Sleep plays a critical role in emotional regulation, memory processing, and cellular repair. When you’re chronically sleep-deprived, your body treats the deficit as a stressor, activating the same hormonal cascade (the HPA axis) that fires during a threat. This leads to elevated cortisol, your primary stress hormone, which in turn heightens anxiety.
Research on both humans and animals shows that restricted sleep changes the sensitivity of neurotransmitter receptors in ways that mirror the brain chemistry seen in mood disorders. The cortisol spike from sleep loss also disrupts the normal daily rhythm of this hormone, which should peak in the morning and taper off at night. When that rhythm is thrown off, you can feel both exhausted and anxiously alert at the same time.
Socioeconomic Stress
Financial instability and deprived living conditions raise anxiety risk across every level of genetic vulnerability. A large observational study found that socioeconomic disadvantage, measured across income, employment, health access, education, housing, crime exposure, and living environment, correlated with higher anxiety scores regardless of whether someone had low, moderate, or high genetic risk.
The effect was strongest for people who were already genetically predisposed. Among those with high genetic risk living in the most deprived conditions, anxiety scores were substantially elevated compared to their counterparts in less deprived areas. Employment instability and low income were the two strongest individual contributors. This suggests that while you can’t change your genes, the circumstances you live in can either buffer or amplify your biological vulnerability.
Personality Traits
Neuroticism, the tendency toward emotional instability and negative thinking, is the single strongest personality predictor of anxiety. People high in neuroticism tend toward irrational perfectionism and catastrophic thinking, mentally inflating small setbacks into disasters. Network analysis of personality and mental health symptoms found that neuroticism was most strongly connected to excessive worry and irritability, two hallmark features of anxiety disorders.
Agreeableness, by contrast, had the strongest protective effect of any personality trait. The difference between neuroticism’s risk contribution and agreeableness’s protective contribution was statistically significant, suggesting that how you relate to others and process conflict meaningfully shapes your anxiety vulnerability.
The Gut-Brain Connection
Your gut and brain communicate constantly through a network of neural, hormonal, immune, and metabolic pathways. The vagus nerve serves as the primary physical connection, carrying signals from the digestive tract directly to brain regions involved in emotional regulation. Gut bacteria also produce neurotransmitters like serotonin and GABA, the same chemicals that regulate mood and calm anxiety in the brain.
When gut bacteria become imbalanced, often from chronic stress, poor diet, or illness, the intestinal lining can become more permeable. This “leaky gut” allows bacterial toxins to enter the bloodstream, triggering bodywide inflammation. Inflammatory molecules then cross into the brain, promoting the kind of neural changes associated with anxiety and depression. Chronic stress makes this worse: elevated cortisol disrupts gut bacterial balance, which increases inflammation, which feeds back into more anxiety. The cycle is bidirectional, meaning anxiety can damage gut health just as gut problems can fuel anxiety.
Short-chain fatty acids produced by healthy gut bacteria can cross into the brain, reduce neuroinflammation, and strengthen the brain’s protective barrier. This is one reason dietary patterns that support gut health, particularly those rich in fiber and fermented foods, are increasingly studied as a factor in mental health.