Barry Allen reverses time in the 2017 theatrical film Justice League by running faster than the speed of light, entering the Speed Force, and pushing past a threshold that lets him move backward through time; in the 2021 director's cut, Zack Snyder's Justice League, the same basic idea appears but is staged differently and tied to a different story beat. The precise "how" depends on which version you mean, because the two cuts are not the same film and treat Barry's time travel with different rules and different visual explanations.
The Short Answer, by Version
In Justice League (2017), Barry's time reversal happens during the finale. The League is losing to Steppenwolf, and the Mother Boxes are about to synchronize. Barry runs in a circle to build speed, then pushes himself faster and faster until he breaks the light barrier. As he does, the world around him appears to slow, stop, and then run backward, and he is able to reach the separated Mother Boxes and help undo the Unity. The film frames this as a burst of raw speed crossing a physical threshold, with the Speed Force as the implied mechanism.
In Zack Snyder's Justice League (2021), Barry's time reversal is a more explicit and more consequential moment. Near the end, after the League has failed to stop the Unity and the world is being destroyed, Barry runs to build up speed, breaks through the light-speed barrier, and enters a state where time flows backward around him. He uses this to undo the moment of failure, effectively rewinding events so the League gets another chance. Snyder's version gives the Speed Force more visible weight, shows Barry's perspective inside the reversed flow of time, and ties the act to a specific emotional and narrative payoff.
So the direct answer is: Barry reverses time by running fast enough to cross the speed of light and enter the Speed Force, which lets him move against the normal flow of time. What that looks like, what triggers it, and what it costs him differ between the 2017 theatrical cut and the 2021 Snyder Cut.
Why "Running Fast" Is the Explanation, Not Just a Visual
The films treat time reversal as a consequence of velocity, not as a separate magic spell. Barry's powers are defined by speed: he accelerates, his perception speeds up, and the world around him appears to slow down. The time-reversal moment is an extension of that same logic. When he approaches and then exceeds light speed, the films present time as something that can be outrun.
This is a comic-book physics rule, not real physics. In real relativity, nothing with mass can reach light speed, and "running backward in time" is not a thing you do by sprinting harder. The films are not attempting a physics lecture; they are using the speedster convention that the Speed Force is a kind of energy field or dimension that speedsters tap into, and that extreme speed can bend time. The 2017 film leans on that convention without explaining it in detail. The 2021 film makes the Speed Force more visually central and treats the reversal as a deliberate, desperate act rather than an incidental side effect.
A useful distinction is between perceived time and actual time. Early in both films, Barry's speed makes the world seem to slow down around him; that is relative perception. The reversal is different: he is not just seeing the world in slow motion, he is moving through events in reverse order. The films mark the difference with visual cues, such as reversed motion, rewound debris, and Barry's own disorientation.
The 2017 Theatrical Version
In the theatrical Justice League, the time-reversal beat is brief and functional. The League is in the final battle against Steppenwolf. The Mother Boxes are being unified, and the heroes are losing. Barry, who has spent much of the film as the inexperienced, nervous newcomer, runs to build speed. The film shows him pushing past a limit, and the environment responds: motion slows, then reverses, and Barry is able to intervene in the moment that mattered.
The theatrical cut does not spend much time explaining the Speed Force or the rules of the reversal. It is presented as a burst of speed that crosses a threshold, and the audience is expected to accept the convention. The scene is also shorter and less emphatic than the Snyder Cut's version, and its role in the plot is more about giving the League a needed opening than about Barry's personal arc. If you watched the 2017 film and came away unsure how it worked, that is partly because the film itself is not very interested in explaining it.
The 2021 Snyder Cut
Zack Snyder's Justice League changes the context and the staging. Barry's time reversal is a climactic, extended sequence. The League has already lost; the Unity has happened, and the world is coming apart. Barry runs to build speed, breaks the light-speed barrier, and enters the reversed-time state. The film shows the world rewinding around him, and Barry uses that state to undo the failure and give the team another chance.
The Snyder Cut also ties the moment to Barry's character more directly. His arc in that version emphasizes his youth, his fear, and his need to prove himself, and the reversal is the payoff: he does the thing he was afraid he could not do. The film visually treats the Speed Force as a distinct realm or energy, with Barry inside it rather than simply running on the ground. That is a meaningful difference from the theatrical cut, where the reversal reads more like an extreme burst of speed than a journey into another dimension.
A common confusion is to assume the two versions show the same event with different editing. They do not. The surrounding story, the stakes, and the emotional weight are different, and the reversal serves a different narrative purpose in each. If someone asks "how did Barry reverse time" and you answer with one version's details, you may be describing something the other version does not show.
What the Films Do Not Settle
Neither film gives a clean, rule-based explanation of the Speed Force or of time travel. The films do not specify a hard speed threshold beyond "faster than light," do not explain why Barry can survive the reversal, and do not lay out consistent consequences for changing the past. The 2017 film is vaguer; the 2021 film is more visually explicit but still operates on comic-book logic rather than a stated system.
That ambiguity is worth naming because it is the main source of confusion. Viewers who expect a science-fiction explanation will not find one. Viewers who expect the two cuts to agree on details will find that they do not. The stable through-line is the convention: Barry's speed, pushed to an extreme, lets him move against time.
Comics Context, Kept Separate
In the comics, Barry Allen's time travel is a long-established speedster ability, often tied to the Speed Force and to running at or beyond light speed. The films draw on that tradition but adapt it freely. The films are not a panel-for-panel adaptation, and the specific mechanics of the reversal in either cut should not be treated as a definitive statement of comics rules. The comics context explains why the films use the convention at all; it does not resolve which film's version is "correct."
Practical Way to Tell the Versions Apart
If you are trying to identify which version you saw, the reversal is a useful marker. The theatrical cut's reversal is shorter and more integrated into the final battle. The Snyder Cut's reversal is longer, more visually elaborate, and tied to a bleaker setup in which the League has already failed. The Snyder Cut also gives Barry more screen time and a clearer character arc, which makes the reversal feel like a personal climax rather than a tactical move.
For a viewer asking the question casually, the simplest accurate answer is the one at the top: Barry runs faster than light, enters the Speed Force, and moves backward through time. The version-specific details matter if you are discussing the films seriously, comparing the cuts, or trying to reconcile memories of two different movies that share a title and a character but not a single continuity.