Writing a Book
How to Write a Mystery Novel: A Step-by-Step Tutorial
By the Inkora team · Dec 2, 2026 · 11 min read
To write a mystery novel, decide what really happened before you write a word. Then work backwards to the clues a detective would need to prove it, and hide those clues fairly in the story. Red herrings and the detective's personal arc are layered on top of that skeleton.
This tutorial takes you through it in order, with a worked example and a clue-tracking table you can copy.
What you need before you start
You don't need a finished plot. You need a few raw materials:
- A crime and a setting. A death at a garden party, a theft from a locked archive, a disappearance on a ferry. Keep it to one sentence for now.
- A rough idea of your detective. Professional or amateur, and one thing about them that could get in their way.
- A planning document. A notebook, a spreadsheet or a template like our mystery plot outline. You'll be tracking a lot of small facts.
- A target length. Mysteries vary widely by subgenre. Check how many words are in a novel and compare with recent books in your niche.
Throughout this guide I'll use one example so you can see each step applied. Margaret Hale, a retired botanist, collapses and dies at her own garden party. Her heart medication was tampered with. The killer is her nephew, Tom.
Step 1: Decide what really happened
Write the "true story" first. This is the version of events your detective will uncover in the final chapters, told plainly from the killer's side.
Answer these questions in a page or two:
- Who did it, and why? The motive must make sense to a reader once revealed, even if it was hidden.
- How did they do it? The method, step by step.
- When and where? A rough timeline, down to the hour if the plot depends on alibis.
- What went wrong for them? Every killer leaves traces. These traces become your clues.
- What did they do to cover it up? Cover-ups create their own evidence.
For our example: Tom is in debt, and Margaret has just told him she's changing her will. On the morning of the party he swaps her heart pills for a stronger dose from an old bottle. He offers to fetch her pills from the house during the party so he can make sure she takes them. He forgets that he once claimed he never touches her medicine.
That last detail is the kind of mistake you want. It's small, human and provable.
Step 2: Work backwards from the solution
Now imagine the final scene. Your detective gathers the facts and explains them. Ask: what does the detective need to know to prove this, and how could they have learned each piece?
Make a list. For Tom:
- He had a motive (the will change).
- He had access to the pills (he fetched them).
- The pills were tampered with (the bottle doesn't match the prescription history).
- He lied about handling her medicine (he knew the dosage).
Each item becomes a clue the reader must see before the reveal. If the detective's final explanation relies on something the reader never saw, the ending will feel like a cheat.
This backwards method also tells you which scenes you must write. Someone has to mention the will. Someone has to see Tom go into the house. If you outline with a general method, how to outline a novel covers the broader structure. Mysteries just add this reverse-engineering layer.
Step 3: Build suspects and give them reasons
A mystery needs people who could have done it. For each suspect, write down:
| Suspect | Motive | Means | Opportunity | Secret they're hiding |
|---|---|---|---|---|
| Tom (nephew) | Losing his inheritance | Access to the pills | Fetched them during the party | His debts |
| Owen (gardener) | Argued about money | Knows which plants are toxic | Was near the house all afternoon | Underpaid for months, ashamed to say so |
| Celia (neighbour) | Long boundary dispute | Visited the kitchen | Arrived early | Was having an affair with Margaret's late husband |
The "secret" column matters. Innocent suspects should behave suspiciously for real reasons. When those reasons come out, the reader gets a satisfying explanation and one fewer suspect.
Give each suspect enough depth that they're worth suspecting. Our guide to creating memorable characters helps when your suspects start to blur together.
Step 4: Plant fair-play clues
A fair-play mystery shows the reader every clue the detective uses. The reader could solve it. They usually don't, because you've hidden the clue well. Writers in the "Golden Age" of detective fiction even wrote informal rule lists about this, such as Ronald Knox's "Ten Commandments." You don't have to follow them strictly. The principle still holds: no secret evidence, no last-minute twins, no solution the reader couldn't reach.
Ways to hide a clue in plain sight:
Bury it in a list
Put the clue in the middle of a list of ordinary details. "Tom brought the folding chairs, refilled the lemonade, ran inside for Aunt Margaret's pills, and found the missing croquet mallet."
Give it a false meaning
Let the clue appear while the reader is told what it means, and make that meaning plausible and wrong. Tom fetching the pills reads as kindness.
Distract with action
Place the clue just before something dramatic. The reader's attention jumps to the scream in the next paragraph.
Separate the halves
Split a clue into two pieces in distant chapters. In chapter 3 Tom says he "never touches her medicine, she's fussy about it." In chapter 9 he mentions offhand that she takes "two in the morning." Each line is harmless alone. Together they prove a lie.
Show it before it matters
Introduce a fact before the reader knows why it's relevant. A character mentions the old pill bottle in the bathroom cupboard long before anyone suspects poisoning.
A good test: when a reader rereads your book after the reveal, every clue should be easy to find and obviously meaningful.
Step 5: Write red herrings that don't feel like cheating
A red herring is a clue that points to the wrong answer. Readers enjoy being misled. They dislike being lied to.
Rules for fair red herrings:
- Every red herring has a true explanation. Owen's torn invoice in the bin looks like a motive. It's really evidence that Margaret underpaid him, which he was too proud to mention.
- Explain it before or at the end. Clear up most herrings during the investigation, not all in the final chapter. A suspect cleared at the midpoint gives the story momentum.
- Don't let the narrator lie outright. Characters can lie. The narration, especially a third-person narrator, shouldn't state false facts. If you're unsure how your point of view affects this, decide early. A first-person narrator can be mistaken, which gives you more room.
- Weight it equally. A red herring that gets three pages while the real clue gets one line is a signal readers learn to spot. Vary the emphasis.
The strongest red herrings are double-edged: a clue that seems to point at one suspect but, read correctly, points at another. Margaret's diary note about a "will appointment" looks like she was cutting out Owen. She was cutting out Tom.
Step 6: Track every clue so nothing gets lost
This is where most mystery drafts break. You change a scene in chapter 14 and forget a clue depended on it. A clue-tracking table prevents that.
Keep one row per clue. Update it every time you revise.
| # | Clue (what the reader sees) | Real meaning | What the reader likely assumes | Planted | Reinforced | Paid off | Type |
|---|---|---|---|---|---|---|---|
| 1 | Tom fetches Margaret's pills from the house | He controlled what she took | He's a caring nephew | Ch 2 | Ch 7 | Ch 24 | Real |
| 2 | Tom says he never touches her medicine | Sets up his lie | Background chatter | Ch 3 | — | Ch 23 | Real (part 1) |
| 3 | Tom mentions "two in the morning" | Proves he knows her dosage | Throwaway detail | Ch 9 | — | Ch 23 | Real (part 2) |
| 4 | Old pill bottle in the bathroom cupboard | Source of the stronger dose | Clutter | Ch 4 | Ch 12 | Ch 22 | Real |
| 5 | Torn invoice in the bin | Owen was underpaid | Owen had a money motive | Ch 5 | Ch 10 | Ch 15 | Red herring |
| 6 | Diary note: "will appointment" | Cutting out Tom | Cutting out Owen | Ch 11 | Ch 18 | Ch 24 | Double-edged |
| 7 | Celia in the kitchen before guests arrived | Hiding old letters | Tampering with food | Ch 1 | Ch 13 | Ch 19 | Red herring |
Columns worth adding as you go: who discovers the clue, whether the detective notices it at the time, and the exact page or line.
Three checks to run on the table:
- Every real clue has a "Planted" chapter well before "Paid off." If the gap is one chapter, it's too obvious or too late.
- Every red herring has a "Paid off" entry. An unexplained herring is a plot hole.
- The final explanation uses only clues in the table. If the detective cites something new, add it earlier.
Step 7: Give the detective a character arc
A mystery has two stories: the case and the detective. The best books tie them together so that solving the crime requires the detective to change.
Pick one flaw or blind spot. Then make it the reason they miss the answer, and make overcoming it the reason they find it.
For our example, say the detective is Margaret's former student, Ruth. Ruth trusts family loyalty because her own family is close. She dismisses Tom early because "nephews don't do that." Her arc: she has to accept that people she likes can be dangerous. The midpoint might be a personal blow (a family member lets her down) that loosens that belief, and the final realization comes when she finally looks at Tom without the filter.
Questions to answer for your detective:
- What do they believe at the start that's wrong or limiting?
- How does that belief make them misread a clue?
- What event forces them to question it?
- What does it cost them to see the truth?
If you're writing a series, keep the arc for one book small and leave room for the larger one. See how to write a book series for pacing that across volumes.
Step 8: Structure the plot from discovery to reveal
Most mysteries follow a recognizable shape. Use it as a guide, not a cage:
- The setup and the crime. Introduce the victim, the suspects and as many early clues as you can while the reader is still getting oriented. Readers rarely suspect what they see in chapter 1.
- The investigation begins. Interviews, scene visits, the first theories.
- Complications. A second incident, a new suspect, an alibi that breaks.
- Midpoint reversal. A suspect is cleared or a theory collapses. This reshuffles the reader's assumptions.
- The false solution. The detective, or another character, settles on the wrong answer. Often this is where red herrings peak.
- The breakthrough. A small detail clicks, usually linked to the detective's arc.
- The reveal. The detective explains, using only clues the reader has seen.
- The aftermath. Consequences for the killer, the suspects and the detective.
Our mystery plot outline template breaks these into chapter-level beats you can fill in alongside your clue table.
Step 9: Draft without losing track of clues
Write the draft with your clue table open beside you. When you write a scene that plants a clue, mark it in the manuscript (a comment, a highlight, a bracketed note) so you can find it later.
Don't polish clue placement on the first pass. Get the scenes down, then adjust.
If you're drafting with AI help, consistency is the main risk in a mystery, because a single changed detail can break the solution. Inkora plans a book bible with the premise, characters and a chapter-by-chapter outline you can edit, then writes each chapter with continuity notes and a fact ledger so details stay consistent across the book. You still own the clue logic: keep your own table and check that every plant and payoff landed where you intended. The AI mystery novel writer page explains how that setup works for this genre.
Step 10: Revise for fairness
Do a dedicated "fair-play pass" after your structural edits:
- Read only the final explanation chapter. List every fact the detective relies on.
- Find each fact earlier in the book. If you can't, plant it.
- Read each clue scene. Ask whether a careful reader could notice it. If not, make it slightly more visible.
- Read each red herring. Confirm it's explained.
Then hand the book to readers who don't know the ending. Ask them to write down who they suspect at the end of each act, and when they first guessed the killer. Our guide to finding beta readers covers how to recruit people who'll actually do this.
Common problems and fixes
Readers guessed the killer too early. Look at how much attention the real clues get compared with the red herrings. Spread the culprit's clues further apart, add a strong alternative suspect, or give the culprit a convincing reason to seem innocent (an alibi that looks solid until late).
Readers said the ending came out of nowhere. Your clues are too hidden, or a key one is missing. Run the fair-play pass. Add one clearer instance of the most important clue, ideally in the middle third.
The middle drags. The investigation has stalled into repetitive interviews. Add a midpoint reversal: clear a suspect, introduce new evidence, or put the detective at risk.
You changed the killer halfway through. This happens and it's recoverable. Rewrite the true story from Step 1 for the new culprit, redo Step 2, then go through your clue table row by row and relabel each clue as real, red herring or cut. Most scenes survive; their meaning changes.
A red herring has no explanation. Either explain it (a short scene where the suspect confesses the real reason) or remove it. Don't leave it dangling.
The detective feels flat. Their arc isn't connected to the case. Go back to Step 7 and make their flaw cause a specific misreading of a specific clue.
Too many clues and you've lost track. Rebuild the table from the manuscript itself, not from memory. Search for each clue and record where it actually appears.
Start with the truth, work backwards to clues, and keep a table you trust. The craft of a mystery is mostly bookkeeping done with care, plus a detective who has to grow to see what was there all along. Once the solution holds up on a cold read, you have the foundation for a book readers will want to finish in one sitting.
Frequently asked questions
What's the difference between a cozy mystery and a crime novel?+
A cozy mystery usually has an amateur sleuth, a small community setting and violence that happens mostly off the page. Crime novels tend to be darker, often follow police or professionals, and show more of the violence and its consequences.
Does my detective have to be a police officer or private investigator?+
No. Amateur detectives such as librarians, bakers or retirees are common, especially in cozies. Just give them a believable reason to get involved and to keep asking questions after the police tell them to stop.
Should the killer appear early in the book?+
Yes, in most fair-play mysteries the culprit appears in the first act. Introducing them late feels like a cheat because the reader never had a chance to suspect them.
How many suspects should a mystery novel have?+
Enough that the reader can't simply eliminate their way to the answer, but few enough that each one is distinct. Many authors work with a small core group and add one or two secondary suspects. Adjust after beta readers tell you who they suspected and when.
Can I write a mystery without outlining?+
You can, but expect a heavier revision. Writers who discover the plot as they draft usually go back afterwards to plant clues, explain red herrings and build a clue table from the finished manuscript.
Turn your idea into a finished book
Inkora plans, writes and formats your book, designs the cover and exports print-ready PDF, EPUB and DOCX for every store.
Start writing free