Whodunit? More like when did it all begin? Long before Poirot’s mustache twitched at a clue or Holmes puffed contemplatively on his pipe, readers were already hooked on riddles, secrets, and shadowy crimes. From ancient Thebes to modern streets, the urge to sniff out the truth has been hiding in plain sight across centuries of storytelling.
Mystery fiction is full of literature’s greatest sleight of hand elements — red herrings, smoking guns, and the ultimate payoff in the reveals — but just like a good room-locked-from-the-inside tale, this genre’s own backstory is more twisty than you’d expect (and a lot older). Fancy yourself a savvy sleuth? Then get your magnifying glass ready, dear reader.
The Proto-Mystery DNA (BCE & Early CE)
Before stylish mustaches or magnifying glasses, ancient storytellers were already sprinkling clues across papyrus, parchment, and prophecy. While these early tales may not be shelved under “Mystery” at your local library, they carry the DNA in their ancient roots — riddles, investigations, hidden truths, and shocking reveals.

Take Sophocles’ Oedipus Rex from 429 BCE. On the surface, it’s a Greek tragedy. But look closer, and you’ll spot the bones of a whodunit. After a vow to find the former king’s murderer, Oedipus interviews witnesses, follows (sometimes false) leads, and ultimately discovers the killer — himself. Talk about the O.G. plot twist!
Then there’s the story of Susanna and the Elders from the Book of Daniel in the original Hebrew Bible (2nd century BCE), the first known recorded case of cross-examination as a smoking gun, amusingly enough. When Susanna is assaulted and falsely accused of adultery, young Daniel turns detective to save her life, interrogating her accusers separately and catching them in contradictory testimony.

So as you can see, the appetite for solving puzzles and finding justice is as old as storytelling itself. Before the magnifying glass, there came the riddle — before the smoking gun, the puzzle. Mystery, it seems, has always been one of humanity’s favorite page-turners.
Chinese Gong’an Fiction (~14th Century CE and Onward)
Long before Sherlock donned his famous hat, Chinese storytellers were already staging mock trials in the court of literature. Beginning in the 1300s, gong’an fiction (literally “court case stories”) put magistrates center stage as crime-solvers, truth-seekers, and sometimes miracle-workers of justice. The most famous of these figures is Judge Dee, inspired by the real Tang dynasty magistrate Di Renjie (630–700 CE). In legend, he interrogates suspects, follows tangled evidence, and unravels crimes that mix corruption, murder, and the supernatural. He has quick reasoning and a shrewd eye. A long-running staple of Chinese popular fiction, Dee was later introduced to Western readers in the 20th century through translations.

But Dee isn’t the only literary lawman to become a Chinese legend. Enter Judge Bao (Bao Zheng, 999–1062 CE), known during the Song dynasty for incorruptible honesty and razor-sharp rulings. In the stories that circulated widely, Judge Bao often uses clever stratagems, cross-examinations, and the occasional divine sign to expose criminals high and low. If Judge Dee was the cerebral sleuth, Judge Bao was the moral compass — together, they embody the authoritative blend of logic and justice that marks gong’an tales.

These fascinating stories all had similar mechanics — interrogation, deduction, dramatic courtroom reveals, and the satisfaction of a case neatly closed — to the Western detective fiction they predate by several centuries. The difference? Instead of eccentric bachelors prowling foggy streets, the Chinese version put magistrates, their pillars of civic and moral order, at the heart of the narrative. By the time Poe perfected his locked-room mystery, the Judges had already filed away centuries’ worth of solved cases. Gong’an fiction is the smoking scroll of detective literature, proving the mystery genre has always been a truly global case.
The 19th Century: The Genre Finds Its Footing
By the dawn of the 1800s, mystery was ready to swap riddles and courtroom confessions for something new: the detective’s keen eye and the novelist’s long game. In the Western world, readers were hungry, no longer satisfied with whispered secrets and Gothic shadows — they wanted logic, deduction, and puzzles that could be pieced together.
It was in this fertile literary soil that a few daring writers began to plant the seeds of what we now recognize as the modern mystery genre. Their serialized stories filled magazines, their novels shocked book clubs, and their characters set the stage for a genre that would become impossible to put down. But who exactly wrote the first clue, spun the first red herring, or locked the first fictional room from the inside? For that, we’ll have to follow the ink-stained trail through three authors who turned curiosity into canon.
Edgar Allan Poe: The First to Deduce
If we consider mystery fiction as a family tree, Edgar Allan Poe is in the root system. While best remembered for his ravens and premature burials, Poe also pulled off a quieter revolution: he invented the detective story as we know it. In The Murders in the Rue Morgue (1841), Poe brought us a character named C. Auguste Dupin, a Parisian amateur sleuth armed not with fists or firearms but with ratiocination—the official heady word for the cool, logical reasoning that lets him outwit both criminals and the police. Dupin was Western literature’s first detective, the archetype whose shadow stretches all the way to Sherlock, Miss Marple, and beyond.

