How to Write a Whodunit

How to Write a Whodunit That Readers Cannot Put Down: Clues, Red Herrings, and Pacing Done Right

if you want to know how to write a whodunit, start there. Build a crime that makes sense. Scatter fair clues. Create real suspects with real secrets.

Share story

Advertisement

A good whodunit is not just a story about a murder. It is a contest of attention.

The writer lays down footprints, motives, timings, lies, habits, emotional cracks, and tiny objects that seem meaningless until they are not. The reader follows, guesses, mistrusts, doubles back, accuses the wrong person, changes their mind, and keeps turning pages because the book is not only asking who did it, but also whether they were clever enough to notice what was there from the beginning.

That is what separates a real whodunit from a mystery-shaped novel. A true whodunit is built like a machine. The solution must feel surprising, but once revealed, it must also feel inevitable. The clues must be visible, but not loud. The red herrings must distract, but not cheat. The pacing must tighten, release, and tighten again so that the reader feels both oriented and unstable.

If you want to learn how to write a whodunit, you need to think like both magician and engineer. The magician creates misdirection. The engineer makes sure the trick still works when taken apart.

This is where many mystery novels fail. They either hide too much and feel unfair, or explain too much and become predictable. They mistake chaos for intrigue. They make the detective clever by making everyone else stupid. Or they stuff the middle with repetitive interviews and call that investigation. A strong whodunit does none of those things. It gives the reader enough to solve the case, then uses structure, psychology, and pacing to keep them from seeing the full picture too early.

That is the craft. And once you understand the craft, writing a whodunit becomes far less mysterious.

Start with the crime, not the plot twist

Most beginners start with the reveal. They decide the killer is the sister, the butler, the professor, the grieving husband, the family friend, or the quietly bitter accountant, and then try to build a story backward from that. Backward construction is useful, but if you start only with the twist, you often end up with a mystery that feels thin everywhere except at the ending.

Start with the crime itself.

Ask the hard, boring, practical questions first. Who died? When? Where? How? Who had access? What was the killer trying to achieve? Was the killing planned, impulsive, accidental, or disguised? What would the killer need to do before, during, and after the murder? What mistake did they make without realizing it?

A good whodunit becomes believable when the murder makes logistical sense. If the body is found in a locked library at 10 p.m., you need to know exactly how the killer got in, got out, and why the timing matters. If poison was used, you need to know when it was administered and why nobody noticed. If an alibi matters, you need to know what makes that alibi seem solid at first and what later weakens it.

Once the crime itself is solid, the rest of the mystery becomes easier to build. The clues arise naturally from action. The red herrings arise naturally from confusion, bias, and incomplete knowledge. The pacing becomes easier because investigation now has something concrete to investigate.

A weak crime produces artificial clues. A strong crime produces organic ones.

The central rule of the whodunit: be fair, not obvious

The reader should be able to solve the mystery before the detective explains it.

Not easily. Not quickly. Not without effort. But they should be able to.

That is the unwritten promise of the classic whodunit. You are allowed to mislead. You are allowed to delay understanding. You are allowed to exploit human assumptions. But you are not allowed to invent the answer in the final chapter or reveal a murderer the reader had no meaningful chance to suspect.

How to Write a Whodunit

Fairness does not mean transparency. It means the truth was always on the page.

This is why placing clues in mystery novels is such delicate work. The clue must be visible enough to count, but not emphasized so heavily that it feels like a neon arrow. It should sit in the reader’s mind as one detail among many. Later, when the detective reveals its importance, the reader should think, “Of course. I saw that. I just didn’t know what I was looking at.”

That feeling is gold.

You get it by hiding clues inside natural story movement. Put the clue inside a casual conversation, a bit of scene description, a social interaction, a contradiction in testimony, or an emotional response that feels human before it feels evidentiary.

For example, imagine a suspect says she never entered the victim’s study. Later, in a different scene, she absentmindedly mentions the smell of cigar smoke in that room. If the victim had stopped smoking weeks earlier, the clue is not just that she entered the study. The clue is that she is remembering an earlier moment. That suggests prior secret access, perhaps before the murder, perhaps as part of planning. The clue is fair because it is present. It is subtle because the line looks like memory, not confession.

That is the balance you want.

Build suspects as human beings, not clue containers

A whodunit needs suspects, but suspects are not just names on a board. They are pressure points.

