You write a locked room mystery by designing an impossible crime first â a murder committed in a sealed space with no visible way in or out â then reverse-engineering a logical solution and planting every clue the reader needs to solve it before your detective does.
In this guide, youâll learn:
- How to design an impossible crime setup that genuinely baffles readers
- The classic solution categories (and how to invent your own)
- Fair-play principles that separate a satisfying reveal from a cheap trick
- How to build suspense within a confined setting
- Common locked room mistakes and how to avoid every one of them
Hereâs the step-by-step process.
What Is a Locked Room Mystery?
A locked room mystery is a subgenre of detective fiction where a crime â usually murder â occurs inside a sealed space that appears impossible for the perpetrator to enter or exit. The central question shifts from whodunit to howdunit: how did the killer commit murder in a room locked from the inside, with no weapon present and no way to escape?
Edgar Allan Poe invented the form with âThe Murders in the Rue Morgueâ in 1841. John Dickson Carr perfected it a century later, writing so many impossible crime novels that a panel of mystery reviewers voted his 1935 novel The Hollow Man the greatest locked room mystery of all time. Agatha Christieâs And Then There Were None â the worldâs best-selling mystery novel at over 100 million copies â used a variation of the locked room concept on a remote island.
Today the subgenre is thriving. Lucy Foley, Elly Griffiths, and Stuart Turton have all published acclaimed locked room mysteries in recent years. The appeal is timeless: readers love a puzzle that seems physically impossible until the solution clicks into place.
How to Design Your Impossible Crime Setup
The impossible crime setup is the foundation of your entire novel. You need to design it before you write a single scene.
Start With the Solution, Then Build Backward
Most mystery writers plot forward â murder happens, detective investigates, solution appears. Locked room mysteries work in reverse. You need to know exactly how the crime was committed before you decide how the crime scene will look.
Ask yourself three questions:
- What is the sealed space? A hotel room, a moving train car, a snowbound cabin, a bank vault, a lighthouse â any location that can be convincingly sealed.
- What makes it impossible? Doors locked from the inside, windows painted shut, security cameras showing no one entering, fresh snow with no footprints â the impossibility must be concrete and verifiable.
- What is the actual solution? A hidden passage, a timed mechanism, a manipulation of witnesses â you need the answer before you write the question.
Working backward is essential because every scene in your novel must contain clues pointing toward the real solution while misdirecting toward false ones. You canât plant clues for an answer you havenât figured out yet.
Choose a Setting That Amplifies Isolation
The âroomâ in a locked room mystery doesnât have to be a literal room. The best modern examples expand the concept to any sealed or isolated environment.
| Setting Type | Examples | Why It Works |
|---|---|---|
| Single room | Hotel room, office, vault | Classic simplicity â the impossibility is immediately clear |
| Sealed building | Snowed-in lodge, island mansion, submarine | Suspects are trapped with each other, multiplying tension |
| Moving vehicle | Train car, cruise ship, airplane | The container itself is sealed and moving â escape seems doubly impossible |
| Natural isolation | Remote island, mountain cabin, lighthouse | Weather or geography replaces a physical lock |
| Digital locked room | Server room, smart home | Modern twist â the âlockâ is electronic and the crime involves technology |
The setting should do double duty. It seals the crime scene and traps your suspects together. When no one can leave, suspicion spreads like fire, and that claustrophobic pressure drives your plot forward.
Establish the Impossibility Early and Clearly
Your reader needs to understand exactly what makes the crime impossible. If your solution depends on a window being too small to climb through, describe that window before the murder happens. If the door was locked with a deadbolt that can only be turned from inside, show the detective testing that deadbolt.
Ambiguity kills a locked room mystery. The more clearly you establish the impossibility, the more impressive the solution becomes when the puzzle breaks open.
The Classic Locked Room Solutions (And How to Innovate)
John Dickson Carrâs famous âLocked Room Lectureâ in The Three Coffins categorized nearly every possible solution. Understanding these categories helps you either use them cleverly or invent something genuinely new.
Category 1: The Crime Was Committed From Outside
The killer never entered the room. They killed the victim remotely â through a window, a ventilation shaft, a mail slot, or a poisoned object left inside before the room was sealed. This is the most common solution category and the hardest to make fresh.
How to innovate: Use modern technology. A smart home device programmed to release a toxin. A drone operated through a cracked skylight. An automated system triggered by the victimâs own actions.
Category 2: The Room Wasnât Really Sealed
The appearance of a sealed room is an illusion. A hidden passage, a duplicate key, a lock mechanism that can be manipulated from outside, or a window that was relocked after the killer left.
How to innovate: Instead of a secret passage, consider digital locks that can be hacked remotely, or a door that was only assumed to be locked because no one checked it before the crime was discovered.
Category 3: The Crime Happened at a Different Time
The victim was already dead (or dying) when the room was sealed. The killer established an alibi, left the room, and the victim died later from a slow-acting poison, a delayed injury, or a timed mechanism.
How to innovate: Play with unreliable timelines. What if multiple witnesses saw the victim âaliveâ through a window â but they were actually seeing a recording, a mannequin, or a different person wearing the victimâs clothing?
Category 4: The Victim Caused Their Own Death
Suicide disguised as murder, or an accidental death that circumstances made look like a locked room killing. The âmurderâ is actually a misinterpretation.
How to innovate: Combine this with a second crime. The death really was suicide â but someone manipulated the victim into killing themselves, and that manipulation is the real mystery.
Category 5: The Witnesses Are Lying
The locked room never existed as described. Key witnesses â deliberately or through mistaken perception â created the appearance of an impossible crime. The door wasnât really locked. The window wasnât really sealed. The timeline wasnât what people claimed.
How to innovate: Use multiple unreliable narrators. Each witness genuinely believes their account, but their individual blind spots and assumptions combine to create a false picture of impossibility.
Combining Categories for Complexity
The strongest locked room mysteries blend two or more categories. The door was locked from the inside (Category 2 â manipulated lock mechanism) and the victim was already dying from a slow-acting agent (Category 3). Layering solutions creates depth and makes the puzzle harder for experienced mystery readers to crack.
Fair-Play Rules for Locked Room Mysteries
Fair play isnât optional in this subgenre. Itâs the entire contract between you and your reader.
Fair play means the reader has access to every piece of information the detective uses to solve the crime. No hidden evidence. No last-minute revelations pulled from nowhere. No specialized knowledge the reader couldnât possibly possess.
S.S. Van Dineâs âTwenty Rulesâ and Ronald Knoxâs âTen Commandmentsâ from the 1920s codified these principles. The rules that still matter today:
- The criminal must appear early. Your killer should be an established character, not someone introduced in the final chapter.
- All clues must be available to the reader. If the detective notices something, the reader must have seen it too â even if they didnât recognize its significance.
- No secret passages unless established. If your solution involves a hidden door, the existence of hidden doors in the building must be mentioned before the reveal.
- No supernatural solutions. In a locked room mystery, the solution must be physically possible. If ghosts committed the murder, youâre writing horror, not detective fiction.
- The detective cannot be the criminal. Your investigator plays fair with the reader â and with the story.
Break these rules and your ending will feel like a cheat. Follow them rigorously and your reader will experience that rare satisfaction of realizing the answer was in front of them the entire time.
How to Plant Clues in a Locked Room Mystery
Clue planting in a locked room mystery requires more precision than in a standard mystery. Youâre hiding the method of an impossible crime, not just the killerâs identity.
The Three-Layer Clue System
Use three types of clues to build your puzzle:
Physical clues â Objects, positions, temperatures, smells. The window latch thatâs slightly bent. The dust pattern on the floor that shows a rug was moved. The coffee thatâs cold when it should be warm, suggesting the victim died hours before the body was discovered.
Behavioral clues â What people do and donât do. The suspect who never enters the crime scene room, suggesting they know something about it. The witness who describes events in oddly specific detail, as if rehearsed.
Absence clues â Whatâs missing or doesnât happen. The dog that didnât bark (Sherlock Holmesâ most famous logical deduction). The alarm that didnât trigger. The surveillance camera that was turned away at a specific time.
Hide Clues Using Misdirection
The best technique for hiding clues in plain sight is to give each clue a second, innocent explanation. The bent window latch? A character mentions that the building superintendent is lazy about maintenance. The cold coffee? The victim was known for letting drinks go cold while working. Every real clue should have a plausible cover story â one that the reader accepts on first read but questions on the reread.
Red Herrings That Donât Feel Cheap
A red herring in a locked room mystery should point toward a different impossible solution, not just a different suspect. If readers are wondering whether the killer used a secret passage, plant evidence suggesting one exists â then reveal the passage is real but leads nowhere useful. The misdirection relates to the how, not just the who.
How to Structure Your Locked Room Mystery
The pacing of a locked room mystery follows a distinct rhythm that differs from standard mystery structure.
Act 1: Establish the World, Then Shatter It
Spend 20-25% of your novel establishing the setting, the characters, and â critically â the physical space where the crime will occur. Your reader needs a mental map of the room, the building, the locks, and the surroundings before the body drops.
When the crime happens, the shock comes from the impossibility. Every reader should think: I just saw that room described. Thereâs no way anyone could have done this.
Act 2: Investigation and Escalation
The investigation phase is where your detective builds suspense by eliminating solutions one at a time. Each interview, each examination of evidence, should close one door and open another.
Escalation techniques that work in locked rooms:
- A second impossible event occurs (another death, a disappearance, a locked room within a locked room)
- Evidence actively contradicts itself â two facts canât both be true
- The detectiveâs leading theory collapses, forcing them to rethink everything
- Time pressure mounts â if the suspects canât leave, tensions fracture relationships
Act 3: The Solution Scene
The solution scene is the climax of a locked room mystery. Itâs the moment your detective explains how the impossible was accomplished â and the reader mentally rewinds through everything theyâve read.
Make the solution scene satisfying:
- Walk through the crime step by step, chronologically
- Reference specific clues the reader has already encountered
- Show the reader why they missed the answer â what assumption blinded them
- Keep the explanation clear and visual. If the solution requires a physical mechanism, describe how it works simply enough that a reader can picture it
A weak solution ruins the entire book. A brilliant solution makes readers recommend it to everyone they know.
Common Mistakes to Avoid
- The solution requires knowledge the reader doesnât have. If the murder weapon is an obscure poison that only a chemist would recognize, and you never mentioned chemistry earlier, youâve broken fair play.
- The locked room is too easy to solve. If readers guess the secret passage on page 30, the remaining 200 pages feel pointless. Test your puzzle on beta readers.
- Too many suspects with no differentiation. In a confined space, every suspect needs a clear personality, distinct motive, and unique behavior pattern. Otherwise readers canât track who said what.
- Forgetting the emotional stakes. The puzzle is the skeleton, but characters are the flesh. A locked room mystery still needs relationships, betrayals, and personal stakes. The victim should matter to someone â ideally to the detective.
- The impossibility is vague. If the reader isnât sure why the crime is impossible, they wonât appreciate the solution. Over-establish the sealed conditions. Let characters try the doors, test the windows, examine the locks.
Can You Write a Locked Room Mystery With AI?
You can use AI writing tools to develop your locked room mystery faster â particularly for outlining, brainstorming solution mechanics, and drafting dialogue. The puzzle logic and clue architecture still require human design, but AI accelerates the surrounding work.
Our Pick â Chapter
Chapter helps fiction writers develop full-length novels with AI-assisted drafting. You can use it to brainstorm locked room solutions, test whether your clue structure holds up, and draft scene-by-scene with AI support while keeping full creative control over the puzzle.
Best for: Fiction writers who want AI assistance with drafting while maintaining control over plot architecture Why we built it: Writing a locked room mystery means managing dozens of interlocking clues â AI can help you keep track of the details while you focus on the puzzle design.
How Long Should a Locked Room Mystery Be?
A locked room mystery should be 70,000 to 90,000 words for a full novel, which is the standard length for mystery fiction. Shorter locked room stories work as novellas (20,000-40,000 words) or short stories (3,000-8,000 words) â the form actually thrives in shorter formats because the tight focus on a single puzzle prevents padding.
Short stories in the locked room tradition â like those by Jacques Futrelle or Edward D. Hoch â are some of the finest examples of the form. If youâre new to writing locked room mysteries, a short story is an excellent place to start. Youâll learn puzzle construction without committing to novel-length architecture.
What Are the Best Locked Room Mysteries to Study?
Read widely before you write. These books represent the best of the subgenre across different eras:
| Book | Author | Why Study It |
|---|---|---|
| The Hollow Man | John Dickson Carr | The definitive locked room novel â includes the famous âLocked Room Lectureâ |
| And Then There Were None | Agatha Christie | Island isolation, multiple deaths, a twist ending that redefines the genre |
| The Murders in the Rue Morgue | Edgar Allan Poe | The first locked room mystery ever written â study the origin |
| The Seven Deaths of Evelyn Hardcastle | Stuart Turton | Modern innovation â time loops and body-switching inside a locked estate |
| The Guest List | Lucy Foley | Contemporary closed-circle mystery with multiple POVs |
| The Sanatorium | Sarah Pearse | Setting as antagonist â a former sanatorium turned luxury hotel |
| Nine Perfect Strangers | Liane Moriarty | Expands the locked room concept into psychological territory |
Pay attention to how each author establishes the impossibility, plants clues, and delivers the solution. The techniques vary dramatically across eras, and the best modern locked room mysteries borrow from the Golden Age while adding fresh complexity.
Locked Room Mystery vs. Closed Circle Mystery: Whatâs the Difference?
A locked room mystery focuses on an impossible crime committed in a sealed space. A closed circle mystery (also called a âclosed-circle-of-suspectsâ story) focuses on a group of people trapped together, any of whom could be the killer. The two overlap frequently, but they arenât identical.
And Then There Were None is both â the island creates a closed circle, and the deaths appear impossible. A traditional cozy mystery set in a snowed-in bed-and-breakfast is a closed circle but not a locked room (unless the crime itself seems physically impossible).
If youâre choosing between the two, ask yourself: is the central puzzle who committed the crime, or how it was physically possible? If the answer is âhow,â youâre writing a locked room mystery.
FAQ
What is a locked room mystery?
A locked room mystery is a subgenre of detective fiction where a crime is committed inside a sealed space that appears impossible for the perpetrator to enter or exit. The puzzle centers on how the crime was committed rather than just who did it. Edgar Allan Poe wrote the first example, âThe Murders in the Rue Morgue,â in 1841.
How do you solve a locked room mystery in fiction?
You solve a locked room mystery by choosing a solution category â the crime was committed from outside the room, the room wasnât truly sealed, the crime happened at a different time, or witnesses are unreliable â then planting fair-play clues throughout the story that point to your chosen answer.
What makes a good locked room mystery?
A good locked room mystery has a clearly established impossibility, a solution that is logical yet surprising, and fair-play clue planting so the reader could theoretically solve it before the detective. The best examples balance puzzle mechanics with genuine emotional stakes and well-developed characters.
Who is the master of locked room mysteries?
John Dickson Carr is widely considered the master of locked room mysteries. His 1935 novel The Hollow Man (published as The Three Coffins in the US) was voted the best locked room mystery of all time by a panel of mystery experts. He wrote over 70 detective novels, many featuring impossible crimes.
Can a locked room mystery be a short story?
A locked room mystery works exceptionally well as a short story or novella. Writers like Jacques Futrelle (âThe Problem of Cell 13â) and Edward D. Hoch built careers on short-form impossible crime fiction. The tight focus on a single puzzle actually benefits from shorter formats where every sentence serves the mystery.


