1. Write the dream down before you rewrite it
Do this before you check your phone, before coffee, before you tell yourself it meant nothing. Keep a notebook on your nightstand specifically for this. The act sounds small and a little precious, like something a teenager does, but there is a real reason for it. The moment you sit up and start moving through your morning, your brain begins editing. Details soften. The uncomfortable ones especially. Memory is unkind to truth in a kind way, and dreams are even more vulnerable to that revision than waking memories are. What felt disturbing at 3 a.m. starts to feel romantic by 7.
Writing it down while it is still raw does two things. First, it gives you an honest record instead of a curated highlight reel your loneliness can screen on repeat. Second, it moves the dream outside your head and onto paper, which creates just enough distance to look at it rather than live inside it. You may notice, over time, that the dreams are not actually about your ex as they are now. They are about a version of that person, one that only exists in a document your brain keeps revising. That is useful information. Use it.
2. Notice what the dream was actually about
Not symbolically, not in a cosmic sense. Practically. Were you being left? Were you arguing and they finally heard you? Were you back together and everything was fine in that flattened, consequence-free way that only exists in dreams? The content matters because it tells you what your brain is still trying to work out.
Research consistently shows that the version of a relationship people replay is sweeter than what they actually lived. The mind sands the rough edges off, particularly the recent, painful ones. So when you dream about the good version of them, you are not being reminded of something real. You are being shown your own edited footage. The fights that happened weekly in real life do not make the highlight reel your sleeping brain keeps screening.
If every dream ends in abandonment, your brain might be rehearsing a fear that predates this relationship entirely. If every dream ends in reconciliation, it is worth asking what, exactly, you want reconciled, because sometimes it is the relationship and sometimes it is just your sense of yourself as someone who deserved better. Those are very different things, and only one of them requires another person.
3. Do not contact them because of the dream
The dream felt so real. They seemed so close. Your first waking thought was that maybe it was a sign, or at least a reasonable excuse. It was not. And this is the place to be honest with yourself, because the impulse to reach out after a vivid dream is one of the most reliable traps in early breakup recovery.
Research is consistent on this point: mixed feelings about an ex are not a signal to make contact. They are often the result of continued contact. The wanting and the dread feed each other in a loop that feels like emotional depth but is actually emotional weather. You go back, you feel worse, the feelings intensify, the dreams intensify, and the loop gets tighter.
Sleeping with an ex does not provide closure. It gives you another data point in a dataset that already has too many entries. The body remembers what the mind is working hard to move past, and one night resets weeks of progress in ways that are genuinely unkind to yourself. The dream felt like a reason. It was not. It was your brain doing maintenance. Let it finish without handing it new material.
4. Get out of bed and change the physical state
This sounds less poetic than the other items on this list, and it works better than most of them. When you wake from a dream about your ex, your nervous system is already activated. Your heart rate is up. Your body is flooded with whatever chemical cocktail the dream produced, grief or longing or anger or all three at once. Lying there staring at the ceiling is just marinating.
Get up. Drink water standing in the kitchen. Wash your face with cold water. Put your feet on a cold floor. Go sit somewhere other than where you sleep. These are not metaphors. Physical state changes interrupt the emotional loop that would otherwise run for the next two hours while you lie there replaying the dream and composing texts you should not send.
You do not need to meditate or exercise or do anything that requires sustained effort at 3 a.m. You just need to put your body somewhere different than where the dream happened. The bedroom is already associated with them in ways that are hard to overstate. Get out of it for ten minutes. Make tea. Look at something dull on your phone, something with no connection to them, a weather app, a recipe, anything that requires mild cognitive attention rather than none at all.
5. Stop reviewing their social media before you sleep
You already know this one. You know it so well that reading it probably produced a small internal wince. The link between anxious attachment and ex-partner monitoring is well-documented at this point. If you cannot stop scrolling their feed, that impulse is older than this breakup. It is the same wiring that made you check your phone constantly when you were together, waiting for a response, reading tone into a three-minute delay. The relationship is over and the habit is not, and it is feeding the dreams directly.
What you look at before you sleep goes somewhere. The face you stared at for twenty minutes at 11 p.m. shows up restructured and emotionally charged at 2 a.m. This is not mysterious. It is just how memory consolidation works during sleep. You are literally programming the night.
The practical fix is not complicated even if it is not easy: do not look at their profiles after 8 p.m. Or ideally, at all. Mute, restrict, or remove them from the feeds you scroll at night. If you catch yourself typing their name into a search bar on autopilot, which will happen, notice it as information rather than a moral failing, and close the app. The dreaming will not stop overnight, but you can at least stop actively scheduling it.
6. Talk to someone who is not in your shared social circle
This is where so many people get stuck. The people who know your ex, the mutual friends, the ones who still see them at parties or follow them online, are not the right audience for what you are carrying at 3 a.m. Not because they do not love you, but because every conversation with them is complicated by what they know and what they are not saying and which version of events they have already absorbed.
You need at least one person in your life right now who is entirely yours. A friend from before the relationship. A therapist. A family member who never met your ex and has no stake in the outcome. Someone who can listen to you describe the dream without filtering it through loyalty or diplomacy or their own unresolved feelings about what happened.
If that person does not currently exist in your life, it is worth finding a therapist, even a short-term one. Not because the dreams mean something is wrong with you, but because the kind of honest, unfiltered processing that actually helps you move forward is harder to do alone than most people want to admit, and it is almost impossible to do in conversations where the other person has a vested interest in the story.
7. Give your brain something new to file
The dreams are persistent partly because your brain does not have much else to work with. You spent months or years accumulating memories, associations, and emotional data about this one person, and then the input stopped. Your sleeping brain keeps returning to the file because it is the most densely packed one in recent storage.
The answer is not to force yourself to feel nothing. It is to start generating new material. Not to replace them, not to prove anything. Just to give your brain new experiences to process, so that the ex-folder is not the only one open.
This means actually doing things, not just thinking about doing things. A class you signed up for and have not attended. A friendship you have been too distracted to maintain. A neighborhood you have never walked through. New sensory experiences, new conversations, new small irritations and small pleasures. The brain files all of it. As we also explore in our piece on toxic thoughts about your ex, the goal is not to stop thinking about them by force but to dilute the concentration over time with genuine new input. That takes longer than you want it to, and it works.