'''''The Number 23''''' is a 2007 American psychological thriller film directed by Creator/JoelSchumacher, starring Creator/JimCarrey, Virginia Madsen, Danny Huston and Creator/LoganLerman.

The plot revolves around Walter Sparrow (Carrey) and his obsession with the 23 enigma, an esoteric belief that all incidents and events are directly connected to the number 23, some permutation of the number 23, or a number related to 23.

This is the second film to pair Schumacher and Carrey, the first being ''Film/BatmanForever''. This is also Carrey's first suspense thriller, and while it was derided by critics for being confusing and unengaging, it was a box office hit.

!!This film provides examples of:

* AbandonedHospital: The Nathaniel Institute.
* AmnesiacDissonance: Learning about his dark past brings [[spoiler:Walter]] close to committing suicide.
* ArcNumber: Guess.
* [[spoiler: AssholeVictim: Laura Tollins could be seen as this, for driving Walter into a homicidal rage after claiming she never loved him and mocking his father's suicide. At least, if that's what ''[[UnreliableNarrator really]]'' happened?]]
* BittersweetEnding: Sure, the murder mystery was solved, [[spoiler: and the man wrongfully imprisoned for it was set free.]] But [[spoiler: Walter turns himself in to the police, and is awaiting sentencing for criminal homicide.]]
-->[[spoiler: '''Walter Sparrow:''' Maybe it's not the happiest of endings, but it's the right one. Some day I'll be up for parole, and we can go on living our lives. It's only a matter of time. Of course, time is just a counting system. Numbers with meaning attached to them...isn't it?]]
* TheCallKnowsWhereYouLive
* CrashIntoHello: Walter and Agatha first meet when he bumps into her in the street and she [[CarryingACake drops her cake]].
* DrivenToSuicide: The [[CaptainObvious Suicide Blonde]], Widow Dobkins, Walter's Father, and [[spoiler: Walter himself. Twice. (The first time, he survives his attempt; the second time, he stops because he [[CrowningMomentOfHeartwarming sees his son watching him]].)]]
* ForWantOfANail: Walter laments this at the beginning of the film: if he hadn't agreed to take his wife's cake to the holiday office party without her, the dispatcher Sybil wouldn't have drunkenly thrown herself at him; if he hadn't turned down Sybil's advances so harshly, she wouldn't have been angry at him the next day and sent him on another call just as his shift ended; if he hadn't been sent on that last call, he wouldn't have been late to meet his wife; if he hadn't been late to meet his wife, she wouldn't have had time to browse in the used bookstore where she found a copy of ''The Number 23''....
* HellHound: Ned's a fairly ordinary dog, but he still fits the "guardian" flavor of this trope to a tee.
* HereditaryCurse
* InterplayOfSexAndViolence: Both Laura Tollins and the fictional Fabrizia have a fetish for violence and like to roleplay with knives in the bedroom. Fabrizia even has Fingerling take her to an apartment where a woman ''killed herself'' so they can have sex.
* ItWasHereISwear: The skull Walter digs up is gone by the time he return with the Police.
* KillMeNowOrForeverStayYourHand: Agatha does this to Walter when he is convinced he will kill her in his next paroxysm.
* [[spoiler: TheKillerInMe]]
* MeaningfulName: Several examples:
** Ned, the black and white bulldog who watches over Laura Tollin's grave, was so-named because of his habit of "guarding" the dead.[[note]] (Ned is an Old English name meaning "guardian" or "protector".)[[/note]] Also N=14+E=5+D=4=23
** [[spoiler: The hospital where Walter was rehabilitated after his suicide attempt and granted a new lease on life is the Nathaniel Institute, from the biblical name meaning "Gift of God".]]
** The doctor at the mental hospital [[spoiler: who helped rehabilitate Walter (and later went mad)]] is named "Sirius Leary", which (when reversed) roughly means "Be Careful of the Dog" -- an obvious reference to Ned, who physically attacks Walter [[spoiler: and directs him to his past crimes]].
* NeverFoundTheBody: Laura Tollins. [[spoiler: Subverted in the movie's final act.]]
* NumberOfTheBeast: Issac French explains that the number 23 is considered evil because 2 divided by 3 results in .666...6666 etc. (which would actually be shortened to .667, if we're going to three decimal places).
* OneBookAuthor: Both in- and out-of-universe: in-universe, [[spoiler:Topsy Kretts/Walter]] has written only this book; out-of-universe, the movie's failure resulted in it being Fernley Phillips' only writing credit to date.
* RoomFullOfCrazy: The hotel room where [[spoiler: Walter]] wrote the last chapter of the book--literally. It has a fictional counterpart in the Suicide Blonde's apartment, where she scrawled out all of her life's connections to the number 23.
** [[spoiler: Also, Walter's old room at the mental hospital.]]
* SanitySlippage: The number itself is implied to cause this, as "victims" become obsessed with the numerical patterns in their own lives and the world around them.
* SharpshooterFallacy: The entire concept of everything adding up to the number 23 (and being so significant) runs on this, but is [[JustifiedTrope justified]] in that Walter is suffering from a terrible obsession, [[TropesAreNotBad so logic and reason don't really enter the story for the sake of preserving the drama.]]
* SueDonym: The titular book is written by "Topsy Kretts".
* [[spoiler: SympatheticMurderBackstory]]
* [[spoiler: TomatoInTheMirror]]: [[spoiler: Walter Sparrow is Topsy Kretts]].
* TattooedCrook: Fingerling.
* TitleByNumber
* TwistEnding: [[spoiler: The author who wrote the book "The Number 23" is ''Walter himself.'']]
* [[spoiler:WritingAboutYourCrime]]: "Topsy Kretts" [[spoiler:is really Walter himself, and the suicide blonde actually represents a girl he murdered.]]