How to Write a Killer Whodunit Mystery
Book Writing AdviceBook, Writing, Advice
ServiceScape Incorporated
ServiceScape Incorporated
2025

How to Write a Killer Whodunit Mystery

A whodunit mystery is a classic story of suspense in which the central question—"Who did it?"—becomes a puzzle that both the reader and protagonist work to solve together. Whether you're an aspiring mystery writer or a seasoned author looking to craft a compelling detective tale, understanding the core elements of a whodunit is essential. In this guide, we'll explore everything from building your cast of suspects and planting clues, to misdirecting with red herrings and delivering a satisfying twist ending. We'll draw on examples from the greats – Agatha Christie, Sir Arthur Conan Doyle, and others – to illustrate key techniques, and provide practical tips on plot structure, character development, pacing, dialogue, clue placement, and more.

What is a whodunit mystery?

Whodunit stories (also spelled 'whodunnit') are a mystery subgenre focused on solving a crime and revealing the culprit at the climax. In a typical whodunit, a crime – often a murder – occurs early on, and the rest of the narrative follows a detective figure (professional or amateur) unraveling clues to uncover the perpetrator. Unlike thrillers or suspense novels where the tension comes from the threat of a crime happening, a whodunit's tension comes from the intellectual challenge of figuring out who committed an already-occurred crime and why. In other words, mystery fiction is a puzzle that invites the reader to match wits with the detective.

A hallmark of the whodunit is that the reader is given the same evidence as the detective. Classic mystery authors adhere to the "fair play" principle: the reader and the sleuth should receive the same clues at the same time. Anything else – such as hiding information from the reader that the detective knows – is considered "not playing fair." This fair-play challenge is what makes reading a whodunit engaging. The audience becomes an armchair detective, sifting through clues and red herrings to solve the case before (or along with) the protagonist. As mystery writer Melodie Campbell notes, a mystery is like a chess game or an intellectual chase where the payoff is the supreme high of assembling the puzzle pieces correctly and unveiling the antagonist.

The core question driving a whodunit is, of course, who committed the crime – but a satisfying mystery also answers why they did it. Motive is crucial. In fact, readers won't be fully satisfied by learning the culprit's identity alone; they also demand to know the reasoning behind the crime. As one CrimeReads article put it, Readers may want to know whodunit, but they won't be happy until they know whydunit, too. This means your mystery's resolution should reveal the culprit and explain their motives in a believable way. We'll discuss how to craft compelling motives and resolutions in later sections. First, let's look at the indispensable figure at the heart of most whodunits: the detective.

The detective

Detective
Your story's sleuth is the reader's guide through the mystery—an observant, determined protagonist with a personal stake in solving the crime and the skills to uncover the truth.

In classic mysteries, the detective is at the heart of every story – a character determined to solve the crime. This character could be a hardboiled private eye, a diligent police officer, or an ordinary person thrust into extraordinary circumstances. What matters is that the sleuth has a strong motivation to crack the case and an aptitude for investigation. Ideally, the detective should have some special skills, insights, or access that justify why they (and not someone else) are able to solve the mystery. For example, in Raymond Chandler's novels, private detective Philip Marlowe brings street-smarts and tenacity to his cases. In contrast, Agatha Christie's Miss Marple is a seemingly frail elderly lady whose keen understanding of human nature helps her see through deception.

Give your detective personal stakes. Your story will be more compelling if the protagonist has a personal stake in the investigation. Perhaps the crime touches them directly – the victim was someone they cared about, or they themselves are a suspect needing to clear their name. Maybe they've made a vow to find justice, or the antagonist challenges them on an intimate level. Even if your sleuth is a professional on the job, consider weaving in a backstory or inner conflict that makes solving this case especially important to them.

Avoid the clueless sleuth trope. One common pitfall is a main character who has no special talents and just stumbles onto every clue by luck. While an amateur sleuth can be very engaging (the majority of cozy mysteries feature everyday folks solving crimes), the character should still demonstrate some credible investigative ability or relevant expertise. It's not believable that an ordinary person with no skills would randomly solve complex murders – unless you're intentionally writing a parody or comedy. Give your protagonist strengths that aid their detective work: perhaps they are unusually observant, resourceful under pressure, knowledgeable in a certain field (forensic hobbyist, history buff, etc.), or simply very persistent and curious. If they lack formal training, show how they learn and improve over the course of the story.

Demystifying Amateur Sleuth Story Writing

Also consider the detective's flaws and personality. A perfect, infallible sleuth can feel unrealistic and flat. Many beloved fictional detectives are defined by memorable quirks or weaknesses. Sherlock Holmes has his cold, calculating demeanor and struggles with boredom and addiction; Hercule Poirot has his fastidious vanity and little grey cells method; a modern detective might battle burnout or a troubled past. These human qualities make your protagonist relatable. Just ensure that any flaws don't make them too incompetent to credibly solve the case – there's a balance to strike so that the character is challenged and grows, yet ultimately proves capable of unraveling the mystery. Readers should root for your detective to succeed.

