iWrity Logo
iWrity.comAmazon Book Reviews

Writing Craft Guide

How to Write Locked-Room Mysteries

The locked-room mystery is detective fiction at its most playful and its most demanding — a puzzle that appears to have no solution, whose solution must be hidden in plain sight, and whose revelation must produce both surprise and the retrospective sense that the reader should have seen it. The craft is in making the impossible merely improbable.

Impossible, then inevitable

The solution must feel

Conceal in plain sight

The mechanism hides by

Every detail matters

The setting is the puzzle

The Craft of Locked-Room Mysteries

Designing the impossibility

The locked-room mystery begins with its impossibility: the specific, concrete situation that appears to rule out any human agency. Designing a good impossibility requires understanding what the reader will immediately consider as explanations and ruling them out cleanly — not hand-waving the objections but addressing them directly, so the reader feels genuinely stuck. The impossibility should be vivid and specific: not simply “a locked room” but a room with a specific kind of lock, with specific witnesses who saw the victim alive and the room locked, with specific physical evidence that rules out the obvious escape routes. The more concrete and specific the impossibility, the more satisfying the solution — because the solution must address each specific element that made the crime seem impossible.

The mechanism and its concealment

Every locked-room mystery depends on a specific mechanism: the precise, mundane explanation for how the apparently impossible crime was accomplished. Finding a good mechanism requires both ingenuity (the solution should not be immediately obvious) and elegance (the solution should use the specific physical and social properties of the situation rather than importing an arbitrary trick). The mechanism should be concealed in the text by embedding the relevant detail in apparently unimportant material — the type of lock, the specific construction of the door, a detail of the victim's behavior or the killer's alibi that seems irrelevant but is actually the key. When the mechanism is revealed, every detail that concealed it should become retrospectively significant.

Misdirection and false solutions

Locked-room mysteries typically offer the reader false solutions before the true one: explanations that seem to account for the impossibility but that the detective shows are inadequate. These false solutions serve multiple purposes: they demonstrate that the detective has genuinely considered the obvious explanations, they extend the reader's engagement with the puzzle, and they rule out the simpler mechanisms so that the true solution feels genuinely surprising. Writing effective false solutions requires making them genuinely plausible — the reader should be tempted by each one — while building in the specific objection that rules each out. The false solution that is obviously wrong does not produce the pleasure of genuine misdirection.

The detective's reasoning

The locked-room mystery's detective must demonstrate, in the revelation scene, how the apparently impossible was actually possible — walking the reader through the reasoning that led from the evidence to the mechanism. This demonstration should feel like genuine reasoning rather than like an assertion: the detective should show how each element of the apparently impossible situation is actually consistent with the true explanation, and how the clues that seemed irrelevant are actually essential. The best locked-room reveals produce an “of course” moment: the reader sees, in retrospect, exactly how they could have reached the same conclusion if they had followed the same chain of reasoning.

Setting as puzzle component

Locked-room mysteries are highly dependent on their physical settings: the specific architecture of the room, the construction of the lock, the layout of the building, the position of witnesses. The setting should be rendered with enough specificity that the reader can construct a mental map of the crime scene and reason about the physical possibilities it permits and excludes. Diagrams are traditional in the genre for this reason: they make the spatial constraints of the problem concrete. Writing the setting requires knowing in advance exactly how the mechanism works and then describing the setting in a way that makes the mechanism theoretically possible while making it seem practically impossible — a delicate and specific craft task.

Beyond the golden age

The locked-room mystery tradition has expanded well beyond its golden-age English country-house origins: Japanese honkaku mystery fiction (Seishi Yokomizo, Soji Shimada, Fuminori Nakamura) has produced some of the most ingenious impossible-crime plotting of the late twentieth century; contemporary writers like Paul Halter (in French) and Hake Talbot have pushed the mechanism's complexity to new limits. Contemporary locked-room mysteries can also use the traditional form with contemporary settings and concerns — the impossible crime in a modern apartment building, the apparently supernatural death in a scientific facility, the sealed digital space with evidence that seems physically impossible. The genre's core pleasure — the impossible made possible by a mundane explanation that was always there — is independent of its historical setting.

Crack the impossible with iWrity

iWrity helps locked-room mystery authors track every element of the impossibility, the hidden mechanism and its clues, the false solutions that misdirect, and the retrospective logic that makes the revelation feel both surprising and inevitable.

Start for free

Frequently Asked Questions

What makes a locked-room mystery different from other detective fiction?

Locked-room mysteries (also called impossible-crime fiction) feature crimes that appear to violate physical possibility: the murder victim found alone in a locked room with no way in or out, the theft from a sealed vault, the footprints that lead to the middle of a field of snow and stop. The apparent impossibility is the genre's defining pleasure and its central craft challenge: the puzzle must seem genuinely unsolvable — not merely difficult but impossible — while having a solution that is both mundane and elegantly hidden. The genre reaches back to Edgar Allan Poe's “The Murders in the Rue Morgue” and found its golden age in John Dickson Carr, whose Gideon Fell novels are the tradition's pinnacle.

How do you construct a locked-room puzzle that plays fair?

A fair locked-room puzzle must meet two requirements simultaneously: the apparent impossibility must be genuine (not a case where the locked room is simply unexamined and the solution trivially obvious), and the solution must be findable from evidence that was available to the reader. The mechanism of the impossible crime — the specific, mundane trick that produced the apparently supernatural effect — should be hidden in the text rather than withheld from it: a detail that seemed insignificant but was the key all along, or a physical property of the setting that the reader was shown but did not fully consider. The solution should be surprising in retrospect, but the reader should be able to see, on rereading, that all the pieces were there.

What are the main categories of locked-room solution?

John Dickson Carr's Dr. Fell, in “The Hollow Man,” famously lectures on the categories of locked-room solution: the crime was not committed in the locked room (the body was moved); the crime was committed by mechanical means (a device that locked the door or fired the weapon remotely); the door was not actually locked (an illusion of locking); the victim locked the room themselves and then was killed by a method that appeared impossible; an accomplice was involved in the locking; or the time of death was misestimated (the crime occurred at a different time from what was assumed). Most locked-room solutions fall into one of these categories, and the writer who knows the tradition can either work within it or find genuinely novel mechanisms that do not.

How do you hide the solution in plain sight?

The locked-room mystery's most demanding craft challenge is concealing the solution mechanism in the text so that it is genuinely present but not recognized as significant. The classic techniques are: presenting the key detail in a cluster of other details (so it does not stand out), introducing it during an emotionally charged scene (so the reader's attention is elsewhere), using a misleading framing (presenting the key detail as supporting one explanation when it actually supports another), or exploiting a gap in the reader's knowledge (the reader who does not know that a particular chemical produces a particular effect will not recognize the significance of its presence). The detail should be so innocuous on first reading that the reader does not register it as a clue, and so obvious on rereading that they wonder how they missed it.

What are the most common locked-room mystery craft failures?

The most common failure is the solution that requires specialized knowledge the reader was not given: the mechanism that depends on an obscure chemical reaction, an architectural feature that was never described, or a technical possibility that the reader could not reasonably have known about. The second failure is the impossibility that was not really impossible: the locked room that could have been exited by a route the detective never considered, the sealed container that had an obvious opening the investigation ignored. The third failure is the mechanism that is more complicated than the crime merits: the Rube Goldberg solution that required implausible precision and coordination from the killer. And the fourth failure is the solution that is clever but joyless — technically correct but without the aesthetic satisfaction that makes the reader feel the puzzle was worth solving.