How to Write a Plot Twist Nobody Sees Coming

By Updated 12 min read

How to write a plot twist: start with the truth your hero will learn and work backward from it. Pick two or three details the reader will first explain another way, and decide what the hero does once the truth is out. Below: twist types, six steps, an example and a template you can play out with AI in aimy.

A person in a coat climbs a spiral staircase through night clouds; past its sharp turn glows a speech-bubble cloud
Illustration generated with AI

Key takeaways

  • A plot twist suddenly changes the direction of a story. The strongest twists also make you reread what came before in a new light.
  • Write it backward: first the truth the reader will learn, then the clues that lead to it.
  • A fair twist surprises without cheating: the clues were on the page all along, their meaning just came clear later.
  • A red herring needs its own reasonable explanation and has to lead somewhere, or the reader feels played.
  • In AI roleplay, decide up front who holds the secret, you or the model, and where that secret is written down.
Contents
  1. What is a plot twist?
  2. What are the main types of plot twists?
  3. How do you write a plot twist in six steps?
  4. How do you foreshadow a twist without cheating the reader?
  5. Why does a plot twist feel forced?
  6. Example: a twist built around a letter from the archive
  7. How do you set up a plot twist in AI roleplay?
  8. Plot twist template
  9. Bottom line

What is a plot twist?

A plot twist is an event after which the situation looks different, either to the hero or to the reader. Wikipedia describes it as a radical change in the direction of the plot.

For a mystery, one kind of twist is especially useful: the one that gives a familiar scene a second meaning. TCK Publishing describes a good twist as one that sheds new light on earlier events and calls it a paradigm shift: the reader now understands what already happened in a different way.

Here's a simple test. If the truth is what you say it is, which earlier scene takes on a new meaning? If the reader wants to flip back and reread a conversation that seemed like filler, the twist works. If the earlier scenes read exactly the same, you still have a twist, just a different kind, such as a sudden change in the hero's fortunes.

A twist ending is its own case: a reversal at the very end that changes the meaning of the whole story. But a twist doesn't have to come last. It can land in the middle and launch the second half of the plot.

What are the main types of plot twists?

It's easiest to tell the types of plot twists apart by what changes: what the hero knows, whom the reader suspects, or the situation itself. The lines between types are blurry. The table mixes classic examples with made-up situations. Spoilers ahead.

Type What it overturns Example
Recognition (anagnorisis) Characters learn the truth about someone else or themselves Pride and Prejudice: Darcy's letter shows Elizabeth that Wickham lied to her about him
Unreliable narrator The narrator presents events as other than they were The inspector says he opened the envelope first, then admits the seal was already broken
Red herring Suspicion falls in the wrong place The Hound of the Baskervilles: Barrymore signals with a candle at night; it's for Selden, his wife's brother
Reversal (peripeteia) Good fortune suddenly turns to bad, or the other way around Gogol's "The Overcoat": Akaky's new coat is stolen on his way home from a party
Ally turns enemy Someone the hero trusted is working against them A mentor, friend or helper with a secret plan
False victory The conflict seems solved, but a new one begins The culprit is caught, but someone else gave the order
Shift in motive A new truth changes what the hero wants Revenge loses its point once it's clear who was really to blame

Flashbacks and last-minute rescues work differently. A flashback moves the action into the past; it becomes a twist when the scene it shows changes how we understand the present. Deus ex machina ("god from the machine") is an ending brought about by an outside force nobody set up. Wikipedia notes that the term is now mostly used as criticism.

If your twist is an ally who turns out to be an enemy, decide what that character gains while the hero still trusts them. A real goal behind the betrayal keeps it from feeling arbitrary; the guide on how to write a villain walks through working out that kind of character's motive and methods.

How do you write a plot twist in six steps?

If a finished story is missing a twist, don't start with a random event. It's safer to go in reverse, from the answer to the clues. If you don't have a story yet, start with a plot outline: a twist is easier to build in when you know the hero's goal and the obstacle. The roleplay plot ideas list has premises to start from.

1. Start with the truth. Decide exactly what the reader will learn. Writer's Digest advises knowing where you're going before you plant anything, then working backward to choose which details to show earlier. Write the truth in one sentence: "The heroine's mentor swapped out the manuscript himself."