The sidekick or team. Many whodunits pair the main detective with a sidekick or a team of investigators. Watson's narration of Sherlock Holmes's cases, for instance, provides a foil to Holmes's brilliance and gives the reader a relatable perspective. A trusted friend or partner character can serve as a sounding board for theories, lighten the mood with banter, or cover the protagonist's blind spots. If your story features an investigative team (detectives, forensic experts, etc.), be mindful to give each member a role and personality, rather than letting them blend into a faceless crowd. The interplay among team members can add depth and offer opportunities for conflict or humor, but be careful not to let helpers solve key problems that your protagonist should solve. The spotlight in a whodunit typically remains on the lead detective as the primary problem-solver.

A cast of suspects

Suspects
A compelling whodunit features a cast of suspects, each with distinct personalities, plausible motives, and hidden secrets—any one of them could be guilty, and all of them deepen the intrigue.

A great whodunit keeps the reader guessing by presenting an array of plausible suspects. Part of the fun for the audience is trying to figure out which suspect (if any) is the real culprit. To achieve this, you should populate your story with several characters who each could have committed the crime. In fact, mystery veteran Melodie Campbell advises that every mystery novel needs at least three good suspects – and for a full-length novel, five is even better. Having only one obvious suspect makes the solution too easy and will disappoint readers. On the other hand, introducing a dozen suspects without distinction can overwhelm and confuse. Aim for a balanced cast – enough suspects to create doubt, but not so many that the reader can't keep track of them.

Give each suspect a believable motive. To sustain suspense, each suspect should have a motive that could rationally drive them to commit the crime. People rarely murder for no reason, so think about the potential gains or emotional triggers that might push someone to such an act. Common motives in mystery fiction include:

  • Greed (financial gain or inheritance)
  • Revenge for a past wrong
  • Jealousy or romantic triangles
  • Fear (e.g. to cover up another crime or secret)
  • Ideology or a twisted sense of justice

For each suspect, establish (at least in your notes, if not immediately in the text) why they might have wanted the victim dead. The motive must be strong enough to be believable – as Campbell notes, the murder should feel worth the risk of getting caught. A weak or trivial motive (e.g. killing over a minor insult) will feel unsatisfying unless you're purposely showing the killer to be irrational or insane (which comes with its own clichés).

Moreover, consider giving each suspect something to hide – even if it's not the murder. Perhaps each suspect is lying about something or has a guilty secret, which can create red herrings (false clues) and deeper characterization. For instance, in a murder mystery set at a mansion, the butler might act suspicious not because he's the killer, but because he's stealing from the house. Another suspect might be lying about her alibi because she was meeting an illicit lover at the time of the murder. These layers ensure that all suspects appear potentially guilty until proven otherwise, and they provide satisfying explanations for suspicious behavior once the truth comes out.

Distinct personalities and relationships. To avoid your suspects blurring together, take time to develop each as a distinct character with their own personality, background, and relationship to the victim. A helpful technique from Robin Stevens is to imagine each suspect as the hero of their own story. In other words, each suspect has a life and perspective independent of just being a plot device. Robin Stevens also suggests writing a short sketch of the events leading up to the crime from each suspect's point of view. This can illuminate how they each felt about the victim, what they wanted, and how far they might go. When suspects feel like real people, the mystery as a whole becomes more engaging and credible.

