AnxietyManagementhub
Back to Blog

What Causes Anxiety: Genetic, Biological, and Environmental Factors

Anxiety Management Hub Team11 min read

Quick answer: Anxiety is caused by a combination of genetic, biological, environmental, and sometimes medical factors working together. Genetics account for about 30-40% of anxiety risk, meaning your family history matters, but it is not destiny. Brain chemistry (serotonin, GABA, norepinephrine), an overactive threat-detection system (amygdala), chronic stress, trauma, medical conditions (thyroid disease, heart problems), and substance use (caffeine, alcohol withdrawal, stimulants) can all trigger or worsen anxiety. Understanding your personal constellation of causes helps you and your clinician develop a targeted treatment plan.

If you are experiencing significant anxiety right now, call or text 988 (US Suicide and Crisis Lifeline), call 111 option 2 (NHS, UK), or your local emergency number.

Why People Develop Anxiety: It is Not One Thing

Anxiety is not caused by a single factor. Instead, it results from the intersection of multiple influences, including how your genes predispose you, how your brain is wired, what has happened to you, and what is happening in your life right now. This is called the diathesis-stress model: you have a predisposition (diathesis) plus environmental triggers (stress) equals outcome (anxiety disorder or not).

Think of it like a glass of water. Some people start with a taller glass (lower genetic risk), others with a shorter one (higher genetic risk). Stressful events add water. For some, the glass overflows quickly (one major stressor triggers anxiety). For others, it takes many smaller events over time. The goal of understanding causes is to recognize which stressors are filling your glass and how full it already is.

Genetic and Hereditary Factors

Anxiety disorders run in families. If one or both parents or a sibling have anxiety, panic, or related conditions, your risk of developing anxiety is higher than in the general population.

Twin studies, considered the gold standard for measuring genetic influence, show that anxiety disorders have a heritability of approximately 30-40%. This means genetics accounts for about one-third of the variation in whether people develop anxiety, while environment and life experience account for the other two-thirds.

Genes do not cause anxiety directly. Instead, they influence how your nervous system responds to stress, how easily your threat-detection system activates, and how sensitive your stress hormone system is. If you have a genetic predisposition, you are more vulnerable to anxiety, but you are not destined to develop it. Environmental factors and life experiences determine whether your vulnerability becomes a disorder.

Biological Causes: Brain Chemistry and Structure

Anxiety involves specific changes in how your brain functions. Three main biological mechanisms are involved:

Neurotransmitter Imbalances

Neurotransmitters are chemical messengers in your brain. Three are particularly important for anxiety:

  • Serotonin: Low serotonin is linked to anxiety and depression. SSRIs (a class of antidepressant) increase available serotonin, reducing anxiety.
  • GABA (gamma-aminobutyric acid): GABA calms the nervous system. Low GABA means your brain cannot send the "relax" signal effectively, leaving you in a heightened state of alert.
  • Norepinephrine: High levels keep your nervous system in high alert, activating the fight-or-flight response more easily.

Imbalances in these three create a brain state prone to anxiety. This is why medication that corrects these imbalances often helps.

Amygdala Hyperactivity

Your amygdala is your brain's alarm system. It detects threats and triggers fear and anxiety. In people with anxiety disorders, brain imaging shows an overactive amygdala, especially in response to potential threats. It fires false alarms even when there is no real danger, creating anxiety symptoms when you are actually safe.

HPA Axis Dysregulation

Your hypothalamic-pituitary-adrenal (HPA) axis is your body's stress response system. When you encounter a threat, the HPA axis releases cortisol and adrenaline, preparing you to fight or flee. In anxiety disorders, this system becomes dysregulated. It overreacts to minor stressors or stays activated even when the threat has passed, leaving you exhausted and anxious.

Chronic stress can wear down this system, and early-life trauma or abuse can alter how it develops, making you more reactive to stress as an adult.

Psychological and Trauma-Related Causes

Your thoughts, past experiences, and how you learned to respond to threat all influence whether you develop anxiety.

Chronic Stress and Life Pressure

Prolonged stress from work demands, relationship conflict, financial worry, caregiving, or health concerns depletes your stress resilience. Your nervous system stays in high alert. Over time, this becomes your baseline, and your threat detection system becomes hypersensitive. Minor stressors then trigger anxiety responses.

Trauma and Adverse Childhood Experiences (ACEs)

Childhood trauma (abuse, neglect, witnessing violence) or adult trauma (assault, serious accident, sudden loss) rewires your threat-detection system. Your brain learns the world is dangerous. As an adult, you remain vigilant for threats and anxious about safety.

Learned Anxiety Responses

You can learn anxiety through two mechanisms:

  • Classical conditioning: You experience something painful (like a panic attack in a crowded store), and your brain associates the store with danger. Next time you approach a store, anxiety activates automatically, even though no threat exists.
  • Observational learning: If a parent was anxious and modeled anxious behaviors (avoiding situations, excessive worry), you learned that pattern and may repeat it.