2. List options without judging them. ProWritingAid suggests coming up with 5–10 possible twists and then throwing them all out, because if they came that easily to you, readers will see them too. Final Draft suggests a related exercise: list at least ten obvious directions the story could take, then keep going until something unexpected turns up. At minimum, set aside the options that repeat your first guess.

3. Check that the twist changes the past. Take two or three scenes you've already written and reread them knowing the answer. If they read differently, that's your option. If not, the twist may stay just an event.

4. Find clues in what's already there. Don't add clues on purpose at first: look for them in the existing text. A character's habit, a slip of the tongue, a detail of the setting often already point at the truth; you just need to lock them in.

5. Explain why the wrong answer looks right. The reader should reach the wrong conclusion honestly, from the same evidence. That's what a red herring is for; more on it in the next section.

6. Think through the consequences. ProWritingAid stresses tying a twist into the story with enough foreshadowing and real plot consequences. What will the hero do once they know the truth? If the answer is "nothing," the twist stays a magic trick instead of part of the story. A good twist usually sharpens the conflict: afterward, the hero has fewer options or a different task.

Take one clue and ask the AI for two explanations of your clue. Don't reveal the answer yet. If both explanations lead straight to it, the clue is too loud.

How do you foreshadow a twist without cheating the reader?

For a twist that reframes the past, you plant clues in advance. Jerry Jenkins puts the goal this way: plant enough clues that readers are surprised but don't feel swindled. The clues should be quiet: a reader can notice the detail right away, but its meaning only comes clear after the reveal.

Chekhov's gun. In a letter to Alexander Lazarev (Gruzinsky) dated November 1, 1889, Chekhov wrote that you shouldn't put a loaded rifle on stage if no one intends to fire it. For a twist, that gives you two rules. The detail that will go off later has to appear earlier. And a detail that leads nowhere is better cut: it distracts but never pays off.

Show the clue while attention is elsewhere. Writer's Digest advises burying key moments under tension, humor or misdirection, so they seem unimportant until the reveal. Here's how to use that in a scene:

  • put the important thing in the middle of a line and let the end of the line grab the attention;
  • show the detail in a scene where the hero is rushing to do something else;
  • pass the clue off as a joke or a character quirk;
  • set two details side by side and make one louder than the other.

Red herring. This is a clue that sends suspicion the wrong way; Wikipedia defines it as a false clue meant to lead the audience to a mistaken conclusion. To keep a red herring from turning into cheating, give it two things. First, its own reasonable cause: the suspicious character really is hiding something, just not what the reader thinks. Second, a consequence: the thread leads somewhere instead of just stopping. Jenkins calls a red herring "a dead end with a reasonable explanation" and warns that misdirection can frustrate your audience if you're not careful.

Reread like a suspicious reader. One more Writer's Digest tip: go back through the text with the eyes of someone hunting for the trick. Trim the clues that hint too loudly, and add ambiguity where a scene feels too clean.

Why does a plot twist feel forced?

If readers react to your twist with "that would never happen" or "I knew it," check this list.

Mistake What to do about it
The twist isn't set up Find 2–3 earlier spots where the truth could have flashed by
A coincidence or outside force saves the day Let the hero's own action lead to the resolution
The clues are too obvious Keep the quietest ones, cut the loud ones
A twist for the sake of a twist Go back to step 3: does it change the meaning of earlier scenes?
It cheapens what came before Keep the meaning of what the hero went through
Twists pile up one after another Keep one major twist; make the rest small shifts

ProWritingAid warns against dropping in a random twist just to have one, and Final Draft adds that a twist that doesn't suit the story shouldn't be forced. Don't let a chain of surprises replace the hero's story, and don't make the twist erase what the hero has already lived through.

Jenkins suggests limiting yourself to one plot twist per book; treat that as a guideline, not a ban. Among the worn-out moves, he lists the "it was all a dream" ending, long-lost family and the character presumed dead who comes back.

A word on deus ex machina. An ending delivered by a force never shown before takes the choice away from the hero: nothing depended on them. If outside help does arrive, show not just that help was possible but what the hero did to bring it.

Example: a twist built around a letter from the archive

