Sherlock Holmes feels like the beginning because he became the symbol. But by the time Arthur Conan Doyle introduced him in A Study in Scarlet in 1887, writers had spent decades experimenting with the ingredients of detective fiction: the inexplicable crime, the exceptional observer, the baffled police, the trail of clues, the companion-narrator, the reconstruction of events, and the final revelation.

Before the fictional detective came the real investigator

Modern detective fiction grew alongside modern policing. Britain established the Metropolitan Police in 1829. In 1842 the Met created a small Detective Branch. The existence of plain-clothes investigators changed the cultural imagination: a crime could now be solved not only by confession, coincidence, or divine justice, but through sustained inquiry by someone whose profession was to notice what others missed.

Earlier figures also mattered. The Bow Street Runners, operating from the eighteenth century into the early nineteenth, pursued offenders for magistrates. French criminal-turned-investigator Eugène François Vidocq became internationally famous through memoirs and the Paris Sûreté. True-crime reporting and criminal biographies gave readers a vocabulary of pursuit long before “detective fiction” solidified into a shelf at the bookshop.

Edgar Allan Poe and the invention of the analytical detective

The decisive literary breakthrough came from an American writing about a Frenchman. In 1841 Edgar Allan Poe published “The Murders in the Rue Morgue,” introducing C. Auguste Dupin. Poe called stories of this sort “tales of ratiocination”—stories in which analytical reasoning creates the drama.

Dupin supplies several features that later become unmistakably Holmesian: a brilliant eccentric investigator; an admiring companion who narrates; an official police force that possesses facts but not sufficient imagination; and a solution produced by reasoning from apparently trivial details. Poe returned to Dupin in “The Mystery of Marie Rogêt” and “The Purloined Letter.”

Edgar Allan Poe, 1849 daguerreotype
Edgar Allan Poe, 1849 daguerreotype. Public domain. Image source and license.

Conan Doyle openly acknowledged the lineage. Holmes himself, in A Study in Scarlet, discusses Dupin—although, characteristically, he is not overwhelmed by the competition. The joke works because Doyle expected readers to recognize the predecessor.

“Now, in my opinion, Dupin was a very inferior fellow,” Holmes tells Watson. “That trick of his of breaking in on his friends’ thoughts with an apropos remark after a quarter of an hour’s silence is really very showy and superficial.”

Six years later, in “The Cardboard Box” (1893), Holmes does exactly that. Watson sits lost in thought; Holmes breaks in to agree with an opinion Watson never spoke aloud, then reminds him of “the passage in one of Poe’s sketches in which a close reasoner follows the unspoken thoughts of his companion.” The scene proved too good to lose. When “The Cardboard Box” was left out of the first British edition of The Memoirs of Sherlock Holmes, its thought-reading opening was moved into “The Resident Patient,” where some editions still print it.

Doyle did not share his detective’s disdain. In 1909 he chaired the Authors’ Club dinner in London for Poe’s centenary and asked, “Where was the detective story until Poe breathed the breath of life into it?” When the American poet Arthur Guiterman accused him in verse of ingratitude towards Dupin and Lecoq, Doyle answered with a poem of his own, “To An Undiscerning Critic” (1912), drawing the line between the vain detective and his grateful author: “The doll and its maker are never identical.”

Dickens brings the detective into Victorian London

Charles Dickens was fascinated by policing and accompanied detectives through London. In Bleak House he created Inspector Bucket, a professional police detective who seems to materialize wherever information is concealed. Bucket is sociable, patient, observant, theatrical, and relentless. He does not possess Holmes’s almost mathematical aura, but he demonstrates how compelling a professional investigator could be inside English fiction.

Victorian scholars have often connected Bucket with real Detective Branch figures such as Charles Frederick Field and Jack Whicher. Whether or not any single officer was the sole model, Dickens’s detective belonged to a world readers recognized as contemporary rather than fantastic.

Wilkie Collins turns evidence into architecture

Wilkie Collins pushed crime narrative toward structures familiar to modern mystery readers. The Woman in White assembles testimony from multiple narrators almost as if constructing a case file. The Moonstone organizes an investigation around a stolen diamond, conflicting accounts, false assumptions, household suspicion, and Sergeant Cuff’s disciplined inquiry.

