Arts and culture / Screen and stage / Film and television / Films and standalone screen works / Individual films by title and year / Science fiction and fantasy films (individual works) / Science fiction and fantasy films of the 2010s / Science fiction films of the 2010s / Titles J to Z

General · Edgepedia6 min read

Source Code

Source Code is a 2011 science fiction thriller directed by Duncan Jones and written by Ben Ripley, in which a decorated soldier, Captain Colter Stevens (Jake Gyllenhaal), wakes in another man's body and relives the last eight minutes of that man's life through a government experiment called the Source Code, to find the bomber of a Chicago commuter train and prevent a second, larger attack on downtown Chicago.1 The film is a Canada, United States, and France co-production in English, rated PG-13, released April 1, 2011, and produced by The Mark Gordon Company and Vendôme International.1 • 2

Key factDetail
CreditsDirected by Duncan Jones, written by Ben Ripley; stars Jake Gyllenhaal, Michelle Monaghan, Vera Farmiga, Jeffrey Wright, and Russell Peters1
ReleaseApril 1, 2011 (wide), 94 minutes, PG-13, Canada/United States/France, English1
Box officeEstimated budget $32,000,000; $54,712,227 in the US and Canada; $147,332,697 worldwide3
Opening weekend$14,812,094 in the US and Canada, weekend of April 3, 20113
Critical receptionMetascore 74; Rotten Tomatoes consensus praises Jones and Gyllenhaal for a "smart, satisfying sci-fi thriller"3 • 4
FilmingCité du Cinéma studio, Montréal, Québec, Canada3
Awards tally1 win and 8 nominations total3

Spoilers

Plot and premise

Captain Colter Stevens wakes in the body of an unknown man aboard a Chicago commuter train that has been bombed. A program called the Source Code enables him to cross over into another man's identity in the last eight minutes of his life, and his mission is to identify the bomber before a second, larger attack threatens downtown Chicago.1

The film's own rules are stated by Dr. Rutledge (Jeffrey Wright): "Source Code is not time travel, rather Source Code is time reassignment, it gives us access to a parallel reality."5 Captain Goodwin (Vera Farmiga) adds that the program "was not designed to alter the past, it was designed to affect the future," because the train explosion is already a memory.5 Screenwriter Ben Ripley explained the mechanism as an eight-minute loop animated by the brain activity of victims killed in the earlier attack, accessing mental impressions formed during their final eight minutes of life. He acknowledged that science cannot yet verify such a loop, saying "it makes a hell of a narrative device," and that he avoided typical time-travel paradoxes: "What's done is done and cannot be undone."6

Cast and characters

Jake Gyllenhaal plays Colter Stevens, Michelle Monaghan plays Christina Warren, and Vera Farmiga plays Colleen Goodwin, according to the BFI's film works record.2 Jeffrey Wright and Russell Peters round out the principal cast listed by the American Film Institute.1

Production

Ben Ripley, earlier known principally for his writing on the Species (1995) sequels, broke out with this spec script about a USAF pilot caught in an iterable time loop of a stranger's last eight minutes on a doomed train.7 He began the project in 2005, looking for a science fiction device to tell a nonlinear story like Rashomon; development stripped away much of the scientific explanation, leaving a character mystery with the thriller plot as the engine.6 In early drafts the loop was seventeen minutes long, and the tighter eight-minute timeline prioritized narrative urgency over character relationships.7

Duncan Jones's attachment. Jones was brought in after impressing with Moon (2009), and Billy Ray did a brief but significant uncredited rewrite that speeded up the romance element.7

Filming took place at the Cité du Cinéma studio in Montréal, Québec, Canada, with production companies Summit Entertainment, Vendome Pictures, and StudioCanal.3 Jones explained that the pod representing Stevens's cockpit was first designed to resemble a helicopter cockpit, "a small, intimate environment where he has this bright white screen in front of him that he can't really see through."5 During the train sequences Gyllenhaal wore an ear bud into which Jones would play music at any point in time to help him.3

