Sleeping Woman, Elizabeth Hiltz Thomas
Knowing how your brain controls sleep can calm your worries and help the best insomnia treatments work
You lie in bed, exhausted, and your mind won’t stop racing. You check the clock at 1 a.m., then 3 a.m., then 5 a.m. The next day you drag yourself through work, worried that tonight will go the same way.
If that sounds familiar, you’re in good company. Insomnia affects 10 to 30 percent of adults. It’s even more common in people with depression, anxiety, PTSD, bipolar disorder, and ADHD.
A new paper by neuroscientist Mohammad Nami argues that learning how your brain controls sleep can make treatment work better. When you understand what’s going on, your worry about sleep shrinks, and you’re more likely to stick with the strategies that help.
Two Systems Run Your Sleep
Your brain uses two systems to decide when you sleep.
Sleep pressure: While you’re awake, your brain builds up a chemical called adenosine. The longer you stay up, the more adenosine piles up, and the sleepier you feel. Sleep clears it away. Think of it as a tank that fills during the day and drains at night. Caffeine keeps us up by blocking this signal.
Your body clock: A tiny cluster of cells deep in your brain acts as a master clock. It reads light coming through your eyes and sets your daily rhythm. When it gets dark, a gland in your brain releases melatonin, a hormone that tells your body sleep is coming. Bright screens and late-night lights can delay that signal.
You sleep best when both systems line up: your tank is full, and your clock says it’s night.
The Brain’s Gas Pedal and Brakes
Your brain also uses chemical messengers to switch between sleep and wakefulness.
GABA acts as the brakes. It quiets brain cells and eases you into sleep. Norepinephrine and serotonin act more like the gas pedal. They run high during the day to keep you alert and drop at night.
In many people with insomnia, the brakes work too weakly. People with insomnia have lower GABA activity, resulting in a brain stuck in a state of high alert or hyperarousal.
How Stress Steals Your Sleep
Stress makes things worse. When you’re under chronic stress, your body pumps out cortisol, a stress hormone that keeps you wired. High cortisol at night makes it harder to fall asleep and stay asleep.
Worry about sleep adds more fuel. If you lie in bed thinking, “I’ll never fall asleep, and tomorrow will be a disaster,” your brain treats that thought as a threat. Your heart speeds up, your muscles tense, and sleep slips further away.
Over time, your brain can even learn to link your bed with being awake and anxious. You may feel sleepy on the couch, then wide awake the moment your head hits the pillow.
Sleep and Mental Health Feed Each Other
Poor sleep and mental health problems form a loop. People with insomnia face a much higher risk of developing depression. Lost sleep also makes it harder for your brain to manage mood and think clearly.
The loop runs the other way too. Anxiety keeps your mind racing at night. Depression can disrupt your sleep rhythm. PTSD can bring nightmares and a feeling that you need to stay on guard.
That’s why treating sleep often helps mental health, and treating mental health often helps sleep.
Other Sleep Problems to Know About
Sleep apnea
In obstructive sleep apnea, your airway closes again and again while you sleep. Your oxygen drops, and your brain jolts you awake, often without you knowing. People with apnea face higher rates of depression and anxiety. Loud snoring, gasping at night, and heavy daytime sleepiness are warning signs. A CPAP machine, which keeps your airway open with gentle air pressure, can help.
Check for sleep apnea with this questionnaire.
Restless leg syndrome
Restless legs syndrome is a neurological disorder that keeps people up by causing strong, often irresistible urge to move the legs. Symptoms typically start or worsen when sitting or lying down in the evening or at night, and moving the legs brings temporary relief. Some cases are caused by medications, low iron levels, or pregnancy. It is treatable with exercise and medications.
Narcolepsy
This rare condition causes sudden, overwhelming sleepiness during the day. Some people also lose muscle control when they laugh or feel strong emotions. Narcolepsy is linked to low levels of hypocretin, a brain chemical that keeps you awake.
The Best Treatment: CBT for Insomnia
Cognitive behavioral therapy for insomnia, or CBT-I, is the leading treatment for chronic insomnia. It retrains your brain to sleep. Here are the main tools:
- Stimulus control: Use your bed only for sleep and sex. If you can’t sleep after about 20 minutes, get up and do something calm in dim light until you feel sleepy. This teaches your brain to link bed with sleep again.
- Sleep restriction: Limit your time in bed to the hours you actually sleep. This builds up sleep pressure, so you fall asleep faster and sleep more deeply. You slowly add time back as your sleep improves.
- A fixed wake time: Get up at the same time every day, weekends included. This keeps your body clock steady.
- Rethinking sleep worries: Learn to spot and challenge thoughts like “If I don’t sleep eight hours, I can’t function.” These thoughts keep your brain on alert.
- Relaxation: Slow belly breathing, muscle relaxation, and mindfulness calm your body’s stress system and help the brakes kick in.
Sleep restriction can feel hard at first, and it may leave you more tired for a week or two. Once you know it works by building sleep pressure, it’s easier to stick with. People with bipolar disorder or seizure disorders should talk to their doctor before trying it.
Apps and online programs now deliver CBT-I too. Here’s a brief guide to the therapy and a selection of clinically tested apps for insomnia and other disorders.
Simple Steps You Can Start Tonight
- Dim the lights (or use blue light blockers) and put away screens in the hour before bed.
- Get bright light, ideally sunlight, soon after you wake up (or use a dawn simulator)
- Keep the same wake time every day.
- Keep your bedroom dark, quiet, and cool.
- If worries keep you up, write them down earlier in the evening.
A Note for Parents of Teens
If your teenager can’t fall asleep before midnight, biology may be part of the reason. During the teen years, the body clock naturally shifts later. Teens aren’t just being stubborn. Consistent routines, less screen time at night, and a calm home all help. Teens also copy what they see, so your own sleep habits matter.
The Bottom Line
Insomnia comes from real changes in how your brain handles sleep pressure, timing, and stress. Your brain can relearn how to sleep. CBT-insomnia, relaxation, steady routines, and smart light habits all help reset the system.
If you’ve struggled with sleep for more than three months, talk to your doctor or a mental health provider. Ask about CBT-I. If you snore loudly or feel sleepy all day, ask about a sleep study to check for apnea.
—Chris Aiken, MD
Director, Psych Partners
Editor in Chief, Carlat Psychiatry Report







