Someone has committed a crime, a murder usually. For whatever reasons (teasing the investigators, venting, gloating, or just for kicks), the criminal then decides to publish a book where the crime is presented as fiction, usually in minute detail.
Expect the investigators to get a copy of the work by pure chance and quickly deduce that the book is not so fictional and that the writer is also a criminal.
Believe it or not, this has happened in real life.
Compare Copycat Crime, where the criminal bases his crimes on a book rather than vice-versa, and Reminiscing About Your Victims, where the criminal recounts past atrocities in front of another person.
See also I Should Write a Book About This.
- This trope is the basis of the film Basic Instinct. Writer Catherine Trammell is suspect of having murdered a former rock star in the same way a character in a crime novel penned by her (also a former rock star) was killed. We don't know whether she's guilty or not until the very last scene of the movie. But do we even then?
- Argentinian film Arrebato has writer and professor Luis Vega accused of a murder after publishing a book where a real life crime is described meticulously.
- The Frame Story of Kind Hearts and Coronets is a murderer writing his memoirs the night before his execution. He confesses to having got away with several other murders - but happens to be innocent of the one he's actually been convicted for. In the end he's given a last-minute pardon and released... then realises he's left the incriminating memoirs on the desk in his cell.
- Played with in The Number 23. The protagonist is obsessed with a book which he feels related to his own life, which is on the surface a novel about a suicide girl and a detective. Turns out he wrote the book while insane and later forgot about it; the female character is a twisted version of a girl he murdered in real life. The "novel" also encodes the place where he left the corpse.
- Inverted in Secret Window. A man accuses the protagonist of plagiarizing a story about a double murder and the subsequent disposing of the bodies. He ends up realizing the other man doesn't exist and committing the crimes and hiding the bodies exactly as described in the story. See under Literature the difference between the movie and the original book.
- In the horror film Cabin by the Lake, a reclusive writer named Stanley Caldwell writes a script for a serial killer movie after he's started kidnapping and murdering women himself by drowning them in a lake.
- The 2016 film True Crimes starring Jim Carrey and Marton Csokas is based on the real-life Krystian Bala case (see below).
- Inverted in Stephen King's Secret Window, Secret Garden. A man accuses the protagonist of plagiarizing a story about a double murder and the subsequent disposing of the bodies. He ends up realizing the other man doesn't exist and attempting to commit the crimes and hiding the bodies exactly as described in the story. He does it in the movie version.
- The Murder of Roger Ackroyd: Dr. Sheppard writes an account of the murder and Poirot's subsequent investigation, leaving out the fact that he himself is the murderer. He is careful to never actually lie in his manuscript, but to just leave out pertinent facts in order to mislead the reader.
- The Castle episode "Ghosts" has the team discover that the Body of the Week, a fugitive ecoterrorist, was having a True Crime author ghost-write a tell-all about the bombing of an oil tanker in the Seventies. They theorize she was trying to manipulate public opinion ahead of surrendering herself for trial.
- In pictures for sad children, a serial killer discovers that he's the subject of a media firestorm, so he takes advantage by writing a book about his killings. A non-fiction, self-help book, encouraging readers to follow in his footsteps. The media thinks he just wrote it as an elaborate prank, but he's quick to point out that he's completely serious.
- Polish writer Krystian Bala was convicted after the police found very specific details of a recent crime in a novel he had published. The victim had dated his ex-wife.
- Subverted (maybe) in the case of OJ Simpson, who published If I Did It as a "purely hypothetical" account of the crime by which he was tried and acquitted. The publisher considered that the book was "his confession".
- This is Truth in Television for social media. There have been many cases where a person or a group of people have committed a crime and wrote about it on social media, even going so far as to show a video of themselves in the act. Needless to say, they usually get caught.