Vera Lane, 34, a conservator at the city archive, recognizes her own handwriting on a letter. But she never wrote it. Let's walk through this made-up example step by step.

The setup. One evening, Inspector Glen Orton, 47, comes to see Vera. The day before, he took a folder for tomorrow's audit of the collection, and between the pages of the inventory he found a letter: "I took the manuscript. V. L." The date on the letter is tomorrow's. The manuscript is a rare 18th-century document kept in the department safe.

The truth in one sentence (step 1). Vera's mentor, senior curator Arthur Sevier, 61, swapped the manuscript for a copy six months ago. He wrote the letter himself, imitating Vera's hand, so the audit would pin the blame on her.

Options set aside (step 2). Vera wrote the letter herself and forgot: a worn-out move. A real letter from the future would turn an archive mystery into fantasy. The inspector set it all up: he has no motive.

Checking an earlier scene (step 3). Before the reveal, Sevier volunteers to check the safe himself, and Vera is grateful he took extra work off her plate. After the reveal, the same favor looks like an attempt to keep her away from the copy.

Clues (step 4). Now plant details in the early scenes that hold up under both readings.

Clue How it's hidden How it reads after the twist
Sevier corrects how Vera writes her capital "L" Looks like an old mentor's nitpicking He knows the quirks of her handwriting well. Not proof yet, but a reason to look closer
The audit is tomorrow An everyday complaint: the audit canceled her day off The date isn't mystical, it's a deadline
Sevier checks the safe himself every week Looks like an experienced curator's fussiness He was making sure no one noticed the swap

Red herring (step 5). Owen Kline, 29, who works in the reading room, has been asking about the safe. His reason is his own and honest: he's preparing an exhibition, and before moving to the reading room he photographed manuscripts for the catalog. The thread doesn't just stop: his old photo shows a tear in a page that the copy in the safe doesn't have.

Consequences (step 6). Vera asks the audit committee to compare the original in the photo with what they're asking her to sign off on. The photo doesn't name the culprit, but it proves the swap. Now Vera needs to work out who had access to the safe, and suspicion falls on the person she trusted most. The scenes where Sevier looked out for her now read all over again.

Notice that the twist here is "the ally turns out to be the enemy," but what holds it up isn't the move itself. It's three quiet details and an honest red herring. If you want to give Sevier more depth, invent an event from his past that explains the swap; the character backstory template will help.

How do you set up a plot twist in AI roleplay?

In AI roleplay, two of you write the story, so first decide who knows the answer. If you need the basics of turns and out-of-character notes, start with the guide to roleplaying with AI.

Only you know the answer. Keep the truth in your own notes, and send the chat only what your character sees and hears: a find, a slip, a question. The model may land on the right guess by itself. In that case it's just the model's theory, and the clue that tipped it off should be made quieter. Play the talk with the inspector as Vera: show him the letter, but don't explain why the date matters.

The model knows the answer. Then you need to write it into the description of the character or narrator. In aimy.chat, a long text fits into the character description (with PRO, up to 2,000 characters per field). For this scene, write down three things:

  1. The truth in one sentence.
  2. Two or three clues the character can let slip, without explaining them.
  3. A condition for the confession: "Confesses only if shown the photo from the catalog."

Also, the chat opens with a greeting the character writes itself from its description, and creator beta testers with PRO can also write the first message by hand. The answer shouldn't be in it at all: let the first message only set the scene. For example, the inspector lays the letter on the table and waits in silence.

Nobody knows the answer. You can ask the model out of character for options: "((Suggest five twists for this story, briefly. I'll choose.))" It's a quick way through step 2. But still check the option you pick against steps 3 and 4: drop any twist that has no clue in the scene at all.

What can go wrong. If the confession comes before the condition is met, remind the model with an out-of-character note. If the same hints keep repeating, give the scene new material: a find or a new witness. Why the AI gets stuck in loops and how to fix it is covered in the article on why AI keeps repeating itself.

For D&D, write down where the party can still get the clue if they miss the first encounter: a clue that lives in only one scene is easy to lose. How to run that kind of campaign with an AI is covered in the AI Dungeon Master guide. For fanfic, check each clue against canon: could this character actually know what gives them away in the conversation? For more on working with canon, see AI for writing fanfiction.