Pay attention to the dynamic among suspects, too. In many whodunits, the suspects are connected by a closed setting or scenario – for example, all guests at the same dinner party, or passengers on the same train (as in Christie's Murder on the Orient Express). Their interactions can generate tension and clues. Do some suspects have open animosity with the victim or each other? Who has an alibi supported by another, and can it be trusted? It often enriches the story to have suspects accusing each other or teaming up in factions, which reflects how real investigations can stir up distrust. Just be careful to manage your cast: give each suspect a memorable trait or role (the bitter business partner, the jealous relative, the secret lover, etc.), so that readers can recall who's who during the investigation.

Opportunity and means. In addition to motive, classic detective fiction emphasizes that suspects must have had the opportunity and means to commit the crime. This can venture into the realm of alibis and physical clues. For a suspect to be credible, they should plausibly have been able to access the victim at the time of the murder and have (or obtain) whatever weapon or method was used. If someone has a perfect alibi that places them on another continent at the time, they're either an innocent red herring or you'll need a very clever twist to involve them. Part of the detective's challenge is often to break alibis or uncover how a suspect with an initial alibi could actually be guilty. When plotting, check each suspect against the logistics of the crime: where were they when it happened, could they have done it, and do they have the knowledge or strength or resources required? Ensuring multiple characters meet these conditions keeps the field of suspects broad.

Example – a cast of suspects in action: Consider Agatha Christie's Death on the Nile, which offers a masterclass in juggling suspects. A wealthy heiress is murdered on a riverboat, and almost everyone on board has a motive: one passenger is the jilted ex-fiancée, another is a jealous wife, there's a money-hungry lawyer, an ambitious maid, and so on. Each suspect in that novel has distinct traits and relationships to the victim, and many have secret connections to each other or the victim's fortune. The result is a rich web of possibilities that keeps the reader (and Hercule Poirot) guessing. Similarly, in the Sherlock Holmes story The Hound of the Baskervilles, Sir Arthur Conan Doyle introduces multiple suspicious characters on the moor – the black-sheep heir, the eccentric naturalist neighbor, the escaped convict, etc. – each with peculiar behaviors that invite scrutiny. By populating your whodunit with well-drawn suspects, you create the playground for mystery: an ensemble cast where anyone (or even multiple people) might be the culprit.

Clues, evidence, and fair play

Clues and evidence
Clues and evidence are the backbone of any whodunit, guiding both the detective and the reader toward the truth.

A whodunit is interactive in the sense that readers are picking up clues alongside the detective. Planting and revealing clues is therefore one of the most critical skills for a mystery writer. Clues are the puzzle pieces that, when put together correctly, reveal the picture of what happened. They can be physical evidence (a bloodstain, a missing weapon, a set of footprints), spoken statements or dialogue hints, inconsistencies in alibis, or even symbolic/psychological clues (such as a pattern in the crimes). The key is to distribute these clues throughout your story in a way that is both fair and intriguing.

Hide clues in plain sight. The best mysteries often present the most important clues openly to the reader – but in a manner that they're either overlooked or misinterpreted until the reveal. This strategy, sometimes called the streetlight effect, lets readers feel a jolt of satisfaction when they realize the answer was before their eyes the whole time. A famous example is in Doyle's Silver Blaze, where Sherlock Holmes points out the curious incident of the dog that did nothing in the night-time – the fact that a watchdog didn't bark was itself the clue that the culprit was someone the dog knew. As mystery author Joslyn Chase notes, the absence of a clue can itself be a clue. To achieve this effect, mention your critical clues casually amidst other details, or have them surface in a context that makes their true significance hard to recognize immediately. For instance, you might describe a seemingly mundane object in a room that later turns out to be the murder weapon, or a throwaway remark by a character that later reveals an alibi was fabricated.

Keep track of who knows what. When writing a mystery, it's vital to stay organized about the flow of information. As you construct your plot, maintain a timeline or chart of clues: when each clue is discovered, who finds it, and who among the characters learns of it. Consistency is crucial; there's nothing more frustrating to readers than a plot hole where the detective magically "knows" something they were never shown finding, or a clue that appears out of thin air. Some authors write the solution first (figuring out exactly how the crime was done and by whom) and then work backward to insert clues that logically lead to that solution. However you approach it, ensure that by the end, you have provided enough evidence that the reader could have deduced the culprit, even if it was exceedingly difficult. The solution should feel, in hindsight, both surprising and inevitable – as if all the dots connect, but perhaps the reader connected the wrong dots while the story was unfolding.

One way to gauge fairness is the re-read test: if someone reads your mystery a second time knowing the ending, will they see that the clues were there all along and consistent with the outcome? A truly well-crafted whodunit holds up on rereading; the clues make sense and the author's misdirections don't actually cheat. Dana Isaacson, an editor and mystery writer, describes the goal brilliantly: an outcome that's both a surprise and one that's been hiding in plain sight all along. When the sleight of hand is revealed, readers should ideally say, "Of course! The clues were right in front of me – I just misinterpreted them." Achieving this requires careful plotting and subtle clue placement.

Foreshadowing and minor clues. Not every clue needs to directly point to the killer; some can simply foreshadow events or flesh out the picture. Foreshadowing in mystery might include ominous hints (e.g. a character saying "I'd kill to get my hands on that necklace" early on) or seemingly small anomalies (like a door left unlocked, a wine glass out of place) that make sense later. Sprinkle these details throughout to create an undercurrent of intrigue. Remember that clues can take many forms: physical forensic evidence, documents or letters, things characters say or don't say, changes in routine or behavior, etc. Different types of clues will make the investigation feel rich and realistic.

The detective's logic. Show your detective actively piecing together clues. They might make lists of what they know, or talk through theories with a sidekick. This not only helps the reader keep track of clues, but also demonstrates the detective's thought process. That said, be careful not to make the detective solve everything too easily – they should also misunderstand some clues or follow a few wrong paths (after all, you want the reader to be misled at times too). It's often effective to let your detective explain their reasoning only partially or internally, to maintain suspense. For example, the detective might say, "There's something about the timeline that doesn't add up," without yet revealing to the reader what specifically they noticed. This creates anticipation for the eventual "aha!" moment when the detective explains how the pieces fit.

Play fair, but not too fair. "Playing fair" means the clues to the solution are provided – but it doesn't mean you have to spotlight them with fanfare. You want the reader to have a chance to solve the mystery, but you also want to make it challenging. Thus, authors use various techniques to obscure real clues: red herrings (discussed in the next section), misdirection, and the reader's own assumptions. For example, a clue might be presented in a misleading context, so the reader attributes the wrong meaning to it. If a suspect has muddy boots the morning after the murder, the obvious assumption is they sneaked out to the crime scene – but perhaps later we learn they were burying something unrelated in their garden. The fact remains that their boots were muddy (clue!), but the interpretation changes. Striking the right balance in clue placement is something you get better at with practice. Early drafts of a mystery often require tweaking – you might find that a certain clue is too obvious (so you need to downplay it or add more distraction around it) or conversely that the mystery is unsolvable because you withheld too much (so you need to insert an extra hint or two). Beta readers can be invaluable here: if they guess the culprit halfway through, maybe the clues were too easy; if they feel blindsided at the end, you might need to fortify the clue trail.

Red herrings and misdirection

If clues are the bread-and-butter of a mystery, red herrings are the spicy seasoning that makes the dish exciting. A red herring is a false clue or distraction – something that leads the detective and reader to suspect the wrong person or to believe a wrong explanation for a time. Clever use of red herrings keeps readers guessing and builds suspense, because even if they think they've solved it, the story can twist in another direction. However, using red herrings effectively requires finesse: you want to mislead readers just enough that they don't solve the mystery too early, but not so much that the ending feels like a cheat.

What makes a good red herring? The best red herrings have plausible substance within the story. They often arise naturally from your characters' motives and secrets. One classic technique is to give multiple suspects an apparently strong motive, so that focus shifts among them. For example, Agatha Christie was a master of this – in And Then There Were None, she creates ten characters who all seem potentially guilty at various points, with new suspicions arising as each is mysteriously killed off one by one. Another example: imagine a scenario where a piece of evidence (say, a monogrammed handkerchief) is found at the crime scene. If three different suspects all have names that fit the monogram, each of them becomes a red herring relative to the others until the truth shakes out.

Red herrings work best when they have an explanation in the end. It's okay if a clue leads nowhere in terms of solving the crime, but it should usually lead somewhere in terms of story logic. For instance, the detective might doggedly pursue one suspect due to incriminating evidence, only to discover that suspect was covering up another misdeed. The evidence wasn't about the murder – it pointed to a different secret. Elizabeth Spann Craig, a mystery novelist, advises that each suspect could tell both a lie and a truth, and the sleuth's job is to figure out which is which; often the lies are to hide personal secrets, not the murder itself. By giving every suspect something to be guilty about (even if it's not murder), you ensure there are multiple convincing red herrings and that each false lead has a satisfying resolution.