Catastrophizing and Worry Habits

Some people have developed a thinking pattern of interpreting ambiguous situations as threatening and imagining worst-case outcomes. A missed text becomes "something bad happened." A tight chest becomes "I am having a heart attack." These thought patterns activate anxiety repeatedly and reinforce the belief that danger is present.

Environmental and Life Causes

Major life events and ongoing stressors often trigger anxiety onset or worsen existing anxiety.

Major Life Changes and Transitions

Anxiety often first appears during periods of significant change:

  • Starting a new job or school
  • Relationship changes (marriage, breakup, divorce)
  • Moving to a new home or country
  • Becoming a parent
  • Financial instability or job loss
  • Serious health diagnosis
  • Death of a loved one

These events are stressful and create uncertainty, which activates your threat system. For some, anxiety resolves once the transition completes. For others, anxiety persists and becomes a disorder.

Chronic Work or Relationship Stress

Ongoing stress in high-demand jobs, toxic relationships, or unstable environments keeps your nervous system activated chronically. You cannot relax. Over time, this chronic activation becomes pathological, and anxiety becomes a disorder rather than an appropriate response to a stressor.

Social Isolation and Lack of Support

Humans are social beings. Loneliness and lack of emotional support increase anxiety risk. Conversely, strong social support and connection buffer against anxiety development, even in the face of stressors.

Medical Conditions That Cause or Mimic Anxiety

Several medical conditions produce anxiety symptoms or trigger anxiety disorders. Always rule out medical causes with a doctor:

  • Thyroid disorders (hyperthyroidism): Overactive thyroid causes racing heart, trembling, heat intolerance, and anxiety indistinguishable from anxiety disorder.
  • Cardiac arrhythmias and heart disease: Irregular heartbeat or chest pain triggers fear and panic.
  • Asthma and respiratory conditions: Shortness of breath can spiral into panic and anxiety.
  • Diabetes: Blood sugar swings cause anxiety-like symptoms (trembling, racing heart, dizziness).
  • Anemia and iron deficiency: Low oxygen delivery causes fatigue, shortness of breath, and anxiety.
  • Vitamin deficiencies (B12, folate, vitamin D): Deficiencies are linked to anxiety and mood disorders.
  • Menopause and hormonal changes: Hormonal shifts can trigger or worsen anxiety.
  • Sleep apnea: Repeated oxygen drops activate fight-or-flight, causing nighttime panic and daytime anxiety.

Substance and Medication-Related Causes

Certain substances and medications can directly cause anxiety or increase vulnerability to it.

Caffeine and Stimulants

Caffeine is a stimulant that increases heart rate, blood pressure, and alertness. In people genetically vulnerable to anxiety, caffeine can trigger panic attacks or worsen baseline anxiety. Energy drinks, coffee, tea, chocolate, and some medications contain caffeine. Reducing or eliminating caffeine often reduces anxiety significantly.

Alcohol Withdrawal

While alcohol temporarily reduces anxiety (it is a depressant), withdrawal from alcohol causes rebound anxiety. Heavy drinkers who quit often experience severe anxiety for days or weeks. This can escalate into panic attacks.

Stimulant Medications and Drugs

Medications like some ADHD stimulants, weight-loss drugs, or decongestants can trigger anxiety, especially in people with genetic predisposition. Illegal stimulants (cocaine, methamphetamine) also cause anxiety and can trigger panic attacks.

Cannabis Withdrawal

Regular cannabis users who quit often experience anxiety as part of withdrawal syndrome. Some people are also sensitive to cannabis itself and experience anxiety with use.

SSRI Start-Up Anxiety

Paradoxically, some people experience increased anxiety in the first 1-2 weeks of starting an SSRI antidepressant, before the medication begins working. This typically resolves, but it is important to be aware of.

Steroids and Corticosteroids

Systemic steroids (prednisone for inflammation, dexamethasone) can trigger anxiety and insomnia as side effects.

Lifestyle Factors That Increase Anxiety Risk

How you live day-to-day influences anxiety risk and severity.

Sleep Deprivation

Poor sleep or insufficient sleep worsens anxiety significantly. Your brain cannot regulate emotions or calm itself effectively when sleep-deprived. Prioritizing 7-9 hours of sleep is one of the most impactful anxiety interventions.

Sedentary Lifestyle

Physical inactivity is associated with higher anxiety risk. Exercise, especially aerobic activity, reduces anxiety by regulating neurotransmitters and stress hormones, and by providing a sense of control and mastery.

Poor Diet

A diet high in processed foods and refined sugars and low in omega-3 fatty acids, magnesium, and B vitamins is associated with higher anxiety. Eating regular, balanced meals stabilizes blood sugar and supports neurotransmitter synthesis.

Social Isolation

Lack of meaningful social connection increases anxiety risk. Humans are social creatures, and isolation triggers threat detection. Community, friendships, and family support buffer anxiety.

The Gene-Environment Interaction: Why Some People Develop Anxiety and Others Do Not

