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.
- In Coco Ernesto de la Cruz in one of his old movies includes a scene that recreates the poisoning of his friend Héctor, only Ernesto is the victim in this case (though in his version, of course, he survives).
- 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 Overstory: Douglas writes a long journal of sorts of everything that happened when he was an environmental activist (though he refers to his allies by their code names), including their arson and accidentally getting Olivia killed. Though he never intends to publish it, it gets discovered by a visitor to his house, leading the police to quickly figure out that he is describing real life events and try to determine just what the real names of the other three people involved were.
- 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.
- Parodied in an episode of Blackadder when a pair of uptight actors decide to do a readthrough of their new play while waiting for their host, Prince George, to return—"The Bloody Murder of the Foul Prince Romero and his Enormous-Bosomed Wife". Baldrick quickly draws the wrong conclusion. Blackadder knows that it's coincidence but has them arrested and sent to the gallows anyway because they kept insulting him earlier.
Actors: But it was a play, sir, a play! Look, all the words you see written down on that page!
Blackadder: Textbook stuff again. Theirs was to have their entire conspiracy printed and published in play manuscript!
- Subverted in Paper Mario 64. The penguins think this is the case with Herringway's novels when he seems to have killed the mayor of Shiver City, but it turns out to be a coincidence and the mayor isn't even dead, just out cold from a bump on the head.
- 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.
- Liu Yongbiao is another example, he and his accomplice murdered four people in 1995, because of a failed robbery, and in the next two decades he became a moderately famous police writer, and in the prologue of one of his novels he described his intention to write a story about a writer who commits a series of murders and is never captured.