Misdirection techniques. Misdirection is an art you can practice in many ways. Here are a few strategies:

  • Convenient evidence that points to an innocent suspect: Perhaps the killer plants evidence to frame someone, or perhaps a piece of circumstantial evidence (like a witness sighting or a fingerprint) wrongly implicates a person who has a logical reason to be at the scene. For example, a detective might find a suspect's fingerprints on the murder weapon, only to later realize the suspect handled the item earlier under innocent circumstances. As an author, you present the fingerprint as a clue, but its implication ("Suspect A is the killer") is a red herring.
  • Suspicious behavior with innocent explanations: Make a character act in ways that arouse suspicion (sneaking around, telling small lies, burning documents, etc.), then reveal a non-murderous reason. Perhaps a character gives a false alibi not because they committed the crime, but because they were engaged in something scandalous (an affair, an illegal business) at the time. The detective (and reader) spend a portion of the story chasing that character as the prime suspect, only to exonerate them later and pivot to a new theory.
  • Multiple layers of mystery: A trickier form of misdirection is to have a secondary mystery or crime within the story. Maybe one of the suspects is guilty – but of a different crime (theft, espionage, etc.), not the murder. This can lead to a scenario where the detective solves a puzzle and exposes that suspect's wrongdoing, thinking the case is closed, only to realize the murder is still unsolved. The story then takes a new turn. This approach can be complex, so use it carefully to avoid over-complicating the plot.
  • Character testimony and unreliable witnesses: What characters say can be used to misdirect. A witness might confidently identify a suspect or report a damning detail, but perhaps they were mistaken or lying. Unreliable narrators are an extreme case of this – The Murder of Roger Ackroyd famously uses the narrator himself as an unreliable source who omits his own guilty actions. Such a bold device is hard to pull off without alienating readers, but Christie's example shows it can be done with clever planning and fair cluing. Even in third-person narratives, you can misdirect by focusing on certain characters' perspectives and not others, leading readers to trust the wrong viewpoint.

Avoiding cheap tricks. While red herrings are about deception, there is an unspoken contract with the reader that you must uphold. Do not introduce a totally outlandish twist that comes out of nowhere with no foreshadowing – for example, revealing at the last moment that the murder was done by a random twin of a character, or that the whole thing was a dream or a hallucination. Those are extreme cases of "cheating." More common minor cheats include suddenly revealing new evidence or a new character in the final chapters that the reader never had a chance to know about. Strive to give clues and plant setups for your twists, even if they are extremely subtle. A reader should feel thrilled that you fooled them, not robbed or betrayed. If you sense that your planned twist might be perceived as unfair, go back and see if you can leave at least a couple of breadcrumbs pointing to it – however lightly – earlier in the story.

Also, moderate the number of red herrings. It's fine to have multiple false leads, but if the investigation goes in circles indefinitely, readers may grow frustrated. Each red herring should advance the plot or reveal something (even if it's not the identity of the killer). A cycle of accuse one suspect, prove them innocent, move to the next, can become formulaic if repeated too many times. Instead, try to have each misdirection build on the last: perhaps the pursuit of one suspect yields a clue that points to the next suspect, and so on. Keep the mystery moving forward, even as you mislead.

Crafting a satisfying twist and finale

Whodunit finale
All the suspense and puzzle-solving in a whodunit ultimately lead to the big reveal – the moment when the question of "who did it and why" is finally answered.

A truly memorable mystery ending delivers a double punch: it surprises the reader, and yet it makes perfect sense. The ideal reaction you want is: "I didn't see that coming, but now it's clear this was the only possible solution!" Achieving this requires careful setup throughout the story, as we've discussed, but it also comes down to how you execute the final scenes.

