[[quoteright:290:[[Literature/TheHobbit http://static.tvtropes.org/pmwiki/pub/images/bilbo-baggins-writing3_7273.jpg]]]]
[[caption-width-right:290:[-Bilbo writes his memoirs: ''There And Back Again: A Hobbit's Holiday''-] ]]

->'''Hammond:''' You ever think of writing a book about your exploits in the line of duty?\\
'''O'Neill:''' I've thought about it. But then I'd have to shoot anyone that actually read it.
-->-- ''Series/StargateSG1'', PilotMovie

At the end of a movie or story, a character is shown to have written a book related to the experiences in the movie, usually after they settle down and have their happy ending.

If it happens at the end of a book, the implication is that you have just read that book; sometimes it's stated a lot more bluntly. Sometimes the first thing they write is the first thing you read: the passage becomes BookEnds.

This is usually a straight out invocation of the LiteraryAgentHypothesis, with the implication that anything that doesn't quite make sense was due to the main character forgetting things, being mistaken, guessing wrong about events that he or she didn't personally witness, or lying for the sake of practicality.

A more recent variation more common in film and television is to end with a film or television series being produced about the events. Many times the ending itself will switch from "reality" to the film under production before the camera pulls back to [[AllJustADream reveal the set and crew]]. Often this will involve self-mockery by taking previously utilized tropes UpToEleven, the story being RecycledInSpace or another increase in weirdness.

May be responded to with WhoWouldWantToWatchUs. Compare with NarratorAllAlong and TagalongChronicler. Don't confuse with WroteTheBookOnIt, as there they may not have literally written a book.


[[folder:Anime and Manga]]
* The end of the [[Anime/DigimonAdventure02 second season]] of ''Franchise/{{Digimon}}'' has TK (Takeru in the Japanese version), who has written books based on their adventures in the Digital World.
** Before that, in the [[Anime/DigimonAdventure season one]] dub Tai (Taichi) says, "This would make one great story. Of course no one would ever believe it."
* The endings of both the anime and the manga versions of ''ChronoCrusade'' feature this in the end, although in two separate ways. In the manga, there's some brief quotations from Azmaria's memoir about her adventures with Chrono and Rosette. In the anime, Joshua is shown working on a storybook about "a boy that goes on an adventure with his sister and a demon to see the astraline!" referring to Rosette and Chrono. [[spoiler:However, the horns damaged his mind so much that those are the ''only'' memories he seems to have of the two of them.]]
* In a slight variation, at the end of ''{{Eyeshield 21}}'', the quarterback for the Alexanders and aspiring mangaka says that she was ordered to write a manga about Eyeshield 21. She just wants to draw shoujo, though.
* In LetterBee, Vincent Alcott is a down-in-the-dumps writer we meet in the first season who wanted desperately to be a great writer is an utter failure. Then [[spoiler: in Letter Bee Reverse (season 2), during the final battle against Cabernet, he's scribbling in a notebook. It's later revealed that dear old Vincent wrote about it and got famous.]]
* Mizuki Kawashita drew a manga adaptation of Chikamatsu Monzaemon's play ''Sonezaki Shinju'' (The Lovers' Suicide at Sonezaki) in which [[spoiler: Tokube and Hatsu faked their famous double suicide and ran away, and that Tokube wrote the play using Chikamatsu Monzaemon as his pen name]].
* Throughout ''Manga/FairyTail'', Lucy is slowly writing about her adventures and making it into a novel.
* Inverted in ''Anime/PrincessTutu'': [[spoiler: Fakir]] [[RewritingReality Rewrites Reality]] at different points (thus, he writes "about" the events of the story), however, the first time he does it successfully (and possibly with all of the others), he burns the "story" afterwards.
* Much of the last several chapters of ''HourouMusuko'' revolves around Nitori writing what essentially is a novel version of the series.

[[folder:Comic Books]]
* The original comic of ''[[Comicbook/{{WITCH}} W.I.T.C.H.]]'' has the oracle showing the girls a possible future, to cheer them up, where they all reunite as adults. Adult Will then reveals that she just wrote a book about their adventures as {{Magical Girl}}s.
** In the short stories published during the New Power Saga alongside the main saga, Will got roped into writing the subject of a musical. She wrote a musical version of the first arc.
* A spoof: there was a series of one-shots in which [[ComicBook/MickeyMouseComicUniverse Goofy]] is a historical or famous literary character. As Ulysses (in his adventure with the Cyclops), he ends the story by saying the trope name. Mickey (as Diomedes) then points out that he is illiterate. Goofy then says he'll just get himself a ghost writer, turns to a crewman and goes "Right, Homeros?".
* In ''[[ComicBook/TheGoldenAge JSA: The Golden Age]]'', this was Tarantula's last thought before he was killed by Dynaman.

[[folder:Fan Works]]
* ''WebAnimation/TurnaboutStorm'':
** In a variation mixed with ShoutOut, Twilight suggests Apple Bloom to write a book about [[VideoGame/StoryOfTheBlanks the strange incident she claims to have gone through in the Everfree Forest]].
** In a straight example, the credits and the WhereAreTheyNowEpilogue start off with the cover of a novel based on the events of the series written by Apple Bloom herself, titled '' [[TitleDrop Turnabout Storm]]''.

* George [=McFly=], at the end of ''Film/BackToTheFuture'', has written a book inspired by Marty's radiation-suited visit to him in 1955.
* At the end of ''{{Enchanted}}'', Nathaniel has written a self-help book, and Pip has written a memoir.
* In ''NationalTreasure: Book of Secrets'', Riley has written a book about the events of the first movie and other conspiracies.
* ''Film/ThrowMommaFromTheTrain''
** The bonus: ''two'' completely different books about the same events.
* In ''Film/{{Scream 2}}'', Courteney Cox's character has written a book about the first movie, which has been made into a movie. By ''Film/{{Scream 3}}'', she's written a book about the second movie, which has been made into a movie. ''Scream 3'' follows the production of a third, obviously fictionalised movie featuring the original characters. No doubt Gail wrote a book about it.
* The events of ''Film/StandByMe'' are being told in a book written by the now-adult main character (also the narrator), which he is shown finishing at the end.
* ''RomancingTheStone''
* Bob's "Death Therapy" book in the epilogue of ''Film/WhatAboutBob''
* The movie ''{{Duplex}}'' has the main character trying and failing to write a book throughout the movie, mostly due to his upstairs tenant. The end of the movie shows his published novel, also titled ''{{Duplex}}'', presumably about the events he experienced during the movie.
* ''Film/AlexAndEmma''.
* In the third ''Film/TheMummyTombOfTheDragonEmperor'' film, we learn that Evie has done just this, publishing the books as fiction.
* In the sequel ''ShanghaiKnights'', Roy O'Bannon has published books vaguely based on the first movie ''ShanghaiNoon''
* ''Film/ChasingAmy''.
** Similarly, the adventures of Jay and Silent Bob in ''Film/{{Mallrats}}'' and ''Film/{{Clerks}}'' becomes "Bluntman and Chronic."
* Alice actually says this in the Disney version of ''Disney/AliceInWonderland''.
* At the end of the Bela Lugosi movie ''Voodoo Man'', a producer considers making the events of the film into a movie. The hero suggests that Lugosi would be a perfect choice to play the villain.
* ''RaceToWitchMountain''
* ''TheSpanishInn'' is narrated from the perspective of the main character, as he's writing a book about the story.
* ''AKnightsTale'' ends with Paul Bettany's Creator/GeoffreyChaucer saying that he should write the events of the film as a story.
** Bonus points for also including the implication that the story could be ''TheCanterburyTales''.
* The film ''BetterThanChocolate'' ends with the revelation that the protagonist eventually published a book called (wait for it...) ''Better Than Chocolate''.
* Near the end of ''Film/MySassyGirl'', the main character Gyeon-woo not only written a book based on the movie's events, but it's being made into a movie... Wait...
* In the Jackie Chan fantasy film ''Film/TheMyth'', his character has written a book of [[TitleDrop the same name]] at the end of the movie, and it is dedicated to his [[spoiler: DeadSidekick]].
* In-universe, the protagonist of ''Film/RepoMen'' writes ''The Repossession Mambo'', which is the title of the RealLife novel on which the film was based. He does this in the ''middle'' of the movie, and even [[spoiler: kills an attacker with the manual typewriter he'd just finished writing it with.]]
* In ''Film/{{Dragonheart}}'', poetry-loving monk Brother Gilbert is trying to write an epic like ''Gilgamesh'', and decides to frame it around the adventures of the protagonist Bowen. Not a book per se, but as the film takes place in a time before novels were common, it otherwise fits.
* At the end of ''Film/WesCravensNewNightmare'', the UltimateEvil has been defeated and [[SealedEvilInACan Resealed away]] now that Wes has finished the screenplay portraying it. Heather Langenkamp and her son read from the screenplay, which depicts the first scenes of the movie.
* ''Film/MoulinRouge'' uses [[EwanMcGregor Christian]] writing a book as BookEnds for the film's story. Satine even tells him when [[spoiler: she dies]] that he needs to write their story.
* In the Winona Ryder adaptation of ''Film/LittleWomen'', Jo is inspired to write a novel about her life with her sisters when going through her sister Beth's things after she dies. (This does not happen in the book, although the Jo of the books does become a successful author.)
* One of the events depicted in the epilogue of ''Film/{{Elf}}'' shows Buddy adapting his experiences into a bestselling children's book.
* In ''The Umbrella Coup'', Pierre Richard's character only realizes that he has been involved in a [[TheMafia mafia]] MobWar at the end of the movie, when his partner (an undercover policewoman) spells it out for him (throughout the movie, he thinks he has been hired by a movie studio for some method acting). He then decides that the story would make a great movie, and the epilogue, he is a famous film director with MoneyToBurn.
* In ''Film/{{Misery}}, Paul's agent pitches him the idea of writing a non-fiction book regarding his experience, he elegantly disregards it as a cheap shenanigan.
* At the end of ''[[TheFilmOfTheBook The Egg and I]]'', Claudette Colbert [[BreakingTheFourthWall turns to the camera and says]], "I could write a book!"
* The original ''Film/ClashOfTheTitans'' ends with Ammon mentioning to Bubo that the tale would make a fine heroic poem or play.
* Francis Ford Coppola's ''Film/TheOutsiders'' opens with Pony Boy writing the story in class.
* In ''Film/AThousandWords'', Jack is shown bringing the book to his own publishing company to work out a deal.
* ''Koko and the Ghosts'' begins with a news story about the protagonists' previous exploits having inspired a children's book. The film ends with the same news reporter asking our hero if another book were to be written based on the events of the film, what title he would give it. Cut to the film's title as the credits roll.

* ''Literature/TheBookOfLostThings'' has this near the end. It states that the book you're reading is the one the character wrote. It then gets confusing because things happen in the end that don't happen until after he wrote it and published. So you're reading things in his book that the character says he wrote but couldn't have despite actually happening.
** Well, he obviously didn't have [[ProtectionFromEditors Protection From Supernatural Editors]].
* ''Literature/TheLordOfTheRings'' has Bilbo's and Frodo's ''The Red Book of Westmarch'', a continuation of Bilbo's ''[[Literature/TheHobbit There and Back Again: A Hobbit's Holiday by Bilbo Baggins]]''.
** With an ending by Samwise, of course.
*** And then found and translated long after by Creator/JRRTolkien, of course. See LiteraryAgentHypothesis.
* Q in the ''Series/StarTrekTheNextGeneration'' novel ''Q-Squared'':
-->'''Q''': Make a hell of a log entry, don't you think. Captain's log, stardate yakkity-yak. [[WakeUpGoToSchoolSaveTheWorld Got up. Brushed teeth. Charted some stars. Saved the universe. Had dinner. Brushed teeth, went to bed.]]
* ''{{Atonement}}'' is an odd case, because Briony [[spoiler:admits to having changed the ending because [[ShootTheShaggyDog it would have been too depressing otherwise]].]] [[TheFilmOfTheBook The movie]] [[spoiler:makes it clear that Robbie and Cecilia died rather than living happily ever after.]]
* At the end of ''Literature/ThingsFallApart'', one of the Evil White Colonialists is writing a book called something like "The Pacification of the Tribes of the Lower River Niger." Bit of a [[SubvertedTrope subversion]], in that he imagines that the incident he has just witnessed - Okonkwo's suicide - might make up a good chapter of padding, or a paragraph at least.
* A very common 19th century literary device. In Charles Dickens' ''Literature/DavidCopperfield'' and Jonathan Swift's ''Literature/GulliversTravels'', the book is written by the hero, as a memoir of the events narrated, and will make occasional references to the present ("Looking back upon that time, I feel...").
* Happens at the end of some EnidBlyton adventure stories like Literature/TheFamousFive.
* Lots of Creator/RoaldDahl stories end like this (''TheWitches'', ''Literature/JamesAndTheGiantPeach'' and ''TheBFG'' from memory), usually with the very strong implication that the book they wrote is the one you just finished reading.
** ''Literature/JamesAndTheGiantPeach'' even ends with, "And ''that'' is what you have just finished reading."
** ''TheBFG'' outright says so: "But where, you might ask, is this book that the BFG wrote? It's right here. You've just finished reading it."
* ''TheOutsiders'' ends with the protagonist being assigned to write five pages about his own life and asking "Can it be longer?" One wonders as to how the teacher felt about grading a 180-page novel.
** Plus, the fact the author wrote it BECAUSE she saw something at school and said (paraphase), "I should write a book about this!"
* ''Literature/IClaudius'' is framed as the Emperor Claudius' autobiography.
* In the Japanese ''[[Literature/TheRing Ring/Ringu]]'' series of books, many of the events from the first book (''Ring'') have been publicized as a novel with talks of a movie in the second (''Spiral''). Unfortunately, these methods are also new and somewhat {{Squick}}y methods through which Sadako can reproduce.
* Played with in the most recent ''Literature/ThursdayNext'' book: the ''Thursday Next'' books as they exist in Thursday's world evidently bear little resemblance to the events as we read them, and Thursday is very unhappy with the way she is portrayed. To make things more complicated, as Thursday can travel into novels, she ends up meeting versions of herself as she appears within the books. However, at the end, the books are being rewritten and it is strongly implied that these new editions are the series we know.
* At the end of Creator/CharlesStross's ''Literature/SaturnsChildren'', we learn that the book we have just read is a message Freya is about to send back to her sisters on Earth, to warn them that [[spoiler:their supposedly long-dead mother Rhea is still alive and dangerously insane]].
* ''BeMoreChill''.
* At the end of Jodie Picoult's ''Literature/VanishingActs,'' the UnluckyChildhoodFriend and journalist character reveals towards the end that he has been writing - surprise! - a book about this entire event. However, there's the [[FridgeLogic fact that the book was written in first-person, revolving between the four main characters,]] so this means that the guy was obsessing over the thoughts of [[AllLoveIsUnrequited the girl he's been in love with since he was a kid.]] Romantic or {{Squick}}y?
* The book ''Freaky Friday'' turns out to be Annabelle's English project, thought the events were supposed to have really happened.
* At the end of ''Nausea'', by Jean-Paul Sartre, the protagonist decides he wants to write a novel.
* The children's book ''TheEnormousEgg'' features this.
* BiloxiBlues
* The second Literature/ArtemisFowl novel implies this in its opening.
* The ''Literature/SherlockHolmes'' stories are presented as the memoirs of Dr. Watson. At the end of the first one, Watson tells Holmes: "Your merits should be publicly recognized. You should publish an account of the case. If you won't, I will for you."
** Mark Frost's ''The List of 7'' has an similar example. The novel centers around a young [[spoiler: Arthur Conan Doyle]] becoming embroiled in a conspiracy against Queen Victoria, during which he is befriended by a dashing, yet mysterious (and potentially unstable) detective named Jack Sparks. At the end of the novel, he learns that Sparks had apparently died in battle with his hated brother, and chooses to immortalize Sparks by writing a series of novels about him[[spoiler: renaming Sparks' character as "Literature/SherlockHolmes".]]
* IAmTheMessenger, which ends with [[spoiler:the author delivering the text of the novel to the main character, who then decides to rewrite it in his own words. Whether the text you're reading has been written by the author or said character is up for interpretation.]]
* In one of the later [[Literature/LittleHouseOnThePrairie Little House]] books (I believe it's Little Town On The Prarie) by Laura Ingalls Wilder, sister Mary suggests that since Laura is now teaching, she'll also write a book. Laura finds the idea hilarious. Of course...
* Used in the novel ''Murder in Moultonboro'' (which you haven't heard of; everyone who has knows the author personally). The hero, Harry, doesn't initially like the idea, though. When Harry's friends suggest that he write a book about some of his strange cases, he answers, "What the hell would I do with a book like that... shim up my fridge?"
* Lemony Snicket ''Literature/ASeriesOfUnfortunateEvents'' books. There's even an "unauthorized autobiography" on "Lemony Snicket".
* ''[[Franchise/StarWarsExpandedUniverse Luke Skywalker and the Shadows of Mindor]]''. Throughout the book there are references to pulpy holothrillers with names like "Luke Skywalker and the Dragons of Tatooine", and at the end we find that the character who researched and wrote up something about the Mindor incident sold it to one of the holothriller companies for an absurd sum of cash. Luke's not happy about this, but grudgingly gives in and insists on some rewrites. It doesn't matter if the holothrillers liked it as it was, he can be very persuasive.
* The classic book InterviewWithTheVampire (and the movie too, I would guess) is [[ExactlyWhatItSaysOnTheTin an interview made by a guy to a vampire]]. It is implied that Louis (the vampire) destroyed the record afterwards, but in the next book on the series (Lestat the Vampire) the book has been published to the world. Then Lestat himself took over that custom and started writting his adventures, with each successive book referencing the former one.
* Megan Whalen Turner's ''[[TheQueensThief The Thief]]'', implies that Gen wrote the book chronicling his adventures at the request of his sovereign.
* Tried (not particularly effectively) by WilliamGoldman in ''The Color Of Light''. It's glaringly obvious throughout the novel that it's an edited version of his own life, including tons of shoutouts to his previous stories. The novel ends with him deciding to turn his life into a novel. It's a pointless ending at best.
* ''Prom'' by Laurie Halse Anderson ends with the narrator musing that she's a pretty good authority on "normal kids" such as herself, and that she ''could'' even write a book about them, making this example a little more ambiguous than others (it could just be irony of the ThisIsReality variety).
* Although Proust has repeatedly stated that ''Literature/InSearchOfLostTime'' was in no way autobiographical, it is pretty clear by the end of ''Time Regained'' that the narrator, who has discovered his artistic vocation, plans to write the very book we are reading.
* In "The Invention of Hugo Cabret" Hugo isn't content to just write his story. [[spoiler:He builds a human-shaped clockwork automaton that writes out the entire book and draws all the pictures with a dip pen every time it's turned on.]] Quite the feat concidering that this book is as thick as one of the later "Harry Potter"s.
* TheSagaOfDarrenShan ends like this when [[spoiler: vampire Darren sends his journals to [[ItMakesSenseInContext alternate-timeline fiction-writer Darren]] to be published into a novel.]]
* ''TheFirstWivesClub'' ends with one of the women producing a book she's written about the events of the novel, entitled "The First Wives Club."
* Creator/ChristopherMoore's ''Literature/BloodsuckingFiends'' ends with [[spoiler: Tommy]] suggesting he's going to write a book, presumably about the events of the trilogy.
* Implied (or at least, [[WMG/TheDresdenFiles hypothesized by fans]]) about ''Literature/TheDresdenFiles''. In a recent book, we learned that Harry's mentor keeps journals of his own life and career, and his own mentor did as well, forming a tradition of wizards' journals going back centuries. A brief excerpt Harry reads is sort of in FirstPersonSmartass format, which fits the mentor's personality but also fits Harry's personality and the series' own narrative style. So some think that the series itself is Harry's contribution to that legacy.
** There's the fact that the narration is in past tense, but some details are given in present tense ('I did X, Y and Z, then went back to my apartment. My apartment is...') which would be consistent with Harry writing about events a short time after they've taken place.
** The [[TabletopGame/TheDresdenFiles roleplaying game]] and several other supplemental materials refer to Harry's "case files" referring to the events of several novels, and named as the books themselves.
* ''Mr. Small'', an entry in Roger Hargreaves' ''Literature/MrMen'' series, depicts Mr. Small attempting to hold down a variety of jobs. He eventually [[spoiler:meets an author who writes children's books; after hearing Mr. Small describe his adventures, he decides to write a book about them]]. It is explicitly stated that the reader has just read the book in question.
* In Stephen Lawhead's ''Song of Albion'', the entire trilogy is a set of books written by the narrator. The final sentence of the third book is the first sentence of the first book:
-->"It all began with the aurochs."
* At the end of the TheGeneral series by DavidDrake and SMStirling, one of Center's predictions is that Barton Foley will win an award for writing Raj Whitehall's biography.
* Loial's goal throughout Literature/TheWheelOfTime series is to write a record of Rand and company's exploits.
* A [[MindScrew mind-warpingly meta]] example is implied by much of ''Literature/TheChroniclesOfTheImaginariumGeographica.'' To wit: Most of the Caretakers of the Geographica are famous authors, especially of sci-fi and fantasy. The implication is pretty strong that they get a lot of their ideas from the Archipelago.
* In Creator/JackWilliamson's ''Darker Than You Think,'' one of the characters plans to write a book warning the world about the Witch Breed but it--the book you're reading--is dismissed as pulp fantasy.
* At the close of T.H. White’s ''Literature/TheOnceAndFutureKing'', King Arthur on the eve of a great battle asks his page Tom to ride home to Warwickshire and to tell people about the King’s idea, that force should only be used for justice. The boy kneels to kiss the King’s hand before he goes, “his surcoat, with the Malory bearings, looking absurdly new”. It would be Sir Thomas Malory who would write LeMorted’Arthur.
* Implied at the end of Peter Ackroyd's novel ''Chatterton''.
* The final novel in ''TheOmen'' series (which followed a different continuty from the movies after the third) ends with one of the characters deciding to write about the events he encountered. [[BookEnds The book then ends with the opening lines of his novel, which are the same as the opening lines of the first novel.]]
* At the end of ''Literature/AMacabreMythOfAMothMan'', Nina tells Moth-man how she's written the whole adventure they were on down in her diary. Moth-man recommends she hold on to it, in case she ever wants to turn it into a book. To account for how his chapters are in first person, he also suggests she switch to first person for him, so he seems more like a private eye from some detective noir film.
* Morrow from ''[[Literature/RazorlandTrilogy Horde]]'' repeatedly states his desire to do this, and [[spoiler:follows through with it at the end]].
* The titular character of the ''AliceSeries'' decides at the end of the last book [[spoiler: when she has hit her 60th birthday]] to write a series of books about what it's like to grow up as the only girl in a small family, who lost her mother when young and her experiences with her three best friends [[spoiler: and marrying her childhood sweetheart]].
* In the ''Literature/MortalEngines'' Quartet, the final scene of the last book ends with Shrike reciting the first chapter of the first book to a captive audience.

[[folder:Live Action TV]]
* The last episode of ''Series/TheDickVanDykeShow'' has Rob Petrie writing his autobiography and subsequently being offered the chance to write his own sitcom based on his life as a comedy writer.
* The MadeForTV and later released on home video movie ''Noah's Ark'' ends with Noah writing down his adventures, and expresses concerns that someday, people will say they weren't even there. Indeed, the movie's story is a mixing of the [[Literature/TheBible Biblical]] stories of the destruction of Sodom and Gomorrah and, of course, the Flood... ''in that order''. The character of Noah is sort of a mashup of Noah and Abraham, except that Abraham never lived in Sodom.
* Maya, from ''Series/KamenRiderDragonKnight'' actually does this, selling the story of the Kamen Riders as a children's novel at the end of the series.
* The very last scene of ''Series/ArrestedDevelopment'' plays with this with [[spoiler: Maeby acquiring the rights to the family's story to be developed into a television series. However, she presents the material to Ron Howard who tells her "I don't see it as a series. Maybe a [[{{Foreshadowing}} movie]]."]]
* Although not revealed in the series, WordOfGod is that Steve and Susan from ''Series/{{Coupling}}'' made a sitcom based on their relationship (which, since they [[WriteWhoYouKnow are, in fact,]] Creator/StevenMoffat and Sue Vertue, isn't very surprising).
* ''Series/DoctorWho'':
** Joan Redfern -- the love interest of John Smith, a certain humanised-amnesiac Time-Lord -- is revealed to have kept John's diary and her memoirs in an attic. Over ninety-five years later, her great-granddaughter publishes them as a book...only for a man, [[TimeTravel just like the one from the diary]], to come to the book signing.
** Lots of fans theorise that the Peter Cushing [[Film/DrWhoAndTheDaleks Dalek]] [[Film/DaleksInvasionEarth2150AD movies]] were written by Ian and Barbara based on their own experiences. This was almost canonised in "Day of the Doctor", but Creator/StevenMoffat couldn't budget the rights to show the movie posters, so the subplot was cut.
* The last episode of ''{{Roseanne}}'' reveals that Roseanne wrote the series based on her life - [[spoiler: except the [[CanonDiscontinuity final season]], which she completely made up after Dan died]].
* [=McGee=] wrote Deep Six in ''Series/{{NCIS}}''. It is implied the books were fictional events, although the characters were clearly based upon Gibb's team.
* This happens frequently in ''Series/{{Californication}}'', in ways that relate to the ongoing story arcs and with the implication that most of Hank Moody's novels come from this trope. The main example is "Fucking and Punching", a novel that Hank writes during season 1 about his experience with Mia, which Mia subsequently steals and publishes under her own name, creating an ongoing conflict for much of the show.
* During the end credits of the final episode of ''Series/BabylonFive'', it is revealed that the entire series was a documentary featuring the history-changing events that occurred on the station. It showed a huge group photo of the actual production team, and ended with the entire run of the main cast's pictures and actor names. This makes the credits avoid BreakingTheFourthWall and instead say "this Minbari actually existed in the future and played Dilenn".
* The ''Series/StargateSG1'' quote above [[HilariousInHindsight gets (unintentionally?) parodied]] late in the series, when it turns out an ordinary citizen, who had acquired a psychic connection with O'Neill, attempted to publish the team's mission reports as books for years...[[TakeThatUs unsuccessfully]]. Also, there's "Wormhole X-Treme," the SelfParody ShowWithinAShow that acts as [[CelebrityParadox the SG-1 of the SG-1 universe]].
* In the ''Series/HowIMetYourMother'' episode "Brunch", where Ted, after hearing his parents' less-than-impressive story of how they met ("I think it was in a bar"), declares that when he's older, he's gonna make sure to tell his kids the ''full'' story of how he met their mother. Fast forward twenty-four years to 2030, and he does, although as far as we know he never published it.
** There's also the movie with the show, The Wedding Bride, which was written by Tony who ran away with Ted's intended bride, Stella. Since Tony actually got Ted his teaching job out of guilt for the incident, we can surmise the film is highly fictionalized since the character, Jed Mosely is extremely abusive.
* ''Series/BosomBuddies'' : In the opener, Henry is shown typing, and the voiceover says "This experience is gonna make a great book."

* The {{Channel 4}} {{Teletext}} soap opera ''Park Avenue'' ended with one of the characters announcing that he'd successfully sold a soap opera based on the street to ORACLE. FridgeLogic when you consider that ''Park Avenue'' was full of topical references, and had started four years earlier...

* Subverted in ''Theatre/AvenueQ''. Princeton thinks he's finally discovered his purpose in life when he sees a kid fresh out of college just like he once was: put together everything he's learned about struggling through life after college and make a Broadway show out of it. The recent grad flips him off and leaves, and everyone else thinks it's a bad idea too.
* The musical of ''LittleWomen'' does this.
* OlderThanSteam: In ''AMidsummerNightsDream'' Bottom, thinking the fantastic events of the play were AllJustADream, says that "I will get Peter Quince to write a ballad of this dream: it shall be called ‘Bottom’s Dream’, because it hath no bottom;"
* ''{{Cabaret}}'' ends with a heartbroken Cliff leaving Berlin on a train and beginning to write a novel about his experience (after failing to write one during the rest of the show).

[[folder:Video Games]]
* If you stayed on good terms with Martin Summers through VisualNovel/HotelDuskRoom215, he sends Kyle a letter explaining he's going to write a new novel based off of him. Kyle isn't much of a reader and Summers isn't much of a writer, so his reaction is less than enthusiastic. He apparently decides to go for it later in life, as the novel Summers writes turns out as the InGameNovel version of VisualNovel/LastWindow.
* At the end of ''VideoGame/PaperMario'', one NPC says that he's written a book about Mario's quest, entitled ''Paper Mario''.
** Likewise, the sequel has Mario's adventures being turned into a play performed by one of his teammates, Flurrie, and a former enemy, Doopliss. The game also features a collection of books describing Luigi's adventures (with some facts being exaggerated to make Luigi look cooler). After beating the game, Luigi agrees to hire his publisher to make a book about Mario's adventure.
* Non-RPG ''Mario'' example: After helping Mario save both Peach and the entire universe from [[BigBad Bowser]] in ''VideoGame/SuperMarioGalaxy'', Rosalina actually decided to write a book based on her experiences with Mario where he had to save both Peach and the universe from Bowser again (her first book was about her childhood and the loss of her family), but this time Bowser is now a giant, and Mario now travels in [[{{Faceship}} a small spaceship shaped like his own face]] with the help of [[PowerupMount his dinosaur friend Yoshi]] and a fat purple star named Lubba. The title: ''VideoGame/SuperMarioGalaxy2''.
** And Rosalina then writes herself into her own story where she finally finds the white Luma she accidentally left behind in the Mushroom Kingdom at the end of the first ''Galaxy'' (he was traveling aboard Mario's spaceship), and then she writes a third book (right in front of said white Luma, who listened to her reading ''SMG2'') about Mario finding various green stars scattered across the universe, and again she writes herself in to give Mario his last star and boards his ship afterwards.
* In ''VideoGame/MetalGearSolid2'', the plot of the previous game is summarized in a series of in-universe publications accessible from the main menu.
** TheStinger for ''VideoGame/MetalGearSolid4'' suggests that [[spoiler: Otacon will be doing something like this. Moreover, the stinger is implied to be a FramingDevice for the ''Franchise/MetalGear'' video games, making them Otacon's story about Snake.]]
* In some of the endings of ''KanaLittleSister'', Takamihi writes a book based on the diary of his deceased sister.
* Done in ''VideoGame/RivieraThePromisedLand'', by [[spoiler: Rose]], of all people.
* The ''Franchise/SlyCooper'' games suggest that the missions are entries in the Thievius Raccoonus, the Cooper family journal/diary/manual. At the end of ''VideoGame/Sly3HonorAmongThieves'', [[spoiler:it suggests that Bentley was making the last entry in it.]]
* In ''VideoGame/PokemonBlack2AndWhite2'', Elite Four member Shauntal (already an established author) is in the middle of writing a novel about the events of the previous game; when you come to challenge her, she is brainstorming a passage about a trainer who fits N's description and whatever Legendary Pokemon he owns in the current game (either Reshiram or Zekrom) It should be noted, N defeated the Elite Four, including her, in the first game.
* At the end of ''VideoGame/LeisureSuitLarry 3: Passionate Patti in Pursuit of the Pulsating Pectorals'', Larry and Patti screw over the fabric of their fictional reality, wind up at the set of {{Sierra}} studios, and receive a lucrative offer from [[VideoGame/KingsQuest Roberta Williams]] to code adventure games about their adventures. [[MissingEpisode Al Lowe]] had to skip an entire installment in the series to undo this ending.
** ''VideoGame/SpaceQuest III'' also ends with the Two Guys from Andromeda ending up at Sierra's studio and they end up making a game, presumably the Space Quest series. No ending-reversal here, though, since the Two Guys aren't the main characters.
* In the credits of ''VideoGame/TalesOfVesperia'', art is shown of Estelle writing a book; when she closes it, the cover pretty clearly has "Tales of Vesperia" on it, though it's written in the game's made-up runic language. Whether the book ''is'' a straight-up adaptation of the game or some kind of children's story about Brave Vesperia's romps and adventures is up for debate.
* Was it ''VideoGame/SuikodenTactics'' or ''Rhapsodia''? That [[MarketBasedTitle depends on where you live]]; either way, there's a reason the game's sections are called "chapters," and Andarc comes off as something of a BadassBookworm.
* Mentioned in passing in [[VideoGame/CommandAndConquer Red Alert 3]]. Following a perilous battle in Cuba, Commander Giles mentions that maybe he will write a book about it.
** [[CrazyAwesome "How the Allied Nations Saved the Free World From Soviet Zeppelins Carrying Massive Bombs Hidden in Soccer Stadiums Through the Use of Freeze Rays, Teleporters, Invisibility Generators and Wave Motion Cannons"?]]
* In the original ''VideoGame/TombRaider'' games, Lara has written several books which are treated as eccentric fiction, including "A Tyrannosaurus is Jawing at my Head".
* One of Madison Paige's endings in ''HeavyRain'' has her writing a book entitled...[[TitleDrop you guessed it.]]
* One of [[JeanneDArchetype Leliana's]] possible comments at the end of ''VideoGame/DragonAgeOrigins'' is that she might write a book about the game's events...but that she'll leave out details about Fereldan food, which isn't any good even at the palace.
* Zigzagged in ''VideoGame/FinalFantasyTactics''. Orlan Durai didn't say that he wanted to write a book about Ramza's brave struggle against Ultima and her cult, neither there's a sequence showing him do so. But the book, the Durai Papers, is written anyway-- in fact the entire game is about Alazlam Durai [[FramingDevice storytelling it to you the player]].
* In ''VideoGame/AssassinsCreedBrotherhood'', Ezio's fellow Assassin NiccoloMachiavelli mentions he will write a book based on Ezio's exploits. It's heavily implied to be ''ThePrince''. In the novelization of the game, he actually jots down notes while Ezio is giving a speech to the crowd.
* Kokoro's ending in ''VideoGame/{{Touhou}} 13.5: Shinkirou ~ Hopeless Masquerade'' FightingGame, ''Hopeless Masquerade'', has her [[spoiler:creating a new Noh play called "[[TitleDrop Shinkirou]]", based on the events of the game]].
* It was only mentioned AllThereInTheManual, but, after ''VideoGame/MegaManZero 4'', Neige (a reporter) has written a biography detailing Zero's adventures.
* This is {{Invoked}} early on in ''VideoGame/AlwaysSometimesMonsters''. In order to secure some help from their publisher, the protagonist agrees to turn over their personal journal to him at the end of the month, regardless of whether or not they succeed in their goal. He figures that he can turn that written account into ''something'' profitable.
* In ''[[VideoGame/TheBlackwellSeries Blackwell Convergence]]'', Rosa receives a rejection from Rel Day Books for her manuscript "The Devil and the Deacon"--presumably an account of the events in ''[[VideoGame/TheBlackwellSeries The Blackwell Legacy]]''. In ''[[VideoGame/TheBlackwellSeries Blackwell Deception]]'', Rosa has a published (but wildly unsuccessful) manuscript called "The Actor and the Artist"--presumably an account of the events in ''Convergence''.


[[folder:Web Comics]]
* ''TheWordWeary'' is a comic by John Kossler about John Kossler, who's writing a comic. [[http://wordwearycomic.blogspot.com/2011/09/17-september-2011.html Issue 75]] featured him wondering what he should do for in-comic comic's next update- he finally settled on a joke that was used in [[http://wordwearycomic.blogspot.com/2011/03/15-march-2011.html issue four.]]

[[folder:Web Original]]
* One of the alternate Season 5 endings to ''Machinima/RedVsBlue'' has Caboose selling his life story to [[{{Creator/Bungie}} a company in Redmond, Washington]] who made a [[{{Franchise/Halo}} popular video game series]] out of it.
* Shin spends a good chunk of ''WebOriginal/SailorNothing'' working on her book. The epilogue shows that it was pretty successful, even if it was usually interpreted as allegory.
* At the end of the ''WebOriginal/{{lonelygirl15}}'' episode "He Said, She Said", Bree suggests that Daniel should come over and they can make a video about the phone call they are having. Daniel replies, [[WhoWouldWantToWatchUs "Wouldn't that be boring?"]]

[[folder:Western Animation]]
* Averted in ''WesternAnimation/ScoobyDooMysteryIncorporated'' when a "big shot television producer" suggests that Scooby and the gang's adventures would make a great children's show. Immediately everyone agrees this would be a bad idea.
* In one ''WesternAnimation/TomAndJerry'' cartoon, Jerry writes a humerous book about his experiences with Tom. Tom at first is incredibly angry about it and the jokes the book makes at his expense... Until he learns that Jerry is required to share the rather large check from the publisher with him. ''Then'' he suddenly finds the book hilarious.

[[folder:Real Life]]
* Evan Wright wrote about what his experiences in Iraq, titled ''Literature/GenerationKill'', which was later adapted into an HBO miniseries under the same name.
* The reason why people write memoirs.