Some books are about solving puzzles. 

Some stories are about solving mysteries. 


Detective fiction is a type of story about solving crimes. 


Detective fiction is a special kind of story about solving crimes. 

Solving a mystery usually follows a specific way of working. A detective uses logic and careful observation to understand what happened. They might look at a crime scene very closely for tiny clues. Some detectives use their own bright imagination to solve the case. Others use practical methods like walking the streets to find information. They might also use undercover work to watch people secretly. The goal is to piece together the past to find the culprit. This process of finding the truth is what makes the stories exciting.
These stories have a very long and interesting history. 
Many famous authors helped shape how we read mysteries today. 
Today, you can find detective stories in many different forms. You might read a long novel about a famous detective like Sherlock Holmes. You might also find shorter books written just for kids. Characters like Nancy Drew and The Hardy Boys are very well known. These stories connect to the same love of puzzles that people had long ago. Whether it is a modern book or an old tale, the thrill is the same. We all love the moment when the mystery is finally solved.
Detective fiction is a specific subtype of crime and mystery fiction. 

The mechanism of a detective story involves a structured process of discovery. Detectives often use ratiocination, which is a term for complex reasoning. This process combines intuitive logic, astute observation, and perspicacious inference. Some characters, like C. Auguste Dupin, rely on brilliant intellect and mental puzzles. Other detectives use practical methods such as dogged legwork or undercover surveillance. Some even perform minute examinations of a crime scene to find tiny clues. The goal is to reconstruct the past to identify the culprit.
There are several distinct types of detective stories found in literature. One common type is the "whodunit," where the reader tries to guess the killer. Another is the "inverted detective story," where the criminal is known from the start. In these stories, the focus is on how the detective catches the person. The Chinese Gong'an genre is another unique type. These stories often featured local magistrates as the detectives. They sometimes included supernatural elements, such as ghosts who accused criminals. 
History shows that detective elements appeared long before the modern genre was established. The One Thousand and One Nights contains very early examples. "The Three Apples" is considered an archetype for the genre. It uses a form of reverse chronology to reconstruct a crime. In early Chinese tradition, Gong'an fiction recorded cases from public law courts. These stories featured historical figures like Judge Bao or Judge Dee. In the West, Voltaire's Zadig in 1748 featured a character performing analytical feats. 
English-language detective fiction is often traced to 1841. This was the year Edgar Allan Poe published "The Murders in the Rue Morgue." His character, C. Auguste Dupin, is considered the first fictional detective. Poe established a plot formula that many authors still use today. Later, Émile Gaboriau pioneered the genre in France with his character Monsieur Lecoq. Gaboriau's work was notable for showing a detective examining a crime scene in detail. This helped move the genre toward more realistic investigation techniques.
Notable authors and characters have shaped the genre's most famous features. Wilkie Collins is often called the "grandfather of English detective fiction." His 1868 novel, "The Moonstone," is a landmark in the field. It introduced classic elements like the English country house robbery. It also used "red herrings," which are false clues meant to mislead the reader. Other famous detectives include Sherlock Holmes, Hercule Poirot, and Miss Marple. Even juvenile series like Nancy Drew and The Hardy Boys have remained popular for decades.
Detective fiction connects to broader literary and social systems. In the 19th century, some writers used the genre to explore social issues. For example, William Godwin's work portrayed the law as potentially protecting murderers. In China, the Gong'an genre was often seen as less prestigious than poetry. This meant many of those historical works were not preserved. Today, the genre remains a massive part of global culture. It continues to evolve through various subgenres, including domestic detective fiction and police memoirs.
🖼️ Images & Media (7)
More to explore
✨ What else?
Related topics you might enjoy
🔬 Go deeper
More advanced topics to explore
What is Nepedia?
A free, ad-free encyclopedia for children. Every article is written at five reading levels, so the same page works for a five-year-old and a fifteen-year-old — use the level switcher above to see this one change. No account needed to read.