Each major suspect should have three things: motive, opportunity, and emotional plausibility. Not all three need to be equally strong, but each suspect must feel like someone who could truly be involved. If a character exists only to briefly seem guilty, readers will feel the scaffolding.

Good suspects have their own secrets, and those secrets should matter even if they are not the murder. This is one of the most useful techniques in mystery fiction. A suspect becomes convincing not only because they might be the killer, but because they are already hiding something real.

Perhaps the niece forged a signature. Perhaps the business partner is having an affair. Perhaps the son stole money. Perhaps the housekeeper overheard a will change and kept quiet. Perhaps the wife destroyed letters to protect her dignity, not to cover up murder.

These secondary secrets are essential because they create honest suspicion. A character who lies under pressure looks guiltier whether or not they killed anyone. That is not cheating. That is human behavior.

It also gives you richer scenes. Interviews become layered. People do not just answer questions; they dodge the wrong ones, over-explain harmless things, and stay silent where silence is damaging. The detective begins to sense that everyone is hiding something, which is often true.

And that is one reason red herrings work best when they are tied to real secrets rather than fake villainy.

The best clues do more than one job

A clue should rarely do only one thing.

The strongest clues perform at least two functions at once. They may advance character, enrich setting, create mood, or deepen relationships while also quietly serving the mystery. This keeps the novel from feeling mechanical.

Take a broken wristwatch found near the body. In a weak mystery, it exists only so the detective can later say the time of death was staged. In a stronger mystery, the watch might also reveal something about the victim’s vanity, his habit of wearing expensive heirlooms, his argument with a family member who wanted it, or his tendency to dramatize small injuries. Now the object belongs to the world, not only to the plot.

Or take a muddy footprint. On its own, it is functional. But if the footprint appears in a greenhouse the victim used as a place of emotional refuge, then the clue also tells us something about the intimacy of the intrusion. Someone entered not just a room, but a sanctuary.

The more naturally a clue belongs to life, the less it feels planted.

That is the secret of effective clue placement. Do not think, “How do I insert evidence?” Think, “What detail would naturally exist in this scene that becomes meaningful later?”

How to place clues without waving at them

Writers often make one of two mistakes with clues. They either bury them too deeply, so the solution feels arbitrary, or they spotlight them so obviously that the reader immediately underlines them mentally.

The best method is controlled emphasis.

Give the clue just enough narrative weight to be remembered, but not enough to be decoded in real time. A sentence or two is often enough. Sometimes the clue should arrive in a scene that is emotionally or socially busy, so the reader absorbs it but does not isolate it. Sometimes it should appear beside a more dramatic detail, letting the eye slide past it.

For instance, if the key clue is that a suspect is left-handed, do not write a sentence that sounds like you are pinning a medal to the fact. Instead, show them lifting a teacup, striking a match, or signing a document with the left hand while the conversation is focused on something else. Later, when a wound angle or object placement matters, the earlier detail becomes alive.

Or imagine the true clue is that the victim’s dog did not bark. Do not have the detective stare at the dog ominously. Let someone mention, in passing, that the dog is impossible around strangers and once bit the gardener. Then move on. When the dog’s silence later matters, it lands hard.

Subtlety is not vagueness. It is placement.

Red herrings should mislead the reader, not insult them

A red herring is not a random false clue. It is a plausible line of suspicion that turns out not to explain the crime.

That difference is important. A false clue that exists only to waste time can feel manipulative. A real red herring grows out of character, circumstance, or incomplete interpretation.

This is why good red herrings examples almost always come from one of four places.

The first is the hidden but unrelated secret. A suspect lies, sneaks, destroys evidence, or panics because they are covering up something shameful but non-homicidal. Readers and detectives reasonably mistake concealment for guilt.

The second is the misread clue. A fact is real, but its meaning is wrong. A torn note may not be a dying message but part of an old shopping list. A missing ring may not indicate robbery but a private affair. A broken window may not be forced entry but staging done after the fact.

The third is the emotional misdirection. Readers are drawn toward the person who seems angriest, coldest, most unstable, or most dramatic. Meanwhile, the actual killer may appear helpful, wounded, or forgettable.

The fourth is the structural red herring. The story itself encourages the reader to ask the wrong question. They focus on who hated the victim most when the real key is who feared exposure. They focus on access to the murder weapon when the real clue is timing. They focus on inheritance when the murder is really about shame.

