How to Write a Mystery Story and Plant Clues
Table of contents
- What is a mystery story?
- How is a mystery story structured?
- What are the fair-play rules of mystery writing?
- How do you plant clues in a mystery story?
- How do you use red herrings?
- How do you write a memorable detective?
- How do you write a satisfying mystery reveal?
- Example: a mini mystery with clues explained
- Try it on storygenerator.io
- Frequently asked questions
- Read next
A good mystery is a game between you and the reader. You hide the answer in plain sight, they try to find it, and on the last page they should think, "I should have seen that." If they think "that came out of nowhere," you've lost. This guide shows you how to write a mystery story that plays fair and still surprises. For a quick warm-up, our AI story generator has a Mystery genre that drafts a full case from one line.
Quick answer: To write a mystery story, start with the solution, then work backward. Decide who did it, how and why, create several believable suspects, and plant real clues early in scenes where readers won't focus on them. Add red herrings that point elsewhere, let the detective reason through the evidence, and reveal an answer that fits every clue.
Key takeaways
- Plan the solution first. Mysteries are written backward and read forward.
- Fair play means the reader sees every clue the detective uses.
- Hide clues by burying them in lists, action or emotional moments.
- Red herrings must have their own innocent explanation by the end.
- The reveal should be surprising and inevitable at the same time.
What is a mystery story?
A mystery story is a story in which a crime or puzzle is solved through clues, usually by a detective figure. The central question is often "whodunit?", but it can also be how a crime was done, why, or whether a crime happened at all.
Mystery is one of the classic types of stories, and it has several flavors:
| Mystery type | What it is | Typical tone |
|---|---|---|
| Cozy mystery | An amateur sleuth in a small community, little on-page violence | Light, warm |
| Classic whodunit | A closed circle of suspects and a clever detective | Puzzle-focused |
| Police procedural | Detectives follow real-world investigation steps | Realistic |
| Hardboiled / noir | A tough investigator in a corrupt city | Dark, cynical |
| Locked room | A crime that seems physically impossible | Puzzle-heavy |
| Kids' mystery | Young detectives, safe stakes (a missing pet, a stolen trophy) | Fun, curious |
How is a mystery story structured?
A mystery story is structured around three layers: the crime, the investigation and the reveal. Most follow these beats:
- The hook. A body, a disappearance, a theft or a strange event. Get here fast.
- The detective commits. Something makes the detective take the case: duty, curiosity, guilt or being a suspect.
- Suspects and early clues. Introduce three to five suspects, each with a motive and a secret.
- Complications. A second crime, a false lead, or the detective's own life gets in the way.
- The midpoint turn. A discovery changes what the case is really about.
- The low point. The wrong person is arrested, or the detective is warned off.
- The insight. One small detail clicks.
- The reveal. The detective explains the truth and the culprit is exposed.
- The aftermath. A short scene to settle emotions and loose ends.
Write it backward. Before drafting, write a paragraph describing what really happened, minute by minute, from the culprit's point of view. Then decide which traces of that truth the detective could find. Those traces are your clues.
Need help with the shape of the plot? The story plot generator can give you a full outline to adapt.
What are the fair-play rules of mystery writing?
The fair-play rules say the reader must have the same chance to solve the crime as the detective. Every clue used in the reveal must appear on the page before the reveal.
Two famous lists from the "Golden Age" of detective fiction still shape this idea:
- Ronald Knox's "Ten Commandments" (1929). The crime writer and priest set out rules such as: the criminal must appear early in the story, no supernatural solutions, no more than one secret room or passage, no unknown poisons, and the detective must not hide clues from the reader. You can read the full list on Knox's Wikipedia page. One of his rules reflects the prejudice of its time, which is a good reminder these lists are history, not law.
- S.S. Van Dine's "Twenty Rules for Writing Detective Stories" (1928). Published in The American Magazine, Van Dine's list says the reader must have an equal chance to solve the mystery, that a servant shouldn't be the culprit because it's too easy, and that there should be one main culprit. He even banned a love interest. Open Culture has the full list.
Modern mysteries break many of these rules. The core idea still holds: no cheating. The solution can't rely on information the reader never saw.
How do you plant clues in a mystery story?
You plant clues in a mystery story by showing them clearly but in a way readers don't notice as important. The goal is "hidden in plain sight." Here are the techniques that work best:
- Bury it in a list. Place the key detail in the middle of a list of ordinary ones. "The desk held a lamp, three unpaid bills, a dried-out pen and a train ticket to Leeds." Readers skim lists.
- Hide it in action. Mention the clue during a chase, a fight or an argument, when readers are focused on what happens next.
- Use emotional distraction. Drop the clue just before a big emotional moment, like a confession or a death.
- Let the detective misread it. The detective notices the clue but draws the wrong conclusion. Readers follow the detective.
- Make it a character trait. A suspect is left-handed, always early, allergic to cats. It feels like characterization, not evidence.
- Plant the absence. The dog didn't bark. The window wasn't wet. Missing things are easy to overlook.
- Repeat it twice. Mention the key clue at least two times in different contexts so the reveal feels fair.
Before and after:
Before (too obvious): Inspector Bell noticed that Mrs. Hale's shoes were muddy, which was suspicious, because she claimed to have been inside all evening.
After (hidden): Mrs. Hale met them at the door, apologizing for the state of the hall. The floor was half washed, the bucket still out, her slippers by the stairs. "I was just finishing," she said. "Nobody's been in or out since six."
In the second version, the clue is the half-washed floor. Why wash it at night? The reader sees it, but it reads as background.
How do you use red herrings?
A red herring is a false clue or suspect that leads the reader away from the real answer. Red herrings make the reveal surprising, but they must be fair too.
Rules for good red herrings:
- Give every red herring an innocent explanation. The suspicious suspect was lying because of an affair, not a murder. Explain it before the end.
- Make the false suspect strong. A clear motive and a shaky alibi make readers commit to them.
- Don't overload. Two or three solid red herrings beat ten weak ones.
- Point toward, not just away. A good red herring leads the reader to a specific wrong theory.
Red herrings are close cousins of plot twists. Our guide on how to write a plot twist covers foreshadowing in depth, and our list of plot twist ideas offers 50 more options.
How do you write a memorable detective?
You write a memorable detective by giving them a distinct method, a personal stake and a flaw that makes the case harder. Brilliance alone is forgettable.
- A method. One detective reads people. Another reads paper trails. Another gossips with everyone in town.
- A stake. The victim was an old friend, or the detective is a suspect.
- A flaw. Stubbornness, pride, a bad habit, a blind spot about someone they love.
- A voice. Detectives are often the narrator or POV character. Their voice sets the tone.
- A sidekick (optional). A companion lets the detective explain thinking through dialogue instead of narration.
Kids' mysteries need a different touch: young sleuths, gentle stakes and clues kids can follow. Our guide on how to write a children's story covers writing for each age group.
How do you write a satisfying mystery reveal?
You write a satisfying mystery reveal by showing how the clues, already seen, point to one answer. The best reveals make readers want to flip back and find what they missed.
A good reveal:
- Uses only clues the reader has seen. No last-minute lab result.
- Explains the red herrings. Every false trail closes.
- Shows the culprit's motive clearly. The "why" is often more satisfying than the "who."
- Has a confrontation. The culprit reacts: denial, confession, escape attempt.
- Moves quickly. Long speeches drag. Cut to the key logic.
Example: a mini mystery with clues explained
Here's an original short mystery. Try to solve it before you read the breakdown.
The Missing Medal
The gold swimming medal vanished from the school trophy case on Friday afternoon. The office secretary had seen it there at one o'clock. Only three people had keys: Coach Darby, who had a dentist appointment from two to four; Ms. Ito, the art teacher, who'd been painting the hallway mural all day; and Leo, the student captain, who'd been at swim practice.
Inspector Nadia Ray walked the hallway. The mural stretched its whole length: a blue ocean near the trophy case, a blue sky at the far end. Ms. Ito's paint-spattered apron hung on a hook beside the case. Leo's hair was still wet from the pool. Coach Darby showed her a dentist's receipt stamped 2:40 p.m.
"I finished the ocean before lunch," Ms. Ito said. "All afternoon I was down at the other end, doing the sky."
Nadia touched the ocean. Dry. Then she looked at the trophy case lock. A smear of blue sat on the metal, and when she pressed a fingertip to it, it came away blue.
"This paint is still wet," she said. "The ocean has been dry for hours. So whoever touched this lock had fresh blue paint on their hands this afternoon." She nodded at the hook. "And your apron is here, Ms. Ito, not at the far end where you say you spent the day."
Ms. Ito sighed. "That medal belonged to my brother. He set the record in 1998, and the school gave it to someone else after a timing error. I only wanted it back where it belonged."
How the clues work: the wet paint on the lock (planted as a small physical detail), the ocean being dry since morning (a time clue hidden in the art teacher's own alibi), and the apron hanging by the case (a location clue that looks like set dressing). Leo's wet hair and the coach's receipt are red herrings, and both have innocent explanations. The motive adds a final turn: the "thief" believed she was reclaiming something.
Try it on storygenerator.io
Try it: On the free AI story generator, choose Mystery as the genre, Suspenseful as the tone and Medium length. Add a setting like "a small seaside hotel during a storm" and three suspect names in the Main character field. Read the draft and list every clue. Then rewrite one clue so it's better hidden. If you like dark mysteries, the dread-building tips in how to write a horror story pair well with this genre.
Frequently asked questions
How do you start a mystery story?
Start a mystery story close to the crime or the strange event, ideally on the first page. Introduce the detective quickly, show why they care, and hint at the central question. Avoid long setup. Many writers open with the discovery of the body or the missing object, then let the investigation fill in the past.
How many suspects should a mystery have?
Most mysteries work well with three to five suspects. Fewer than three makes the answer easy to guess, while more than six can confuse readers in a short story. Each suspect needs a motive, an opportunity and a secret that makes them look guilty, even if that secret turns out to be something else.
What is a red herring in a mystery story?
A red herring is a false clue or misleading suspect that draws the reader's attention away from the real culprit. It must be believable and must be explained by the end. For example, a suspect lies about where they were, but the lie hides an unrelated secret, not the crime.
How do you make a mystery hard to solve but fair?
Make a mystery hard to solve but fair by showing every real clue clearly while hiding its importance. Bury clues in lists, action or emotional scenes, give strong red herrings, and let the detective misread a clue at first. Then make sure the final explanation uses only information the reader has already seen.
What are Knox's rules for detective fiction?
Ronald Knox's ten rules, written in 1929, are a playful set of guidelines for fair detective stories. They include introducing the criminal early, ruling out supernatural solutions, allowing only one secret room, banning unknown poisons and requiring the detective to share every clue. Modern writers treat them as a historical guide rather than strict rules.
What is the difference between a mystery and a thriller?
A mystery focuses on solving a puzzle, usually a crime that already happened, so the main question is "who did it and why?" A thriller focuses on stopping a danger that's still coming, so the main question is "will they survive or stop it in time?" Mysteries reward thinking; thrillers reward pace.