How to Write a Whodunit
2026-10-14 · 6 min read
Plan, draft, edit and pitch the same book in one project.
Start writing freeThe whodunit is the classic, quintessential form of the mystery — a story centered on the question "who did it?", where the reader, alongside the detective, sifts clues and suspects to identify the culprit before the reveal. It's the form most people picture when they think "mystery": a crime, a cast of suspects, an investigation, and a final unmasking. The whodunit is built on the same fundamentals as any mystery, with a particular emphasis on the identity of the culprit as the central puzzle. Understanding what makes a whodunit satisfying helps you write one that grips and delights.
This guide covers how to write a whodunit.
What a whodunit is
A whodunit ("who done it") is a mystery in which the central puzzle is the identity of the culprit — the reader follows an investigation, considers a cast of suspects, weighs clues, and tries to deduce who committed the crime before the detective reveals it. It's the classic mystery form, emphasizing the whodunit puzzle: figuring out which of the suspects is guilty. The whodunit typically features a crime (often murder), a detective (professional or amateur) investigating, a set of suspects each with possible motive, means, and opportunity, a trail of clues and red herrings, and a climactic reveal of the culprit. It's the most reader-participatory form of mystery, inviting the reader to play detective and solve the puzzle. At its core, the whodunit is about identifying the guilty party — the "who" is the central question and pleasure.
Build on mystery fundamentals
The whodunit is the archetypal mystery, so it rests entirely on the genre's fundamentals: know the solution first (who did it, how, and why), construct backward from it, plant fair clues, honor fair play (the reader has the clues and a genuine chance to solve it), develop multiple plausible suspects, deploy fair red herrings, and deliver a surprising-yet-inevitable reveal. The whodunit is the purest expression of these mystery principles, with the culprit's identity as the focal puzzle. So the mystery-writing craft is the whodunit's craft — master it, with particular attention to the elements that make the "who" puzzle work (suspects, clues, red herrings, the reveal). The whodunit is mystery in its classic form; everything the mystery genre requires, the whodunit requires, focused on identifying the culprit.
Multiple plausible suspects
The whodunit's engine is its cast of suspects — for the "who" puzzle to work, there must be multiple plausible suspects, each of whom could credibly be guilty, so the reader genuinely can't be sure who did it. A whodunit with one obvious suspect has no puzzle. Develop several suspects, each with possible motive, means, and opportunity, and each with secrets or suspicious aspects (people in whodunits are usually hiding something, creating suspicion even if they're innocent). The reader should be able to suspect each one plausibly, with the guilt genuinely uncertain among them. This array of credible suspects is what creates the whodunit's central pleasure — the reader weighing the possibilities, suspecting and clearing different characters, trying to deduce the truth. So invest in a strong cast of plausible suspects, each genuinely possible, so the "who" puzzle is real and engaging. Multiple credible suspects are the whodunit's foundation.
Fair clues and red herrings
The whodunit's puzzle works through the interplay of fair clues (pointing to the truth) and fair red herrings (misdirecting toward the wrong suspects) — both played honestly. Plant clues to the real culprit's guilt, hidden in plain sight (present but disguised), so the reader could deduce who did it. And deploy red herrings — false leads that cast suspicion on innocent suspects — but fairly (misdirecting through plausible interpretation and real information, not by lying to the reader). The whodunit is a dance of clues and misdirection: the reader is given the means to solve it (the clues) while being led astray (the red herrings), and the art is balancing them so the reader is fooled fairly. Fair play is paramount — the culprit must be identifiable from planted clues, and the misdirection must be honest. This interplay of fair clues and fair red herrings, around a cast of suspects, is the whodunit's central mechanism. Construct it with rigorous fairness.
A satisfying reveal of the culprit
The whodunit climaxes in the reveal of the culprit — the unmasking of who did it — and this must be satisfying: surprising yet, in hindsight, inevitable. The classic whodunit reveal (often a gathering where the detective explains the solution and names the guilty party) should deliver the "of course!" — the culprit's identity surprising the reader but, on reflection, supported by the planted clues so it feels earned and the misdirection feels fair. The reveal should make sense (the solution logical, the culprit's motive, means, and opportunity clear), hold up under scrutiny (whodunit readers test the solution), and recontextualize the clues so the reader sees the truth was there all along. A great whodunit reveal makes the reader want to reread and see how they were fooled. Avoid the cheats (the culprit introduced late, the solution from unestablished facts) that betray fair play. The satisfying, fair, surprising-yet-inevitable reveal of the culprit is the whodunit's payoff — the moment the "who" puzzle resolves with delight.
The bottom line
Write a whodunit — the classic mystery centered on "who did it?" — by building entirely on mystery fundamentals (know the solution first, construct backward, plant fair clues, honor fair play, deliver a surprising-yet-inevitable reveal), focused on the culprit's identity as the puzzle. Develop a cast of multiple plausible suspects, each credibly guilty with motive, means, and opportunity and secrets, so the "who" is genuinely uncertain — the whodunit's engine. Construct the puzzle through the interplay of fair clues (pointing to the truth, hidden in plain sight) and fair red herrings (misdirecting honestly toward innocent suspects), balanced so the reader is fooled fairly. And deliver a satisfying reveal of the culprit — surprising yet inevitable, supported by the planted clues, logical and fair. The whodunit is mystery in its purest, most participatory form; built with credible suspects, fair clues and misdirection, and an earned reveal, it delivers the classic pleasure of matching wits with the detective to unmask the guilty.
Frequently asked questions
What is a whodunit?
A whodunit ("who done it") is the classic form of mystery in which the central puzzle is the identity of the culprit — the reader follows an investigation, considers a cast of suspects, weighs clues, and tries to deduce who committed the crime before the detective reveals it. It's the most reader-participatory mystery form, inviting the reader to play detective, with the "who" as the central question.
How is a whodunit different from other mysteries?
The whodunit is the archetypal mystery, emphasizing the culprit's identity as the focal puzzle (versus, say, a locked-room mystery's focus on how an impossible crime was done, or a thriller's emphasis on stopping a known threat). It rests on the same fundamentals as any mystery but centers everything — suspects, clues, red herrings, the reveal — on figuring out who is guilty.
Why do I need multiple suspects in a whodunit?
Because the "who" puzzle requires it — there must be multiple plausible suspects, each credibly capable of guilt with motive, means, and opportunity, so the reader genuinely can't be sure who did it. A whodunit with one obvious suspect has no puzzle. The array of credible suspects, each plausibly suspectable, creates the central pleasure of weighing possibilities and trying to deduce the truth.
How do I write a satisfying whodunit reveal?
Make it surprising yet, in hindsight, inevitable: the culprit's identity should surprise the reader but be supported by clues planted fairly throughout, so it feels earned. The solution must make sense and hold up under scrutiny (the culprit's motive, means, and opportunity clear), recontextualize the clues, and avoid cheats like introducing the culprit late or solving from unestablished facts. A great reveal makes readers want to reread.