A good red herring should feel, for a while, better than the truth.

That is what makes its collapse satisfying.

Three strong red herring patterns you can use

One effective pattern is the guilty lover. A character looks suspicious because they had a secret romantic relationship with the victim. They lied about seeing the victim, deleted messages, and had a powerful motive to stay hidden. But their real fear is scandal, not murder. Their lie matters because it blocks the investigation, but it is not the answer.

Another strong pattern is the staged anger red herring. A character had a public argument with the victim and even threatened them in front of witnesses. This makes them the obvious suspect. But the public fight becomes the very reason they are innocent, because the actual killer would never choose such a visible route to suspicion unless they were remarkably foolish. The real killer may have quietly benefited from the spectacle.

A third is the forged logic red herring. Evidence appears to point to one suspect because someone planted or manipulated a clue. This can work beautifully if the planted evidence is not too theatrical. A handwritten note, a missing keycard, a borrowed scarf, or an email sent from a shared device can all misdirect if grounded in plausible access and motive.

The trick with all red herrings is that they should produce forward momentum. When a red herring collapses, the story should not stall. It should release new information, deepen stakes, or expose a more interesting question.

Pacing is not speed. It is pressure.

Many writers think mystery pacing means constant action. It does not. A whodunit can be quiet, talky, even domestic, and still feel impossible to put down. What matters is pressure.

Pressure comes from three sources: unanswered questions, rising consequences, and changing interpretation.

A scene does not need a car chase to have momentum. It needs the reader to feel that something important is at stake in the information being gathered or withheld. A breakfast conversation can be tense if the reader knows one person is lying, another is almost noticing, and the detective is listening for the exact inconsistency that will crack the case.

Good pacing in a whodunit depends on rhythm. You need revelation, then complication. Suspicion, then reversal. Discovery, then reinterpretation. The investigation should keep changing the shape of the reader’s understanding.

If every chapter simply adds another possible suspect, the story goes flat. If every chapter proves the previous chapter wrong, the story feels gimmicky. You need controlled escalation.

One useful structure is this:

In the opening, establish the crime, the social world, and the first false shape of the case. In the middle, widen the circle, deepen the secrets, and repeatedly shift what the murder seems to be about. In the late middle, force the detective to pursue one compelling wrong solution almost to the point of collapse. Then, near the end, let one overlooked clue or emotional contradiction suddenly reorder the entire structure.

That is pacing. Not speed, but the timed release of pressure.

The middle is where whodunits live or die

The beginning of a mystery is easy to write because there is a body, a setting, a cast, and a question. The ending is easier because you know the truth. The middle is where many writers lose control.

The middle goes dull when the investigation becomes repetitive. Interview, denial, suspicion, repeat. Or clue, theory, correction, repeat. To avoid this, each middle section should do at least one new thing.

Introduce a new suspect category. Reinterpret an old clue. Shift the emotional center. Reveal a hidden relationship. Change the apparent motive. Narrow the timeline. Force the detective into a mistake. Raise a public consequence. Reveal that the victim was not who everyone thought. Or expose that the murder was not committed in the way assumed.

In other words, the middle should not merely prolong the question. It should improve it.

A strong mystery starts with “Who killed him?” but then evolves into “What was really happening in this house?” or “Why is everyone lying about that one hour?” or “What is the victim’s daughter so terrified of saying aloud?”

The question becomes richer. That keeps the pages alive.

Use scene endings like trapdoors

One of the simplest ways to improve mystery pacing is to end scenes with a shift, not a stop.

A shift can be small. A new fact. A contradiction. A changed suspicion. A surprising emotional reaction. An object noticed too late. A witness who says one sentence that does not fit the timeline. A suspect who seems relieved by the wrong thing.

Do not let scenes merely conclude. Let them tilt.

This gives the reader the feeling of being pulled forward. They do not continue because you told them something shocking every five pages. They continue because each scene alters the angle of the case just enough to create friction.

That is especially important in interview-heavy mysteries. Two pages of questioning become much more compelling if the final answer in the scene forces the detective to rethink the previous three chapters.

The detective must solve the case differently from the reader

A subtle but important point: the detective and the reader do not need to arrive at the truth through exactly the same route.

