MModern Wisdom
← All frameworks
Self-MasteryDr Matthew Walker

Image Rehearsal Therapy for Recurring Nightmares

Rewrite a nightmare's ending while awake, then sleep to overwrite the original

Difficulty
Moderate
Time to result
~weeks to results
Steps
5
Confidence
80%

IRT exploits memory reconsolidation. Walker's group helped establish that a memory, once formed, is fixed by sleep — but recalling it the next day reopens it to being molded before it is re-cemented on the next sleep. IRT uses this deliberately: with a therapist, the person rehearses their recurring trauma dream, which by definition reopens the memory for editing. Together they convert the ending into a neutral or safe resolution. The person practices this rewritten version daily on a timer, then sleeps, reconsolidating the updated memory. Repeated night after night, the traumatic dream is progressively overwritten, and the frequency of nightmares decreases in proportion to how often the new version is rehearsed. It is a rare psychological (non-drug) treatment for a symptom that historically had few good options.

Origin

Dr Matthew Walker described IRT on Modern Wisdom, grounding it in his lab's 2003 discovery that recollecting a memory reopens it to change (reconsolidation).

Core principles

  • 01Recalling a memory reopens it to editing before it re-solidifies
  • 02Sleep re-cements whatever version of a memory you last held
  • 03A neutral rewritten ending can displace a traumatic one
  • 04Repetition is what makes the new version stick
  • 05Nightmare frequency falls in step with rehearsal frequency

How to run it

  1. 1

    Surface the recurring nightmare with a therapist

    Identify the specific repetitive trauma dream. IRT is best done with a therapist guiding the rehearsal and rewrite.

    Watch out Trauma work can be destabilizing; professional support matters, especially with PTSD.

  2. 2

    Rehearse the dream to reopen the memory

    Deliberately bring the trauma dream back to mind. Recollecting it reactivates and reopens the memory, making it susceptible to editing.

  3. 3

    Rewrite the ending

    With the therapist, convert the ending into a neutral, safe resolution — for a crash dream, you reach the light, brake, pull the handbrake, decelerate and pull safely to the side.

    Pro tip Choose a genuinely neutral or benign ending so there is no residual charge to reconsolidate.

  4. 4

    Rehearse daily on a timer

    Practice the rewritten scenario every day, using a timer, so the new version is repeatedly brought to mind and strengthened.

  5. 5

    Sleep to reconsolidate the new version

    After rehearsal, sleep re-cements the updated memory. Over multiple nights the morphed, neutral version replaces the original trauma dream.

    Pro tip Nightmare frequency falls in proportion to how consistently you repeat the rehearsal.

In the wild

Rewriting a car-crash nightmare

Walker's illustrative case is a recurring nightmare of a horrific car accident where the brakes fail and the dreamer is sideswiped at a junction. In IRT, the person rehearses the dream to reopen the memory, then rewrites it: approaching the light, hitting the brake, reaching down to pull the handbrake of the manual car, decelerating and steering safely to the roadside. Practiced daily on a timer and reconsolidated through sleep, the traumatic ending is gradually morphed, and the frequency of the trauma dreams decreases night after night.

The recurring nightmare's frequency declines as the rewritten, neutral version takes hold.

Common mistakes

Rewriting once and stopping

A single rehearsal isn't enough; the new ending must be repeated over many days for reconsolidation to overwrite the original.

Choosing a still-charged ending

If the rewritten resolution retains fear or distress, sleep reconsolidates that charge instead of neutralizing the dream.

Is it for you?

Best for

People with repetitive nightmares, including trauma survivors, ideally working with a therapist.

Not ideal for

Occasional bad dreams with no distress or recurrence, where no intervention is needed.

From the transcript

when you come back the next day if you recollect... it opens that memory back up to being fragile and susceptible to being molded and…

Matthew Walker · 158:30

you rewrite the memory and then you get them to sleep and now it reconsolidates the updated version... the frequency of them decreases

Matthew Walker · 160:30

From the episode

The Science Of Perfect Sleep - Dr Matthew Walker - #883

Dr Matthew Walker