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:

  1. 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.
  2. 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.
  3. 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 TypeExamplesWhy It Works
Single roomHotel room, office, vaultClassic simplicity — the impossibility is immediately clear
Sealed buildingSnowed-in lodge, island mansion, submarineSuspects are trapped with each other, multiplying tension
Moving vehicleTrain car, cruise ship, airplaneThe container itself is sealed and moving — escape seems doubly impossible
Natural isolationRemote island, mountain cabin, lighthouseWeather or geography replaces a physical lock
Digital locked roomServer room, smart homeModern 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:

  1. The criminal must appear early. Your killer should be an established character, not someone introduced in the final chapter.
  2. 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.
  3. 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.
  4. 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.
  5. 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:

BookAuthorWhy Study It
The Hollow ManJohn Dickson CarrThe definitive locked room novel — includes the famous “Locked Room Lecture”
And Then There Were NoneAgatha ChristieIsland isolation, multiple deaths, a twist ending that redefines the genre
The Murders in the Rue MorgueEdgar Allan PoeThe first locked room mystery ever written — study the origin
The Seven Deaths of Evelyn HardcastleStuart TurtonModern innovation — time loops and body-switching inside a locked estate
The Guest ListLucy FoleyContemporary closed-circle mystery with multiple POVs
The SanatoriumSarah PearseSetting as antagonist — a former sanatorium turned luxury hotel
Nine Perfect StrangersLiane MoriartyExpands 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.