Perimenopause insomnia and anxiety: why they feed each other, and what helps
In perimenopause, anxiety and insomnia often arrive together and keep each other going: shifting hormones make sleep lighter and the body's alarm system jumpier, a bad night leaves you more anxious the next day, and the anxiety makes the next night harder. What helps is breaking the loop from both sides: treat what wakes you (night sweats, a racing heart, a racing mind), retrain sleep with the steps of CBT for insomnia, and see a doctor about the anxiety and the hormones if they're getting in the way of your life.
Below: why it happens, how to tell which is driving which, other causes worth ruling out, what to do when you wake at 3 a.m. with your heart pounding, a 3-week plan, and what to ask your doctor.
Why perimenopause brings both
Perimenopause is the years before your last period, often starting in your 40s, when estrogen and progesterone rise and fall unpredictably rather than in a steady monthly pattern. Both hormones act on the brain as well as the ovaries, including on sleep, temperature control, mood and the stress response.
- Hot flashes and night sweats wake people up, often with a surge of heat, a fast heartbeat and a jolt of alarm. Many women describe the anxious feeling arriving just before or with the flush.
- Lighter, more broken sleep becomes more common through the transition. The Study of Women's Health Across the Nation (SWAN), which followed thousands of US women over many years, found trouble sleeping rose as women moved through perimenopause.
- Anxiety can appear for the first time. In SWAN, women who had low anxiety before the transition were more likely to report high anxiety in perimenopause and early postmenopause than before it (Bromberger and colleagues, 2013). Feeling suddenly anxious at 45 doesn't mean something is wrong with you.
- Life piles up too. Teenagers, ageing parents, work at its most demanding: midlife often brings more stress just as sleep gets more fragile.
How anxiety and insomnia keep each other going
The loop usually runs like this:
- A night sweat or a hormonal dip wakes you at 3 a.m.
- Your body is on alert: heart fast, mind awake. Worries rush in, about the day and then about sleep itself.
- You lie awake for an hour or two, or get to sleep late and wake early.
- The next day you're tired, short-tempered and more anxious; poor sleep makes the brain react more strongly to stress.
- By evening you dread bed ("tonight will be bad too"), which keeps you alert as you lie down.
After a few weeks, the dread and the habits (going to bed early to catch up, lying in, a glass of wine to switch off) can keep insomnia going even on nights with no sweats. That's why sleep often doesn't fully recover when hot flashes are treated, and why the sleep habits matter as much as the hormones.
Which is driving which? A quick check
| What you notice | Points to | Start with |
|---|---|---|
| You wake hot, sweaty or flushed, then can't settle | Night sweats driving the waking | Cooling the bed and room; ask a doctor about treating hot flashes |
| You wake with a racing heart or a rush of dread, no heat | Night-time anxiety, possibly hormonal | The 3 a.m. steps below; a doctor visit to rule out other causes |
| You lie awake at bedtime with a racing mind | Anxiety and worry at bedtime | Evening worry time and a wind-down |
| You dread bed and sleep better on the sofa or away | Insomnia has become a habit of its own | CBT for insomnia steps: sleep window, getting up |
| Anxiety is there most of the day, not just at night | An anxiety problem that needs its own care | A doctor or therapist, alongside the sleep work |
| Worse in the week before your period | Hormonal swings around the cycle | Track it in a diary; tell your doctor |
Most women tick more than one row. That's normal: the point is to know which threads to pull first. For the hot-flash side in detail, see night sweats and can't sleep; for the wider picture of sleep in this stage of life, our guide to perimenopause insomnia.
Rule these out first
Several common midlife problems look like perimenopause anxiety and insomnia, and each has its own treatment. Ask your doctor about them, especially if your symptoms are new or getting worse:
| Possible cause | Signs |
|---|---|
| Overactive thyroid | Anxiety, racing heart, sweating, weight loss, shaky hands, poor sleep: a blood test checks it |
| Sleep apnea | Snoring, gasping, morning headaches, sleepy by day; it becomes more common after menopause |
| Low iron or restless legs | An urge to move your legs in the evening, heavy periods |
| Depression | Low mood, losing interest in things, early waking, feeling hopeless |
| Alcohol or caffeine | Waking 3 to 4 hours after a drink; tolerance for both often drops in midlife |
| Medicines | Some decongestants, steroids, thyroid doses and others can cause anxiety or wakefulness |
| Heart rhythm problems | Palpitations that last, come with dizziness or breathlessness, or happen during the day too |
Get urgent help (call 911 in the US) for chest pain or pressure, fainting, a racing heart with breathlessness that doesn't settle, or palpitations with confusion. Don't assume it's hormones.
What to do when you wake at 3 a.m. with your heart racing
- Name it. "This is a hot flash" or "this is a night-time adrenaline rush. It peaks and passes, usually within minutes." Naming it takes away some of the fear that feeds it.
- Cool down. Throw off the covers, turn the pillow, sip cold water, put a cool cloth on your wrists or neck. Keep these by the bed.
- Breathe slowly. In through your nose for about 4 counts, out for 6 to 8, for 3 to 5 minutes. Slow, paced breathing has also been studied for hot flashes, and it's a good way to ride out the surge either way.
- Don't check the time or your phone. Light and arithmetic both wake you further.
- Answer the worry, briefly. "I'll deal with that tomorrow at my worry time" or "I've coped with tired days before." No problem-solving in bed.
- Get up if you're stewing. If you've been lying awake long enough to feel frustrated, go to another room, keep the lights low and do something calm (a dull book, a puzzle, folding laundry), then return when sleepy.
Our guide on waking up at night with anxiety covers night-time panic attacks and what to do if the rush keeps coming back.
Set up the night so less wakes you
- A cool room: around 60 to 67°F (15 to 19°C) is the range often suggested for sleep; a fan helps.
- Layers, not one heavy duvet, so you can throw one off without waking fully. Breathable cotton or moisture-wicking sleepwear and a spare set by the bed.
- Separate covers if a partner likes it warmer.
- No alcohol in the 3 to 4 hours before bed: it triggers hot flashes for many women and breaks up the second half of the night.
- Caffeine by early afternoon.
- A lighter, earlier dinner if spicy or heavy evening meals seem to set off sweats.
Calm the anxiety in the evening, not in bed
Bed is often the first quiet moment of the day, so that's where the worries arrive. Give them an earlier slot:
- Worry time (20 minutes, early evening, at a table): write everything on your mind, mark each item with a next step or "can't do anything tonight", then write tomorrow's to-do list and close the notebook. Writing tomorrow's list before bed helped people fall asleep faster in one study (Scullin and colleagues, 2018).
- An hour's buffer before bed: dim lights, no work or news, something calm you enjoy.
- Daily movement and daylight: a 20 to 30 minute walk outside, ideally in the morning, steadies both mood and the body clock.
Our guide to sleep anxiety covers the thoughts that make bedtime feel like a test, with better answers to each.
Retrain your sleep: CBT for insomnia
CBT for insomnia (CBT-I) is the first treatment doctors recommend for long-term insomnia, and it has been tested in women in the menopause transition. In the MsFLASH trial, telephone-delivered CBT-I lowered insomnia severity in peri- and postmenopausal women with hot flashes, compared with education alone, and the gains held at 6 months (McCurry and colleagues, 2016). It also reduced how much hot flashes bothered the women at night, even though the number of flashes didn't change much.
The main steps:
- A sleep diary for 1 to 2 weeks.
- A sleep window: time in bed set close to the sleep you actually get, with a fixed wake-up time, then widened as sleep becomes solid.
- Bed is for sleep: get up when you're awake and frustrated, come back when sleepy.
- Thought work: spotting and answering the "I can't cope without 8 hours" thoughts that keep the dread going.
All seven parts, and the order to add them, are in our guide to CBT for insomnia techniques. If you've had bipolar disorder or seizures, or have untreated sleep apnea, do the sleep-window part only with a clinician.
A 3-week plan
| Week | Focus | Do |
|---|---|---|
| 1 | Notice and cool | Sleep diary each morning (bedtime, wakings, sweats, anxiety 0 to 10, period days); set up the cool bed kit; caffeine by 2 p.m.; no alcohol for the 3 weeks; book a doctor's visit if any row in "rule these out" fits |
| 2 | Calm the evening | Worry time every evening; an hour's dim buffer; the 3 a.m. steps every time you wake; same wake-up time 7 days a week |
| 3 | Retrain sleep | Use the diary to set a sleep window; get up when stewing; a daily walk outside; review: what changed in the diary since week 1? |
Keep the diary going: it's the most useful thing to take to a doctor, and it shows whether your anxiety and wakings track your cycle.
What doctors can offer
Talk to your doctor if sleep or anxiety are affecting your work, relationships or health, or the plan above hasn't helped in a few weeks. Options they may discuss:
- Hormone therapy: the most effective treatment for hot flashes and night sweats, and it can improve sleep when sweats are the cause. Whether it suits you depends on your age, timing and health history.
- Non-hormonal medicines for hot flashes: including certain antidepressants (some low-dose SSRIs and SNRIs), gabapentin, and newer medicines that act on the brain's temperature centre (fezolinetant, approved in the US in 2023).
- Treatment for anxiety: talking therapy (CBT), and medicine if needed. Some medicines treat anxiety and hot flashes together.
- CBT for insomnia, in person or as a digital program.
- Tests for thyroid, iron, sleep apnea or heart rhythm if your symptoms point that way.
The Menopause Society's 2023 guidance on non-hormone therapy also lists CBT and clinical hypnosis as recommended for hot flashes. Bring your diary, a list of your medicines and supplements, and the two or three things that bother you most.
If you feel hopeless or have thoughts of harming yourself, get help now: in the US call or text 988.
Frequently asked questions
Can perimenopause cause anxiety and insomnia?
Yes. Changing estrogen and progesterone affect sleep, temperature and the stress response, and both anxiety and trouble sleeping become more common through the transition, including in women who never had them before.
Why do I wake up with anxiety at 3 a.m. in perimenopause?
Sleep is lighter in the second half of the night, so it's easier to wake then, and a hot flash or hormonal shift can bring a rush of adrenaline with it. Once awake, the mind picks up its worries. Cooling down and slow breathing help ride it out.
Does perimenopause anxiety go away?
For many women it eases after the transition, but that can take years. There's no need to wait it out: therapy, medicine, and the sleep steps on this page all help now.
Will hormone therapy fix my sleep?
It often helps when night sweats are what's waking you. If insomnia has become a habit, or anxiety is driving it, you'll usually need the sleep and anxiety work too.
Is it anxiety or my heart?
Palpitations are common in perimenopause, but they need checking by a doctor, especially if they last, happen by day too, or come with dizziness or breathlessness. Chest pain or fainting is an emergency.
Start this week
Start the diary tomorrow morning, set up a cool bed tonight, and give your worries a 20-minute slot early in the evening. When you wake at 3 a.m., name it, cool down, breathe slowly, and get up if you're stewing. If you'd like your numbers worked out first, take the free sleep quiz: it works out your sleep, your minutes awake in bed and a starting sleep window. For night sweats, menopause sleep and the method behind CBT-I, see all our sleep guides.
Sources: Bromberger JT et al., Does risk for anxiety increase during the menopausal transition? Study of Women's Health Across the Nation, Menopause, 2013. Kravitz HM et al., Sleep difficulty in women at midlife: a community survey of sleep and the menopausal transition (SWAN), Menopause, 2003. McCurry SM et al., Telephone-based cognitive behavioral therapy for insomnia in perimenopausal and postmenopausal women with vasomotor symptoms: a MsFLASH randomized clinical trial, JAMA Internal Medicine, 2016. The 2023 nonhormone therapy position statement of The North American Menopause Society, Menopause, 2023. US Food and Drug Administration, FDA approves novel drug to treat moderate to severe hot flashes caused by menopause (fezolinetant), May 2023. Scullin MK et al., The effects of bedtime writing on difficulty falling asleep, Journal of Experimental Psychology: General, 2018. Edinger JD et al., Behavioral and psychological treatments for chronic insomnia disorder in adults: an AASM clinical practice guideline, Journal of Clinical Sleep Medicine, 2021.