Poe didn’t stop there. He followed up with The Mystery of Marie Rogêt (1842), a story based on a real-life sensationalized murder that turned newspapers into case files, and The Purloined Letter (1844), a masterclass in how the most obvious clue can be the hardest to see. These tales laid down the blueprint for building brilliant sleuths and baffling readers with a trail of clues, culminating in some big, climactic reveal.
In short, Poe cracked the case on how to craft a mystery. Without him, the genre might still be wandering in the Gothic shadows, waiting for someone to deduce its potential. Instead, thanks to one gloomy genius with a taste for logic, readers have been hooked on crime ever since.
Charles Dickens’ Mysteries in the London Fog
While Edgar Allan Poe gave us the first sleuth, Charles Dickens gave us the first detective with jurisdiction. Dickens introduced Inspector Bucket in Bleak House (1853), modeled after the real Scotland Yard officers who were beginning to modernize policing in Victorian London. This character is widely regarded as one of literature’s first professional detectives, found prowling in the vast, fog-drenched fabric of a society novel. Bleak House is a tangle of inheritance disputes, secret affairs, and sinister illnesses, all wrapped around the Court of Chancery. Into this maze walks the Inspector, cool-headed and methodical, the steady lantern-bearer guiding readers through Dickens’ atmospheric gloom.

In Bucket, readers got not only a solver of crimes but an authoritative symbol of order cutting through chaos (which should sound familiar by now for us sleuthy historians!), becoming the whole prototype package for every calm, competent inspector to step onto the page since. So while Dickens may not be primarily remembered as a mystery writer, his fingerprints are all over the genre’s case file. Without him, our detectives might still be dabblers, dilettantes, and amateur sleuths. With him, they gained a badge, a notebook, and an official place in fiction’s foggiest streets.
Wilkie Collins: The First Long-Form Whodunits
Collins pioneered the long-form mystery with works that blend sensational intrigue, narrative trickery, and crimes worthy of Scotland Yard’s finest. His breakout hit, The Woman in White (1859), introduced something essential: suspense sustained across hundreds of pages. With multiple narrators offering fragmented perspectives, he turned readers into detectives themselves, piecing together truth from unreliable testimony. The effect? A serialized sensation so addictive that Victorians reportedly stormed bookshops for the next installment.

Then came The Moonstone (1868) with a stolen diamond in a locked-room style setup and a cast of vividly unreliable witnesses to make it a masterclass in suspense. More importantly, Collins sharpened the mechanics Poe had started — red herrings, bumbling officials, and that oh-so-satisfying final reveal — while also proving mysteries didn’t have to be bite-sized puzzles tucked into magazines. They could be sprawling, character-driven novels that kept entire households guessing night after night. Mystery wasn’t just a literary parlor trick; it was a full-fledged narrative engine, capable of driving some of the century’s most popular fiction.

Sir Arthur Conan Doyle and The Sherlockian Boom
With A Study in Scarlet (1887), Doyle introduced Sherlock Holmes, the violin-playing, drug-using, logic-spinning eccentric whose powers of deduction became the very definition of exceptional detective work. Paired with his steady chronicler, Dr. John Watson, Holmes turned crime-solving into a cultural obsession. Readers devoured the serialized stories from 1887 to 1927, eagerly awaiting each new adventure in The Strand Magazine. Crowds would line up at newsstands, and when Doyle dared to kill off Holmes at the Reichenbach Falls, public outcry was so intense that he was forced to resurrect the great detective.

The Sherlockian Boom saw the rise of detective clubs and puzzle societies, where solving fictional crimes became both a parlour pastime and an intellectual sport. Mystery had evolved from a literary curiosity into a shared cultural phenomenon, complete with debates, games, and even proto-fandom rivalries. Doyle may have grown weary of his creation — famously claiming Holmes distracted him from his “serious” writing — but the rest of the world never did.
The Golden Age of Mystery in Europe (1920s–1930s)
By the time the 1920s roared to life, mystery fiction had expanded from foggy streets to drawing rooms and cozy country estates. This was a glittering era where the crime wasn’t just who did it, but how cleverly the author could misdirect you before the final reveal. The guiding principle? Fair play, of course. No, seriously!
London’s leading mystery writers banded together in The Detection Club (founded 1930), where they swore an oath to scatter every clue in plain sight, daring fans to match wits with their detectives. No psychic visions, no hidden twins suddenly appearing in the last chapter, and no solutions concealed from the audience. Mystery had become a literary sport, with writers and readers as sparring partners. Locked-room conundrums, poison teacups, missing wills, and murders at midnight became the bread and butter of the genre. Every page turned was a chance for the reader to catch the culprit — or be caught by a perfectly placed red herring.
Agatha Christie and Her Perfect Puzzle-Box Formula
Christie reigned supreme. We all know this. Her ingenious twists elevated the whodunit. The Murder of Roger Ackroyd (1926) scandalized and delighted readers with its audacious narrator trick, proving that fair play didn’t mean predictable. Hercule Poirot and Miss Marple became household names, embodiments of the era’s puzzle-box mania.

