Sleep and mind
Anxiety keeps your mind racing at night and poor sleep keeps anxiety going
Anxiety can keep you awake, and poor sleep can amplify worry and make emotions harder to manage [1]. Treating the sleep side of the loop may help both problems [1].

Key points
- Anxiety raises mental and bodily arousal at night, and that interferes with sleep [1].
- Poor sleep in turn increases emotional reactivity and worry, so the two problems form a cycle [2][1].
- Cognitive behavioral therapy for insomnia (CBT-I) has improved sleep and reduced anxiety severity, even when it did not target anxiety directly [1].
- Sleep loss alongside mania or substance use is worth a call to your doctor [2].
Anxiety and insomnia feed each other in both directions
Insomnia is one of the most pervasive features of generalized anxiety disorder [1]. People with generalized anxiety disorder, which means excessive and hard-to-control worry, often have trouble falling asleep, staying asleep, and feeling rested [1].
The link runs both ways. Anxiety creates mental and physical arousal that interferes with sleep. Poor sleep then worsens emotional control and amplifies worry [1]. Insomnia may even come before an anxiety disorder develops [1].
Symptoms such as rumination (going over the same thoughts again and again) and hyperarousal (feeling wired and on alert) make it harder to regulate sleep. That can sustain the illness in a self-repeating cycle [2].
The main point
Sleep problems were once treated as a side effect of mental health conditions. They are now recognized as active contributors to how those conditions begin, progress, and return [2].
The amygdala becomes more reactive after sleep loss and in anxiety
Researchers have found several shared features in anxiety and poor sleep. Together, these overlapping features may reinforce both conditions [1].
| Feature | What happens |
|---|---|
| Amygdala (threat detector) | More reactive after sleep loss and in anxiety [2][1] |
| Prefrontal cortex (front of the brain, helps with control) | Less able to calm emotional responses [2][1] |
| Stress hormone system (HPA axis) | More active in both conditions [1] |
| GABA (a calming brain chemical) | Deficits are seen in anxiety and insomnia [1] |
In one experiment, a single night without sleep produced stronger amygdala responses to negative images and weaker connection to the front-of-brain regions that regulate them [2]. Cutting sleep back partway also increased negative emotional reactions [2].
Cognitive behavioral therapy for insomnia targets the sleep side of the loop
Cognitive behavioral therapy for insomnia, called CBT-I, is a structured talk-based program that focuses on sleep habits and thoughts about sleep. It is described as a first-line approach, along with light and daily-rhythm therapies [2].
In people with generalized anxiety disorder, CBT-I improved sleep and reduced anxiety severity, even though it did not directly treat anxiety [1]. More broadly, directly addressing sleep has been tied to fewer depression and anxiety symptoms [2].
Treating insomnia matters because untreated insomnia may keep anxiety symptoms going or make them worse [1]. Addressing it can also ease related mental and physical health problems [3].
- Chronic insomnia is the most common sleep disorder, affecting up to 10% of people worldwide [3].
- Depression, anxiety, heart disease, and cancer can trigger insomnia, and chronic insomnia can raise the risk of these same conditions [3].
- Light and daily-rhythm approaches are listed with CBT-I as behavioral options [2].
When to get care
Sleep loss with mania or substance use calls for a conversation with your doctor
Call your doctor if your sleep trouble fits one of the situations below. The research links each one to worse outcomes when sleep problems are left alone [2].
- You sleep very little yet feel no need for more. A decreased need for sleep is a feature of mania and hypomania, and sleep loss can set off manic episodes [2].
- You use opioids or other substances and are sleeping poorly. Worse insomnia predicted return to use and non-fatal overdose in opioid use disorder [2].
- Poor sleep comes with stronger cravings. Sleep disturbance predicts increased craving and relapse risk in substance use disorders [2].
- Insomnia and anxiety have both lasted a long time. Untreated insomnia may perpetuate or intensify anxiety symptoms [1].
Sleep is also a place where treatment can start. Experts recommend that sleep be assessed routinely as part of mental health care [2].
If you think you may have a medical emergency in the United States, call 911 or go to the nearest emergency room.
Migraine care calls for routine screening for anxiety and insomnia
Anxiety and sleep trouble often show up alongside physical conditions. Migraine is commonly found together with depression, anxiety, and sleep disorders, and the relationship appears to run in both directions [4].
For that reason, migraine patients should routinely be screened for depression, anxiety, and insomnia [4]. Behavioral approaches such as cognitive behavioral therapy may reduce psychiatric symptoms in these patients, although larger trials are needed [4].
If you have another long-term condition, it is reasonable to mention both sleep and anxiety, since insomnia often occurs with physical and psychiatric illness and each can aggravate the other [3].
Sources
- Sleep disturbances in generalized anxiety Disorder: The central role of insomnia Sleep medicine
- Sleep and psychiatric disorders: Bidirectional interactions and shared neurobiological mechanisms PLOS mental health
- Chronic insomnia - beyond the symptom of insufficient sleep Folia medica
- Psychiatric comorbidities of migraine Handbook of clinical neurology
Not medical advice. This page is general education written from the sources above. It cannot diagnose a condition or replace a licensed clinician who knows your history. If you may be having an emergency, call your local emergency number or go to the nearest emergency department.