Detective fiction, a subgenre of crime and mystery fiction, focuses on an investigator—professional, amateur, or retired—solving crimes, often murders, through logic and deduction. Originating in the mid-19th century, it has developed through varied cultural expressions, from the enigmatic Dupin and Sherlock Holmes to the methodical Hercule Poirot and the historical Chinese Gong’an tales featuring Judge Dee.
Early examples, such as The Three Apples in One Thousand and One Nights or the 18th-century Di Gong An, demonstrate its roots in suspenseful mystery-solving, while Western pioneers like Poe and Gaboriau established the genre’s conventions. Contemporary works, from juvenile series like Nancy Drew to hardboiled thrillers, highlight its lasting appeal, combining intellectual challenge with narrative tension. The genre’s legacy lies in its blend of structured reasoning and storytelling, connecting ancient puzzles with modern crime narratives.