The cleverness of her plots and the elegance of her restraint — that’s what made Christie irresistible. She could conjure suspicion from a misplaced teacup or a half-heard remark, spinning entire labyrinths out of seemingly ordinary details. Readers were playing against the slyest gamemaster in literature at the time. With each reveal, Christie reminded her audience that the real crime was underestimating her. It’s no wonder her puzzle-box formula still keeps shelves stacked and minds guessing nearly a century later.
Dorothy L. Sayers: The Intellectual Sleuth
Dorothy L. Sayers brought wit, theology, and romance into the mix. In Strong Poison (1930), she gave us more of Lord Peter Wimsey and introduced the unforgettable Harriet Vane, combining the mechanics of a murder trial with the sparks of a love story — and readers adored it.

What truly set Sayers apart was the chemistry between her creations. Lord Peter Wimsey, with his aristocratic charm and razor-sharp wit, found his perfect counterpoint in Harriet Vane, the fiercely independent writer on trial for her lover’s murder. Their banter sparked like flint against steel, turning each investigation into both a battle of minds and a slow-burning romance. Readers don’t just become invested in solving the crime; they get invested in whether Harriet will ever solve Peter — two puzzles worth solving!
Margery Allingham and Her Goofy Aristocrat
Margery Allingham carved out her niche with the creation of Albert Campion, a detective who initially appeared to be a frivolous aristocratic dandy but revealed hidden depths of intelligence and courage. Charm, eccentricity, and just enough mystery about his past — Campion is a delightful counterpoint to the more serious sleuths of the age. Allingham’s gift lay in marrying lighthearted humor with genuine suspense, making her stories both playful and perilous.

The Hardboiled Turn in America (1920s–1950s)
While Europe’s detectives were sipping tea in country houses or taking rounds on the Orient Express, American gumshoes were slugging whiskey in back alleys. In the U.S., mystery fiction shed its aristocratic manners and went hardboiled, born from the pulp pages of magazines like Black Mask. Not to be confused with the genteel puzzle-solvers, these trench-coated scamps navigated cities rife with corruption, double-crosses, and shadows longer than the streetlamps.
These stories traded drawing-room debates for backroom brawls, filling their pages with gangsters, grifters, and the infamous femme fatale. Moral ambiguity was the house special, and happy endings were rare on the menu. Hardboiled fiction spoke the language of a gritty America, one disillusioned by Prohibition, the Great Depression, and war.
Dashiell Hammett: The Tough Realist
Dashiell Hammett brought a sharp dose of realism to detective fiction, drawing on his own experience as a Pinkerton operative — how cool is that? With novels like The Maltese Falcon (1930), he gave us Sam Spade, a detective as hard as the streets he walked, cynical, unsentimental, and willing to bend rules if it meant cutting through the lies. Hammett’s prose was clipped and unsparing, like a cigarette stub ground into the pavement.

What made Hammett revolutionary was his refusal to romanticize crime or detection. He stripped away the genteel trappings of the English puzzle and showed murder as a brutal business, not a parlour sport. In his methods of accomplishing this, he sketched the moral map of America itself, full of shadows where justice was uncertain. The detective novel grew up and never looked back.
Nancy Drew: The Teen Sleuth Who Never Ages
Snooping around in between the genteel detectives and hardboiled gumshoes was a different kind of sleuth: a teenage girl with a magnifying glass, a big brain, and nerves of steel. Nancy Drew, first appearing in The Secret of the Old Clock (1930), quickly became a family-friendly cultural icon, outwitting adults, unmasking crooks, and driving her flashy convertible straight into the hearts of millions of readers.

Edward Stratemeyer, head of the Stratemeyer Syndicate and creator of the series, would come up with the concepts and outlines, and then hire talented ghostwriters (Mildred Wirt Benson wrote the first twenty-three titles) to write the books under the collective pseudonym Carolyn Keene. Regardless of the author, every edition of Nancy embodies independence, wit, and resourcefulness at a time when leading heroines were often sidelined.
The genius of Nancy Drew was her timeless adaptability. Each generation of readers has found a slightly different Nancy: from Benson’s spunky and sharp-edged sleuth in the 1930s, to the polished and demure versions of mid-century rewrites, to today’s multimedia Nancy starring in graphic novels, video games, and streaming adaptations. She’s a character that turned innocent curiosity into a franchise — because solving mysteries isn’t limited to detectives with badges, but for anyone armed with smarts, courage, and a flashlight (fresh batteries recommended).
Raymond Chandler: The Poetic Cynic
Where Hammett brought grit, Raymond Chandler added lyricism, singing with a loaded bullet. With The Big Sleep (1939), he introduced Philip Marlowe, the wisecracking private eye whose cynicism was matched only by his stubborn code of honor. Chandler’s Los Angeles was a neon labyrinth where corruption ran deep, and Marlowe was his lone knight tilting at windmills with a whiskey glass in hand.