Two people with the same genetic predisposition may have different outcomes based on their life experiences. The same major stressor affects one person severely and another barely. This is because genes and environment interact.

High genetic vulnerability + High environmental stress = High risk of anxiety disorder

High genetic vulnerability + Low environmental stress = Lower risk of anxiety disorder

Low genetic vulnerability + High environmental stress = Moderate risk (some people remain resilient)

Low genetic vulnerability + Low environmental stress = Very low risk

This means you cannot change your genes, but you can change or manage environmental stressors. Stress reduction, healthy habits, therapy, and sometimes medication all reduce anxiety risk and severity, regardless of genetic predisposition.

Early Warning Signs You May Be Vulnerable to Anxiety

If you recognize these patterns, anxiety may be emerging:

  • You are worrying more than before about multiple aspects of life (health, work, finances, relationships)
  • You are avoiding situations you used to enjoy because you feel nervous
  • Your sleep is disrupted, or you are tired during the day
  • You notice physical tension (tight shoulders, jaw clenching, headaches)
  • You are more irritable or on edge than usual
  • You are using caffeine, alcohol, or other substances more to cope
  • Normal stressors feel overwhelming
  • You are having difficulty concentrating

Early recognition and intervention prevent anxiety from deepening into a disorder.

When to Seek Professional Help

You should talk to a doctor or mental health professional if:

  • Anxiety is persistent (lasting weeks or months) and you cannot control it
  • Anxiety is interfering with work, school, relationships, or daily activities
  • You are avoiding situations or places because of anxiety
  • You are experiencing physical symptoms (chest pain, dizziness, shortness of breath) and your doctor has ruled out medical causes
  • Anxiety is worsening or appearing in new situations
  • You are using alcohol, drugs, or other unhealthy coping mechanisms to manage anxiety
  • You have thoughts of harming yourself

If you are having thoughts of harming yourself or others, call or text 988 (US Suicide and Crisis Lifeline), 111 option 2 (NHS, UK), or go to your nearest emergency room immediately.

FAQ

Is anxiety genetic?

Anxiety disorders do run in families, suggesting a genetic component. Twin studies show heritability of about 30-40%, meaning genes contribute significantly but do not determine whether you develop anxiety. If a parent has an anxiety disorder, your risk is higher, but environment, stress, and learned responses also matter greatly. Having a family history means you should be aware of early warning signs and seek help sooner if symptoms emerge.

What is the main cause of anxiety?

There is no single main cause. Anxiety results from multiple factors: genetics, brain chemistry, stress levels, traumatic experiences, medical conditions, substance use, and lifestyle habits. Different people have different primary causes. For one person, chronic work stress may be the driver. For another, a medical condition like thyroid disease. Understanding your personal cause profile helps your clinician design targeted treatment.

Can anxiety be caused by medical conditions?

Yes, several medical conditions mimic or trigger anxiety: thyroid disorders, heart arrhythmias, asthma, diabetes, anemia, vitamin deficiencies, sleep apnea, and hormonal changes. Always see a doctor to rule out medical causes if you experience new or persistent anxiety. Treating the underlying condition often resolves anxiety.

Does caffeine cause anxiety?

Caffeine is a stimulant that can trigger or worsen anxiety, especially in people genetically prone to anxiety. It increases heart rate, blood pressure, and alertness. For sensitive individuals, even moderate caffeine (a cup of coffee) can trigger anxiety or panic. If you have anxiety, reducing or eliminating caffeine is worth trying.

Can stress cause anxiety disorder?

Chronic stress can trigger anxiety disorder in vulnerable people. If you have a genetic predisposition and experience prolonged stress without adequate support or coping strategies, you are at higher risk of developing anxiety disorder. Acute major stressors (job loss, relationship breakup, loss of a loved one) can also trigger anxiety onset in vulnerable people.

Can anxiety be caused by lack of sleep?

Sleep deprivation significantly worsens anxiety. Poor sleep disrupts neurotransmitter balance, impairs emotional regulation, and activates threat detection. When sleep-deprived, your brain is less able to calm itself, and anxiety symptoms intensify. Improving sleep is one of the most impactful interventions for anxiety.

What causes sudden anxiety with no trigger?

Anxiety that feels sudden often has an internal trigger you did not consciously notice: a subtle worry you were not fully aware of, a physical sensation (hunger, dehydration, caffeine from hours earlier), a shift in your breathing, or an unconscious association or memory. Sometimes anxiety is driven by stress that has accumulated unconsciously over time. A mental health professional can help you identify hidden triggers through discussion and tracking.

Can past trauma cause anxiety?

Yes. Childhood trauma (abuse, neglect, witnessing violence) or adult trauma (assault, serious accident) rewires your threat-detection system. Your brain learns to stay vigilant for danger, and you remain anxious even in safe situations. Trauma-informed therapy (like prolonged exposure or cognitive processing therapy) is effective for anxiety rooted in trauma.