sandman

What writing before bed actually does to your sleep and dreams

What writing before bed actually does to your sleep and dreams

There's more research than you'd expect on what happens when you put pen to paper before sleep. It changes how fast you fall asleep, what you dream about, and how much you remember.

Jacob Lowe

Jacob Lowe · Founder of Sandman

Published on Apr 23rd · 6 min read

I kept noticing something in Sandman's community. People who jot something down before bed, even just a sentence about their day, seem to report more vivid dreams and better recall the next morning.

Most dream journaling advice focuses on the morning. Write immediately after waking, before the details dissolve. That part is well-established. But this other thing, writing before sleep, doesn't get talked about much. I got curious about whether it actually does anything, or if the people reporting it were just more dedicated journalers in general. So I went looking for what the research says.

It says more than I expected.

Your brain can't stop planning

The first thing researchers figured out is that writing before bed changes how quickly you fall asleep. But not all writing works the same way.

In 2018, Michael Scullin's lab at Baylor University ran a polysomnography study where people slept in a lab with electrodes on their head, so the data is precise. They split 57 people into two groups. One group spent five minutes writing a to-do list for the next few days. The other spent five minutes writing about tasks they'd already completed.

The to-do list group fell asleep in about 16 minutes. The completed-tasks group took about 25. Nine minutes faster, just from offloading unfinished business onto paper.

The researchers think the mechanism is cognitive offloading. When you have undone tasks rattling around in your head, your brain keeps rehearsing them. Writing them down signals that the information is stored somewhere external, so the rehearsal loop quiets. The more specific the to-do list, the faster people fell asleep. Vague lists didn't help as much.

This tracks with what sleep researchers call pre-sleep cognitive arousal, the racing thoughts that keep you up. A 2009 study on gratitude journaling found something similar: people who wrote down things they were grateful for before bed had more positive pre-sleep thoughts and fewer negative ones. They slept longer and reported higher sleep quality. The writing itself wasn't the treatment. The shift in what their brain chewed on as they drifted off was.

You can aim your dreams

Here's the part that's more interesting for dream journalers. Writing before bed also seems to influence what you dream about.

Deirdre Barrett, a psychologist at Harvard, has studied dream incubation for decades. Her method is simple: before sleep, spend 10-15 minutes focused on a specific question or problem. Write it down. Look at it. Think about it as you drift off. In her studies, about half of participants dreamed about the targeted topic, and roughly half of those reported that the dream contained something useful. A new angle, a possible solution, a reframing they hadn't considered while awake.

Barrett describes dreaming as "thinking in a different biochemical state." The brain doesn't stop working on your concerns when you fall asleep. It just works on them with looser associations and more visual thinking. The writing-before-bed part acts like a bookmark. It tells your sleeping brain which thread to pick up.

MIT's Media Lab took this further with their Dormio project. In 2023, they used a device that detects sleep onset and delivers audio prompts during hypnagogia, that brief semi-lucid window right as you're falling asleep. People who received targeted prompts (like "think about a tree") produced stories afterward that were rated 43% more creative than control groups.

You don't need a device to use a softer version of this. Writing a question or topic in your journal before bed is a low-tech form of dream incubation. It won't work every night. But over time, many dream journalers find that pre-sleep focus on a topic increases the odds of dreaming about it.

Writing reactivates what your brain has to work with

There's a well-supported idea in dream research called the continuity hypothesis: dreams reflect waking life. Your brain doesn't generate dream content from nowhere. It pulls from recent experience, weighted by emotional intensity.

What's relevant here is that writing is itself an experience. When you sit with your journal before bed and describe something that happened, you're reactivating that memory. An argument, a good conversation, something unresolved. You're bringing it into the window of recency that the dreaming brain draws from.

A 2024 scoping review looking at 29 studies on pre-sleep stimuli found that incorporation rates into dreams ranged from 3% to 43% depending on the stimulus and sleep stage. The range is wide, but the direction is consistent: what you engage with before sleep shows up in dreams at higher-than-chance rates.

And there's a timing factor. Research on the dream-lag effect shows that personally significant experiences appear in dreams on day one and again on days five through seven. The events that make it through that second window are the ones with emotional weight. Writing about something before bed may be a way of flagging it. Signaling to your brain: this matters, process it.

The recall loop

There's one more angle that's less studied but widely reported: writing before bed seems to improve dream recall the next morning.

The formal research on this is mostly about intention-setting. Telling yourself "I will remember my dreams tonight" before sleep seems to improve recall, possibly by priming the prefrontal cortex to pay attention during the sleep-wake transition. Writing that intention down may strengthen the effect, though I haven't found a controlled study that isolates written intention from spoken or mental intention specifically.

What I have found is a lot of experienced dream journalers saying the same thing: when they write before bed, they wake up with more to report. It could be that the act of journaling at night creates a cognitive bookend. Your brain associates the journal with dreaming, and engaging with it before sleep activates that association upon waking. Or it could be that people who write before bed are simply more engaged with their dream practice overall.

Either way, the pattern is consistent enough that it's worth trying.

Two journals or one

Some people keep their pre-sleep writing separate from their dream journal. A few lines about the day, or a question they want to think about, or a to-do list dump. Then the dream journal stays for the morning. Others use the same book and just flip the page.

The research doesn't prescribe a format. But a few things seem to matter.

Five minutes is enough. The Baylor study found that five minutes of writing produced the sleep-onset effect. You don't need to write an essay.

Specificity helps. Vague writing ("I'm stressed about work") is less effective than specific writing ("I need to email the client about the deadline change, then prep slides for Thursday"). The more concrete, the more your brain can let go.

If you want to influence dream content, don't just list facts. Write about how something made you feel, or phrase a question you genuinely care about. Barrett's incubation research works better when the topic carries real emotional weight for you.

And morning writing is still the priority. Nothing replaces capturing the dream itself within that first window after waking. Pre-sleep writing is a supplement, not a replacement.

What this looks like in practice

The morning journal captures. The evening journal seeds. They do different things, and the research supports both.

If you already journal your dreams in the morning, adding a brief pre-bed writing habit is probably the lowest-effort change with the most upside. You don't need a ritual. A sentence or two about what's on your mind, or a question you'd like to dream about, is enough to shift what your brain works on as you fall asleep.

I wouldn't promise results on any given night. But over weeks, the research and the reports from long-term journalers point the same direction: what you write before bed shows up in your dreams more often than what you don't.

About the Author

Jacob Lowe

Jacob Lowe

Founder of Sandman

Jacob is a web developer with over a decade of experience in the field. His passion for coding and open-source technologies drives his desire to create and innovate. He believes that through technology, we have the power to increase access to new experiences and make a positive impact in the world. At the heart of his work lies a love for nature and the beauty of the natural world. He finds solace in the stillness of nature and the abstractions of code.

Remember your dreams