How to stop overthinking at night (without melatonin)
To stop overthinking at night, clear your head before bed and keep your bed for sleep. Melatonin won't fix it, because the problem isn't your body clock.
You're tired. The room is dark and your phone is face down. But your brain is wide awake. It's running through tomorrow's to-do list. It's replaying a talk from 3 days ago. Things that felt fine at noon now feel worrying.
The usual advice is melatonin, white noise and no screens. That misses what's going on. Melatonin shifts your body clock. It does nothing for a brain that has decided to hold a meeting at 11pm.
Why this happens is well understood. The fix isn't a sleeping aid. It's working with the way your brain handles thoughts. Here's what's going on, and what to do about it tonight.
Why your brain gets busier at night
Overthinking at night isn't random, and it isn't weakness. It follows from how your brain handles attention through the day.
In the day, your brain is busy with meetings, choices, talks and logistics. Outside demands compete for your attention. So unsettled thoughts don't get dealt with. They get queued.
At bedtime, the outside noise drops and the queue starts up. Your brain hasn't stopped working. It's just finally got its turn.
A 2000 study looked at the busy thinking that comes before sleep. People with insomnia had far more unwanted thoughts at bedtime than good sleepers. They weren't more anxious people overall. Their minds were just more active before sleep. Their bed had become linked with being awake and thinking, not with rest.
Source: Journal of Abnormal Psychology, 2000
This matters. Overthinking at night is often a learned pattern. Your brain has linked going to bed with the signal to start thinking. And what's learned can be unlearned.
Your body plays a part too. The stress hormone cortisol follows a daily rhythm. It's high in the morning and lowest around midnight. Run hard all day without a break, and cortisol stays high into the evening. Then your brain doesn't just think. It thinks urgently.
Insomnia regularly affects around 1 in 3 people in the UK. Going over things before sleep is one of the most common causes. That also means there's plenty of evidence on what helps.
Source: NHS

Why the common fixes don't work
Most advice treats the symptom, which is feeling alert. It doesn't treat the cause, which is thoughts you haven't dealt with.
Melatonin works on the timing of your sleep. It doesn't touch the thinking that keeps you awake. It may make you drowsy. But drowsy and asleep aren't the same thing when your brain is busy.
"Just don't think about it" isn't a technique. Trying to push a thought away tends to bring it back stronger. In a well-known study, people were told not to think of a white bear. They then thought about it more. Worries at bedtime work the same way.
Source: Daniel Wegner, Harvard
The aim isn't to silence your brain. It's to give it a clear job to do, and then let it finish.
What works
The methods that help most come from CBT for insomnia, often called CBT-I. It's now recommended as the first treatment for insomnia, ahead of sleeping pills.
Source: American Academy of Sleep Medicine
Set a time to worry (not at bedtime)
One researcher found that a set 20-minute worry slot earlier in the day helped. People had fewer unwanted thoughts at bedtime. Worry is your brain rehearsing possible threats so it feels ready. Give it a proper time slot and it doesn't need to take over at midnight.
Source: Tom Borkovec, Penn State
- Pick 20 minutes between 5pm and 7pm.
- Write down every worry and unfinished job.
- Don't try to solve them. Just get them onto paper.
- Close the notebook. Your brain has had its time to prepare.
Do a brain dump before bed
Do a short brain dump 30 to 45 minutes before bed. It's one of the best tools in CBT-I. Writing things down frees up space. The thoughts that would keep you up are now on paper.
How you do it matters. A free list of worries tends to grow. This works better:
- Write tomorrow's 3 most important tasks.
- Write any unfinished jobs you're carrying.
- Write one thing that went well today.
The structure holds your thinking in place. It stops it spiralling.
Clearing your head works in the morning too. The Morning Mindset Journal takes 10 to 15 minutes before your day starts. Its journaling page is for emptying your head.
Keep your bed for sleep
In CBT-I, this is called stimulus control. It's the most effective single habit change for insomnia. Your brain links places with states. Say you often worry or scroll in bed. Then your brain learns to switch on when you lie down.
The rule is simple. Use your bed only for sleep. If your mind is racing, get up. Sit in a dim room and do something quiet. Go back to bed only when you feel drowsy. This breaks the link within 1 to 2 weeks.
Write the plan, not the worry
Don't try to fix worries at midnight. Write the next step instead. Not "I'm anxious about the presentation". Write "Thursday, 10am: review slides".
Unfinished jobs keep nagging at you. When your brain believes a task is written down and handled, it lets go. Settle it on paper and your brain can release it.
Slow your breathing
Breathing is the one part of your body's automatic stress system you can control. Long out-breaths switch on your body's rest mode.
Try this. Breathe in for 4. Hold for 7. Breathe out for 8. It won't stop your thoughts. But it takes away the physical urgency that makes them feel so pressing.

What to stop doing tonight
Some habits make overthinking at night worse. They're worth naming.
Checking your phone after 9pm. Each alert gets your brain thinking again. It opens a new tab in your head.
Trying to solve problems in bed. Choices made at midnight are almost always worse than choices made at 9am. You can't think well in the dark when you're tired.
Replaying conversations. This is worry about the past. Research found it uses the same brain machinery as worry about the future. Switch to a clear task instead.
Using alcohol to wind down. Alcohol may help you fall asleep faster. But it makes your sleep quality much worse. Falling asleep and sleeping well aren't the same thing.
Working until the hour before bed. Your mind doesn't switch off at once. Leave 45 to 60 minutes of winding down before you want to be asleep.
Planning on a Weekly Planner Pad moves tomorrow's tasks out of your head and onto paper. Then your brain doesn't have to hold them overnight.

Related reading
- How to stop overthinking: why your mind won't switch off
- Why ambitious people sleep badly (and the fix that works)
- Mental clutter: why your mind feels full even when nothing's wrong
When to take it more seriously
You might lie awake for over 45 minutes most nights. Or overthinking at night might be hurting your focus, mood or how you cope in the day. If so, talk to your GP. Long-term insomnia and constant worrying can both be treated. The help on offer is better than many people realise.
In the UK, you can refer yourself for CBT-I and other therapies. Use your local NHS Talking Therapies service at nhs.uk.
A 2020 review found CBT-I works better than sleeping pills for long-term insomnia.
Source: Annals of Internal Medicine, 2020
This article is a starting point, not a diagnosis. If you're worried about your sleep or mental health, please speak to a professional.
Frequently asked questions
Why do I overthink more at night than during the day?
In the day, outside demands compete for your attention. Unsettled thoughts don't get dealt with. They get queued. At night, the noise drops and the queue starts up.
A 2000 study called this busy thinking before sleep. Your brain isn't getting more anxious. It's just finally got its turn. The fix is to clear the queue before bed, not to fight your thoughts once they start.
How long does it take to stop overthinking at night?
Most people see a real change within 1 to 2 weeks of keeping their bed for sleep. That means getting up when your mind is busy. A set worry slot also tends to cut bedtime thoughts within 7 to 10 days. It's not instant. But it works reliably if you stick with it.
Is overthinking at night a sign of anxiety?
Not always. It often comes from a busy day and too little wind-down time. That's different from an anxiety disorder.
But some signs are worth raising with your GP. These include low mood that won't lift, a racing heart, or big disruption to your day. In many areas, NHS Talking Therapies can offer treatment without a long wait.
What should I write in a journal to stop overthinking at night?
Keep it short and structured. Write tomorrow's 3 most important tasks. Write any unfinished jobs, with a next step for each. Then write one thing that went well today.
This gets planning out of your head. It settles unfinished jobs. And it ends on a good note, not an anxious one. Five minutes before bed, done often, works better than a long session now and then.