Chandler’s gift was his style — hardboiled, yes, but studded with similes that shimmered like broken glass on the pavement. His prose could cut and dazzle in the same breath, turning pulp grit into literary gold. His novels were mood pieces: smoky, weary, and strangely beautiful. Where Hammett hammered, Chandler carved. Together, they gave America its own brand of detective mystery: battered, bruised, but never beaten.
Page to Screen (Mid-20th Century Onward)
Mystery may have been born on the page, but by the mid-20th century, it was also strutting across the silver screen in a fedora and flapping trench coat. Film noir of the 1940s and ’50s transformed hardboiled fiction into smoky, shadow-soaked cinema, where venetian blinds cast prison-bar shadows and every cigarette carried the possibility of a confession. Hammett and Chandler’s gumshoes found new life in black-and-white form, their terse dialogue now punctuated by gunfire and jazz.
Meanwhile, Agatha Christie’s puzzle-box murders translated seamlessly to the screen. A Christie mystery remained the cultural equivalent of comfort food: familiar, satisfying, and always spiced with just enough poison. And the mystery boom didn’t stop with the movies.
On television, detectives became household companions. Columbo (1968) shuffled onto screens with his disarming “just one more thing” approach, turning cat-and-mouse games into primetime obsession. Later, Murder, She Wrote (1984) brought Jessica Fletcher, the world’s most charmingly overbooked mystery novelist, into living rooms everywhere, reminding viewers that you don’t need a revolver if you have a sharp mind and a sharper pen.
Fast-forward to today, and mystery is a raging, global streaming staple. The genre that thrives on words and stage now headlines platforms like Netflix. Take The Residence, a contemporary mystery that takes place in the White House, starring Uzo Aduba, which reimagines political power plays as an added bonus to the ultimate locked-room puzzle. Wherever it goes, the thrill remains the same: we watch, we guess, we gasp.
The Contemporary Mystery
Today, the classic whodunit has splintered into a dizzying array of subgenres: psychological thrillers, police procedurals, cozies, hauntings, forensic mysteries, true crime hybrids, domestic noir, and so on. Each offers a different flavor, from blood-chilling to teapot-warming, but all share the same irresistible promise — there’s a secret, and you must know it.
Bestseller lists bear this out. Blockbusters like Gone Girl (2012) and The Girl on the Train (2015) prove that modern readers crave the same sleight-of-hand and gasp-inducing twists that Christie perfected, while reveling in the grit and moral complexity that Hammett and Chandler pioneered. They want their cake and to eat it too! These novels take the puzzle-box precision of the Golden Age and wrap it in layers of psychology, unreliable narration, and sharp emotional stakes.

And it’s not just books anymore. Streaming services have become the new pulp magazines, doling out serialized suspense straight to our couches. Series like Broadchurch hook us with their slow-burn investigations and fractured communities, while films like Knives Out gleefully update the country-house murder with modern swagger and satire. One of the longest-running sleuth-y series on television is Supernatural, which gifted fans with over fifteen seasons of monsters, mayhem, and brotherly banter.
And let’s not forget Scooby-Doo, which has been unmasking villains since 1969. The show turned the whodunit into Saturday morning entertainment, featuring a talking Great Dane and his meddling friends. Each episode follows the genre’s classic formula: red herrings, false clues, and a climactic reveal where the monster was always just a person in a disguise.
Scooby-Doo distilled the mystery’s DNA into kid-friendly form, teaching generations that no ghost is scarier than corruption in a rubber mask. And they would have gotten away with it, too — if not for those pesky, meddling kids.
A Case-Closed Conclusion
Mysteries will always be cultural events, binge-worthy puzzles we solve together across group chats and spoiler-filled forums. If anything, the mystery genre is less about corpses and clues than about curiosity itself. Whether whispered over tea in St. Mary Mead, snarled in a smoky LA office, or streamed in high definition, the enduring thrill is always the same: the chase, the question, the answer that makes you rethink everything.
Keep the knowledge train going by reading my article, Bookstr’s Brave New Worlds: The History of Dystopian Fiction.
Browse our bookshelf in the mystery section for these books and more!
