Calling any single work “the first detective novel” can oversimplify a genre that evolved by accumulation. But The Moonstone is unquestionably one of the central bridges between mid-century sensation fiction and the later detective novel.

Wilkie Collins, photographed by Elliott & Fry
Wilkie Collins, photographed by Elliott & Fry. Public domain. Image source and license.

Gaboriau expands detection into the novel

The French novelist Émile Gaboriau carried the detective story beyond Poe’s concentrated tales and into longer, intricately plotted narratives. His investigator Monsieur Lecoq first appeared in L’Affaire Lerouge in 1866, though there he remained a junior figure while the amateur detective Tabaret took the leading role. Lecoq later became the central investigator in Monsieur Lecoq in 1869.

Conan Doyle knew Gaboriau well. In A Study in Scarlet, immediately after dismissing Dupin, Holmes is asked about Lecoq and calls him “a miserable bungler.” Doyle himself was considerably more generous. In Memories and Adventures, he recalled that “Gaboriau had rather attracted me by the neat dovetailing of his plots.”

Gaboriau’s influence may also be visible in Doyle’s structure. A Study in Scarlet divides its story between the investigation and a long retrospective narrative explaining the events that produced the crime, a pattern Gaboriau repeatedly employed, most notably in Monsieur Lecoq. Once again, Holmes proved less gracious towards one of his literary ancestors than his creator was.

The female detective arrives surprisingly early

Victorian detective fiction was not exclusively male even in its formative years. Andrew Forrester Jr.’s The Female Detective and W. S. Hayward’s Revelations of a Lady Detective, both published in 1864, imagined women operating as investigators decades before popular culture fixed the detective into a male silhouette with pipe and hat. These works remind us that the genre’s early history was more experimental than later stereotypes suggest.

From the sensation novel to the puzzle

During the 1860s and 1870s, mysteries, police figures, secret identities, forensic details, and criminal plots appeared across popular fiction. Yet many of those novels still had broad social ambitions. By the 1880s, the detective story was becoming more concentrated. Fergus Hume’s The Mystery of a Hansom Cab (1886) showed how powerfully a murder investigation could drive an entire popular narrative; Hume later wrote that early editions sold in enormous numbers.

1829
The Metropolitan Police is founded in London.
1841
Poe publishes “The Murders in the Rue Morgue,” introducing Dupin.
1842
The Metropolitan Police creates its Detective Branch.
1852–53
Dickens serializes Bleak House, featuring Inspector Bucket.
1864
The Female Detective and Revelations of a Lady Detective appear.
1866
Gaboriau’s L’Affaire Lerouge introduces Monsieur Lecoq.
1868
Wilkie Collins publishes The Moonstone.
1886
Fergus Hume publishes The Mystery of a Hansom Cab.
1887
Holmes and Watson debut in A Study in Scarlet.

What Holmes actually changed

Doyle’s achievement was not creating every ingredient. It was combining them with extraordinary efficiency. Holmes had Dupin’s analytical brilliance, the professional aura of the Victorian detective, the observational confidence of emerging forensic culture, and a friendship structure that allowed Watson to translate genius into story.

Then The Strand Magazine gave the formula a perfect delivery system: recurring short adventures, immediately recognizable characters, memorable illustrations, and a mystery that could be consumed in a sitting. The detective ceased to be merely a figure inside fiction and became a cultural institution.

Holmes did not appear from nowhere. He appeared when decades of experiments in crime, policing, journalism, sensation, and analytical storytelling were ready to become one unforgettable character.

Aleksandr Mazo writes the Victorian Moriarty Saga, including Moriarty: The Napoleon of Crime and Moriarty: The Architect of Shadows, a canon-faithful historical mystery series exploring Professor Moriarty and the world surrounding Sherlock Holmes.

Enter Moriarty’s world

Moriarty: The Napoleon of Crime, Book I of the Victorian Moriarty Saga, enters the mind of Professor James Moriarty and builds its story through the gaps Doyle left behind.

Sources & further reading