Plot twist template

Copy it and fill it in. If a line is hard to fill, go back to that step.

The truth (one sentence):
What the reader thinks before the twist:
Which scenes now read differently:
Clue 1 — where it's hidden:
Clue 2 — where it's hidden:
Clue 3 (optional):
Who looks guilty:
Which clue points to them:
What they're really hiding:
How that helps the hero:
What the hero does after learning the truth:
Options I set aside:

For AI roleplay, add two lines: "Who knows the answer: me / the model" and "Condition for the confession." If the model knows the answer, move the truth, the clues and the condition into the character description, and save the opening of the scene for the first message.

Below is a sample opening, not a record of an actual chat. The plot comes from the example above, but you can invent your own answer. Free: 100 messages a day and your first AI character of your own. Once you've picked your first clue, open the scene with the archive letter.

Bottom line

A good plot twist runs on preparation, not shock. Start with the truth the reader will learn and work backward. List lots of options and set aside the ones that repeat your first guess. Choose the one that makes earlier scenes read differently.

Show two or three clues while attention is elsewhere, and give your red herring its own honest reason. Think through what the hero does once they know the truth. And after the reveal, go back to the first clue: if before the confession it supported the innocent reading and afterward it explains the act, your story has a second reading.

Play a scene where one clue changes everything

Roleplay without lectures · one-click sign-in

Free: 100 messages a day and your first AI character of your own

Or with

400,000+ sign-ups · 18+

By continuing, you agree to the Terms and Privacy Policy.

FAQ

What is a plot twist, in simple terms?

It's an event that suddenly changes where a story is going or how it seems likely to end. The most memorable twists also change the meaning of the past: a friend turns out to be an enemy, a throwaway detail becomes the key, and the narrator turns out not to be who they claimed.

How do I come up with a twist when every idea feels obvious?

Write down ten to twenty options in a row without judging them. Set aside the ones that repeat your first guess, because the reader will probably make that guess too. From what's left, pick the option that rests on details you've already shown and makes earlier scenes read differently.

How many clues should I plant before a twist?

There's no exact number. For a first draft, try two or three details in different scenes. If beta readers guess the ending early, ask what gave it away and soften that detail. If after the reveal no one can remember a single clue, you planted too few or buried them too deep.

What's the difference between a red herring and cheating the reader?

A red herring leads to a conclusion that's reasonable given the evidence, and it has its own reason to exist in the plot. Cheating is when the author hides something the reader should have been able to see, or plants a clue that never leads anywhere.

Does a twist have to come at the end?

No. A twist in the middle gives the hero a new choice and launches the second half of the story. At the end, it can change the meaning of a choice already made. Just avoid stacking several similar twists in a row: each new one weakens the one before it.

How do I pull off a plot twist in roleplay with an AI?

First decide whether only you know the answer. If so, feed the chat clues only and keep the truth in your own notes. If you tell the AI the answer in advance, set a condition for the confession, but don't count on the model always honoring it: watch for the truth slipping out too early.

Sources

  1. Plot twist — Wikipedia
  2. Chekhov's gun — Wikipedia
  3. Red herring — Wikipedia
  4. How to Write a Plot Twist: 20 Tips for Success — ProWritingAid (Hannah Yang)
  5. How to Write a Fantastic Plot Twist — Final Draft (Brianne Hogan),
  6. How to Write Plot Twists: Your Complete Guide — Jerry Jenkins,
  7. How to Plant Clues Without Giving Away the Ending — Writer's Digest (Jen Craven),
  8. Killer Plot Twists in Fiction — TCK Publishing (Tom Corson-Knowles)
What changed
  • — First version.

What next

What nextHow to Roleplay with AI: A Beginner's Guide (with an Example Scene)

Related articles

Characters & stories

Character Motivation: What Drives Your Hero

How is character motivation different from a goal, a fear or a need? Build a motive in six steps, copy the template and see how to show it through a choice.

All articles

Continue in aimy

Free: 100 messages a day and your first AI character of your own

Or with

400,000+ sign-ups · 18+

By continuing, you agree to the Terms and Privacy Policy.