The reader is often solving through pattern recognition, intuition, suspicion, and memory of details. The detective can use those things too, but should also bring a specific interpretive strength. Maybe they are great at reading class behavior, noticing linguistic slips, reconstructing movement, or sensing when grief is performative. Their method should feel personal.

This matters because it makes the solution more satisfying. If the detective simply notices the same obvious things the reader notices, they feel flat. If they rely on hidden facts the reader could never know, they feel unfair. But if they use a distinctive intelligence to reframe visible facts, they feel earned.

The best detective reveals that the truth was not hidden by absence, but by the wrong pattern of attention.

Make the victim matter

One of the most common weaknesses in amateur whodunits is that the victim exists only as a body.

But murder is not just about who killed. It is about who was killed, and what their death reorganizes. A strong victim casts pressure backward and outward. Their relationships, lies, habits, cruelties, kindnesses, debts, and blind spots should shape the whole mystery.

The more vividly the victim lives in other people’s memories, the richer the case becomes. Different people should have different versions of them. The victim may be generous to one person, humiliating to another, childish to a third, impossible to read to a fourth. This multiplies motive naturally.

It also deepens the reader’s investment. The book stops feeling like a puzzle performed in a vacuum and starts feeling like a social and emotional crisis.

A corpse starts the plot. A life gives the plot depth.

The reveal must feel both surprising and morally right

The ending of a whodunit is not just a technical answer. It is the final moral arrangement of the story.

This does not mean justice must always be simple or legal. But it does mean the reveal should satisfy the emotional logic of the novel. The killer should not be random. The motive should belong to the world you built. The clues should reassemble into a clear line. The detective’s explanation should not feel like a lecture pasted onto the end, but like a final lens snapping into focus.

The best reveals do three things at once. They answer the crime. They reinterpret the whole novel. And they expose character in a deeper way than the reader first understood.

A good ending makes the reader want to flip back to earlier pages. That is one of the clearest signs the structure worked.

A practical blueprint for your own whodunit

If you want a usable working method, build your mystery in this order.

First, decide the real crime in detail. Know exactly what happened.

Second, decide why the killer did it and what emotional truth sits underneath the motive. Greed is not enough. Shame, fear, resentment, love, humiliation, dependency, inheritance anxiety, and buried history are stronger.

Third, create at least three serious suspects, each with a real secret and a plausible reason to look guilty.

Fourth, make a clue list. Include the true clues, the misread clues, the red herrings, and the information the detective will notice later than the reader.

Fifth, map the reveal backward. Ask where each clue must appear so that it feels fair but not obvious.

Sixth, plan the midpoint shift. This is the moment where the case changes shape. Perhaps the apparent motive is wrong. Perhaps the victim’s past opens up. Perhaps a key alibi collapses. Perhaps the first suspect is cleared too convincingly.

Seventh, plan the late false solution. Let the detective and reader feel briefly close to the answer.

Eighth, choose the overlooked clue that unlocks the final understanding.

Ninth, write the ending so the emotional and logistical truth arrive together.

That blueprint will save you from wandering.

The real secret of writing a whodunit

The real secret is not cleverness. It is control.

A whodunit feels clever when the writer has controlled information, emotion, suspicion, and rhythm with confidence. The reader should feel free, but they are not free. They are being guided. Their eye is being directed. Their assumptions are being used. Their memory is being tested. Their sympathy is being manipulated.

But all of that must happen invisibly.

That is why the genre is so satisfying when done well. It gives the pleasure of chaos while secretly being one of the most structured forms in fiction. The writer knows where every clue lands, what every lie conceals, why every suspect matters, and how every scene increases pressure.

So if you want to know how to write a whodunit, start there. Build a crime that makes sense. Scatter fair clues. Create real suspects with real secrets. Use red herrings that grow naturally out of human behavior. Pace the story through pressure, not noise. And when you reach the ending, make sure the truth feels like it was always waiting inside the story from the first page.

Because in the best whodunits, it was.

Revlox Magazine Newsletter

Get the latest Revlox stories, cultural essays, and strange discoveries, handpicked for your inbox.

A cleaner edit of the week’s standout reporting, visual culture, historical mysteries, and deeper reads from across the magazine.

By signing up, you agree to the Terms & Conditions and acknowledge the Privacy Policy.

Advertisement

More stories from Revlox Magazine

Read more

Advertisement

Advertisement

Advertisement