The moment you lie down, your brain remembers everything. The appointment you have not booked, the message you meant to send, the thing you need from the store. It can feel as if the bed has become the first quiet place where your mind can finally bring up its agenda.
That does not mean you need to solve the list before sleep. Often the immediate need is to know you will remember it later. A small paper notebook or note card beside the bed can give those thoughts somewhere to go.

Capture the reminder, not the whole project
When a task shows up, write a few words: "call dentist," "send deck," "buy detergent." If it is more complicated, write the next action rather than the entire plan. You are making a reminder for tomorrow, not asking yourself to finish the work from bed.
Once it is written down, close the notebook. Avoid checking your calendar or opening email to add more detail. Those tools can pull the rest of the day back into the room. If you use a phone note, consider writing it without opening other apps, then setting the phone aside again.

Give the list a boundary
It may help to decide when you will look at the note: after breakfast, at the start of work, or when you sit down with your calendar. This makes the reminder feel contained. You are not ignoring the task; you are choosing a better time to meet it.
If the same worry keeps returning, try adding one short line about the next step. "I will ask about the appointment tomorrow morning" is more useful than repeating the whole concern. The rest can wait until the time you have chosen.

You do not have to solve tomorrow to prove you will remember it.
Over time, this small practice can make bedtime feel less like an inbox. It will not prevent every thought from appearing, and it does not need to. The aim is simply to stop treating each thought as an urgent request. Write it down, set a boundary around it, and let the night return to being a night.
Research note
The "write it down and return tomorrow" idea is grounded in the study of bedtime cognitive arousal and unfinished-task planning. See Scullin et al. (2018), "Bedtime writing and sleep onset," Journal of Experimental Psychology: General — doi.org/10.1037/xge0000374.