Surprising yet inevitable. The key to a great mystery ending is making the solution both unexpected and inevitable. If your twist is merely shocking with no grounding in the story (the dreaded deus ex machina ending), readers will feel cheated. On the other hand, if the ending is too obvious (the reader guessed the culprit in chapter 3), they'll be disappointed. To test your ending, imagine the story without the misdirection: does the remaining trail of clues clearly indicate the culprit? If so, you might need to obscure it more during the story (through red herrings). If not, you likely need to plant additional clues. One technique is to include at least one clue that only fully makes sense once the solution is known – a clue that might have seemed trivial or confusing at first, but in the finale, its meaning is revealed. This gives readers an "aha" moment.

The grand finale scene. Many classic whodunits feature a final scene where the detective dramatically unveils the culprit in front of the remaining suspects. Think of Hercule Poirot assembling everyone in the drawing room to announce his deductions, or Sherlock Holmes confronting the villain with a final proof. This tradition isn't mandatory, but it is satisfying because it allows for a thorough explanation of how the mystery was solved. If you opt for such a scene, make it compelling: the stakes should be high, and the culprit, once exposed, might react with denial, desperation, or even a monologue of their own. In some cases, the villain might attempt to flee or harm the detective, giving a last burst of action.

However, the reveal doesn't always have to be a formal gathering. It could be a tense private showdown between the detective and the murderer, or the detective piecing it together just seconds before the killer would have gotten away. In any case, ensure that the ending answers the major questions and resolves the core mystery thread. According to IFW, a satisfying mystery ending requires that every clue must be resolved, ensuring that readers aren't left with lingering questions or unresolved plot points. If you leave a minor subplot dangling (maybe to hint at a sequel or just because life is messy), that can be okay, but the primary question of whodunit must be resolved clearly. Readers of traditional mysteries expect closure – justice served, or at least truth uncovered.

Logical and earned twist. The twist – whether it's the identity of the killer or some other final revelation – should be the logical culmination of the story. A twist can be huge (e.g., the murderer turns out to be the least suspected character, or multiple people colluded, etc.), but you must have laid the groundwork. An example of an audacious yet earned twist is Agatha Christie's The Murder of Roger Ackroyd, where it's revealed (spoiler alert!) that the narrator himself is the murderer. This was a groundbreaking twist that, as Laura Thompson stated in her book Agatha Christie: A Mysterious Life, rests upon the most elegant of all twists, the narrator who is revealed to be the murderer. Christie made it work by planting subtle clues in the narrator's wording and behavior that, on a second reading, clearly foreshadow his guilt. Another famous twist: in Murder on the Orient Express, Poirot discovers that everyone did it—a conspiracy in which twelve individuals, including eleven passengers and the conductor, each took turns stabbing the victim, resulting in twelve wounds. This "they all did it" solution is shocking, but it fits the clues: throughout the book, Poirot notices that many passengers have connections to the victim's past crime and that multiple clues suggested different people, which only makes sense if they were all involved. The lesson from these examples is that bold twists can succeed if they are supported by the story's internal logic and clues.

Tying up loose ends. After the culprit is revealed, take the time to clarify any remaining mysteries. Often, the detective (or sometimes the culprit in a final confession) will explain how each clue was relevant and how the deception unfolded. For example, the detective might recap: "I knew the footprints were misleading because the size was wrong, and that led me to realize two people cooperated…" etc. Additionally, address what happens to the characters after the truth comes out. Will the murderer be handed over to the police (in a cozy or classic mystery, usually yes), or do they meet a different fate (in some noir or psychological mysteries, the killer might die at the climax or even escape)? Provide a sense of justice or resolution that fits your story's tone. In a light puzzle mystery, a clear-cut justice served ending is common. In a darker mystery-thriller crossover, you might have a morally ambiguous ending, but even then the reader should know who was responsible for the crimes.

One more note: try to deliver your reveal with a bit of drama. Even though it's largely an exposition moment, it's the crescendo of your story's suspense. Use strong, clear writing. It can help to actually write out the solution as a separate document (like the culprit's confession or the detective's full explanation) to make sure you cover everything logically. Then weave that into your final chapter in a dynamic way – through dialogue, confrontations, or inner monologue – rather than just a dry info dump. Remember, the reader has been waiting for this payoff, so make it count. A well-executed reveal scene is immensely gratifying to a mystery fan: it's the moment where all the puzzle pieces click, the picture is complete, and they can admire how cunningly it was constructed.

Plot structure and pacing