Themes and interpretation

Scholarship reads Stevens as a metaphoric "playhead" moving along an eight-minute digital timeline of the train's last minutes, and notes that the film selectively withholds information to engineer a climactic revelation.8 Sean Cubitt interprets the film as a rendition of digital time, combining temporal rigidity (its eight-minute sections) with fluidity (high-speed movement and slow motion), shot with cameras including the varispeed Phantom HD.8

A peer-reviewed article argues that the ending bifurcates time into parallel worlds, transforming the virtual past into a new dimension and reconfiguring the digital, rather than the future, into a utopic possibility.5 The Science Fiction Encyclopedia connects the film's iterable narrative, multiple endings, and problem-solving task against the clock to Hollywood interest in emulating and thematizing the narrative poetics of videogames.7

Comparison with other time-loop films

The Science Fiction Encyclopedia describes the film as combining the premises of Philip K. Dick's Ubik (1969) and Algis Budrys' Rogue Moon (1960), and as at root an accelerated action-film version of Groundhog Day (1993), supplemented with a quantum parallel-worlds coda that allows the incompatible real world and virtual reality to proceed to their respective happy endings in parallel worlds.7 NPR critic Kenneth Turan likewise framed it as the science fiction thriller version of Groundhog Day, with the eight minutes on the train replayed at least half a dozen times; he found that the repetitions added tension rather than fatigue, as viewers wondered what Stevens would do next and how each choice would play out.9

Release and reception

The film was released wide on April 1, 2011.4 Rotten Tomatoes' critical consensus states: "Finding the human story amidst the action, director Duncan Jones and charming Jake Gyllenhaal craft a smart, satisfying sci-fi thriller."4 Some critics noted that the film "lacks even coherent hypothetical science" regarding multiverse logic, while praising its pacing and a mounting uneasiness recalling The Twilight Zone.4 IMDb records a Metascore of 74 and a total of 1 win and 8 nominations in awards.3

By the numbers

The film's economics were favorable: an estimated budget of $32,000,000 against $54,712,227 grossed in the US and Canada and $147,332,697 worldwide, roughly 4.6 times the production budget.3 Its opening weekend of $14,812,094 (weekend of April 3, 2011) accounted for about 27 percent of the US and Canada gross.3 IMDb records a Metascore of 74.3

Legacy

The film marked Ben Ripley's breakout from a career known principally for the Species sequels, and it served as Duncan Jones's follow-up to Moon (2009), the film on whose strength he was hired.7

References

  1. Source Code, American Film Institute catalog
  2. Source Code, BFI Collections Search
  3. Source Code (2011), IMDb
  4. Source Code, Rotten Tomatoes
  5. Chronos sickness: digital reality in Duncan Jones's Source Code, Ilha do Desterro (2017)
  6. Parallel Universes and Corpse Brains: Source Code Takes Science on a Trip, WIRED (2011)
  7. Source Code, The Encyclopedia of Science Fiction
  8. Misek, Modular Spacetime in the 'Intelligent' Blockbuster: Inception and Source Code, University of Kent
  9. Turan, 'Source Code,' A Sci-Fi Version Of 'Groundhog Day', NPR (2011)

Topic: Encyclopedia › Arts and culture › Screen and stage › Film and television › Films and standalone screen works › Individual films by title and year › Science fiction and fantasy films (individual works) › Science fiction and fantasy films of the 2010s › Science fiction films of the 2010s › Titles J to Z

Initially written Sep 17, 2026 · Reviewed: Oct 3, 2026; Oct 25, 2026 · Edited: Oct 3, 2026; Oct 21, 2026; Oct 25, 2026; Nov 1, 2026 · Last review: Oct 25, 2026

Notice something wrong?

© 2026 EdgeChat AI, a subsidiary of Biostate AI. Free to use with credit under the Edgepedia Community License. Developers: read Edgepedia by API or MCP. Embed a reference card.

Report an error in this article

Source Code

Pick at least one reason.