[[quoteright:300:http://static.tvtropes.org/pmwiki/pub/images/Source_Code_Poster_9926.jpg]]

->'''Dr. Rutledge:''' You cannot alter this reality while inside the Source Code.
->'''Colter:''' Iím asking you to have the decency to let me try.

A 2011 CyberPunk film directed by Creator/DuncanJones starring Jake Gyllenhaal. Has quite a few similarities with ''QuantumLeap'' (including a voice cameo by Scott Bakula).

Captain Colter Stevens (Gyllenhaal) is a decorated [[strike:airman]] helicopter pilot who [[OntologicalMystery wakes up in the body]] of an unknown man inside a train in Chicago, where he meets a woman named Christina (Michelle Monaghan). But before he can understand what's going on, a bomb explodes on the train.

Waking up once again, this time in a capsule in an unknown location, Colter is greeted by a military woman named Captain Colleen Goodwin (Vera Farmiga), who informs Colter that he is inside the Source Code, a program that allows him to take over the body of another in the last eight minutes of that person's life. What he experienced on the train was merely a simulation[[note]]Or, actually, an "afterimage" of the event[[/note]]. Earlier that day, a bomb already detonated and destroyed a train in Chicago, killing everyone aboard, including Christina, whom he has developed feelings for, and the original owner of Colterís assumed identity within the Source Code, a man named Sean Fentress. Colter's mission is to use the simulation to retroactively discover the location of the bomb on the train and trace it to the bomber so that a second detonation can be prevented.

[[CaptainObvious Not to be confused with]] an uncompiled computer program.

!! This film provides examples of:
* ActorAllusion: Jake Gyllenhaal at one point says "[[Film/DonnieDarko Everything's going to be OK.]]" [[spoiler: [[CaptainObvious It isn't]].]]
** Also this is not the first time he has had to deal with [[spoiler: [[DonnieDarko alternate realities/time traveling]] ]]
** Lest we forget that Scott Bakula is once again involved with [[QuantumLeap a time travel project]] (although briefly).
* AdamWesting: Comedian Rusell Peters basically plays an expy of himself.
* AllJustADream: Or rather, a virtual simulation. [[spoiler: OrWasItADream]]
* AlmostDeadGuy: [[spoiler:Colter]].
* AlternateTimeline
* AlwaysSaveTheGirl: Colter really wants to, but there's the small matter of Christina already being dead.
* ArcWords: "Everything is going to be OK."
* BeautyIsNeverTarnished: When we see [[spoiler:Colter's real body in the life support chamber. Other than missing the lower part of his body, he seems remarkably unscathed for having been through a nearly fatal helicopter crash.]]
* BecomingTheMask: A rather heartwarming variation.
* BittersweetEnding: It leans more on the happy side. [[spoiler:Colter's original life is over and he will never see his father again. However, he will live on as Sean with Christina with a much happier lease on life. A large plot point of the film is his amends with the former.]]
** [[spoiler: While literally everyone else survives the original Sean is dead even in the happy universe ending. Colter's original body is presumably also dead.]]
* BrandX: The train company is called Chicago Commuter Rail, or CCR, instead of Metra. Still Metra's blue and red engines, though.
* CannotSpitItOut: The Source Code officials might have gotten Colter's cooperation much sooner if they just spilt the beans about his circumstances from the get go, instead of dodging his most basic questions. This plays into Rutledge treating him like a machine instead of a person.
* CastingGag / ActorAllusion: Colter's dad should know what he's going through in the film; [[QuantumLeap he's done it too.]]
** Russell Peters basically plays a fictionalized version of himself, particularly noticeable during [[spoiler: his lewd stand-up routine in the ending.]]
* ChekhovsGun: The older woman's bag on the upper level.
** One of the passengers drops his wallet, which is returned to him by another passenger. [[spoiler:The first passenger is Derek Frost, the bomber, and he's deliberately leaving his wallet at the site to be assumed one of the casualties of the bomber.]]
* ConcealmentEqualsCover: Averted. [[spoiler: Derek shoots Christina through the van.]]
* TheCutie: Christina is an attractive, intelligent, funny young woman who's Colter's closest human connection on the train.
* DeathIsCheap: Averted. Colter doesn't actually die at the end of every run through, but he experiences the horror of it every time, and the more he does it, the more he comes to see just how precious and fleeting life is.
* TheDogWasTheMastermind: [[spoiler: After major suspicion is cast on every person in Colter's immediate area (including Colter himself!), the Bomber eventually turns out to be a random background character who had literally 2 seconds of screen time before TheReveal.]]
* EarnYourHappyEnding: Hell Yeah.
* FlashBack: The Source Code program effectively serves as an interactive one. There's also a few of Colter's [[spoiler: death]].
* FlashForward: [[spoiler: Colter's "in transit" glimpses of Christina and the Bean.]]
* FlashSideways: [[spoiler: Colter has a glimpse of his future self in another timeline before he even gets there]].
* ForScience: Rutledge will go pretty far to advance his technology [[spoiler: including breaking an explicit promise to Stevens]]
* GeniusCripple: Rutledge, [[spoiler:bordering on EvilCripple (he's got a LackOfEmpathy, to say the least)]].
* GroundhogDayLoop
* HalfTheManHeUsedToBe: [[spoiler:Colter]], and it's not a pretty sight.
* TheHeroDies: Inverted.
* HeyItsThatVoice: Colter's father is played by none other than [[QuantumLeap Scott]] [[Series/StarTrekEnterprise Bakula]]. As the film was tagged by its creators as ''Film/GroundhogDay'' meets ''QuantumLeap'', this is probably [[ActorAllusion not coincidental]].
* ICannotSelfTerminate: [[spoiler: Colter is actually mostly brain-dead and missing limbs and his lower torso, with his physical self an illusion. His life is at the mercy of the scientists running the Source Code.]]
* JerkAss: Dr. Rutledge.
* JustTrainWrong
** Trains do not have guns on board, as quoted by Metra's own commuter newsletter '''On the Bi Level''', ''If conductors wanted to wield guns they would have applied for a different kind of blue uniform.''. Same thing with tasers and handcuffs.
** The so called 'conductor's compartment' is actually an engineer cab for remotely controlling the locomotive when the train is moving in that direction, and is portrayed on the wrong end of the train car (the engineer must be able to see the track ahead). Even more so from the outside view of the cars since it shows the windshields for the cab on the right end of the car, but the side windows of the cab on the wrong end as well. Not to mention this was a Chicago bound train, so the compartment would not have been empty, there would have been an engineer on one side of the compartment, operating the train.
*** Actually METRA owns a rather large proportion of cab control cars and frequently uses them mid-train as coaches. In exterior views of the train he is in fact riding in a mid-train cab car. It is also entirely logical that such closed cabs would be used as storage space for the train crew and may be referred to as a conductor's compartment.
*** Not really. Conductors are assigned their own locked cabinets next to the vestibule for such things. Storing things in the driving cab would mean going to the upper level and squeezing past all the passengers sitting there to get their equipment.
** Not all cars on the train have headlights/taillights/red stripes.
** Gallery cars of the type depicted do not have a bridge over the isle, they have stairs on either side of the isle to reach their respective sides of the mezzanine. This is caused by the movie being shot in Montreal, and using that city's commuter system for interior filming.
*** While they did put up a Chicago map in one of the Montreal cars, it is of the Chicago Transit Authority, not Metra.
** While Skokie is a town just northwest of Chicago, there is no Metra station there. Furthermore, there is no town of Glenbrooke near Chicago, much less a Metra stop there.
* LackOfEmpathy: Dr. Rutledge treats Colter less like a human and more like a machine. His attitude comes off like someone who doesn't believe Colter is even ''capable'' of normal human emotion, even though that flies in the face of his own conversations with the man.
* ManInTheMachine
* MeaningfulEcho: A few, but most notably, "What would you do if you knew you had less than a minute to live?"
* MeaningfulName: Ruthless Rutledge is ruthless.
* MindScrew: And then some.
* MindWipe: [[spoiler: Colter's intended fate.]]
* TheMirrorShowsYourTrueSelf: Colter ''is'' Sean. Probably a visual form of TranslationConvention since Colter is not looking at himself all the time, he percieves himself (And we see him) as Colter. Is only when he looks in the mirror that he (And thus the audience) realizes what he actually looks like.
* MissionControl: Goodwin, and Rutledge to a lesser extent.
* MistakenForEvidence: [[spoiler:Done frequently with a combination of characters (the shifty guy who just has motion sickness, the overly defensive software designer only calling his wife) and with objects (the first phone on the bomb, pretty much every piece of technology in the first half).]]
* MistakenForTerrorist: When Colter first suspects [[spoiler:the Middle-Eastern man who turns out to have motion sickness, Christina calls him out on it. (As usual for this trope, there is at least a small bit of evidence.)]]
* MyselfMyAvatar: Colter in the Source Code.
* PermaStubble: Colter out stubbles Sean, his own reflection.
* PoweredByAForsakenChild: [[spoiler: The program is powered by a forsaken mortally wounded veteran heading for routine MindWipe without being allowed to die.]]
* PrecisionFStrike: And how.
* ProductPlacement: Apparently they have Dunkin' Donuts shops on trains now. Also, Colter has time to stare at the Bing homepage for what seems like an eternity before searching for anything.
* ProtagonistCenteredMorality: Nobody seems to care that Colter is essentially body-jacking Sean every time he jumps. [[spoiler:It's taken a step further at the end, where he has effectively murdered the real Sean and stolen his identity.]] In fairness, though, the real Sean is dead either way: either Colter jacks his body or he goes up with the train, [[spoiler:and it's beyond Colter's power to give the body back at the end]]. It doesn't even go into what exactly is happening to Sean mentally, namely whether his mind is being suppressed or outright replaced. The former leaves him in in a Film/BeingJohnMalkovich state for as long as Colter's borrowing him, the latter would leave him brain-dead assuming Colter saved him and left his body at the end of the Source Code.
* QuantumMechanicsCanDoAnything
* TheReasonYouSuckSpeech: [[MakesSenseInContext Delivered in the first person no less]].
--> '''Colter:''' Hey, my name's Derek Frost. [[spoiler: I planted a nuclear device in the white van parked in a Glenbrooke Station CCR parking lot. Right now, I'm handcuffed to a pole in the 944 CCR train headed to Chicago Union Station. I'm a sick and pathetic human being and I need to be locked away for a very long time.]]
* ScienceIsBad: Played with. While the program can't undo past events, it can be used to influence future ones and prevent subsequent attacks and save millions of lives. However, there is the matter of Source Code's creator, Dr. Rutledge, [[spoiler: wanting to go back on his promise to let Colter die so the Source Code Program can continue, for not wholly altruistic reasons]].
** Then again, [[spoiler: it actually can rewrite reality to fix the past after all. [[ExpendableAlternateUniverse Just not our past]].]]
* SetRightWhatOnceWentWrong: Doubly subverted. [[spoiler: Colter can't change the past - everyone is already dead, and his sole purpose is preventing future attacks. But in one timeline, ''he succeeds,'' creating an alternate future where the train does not explode.]]
* ShoutOut: Colter's father is played by [[QuantumLeap Scott Bakula]].
** The radio DJ's spiel about the weather near the end, besides the numbers being different (it's a bit nippier out, apparently) is the same as that near the beginning of ''Film/FerrisBuellersDayOff'', which also takes place in Chicago.
** Christina's ringtone is "I am the one and only", the same as Sam Bell's alarm clock in ''Film/{{Moon}}''.
** [[spoiler: The revelation of Colter Stevens' real body is a lot like Hunter's fate from AllHailMegatron. That is, missing limbs and lower torso, plugged into a machine and comatose/braindead. They also served as a sort of UnusualUserInterface for the people that plugged them into the machine, and both get a MercyKill at the end]].
* TerroristsWithoutACause: The motivation for the bombing is not really important to the plot. The bomber apparently acted alone, [[spoiler: and defied all the stereotypes, being neither Middle Eastern nor Asian nor a radical college kid, but a standard-issue middle class white guy.]] When Stevens does get a chance to ask "why", he gets some answer about rebuilding from the rubble, but no specifics or clear ideology. His line "This world is Hell" plus a strong implication of mental illness is the most we ever get.
* TimeBomb: Played with. The device is merely an explosive rigged to blow when it receives a signal, but Colter only has eight recurring minutes to discover where it is and who put it there, thanks to how the Source Code operates. He finds it pretty quickly; it takes most of the film to uncover the bomber's identity.
* TimeTravelRomance
* TitleDrop
* ToBeLawfulOrGood: [[spoiler: Goodwin chooses the latter.]]
* TogetherInDeath: [[spoiler: In the original timeline, Christina died on the train and Colter died when Goodwin shut off his life support. In the alternate timeline, they live.]]
* TraumaInducedAmnesia: Colter begins the film having no idea why he's on a train with a woman who claims to know him under another name. Later, when he "wakes up" inside of the capsule, he doesn't recognize Capt. Goodwin or anybody involved with the Source Code Project. [[spoiler:But then, he's never met ''any'' of them before, since he was assigned to the program after his presumed death.]]
** Not necessarily trauma induced. [[spoiler:The scientists have the ability to wipe his memory and it's implied they've done so before.]]
* TrailersAlwaysLie: The trailers made it seem like some romantic dramedy through time and space movie like ''The Lake House''...
* VillainousBreakdown: [[spoiler:For a loose definition of "villain". When Goodwin goes against orders and is prepared to kill Colter (on his request) at the end of his final Source Code trip, Rutledge is screaming at his men to stop her after he finds she's changed the access code.]]
* WellDoneSonGuy: Colter, big time. Rutledge is not above exploiting this to trigger his HeroicResolve.
* WellIntentionedExtremist: Dr. Rutledge. [[spoiler:He's genuinely devoted to saving the lives of countless Americans by preventing terror attacks. That the process involves the exploitation of mortally wounded veterans is an acceptable price to him.]]
** [[spoiler:During the last alternate timeline, when told the news of the averted terrorist attack, Dr. Rutledge seemed disappointed he didn't get an opportunity to use the Source Code; in effect, he'd have preferred hundreds of people died so his program would get to run.]]
** Derek Frost might also count. [[spoiler: He seems to honestly believe people would be a lot happier AfterTheEnd.]]
* WhamLine: Christina telling "Sean" that his friend Colter [[spoiler:was killed in action - two months ago]].
* WhatHappenedToTheMouse: What happened to Sean after [[spoiler: Colter hijacked his body in the new timeline?]] Also, what happens to [[spoiler:original timeline]] Goodwin? For that matter, [[spoiler: what about all those other timelines where they failed to find the bomber?]] Presumably [[spoiler: each timeline where the train is destroyed has a good chance of catching the bomber, but it's never really settled.]]
** It's been confirmed by WordOfGod that [[spoiler: the original Sean is dead and Colter now permanently resides in his body]].
* WhatYouAreInTheDark: Even after the [[spoiler:AlternateUniverse]] aspect of the Source Code is explained to him, Colter still tries to do good to strangers that he'll ''never'' be able to interact with ever again. [[spoiler:To his delight, he's actually wrong and his consciousness enters the Alternate Universe in the final attempt.]]
** Being at least not mean to the innocent bystanders is very effective if your goal is to get information from them that allows you to determine if any of them is a terrorist or not. After the first dozen cases of him acting like a dick and getting nowhere fast, even a Jerk with a Heart of Jerk would have at least tried to seem nice.
* TheWindyCity
* XMeetsY:
** ''Series/QuantumLeap'' meets ''Film/GroundhogDay''.
** Could also be ''Film/GroundhogDay'' meets ''Series/SevenDays''
** Also ''Series/QuantumLeap'' meets ''Film/LolaRennt'', which is essentially same as the above.
** ''Film/{{Next}}'' meets ''Film/DejaVu'' meets ''Film/{{Inception}}''.
** Or ''Literature/MurderOnTheOrientExpress'' if you prefer.
** One of the actors described it as ''Film/GroundhogDay'' meets ''Film/{{Speed}}''.
*** [[WordOfGod Duncan Jones]] has mentioned ''Film/TwelveMonkeys'' as an influence as well.
** Might be a bit of a stretch but: BeingJohnMalkovich meets [[Series/TwentyFour 24]] meets [[spoiler: ''Anime/PuellaMagiMadokaMagica'']]
*** BeingJohnMalkovich for the whole inhabiting Sean's body concept and the moral concepts therein, [[Series/TwentyFour 24]] for the obvious ticking time bomb, and [[spoiler:''Anime/PuellaMagiMadokaMagica'' because of the use of time loops for the sake of protecting the one you love from dying and to change of the future for the better]]. Also both Dr. Rutledge, the designer of the Source Code program, [[spoiler: and Kyuubey share the same moral approach about their jobs]]: both want to save the world, Rutledge by creating a weapon against terrorists [[spoiler:and Kyuubey by preventing the effects of entropy in the universe, but have [[WellIntentionedExtremist underhanded methods of doing so]], using people as tools and caring little for those people other than their functions.]]
** ''Franchise/AssassinsCreed'' meets ''Daybreak''.
** ''Groundhog Day'' meets [[spoiler:''JohnnyGotHisGun'']].
* YouAlreadyChangedThePast: Basically what Colter tells Goodwin at the end of the film.
* YouCannotGraspTheTrueForm: [[spoiler:When outside of the Source Code, Colter perceives himself as being inside a fully enclosed capsule of some sort, similar to a cockpit, complete with a video screen to communicate with Beleaguered Castle, tools, and an emergency exit. It turns out that his [[UnusualUserInterface mind is actually jacked into a computer system, and his body is horribly maimed]].]]
* YouCantFightFate: Played with. [[spoiler:No matter what he does, the passengers always die in the original timeline. However, in a rare happy ending version of this trope, he is able to save them in an alternate timeline, and he goes with Christina to the Cloud Gate sculpture, which he has been seeing in flashes in between time leaps, implying that he was always meant to in the first place.]]
----
@@[=return( 0 );=]@@