Writing a whodunit involves not just coming up with a clever mystery, but also structuring it in a way that maximizes suspense and engagement. While there's no single formula for mystery structure, many successful whodunits follow a general progression:

  1. The Hook (Opening Crime): Start with a bang – often literally. Many mystery novels open with the discovery of the crime (a body found, for example) or even depict the crime in a prologue (though typically not revealing the culprit's identity). A strong hook draws readers in by presenting an intriguing situation that raises questions. For instance, the first chapter might end with the line "And then she realized the gun was missing," or a witness stumbling upon a murder scene. The idea is to establish the central conflict (the unsolved crime) early, aligning the reader's curiosity with the detective's mission from the get-go.
  2. Investigation and Interviews (Rising Action): After the initial crime, your detective begins gathering information. This middle portion usually constitutes the bulk of the book. The detective interviews suspects, visits crime scenes, collects forensic clues, follows leads, and so on. Here is where you'll introduce most of your suspects and start laying out clues and red herrings. It's important to keep the investigation from feeling repetitive; try to structure it as a series of revelations. For example: Chapter 3 introduces Suspect A and reveals Motive X; Chapter 4 uncovers a clue that points to Suspect B; Chapter 5, Suspect A provides an alibi but it has a hole; Chapter 6, a second victim or an attempted murder occurs (escalating the stakes), etc. Many mysteries include a midpoint twist or a major turning point in the investigation – perhaps a key clue is found that recontextualizes things, or a suspect is dramatically cleared (or killed, removing them from the list). These developments prevent the middle from sagging and continuously raise the tension.
  3. False Conclusions and Setbacks: Often, as the investigation nears what seems like a solution, something goes wrong. The detective might make an accusation that proves incorrect, or they interpret the clues incorrectly at first. This is a great spot for a big red herring to momentarily fool the detective (and reader). A classic pattern is the "wrong suspect is arrested" scenario – the police or detective think they've got the culprit, only to have another murder occur or new evidence surface that exonerates that suspect. These setbacks keep readers off balance and prolong the mystery until the real solution emerges.
  4. The Climax (Confrontation and Revelation): In the climax, the detective finally pieces together the puzzle and confronts the real culprit. This might be the gathering-of-suspects reveal scene, or it might be a tense one-on-one confrontation or chase. It's often the most exciting part of the book, where the stakes are highest. The pacing here should be brisk – perhaps even veering into thriller territory if the villain tries to retaliate or escape. By now, the reader is eager for answers, so deliver them in a dramatic fashion.
  5. Denouement (Wrap-Up): After the revelation, it's common to have a short wrap-up where loose ends are tied. The detective might explain unresolved clues ("So that's why the portrait was moved – the killer hid the key behind it") and we see the aftermath: the culprit is taken away, the innocent are freed of suspicion, and any secondary plots (romances, personal arcs) are resolved. Some mysteries end almost immediately after the reveal for an abrupt, shocking finish, but most provide at least a few pages of closure to let the reader absorb the outcome. If you're writing a series, you might plant a subtle hook for the next adventure here, but the main story should be concluded.

This outline is just a guideline. Many mysteries deviate from it in creative ways. For example, some modern mysteries might alternate between the detective's perspective and flashbacks from the victim or even the killer, unveiling parts of the truth out of order. Others reveal the murderer to the audience upfront and the suspense comes from watching the detective figure it out (an "inverted" mystery). But if you're starting out, the traditional structure above is a reliable framework to ensure you include all necessary elements (introduction of crime, investigative middle, twists, climax, resolution).

Maintaining pacing and tension. Pacing in a mystery is a balancing act. You need to give the reader breathing room to contemplate clues, but not so much downtime that they get bored. Generally, try to end your chapters or scenes on mini cliffhangers or new revelations to propel the story forward. Vary your scenes to include both investigative dialogues (interviews, interrogations) and action or discovery (finding a hidden letter, chasing a suspect, forensic analyses, etc.). This variety keeps the narrative momentum. Also, consider the timing of clue reveals – spacing them out evenly can create a steady rhythm, but sometimes a burst of multiple clues or an urgent sequence (say, two big revelations back-to-back) can create an adrenaline spike. You might then follow with a quieter scene of reflection to let the detective (and reader) process what they've learned.

Escalation and stakes. To keep readers invested, escalate the stakes as the story progresses. This could be personal stakes (the detective or someone close to them is threatened by the killer, raising the urgency to solve the case), or external stakes (the killer is poised to strike again if not caught, or an innocent person will be wrongly accused). A tried-and-true method in mystery plotting is the "ticking clock" device: introduce a time pressure towards the end. For example, the detective realizes the killer plans to claim another victim at midnight, or an innocent suspect is about to be convicted tomorrow unless the truth comes out. Even if your story is a cozy mystery without life-or-death urgency, you can create a deadline like the detective's flight leaving town, or the case will be taken away by higher-ups, etc., to inject some time-sensitive tension.

Remember that pacing isn't just about action – it's also about emotional engagement. Use your character's arcs and subplots to maintain interest during quieter moments. Maybe the detective has a strained relationship with their partner that comes to a head in the midst of the case, or a moral dilemma about how far to go to get information. These personal elements can keep the reader invested even when clues aren't being uncovered, by deepening the overall narrative. Just ensure these subplots don't derail the main mystery; they should complement, not overshadow, the whodunit.

Writing authentic dialogue and description

Whodunit dialogue
Authentic dialogue in a whodunit invites readers into the mystery, guiding them through layers of misdirection and subtle revelation as they search for the truth between the lines.

Dialogue in a mystery serves many purposes: revealing character, imparting clues or red herrings, and conveying information about the crime. It's also a key tool in making suspects feel real and distinguishing their personalities. Here are some tips for effective dialogue and description in a whodunit:

  • Make every conversation count. In a whodunit story, it's unwise to have idle chit-chat that doesn't advance either the plot or character understanding. So, when your detective interviews suspects or witnesses, ensure each exchange yields something: a clue, a lie revealed, a new suspicion, or at least a deepened sense of character.
  • Different voices for different characters. Pay attention to how each suspect speaks. Their background and personality should reflect in their dialogue. An aristocratic suspect might speak in a formal or dismissive tone; a working-class witness might use colloquial slang. Arthur Conan Doyle gave Sherlock Holmes and Dr. Watson distinct speaking styles – Holmes often lecturing or quipping in a precise manner, Watson more casual and wondering. Distinct voices not only aid in character development but can also serve as subtle clues (for instance, a character's choice of words might betray an education level or region, which could be relevant).
  • Use dialogue to plant clues and misdirection. Suspect statements are prime territory for clues. A cunning culprit might lie, but perhaps their lie contains a telltale inconsistency the detective catches. Or a suspect might inadvertently reveal knowledge they shouldn't have ("When I found the body…" – "Wait, I never said how the body was positioned."). You can also use dialogue to drop background information that becomes important later ("She mentioned her ex-husband was in town that day") without drawing too much attention to it. Keep these exchanges natural; the reader shouldn't immediately flag a line as a Chekhov's gun, but in retrospect they'll see its import.
  • Avoid excessive exposition in dialogue. There's a tendency in mystery drafts to have characters explain the plot to each other. Be wary of "As you know, Bob" syndrome (two characters telling each other things they both already know, purely for the reader's benefit). If you need to convey complex backstory or technical details (like a forensic report), consider more creative approaches: maybe the detective reads a written report (and you summarize it narratively), or one character truly doesn't know and has to have it explained, or the information is revealed through action (they test a theory on how the crime was done). In the final reveal, while a bit of monologuing is expected, try to keep it dynamic – perhaps the culprit interrupts with outbursts or attempts to escape, so it's not just a solid page of one person talking.
  • Atmospheric description and tone. Your narrative style outside of dialogue also sets the mood. Mysteries often benefit from an atmospheric touch in descriptions – an "ominous, uneasy mood" that mirrors the presence of an unknown killer. Whether it's a foggy London street, a stormy night, or the sterile gleam of a forensic lab, use setting details to amplify suspense. Pacing can be reflected in prose style too: during tense scenes, you might use shorter, punchier sentences; during reflective scenes, more detailed, slower-paced description. The tone of your writing should match the subgenre – a gritty noir will have terse, hard-boiled narration, whereas a cozy mystery might have a warmer, witty tone. Consistency in tone builds your story's world and makes it immersive.

One useful exercise is to read your dialogue out loud or act out a scene. Does it sound natural? Are the important beats clear? In a mystery, you have the extra challenge that some lines carry double meaning (one for the first read, another once the solution is known). Ensure the lines work on both levels – not so obviously hinting that they give away the game, but not so obscure that they seem unrelated. When in doubt, subtlety is your friend; readers love the moment of realization when they go back to a conversation and see the hidden clue. Craft your dialogue to reward that second look.

Common pitfalls to avoid

Writing a mystery is a complex task, and it's easy to fall into some classic traps. Here are some common pitfalls in whodunit writing – and how to avoid them:

  • Cheating the reader: This is the cardinal sin. Cheating can take many forms – not providing enough clues for the reader to ever solve the case, introducing the killer in the final chapters (or making it someone who barely appeared in the story), or suddenly revealing new evidence at the end that wasn't hinted at. The solution to a whodunit should never hinge on information the reader couldn't access. Always play fair and plant those clues (however subtly) ahead of time. If you find you need a last-minute revelation to make the solution work, consider revising the earlier chapters to integrate that element.
  • Glaring plot holes or inconsistencies: Mysteries invite scrutiny – readers will be actively trying to connect dots. If there are logical holes (like "Wait, how did the killer manage to be in two places at once?" or "The poison's effect in chapter 3 contradicts the explanation in chapter 10"), your readers will catch them. Plot holes can break the trust between you and the audience. To avoid this, timeline everything carefully and, if possible, have someone else read your manuscript solely to look for inconsistencies. Tight editing and continuity checks are a mystery writer's friend.
  • Too easy or too difficult: It's a delicate balance to strike. If your culprit is painfully obvious (maybe you lean too heavily into one red herring suspect, and the only other person who could have done it is the killer), readers will solve it too early and feel bored. On the flip side, if your puzzle is so convoluted or obscured that the ending feels random, readers feel unsatisfied. As mentioned, aim for the sweet spot: surprising but logical. You might gauge difficulty by test readers' responses. If multiple people guess the ending, you might need another twist or more misdirection. If everyone is utterly baffled even after the reveal, you may need to clarify your clues.
  • Clichés and tired tropes: The mystery genre has been around a long time, and certain tropes have been overused. For example, the butler did it twist became a cliché precisely because it was done so often. Other overdone tropes include the shady twin nobody knew about, the serial killer with a contrived pattern, or the villain monologuing about their plan at gunpoint for no reason. You can still use classic tropes – sometimes they are tropes because they work – but try to put a fresh spin on them. Subvert expectations: if you have a butler character, maybe let them be entirely innocent and even a hero, just to play with the reader's assumptions.
  • Flat characters: Because plotting is so important in mysteries, some writers focus on the puzzle to the detriment of character depth. This results in cardboard cut-out suspects (the jealous ex, the greedy nephew, the corrupt lawyer) who have no dimension beyond their motive. It also can mean a detective with no personal arc or personality, just a clue-finding robot. Don't forget that readers need to care about the people involved, not just the mystery. Give suspects some humanity – even the villain should have understandable (if twisted) reasons. And let your detective have an inner life, flaws, and growth. A mystery where all characters are just pawns for the plot will feel hollow.
  • Pacing problems: Some mysteries suffer from a slow, muddled middle or an abrupt end. Avoid dumping all the exciting stuff at the beginning or end with a sagging middle of endless interviews that go nowhere. Conversely, don't rush your reveal – give the climax enough space to breathe and explain things. Pacing issues often improve in revision: look at each scene and ask, "Does this move the story forward or raise a new question?" If not, trim or tweak it. Also, maintain an atmosphere of tension; even scenes of dialogue can crackle with suspense if there's conflict or stakes in them.
  • Lack of emotional payoff: Remember that a murder mystery isn't just a logic puzzle—it involves life and death. Don't treat the victim as just a prop. Show the impact of the crime: characters who are saddened, frightened, or enraged by it. If your tone is light (as in a cozy mystery), you may not dwell on gore or grief, but even light mysteries should acknowledge that a life was lost or that a criminal is on the loose. Similarly, the ending should offer some emotional resolution: either justice achieved or, at the very least, the truth revealed. If your detective is personally invested, address their emotional state: are they vindicated, traumatized, satisfied? As Anne R. Allen notes on her blog, a common pitfall is when authors forget that murders are shocking and deaths are tragic for the people in the story. Even if your sleuth has seen dozens of cases, every loss should still carry emotional weight.
  • Forgetting the "why": We talked about motive, but it's worth re-emphasizing: an unsatisfying villain motive can deflate a mystery's ending. Avoid having the killer confess to a flimsy reason or none at all. Even a psychopath character (who "kills for fun") can be fleshed out – perhaps they have an underlying pathology or a particular trigger that made this scenario their killing ground. Readers might not sympathize with the antagonist, but they should at least understand what drove them. As crime novelist P.D. James said, All the motives for murder are covered by the four Ls: Love, Lust, Lucre and Loathing. If your villain's motive doesn't fall into one of those in some form, make sure it's convincing. And if it does, strive to present it in a non-generic way (e.g., not just "he killed for money," but a more specific and personal reason related to money).

By being mindful of these pitfalls during planning and revision, you can significantly strengthen your mystery novel. When in doubt, always circle back to the reader's experience: Are they engaged? Are they challenged but not confused? Are they invested in the characters? If you can answer yes, you're on the right track. And if you spot one of these common errors in your draft, don't be discouraged – almost every mystery will need some tweaking to get the balance right. That's part of the process of crafting a compelling whodunit.

Exercises to get you started

Whodunit exercises
Whodunit writing exercises sharpen your mystery-building skills—helping you master suspects, clues, red herrings, and the satisfying twists that keep readers guessing until the final page.

Looking for ways to jump-start your whodunit writing? Try these exercises to spark ideas and hone your mystery-crafting skills:

  • Suspect Sketches: Dream up a basic crime scenario (for example, "a famous writer is found dead at his birthday party"). Now create three distinct suspects, each with a plausible motive to want the victim dead. Write a short paragraph for each suspect, describing their relationship to the victim, their motive, and one secret unrelated to the murder (which could serve as a red herring). This exercise helps you practice building an ensemble of suspects with depth and motives.
  • Clue Hiding: Write a scene in which a detective character enters a room and observes 5 specific details. One of those details is a crucial clue to a mystery, but neither the detective nor the reader (yet) knows which one is important. The challenge is to describe the room and those details in such a way that the clue doesn't stand out overtly, but will later make the reader say "aha!". This exercise will train you in the art of subtle clue placement.
  • Red Herring Dialogue: Write a two-page dialogue between your detective and a suspect who is innocent, but who has something to hide. In the dialogue, make the suspect seem nervous and suspicious. They should lie about a couple of points. After writing it, note what the suspect was really hiding (since they didn't do the murder). This practice will help you create conversations that mislead while still having an internal logic.
  • The Unreliable Narrator Mini-Story: As a creative experiment, write a short scene (300-500 words) from a first-person narrator who is secretly the one who committed a theft. The narrator describes discovering the theft and starting to "investigate." Drop at least two subtle hints of their guilt through what they notice or fail to mention. This will give you insight into how to plant clues via narration and how viewpoint can conceal or reveal truth.
  • Plot the Murder Backwards: Choose a simple whodunit premise (e.g., "Who killed the curator during the museum gala?"). Start by deciding who the murderer is and how they committed the crime. Then list at least five clues that would logically lead the detective to the culprit—such as a forged security pass, a hidden motive, forensic evidence, or an alibi that doesn't hold up. Next, arrange these clues in the order they might be discovered throughout the story, and add one red herring that convincingly points to another suspect for a while. This exercise helps you practice building a structured, clue-driven murder mystery from the solution backward.

Feel free to adapt these exercises to your particular story idea. The goal is to flex the various "mystery-writing muscles" – creating suspects, hiding clues, writing deceptive dialogue, and structuring plots. Mystery writing is very much a skill that improves with practice, so the more you play with these elements, the more adept you'll become at weaving them together seamlessly.

Conclusion

Crafting a whodunit mystery is a rewarding challenge. You are both architect and illusionist – designing a solid structure for a story while also creating the magic of suspense and surprise. By focusing on core elements like a compelling detective, a cast of well-motivated suspects, carefully planted clues, and crafty red herrings, you can construct a mystery that engages readers' minds and emotions. Remember to pace your story in a way that maintains tension, to develop your characters as more than just clue-carriers, and above all to play fair with your audience without losing the element of surprise.