Avengers: Endgame is a 2019 American superhero film based on the Marvel Comics superhero team the Avengers, produced by Marvel Studios and distributed by Walt Disney Studios Motion Pictures. It is the sequel to 2012's The Avengers, 2015's Avengers: Age of Ultron and 2018's Avengers: Infinity War, and the 22nd film in the Marvel Cinematic Universe (MCU). The film is directed by Anthony and Joe Russo, written by Christopher Markus and Stephen McFeely and features an ensemble cast including Robert Downey Jr., Chris Evans, Mark Ruffalo, Chris Hemsworth, Scarlett Johansson, Jeremy Renner, Don Cheadle, Paul Rudd, Brie Larson, Karen Gillan, Danai Gurira, Bradley Cooper, and Josh Brolin. In the film, the surviving members of the Avengers and their allies work to reverse the damage caused by Thanos in Infinity War.
The film was announced in October 2014 as Avengers: Infinity War – Part 2. The Russo brothers came on board to direct in April 2015, and by May, Markus and McFeely signed on to script the film. In July 2016, Marvel removed the title, referring to it simply as Untitled Avengers film. Filming began in August 2017 at Pinewood Atlanta Studios in Fayette County, Georgia, shooting back-to-back with Infinity War, and ended in January 2018. Additional filming took place in the Metro and Downtown Atlanta areas and New York. The official title was revealed in December 2018.
Avengers: Endgame was widely anticipated, and Disney backed the film with extensive marketing campaigns. It premiered in Los Angeles on April 22, 2019, and was theatrically released in the United States on April 26, 2019, in IMAX and 3D. The film received praise for its direction, acting, entertainment value and emotional weight, with critics lauding its culmination of the 22-film story. It also broke numerous box office records, and has grossed over $643 million worldwide, becoming the third highest-grossing film of 2019.
Three weeks after Thanos used the Infinity Stones to disintegrate half of all life across the universe,[N 1] Carol Danvers rescues Nebula and Tony Stark from deep space. They return to Earth and join the remaining Avengers—Natasha Romanoff, Bruce Banner, Steve Rogers, Rocket, Thor, and James Rhodes. They track down Thanos to an uninhabited planet where he is living alone as a farmer. Now-injured Thanos tells them that he destroyed the Infinity Stones to make the culling of the Universe irreversible. Thor beheads Thanos.
Five years later, Scott Lang escapes the quantum realm[N 2] and meets Romanoff and Rogers at the Avengers' compound. Only five hours have passed for Lang instead of years, and he proposes going back in time via the quantum realm to stop Thanos. They ask Stark for help, but Stark refuses because he now has a daughter and worries what messing with the timeline might do to her. They then turn to Banner (who has learned to control his Hulk aspect), and he agrees to help them develop a time machine. Stark eventually has a change of mind and helps Banner complete the project.
With new hope, Banner and Rocket travel to Norway, where the survivors of Asgard have established a small fishing community. They then find a fatter, drunk Thor and convince him to rejoin the Avengers. Likewise, Romanoff travels to Japan and finds Barton, who has become a vicious vigilante. Both Thor and Barton accepted.
The reunited Avengers split into several groups. Banner, Rogers, Lang, and Stark travel to New York City in 2012,[N 3] while Banner visits the Sanctum Sanctorum to implore the Ancient One to give him the Time Stone. The Ancient One does so and tells Banner that the Stones must eventually be returned to their original time frames to prevent reality from breaking down. Rogers manages to steal Loki's scepter, which contains the Mind Stone, but Lang and Stark's attempt to steal the Tesseract (the Space Stone) fails, and Loki escapes with it. Rogers and Stark use the last of their size-altering Pym Particles to travel to S.H.I.E.L.D. headquarters in 1970; they steal an earlier version of the Tesseract from the vault and some vials of Pym Particles from Hank Pym's lab so they can return to the present.
Rocket and Thor travel to Asgard in 2013 to extract the Aether (the Reality Stone) from Jane Foster,[N 4] and Thor obtains his former hammer, Mjolnir. Barton and Romanoff travel to Vormir in 2014 and learn from the Soul Stone's keeper, the Red Skull, that it can only be acquired by sacrificing someone they love. After a fight, Romanoff sacrifices herself. On Morag in the same year, Nebula and Rhodes steal the Orb before Peter Quill can.[N 5] Rhodes returns to the present with the Power Stone, but Nebula is unable to after her cybernetic implants interface with those of her 2014 self. Through this connection, Thanos accesses future-Nebula's memories and learns of the Avengers' plans. He sends 2014 Nebula to the present disguised as future-Nebula.
With all the Infinity Stones collected in the present, Banner uses them to resurrect everyone whom Thanos disintegrated. 2014 Nebula uses the time machine to transport Thanos and his ship to the present day, and he attacks the Avengers' compound. 2014 Gamora gains compassion for and frees future-Nebula, who then confronts and shoots her 2014 version dead. Thanos then teleports to the surface to fight the Avengers in person. He tells them that he will use the Infinity Stones to destroy the Universe and create a new, better one, and nobody will remember the old one. Thanos overpowers the Avengers and summons his army to lay siege to Earth. Stephen Strange arrives with reinforcements, including his fellow sorcerers, the other restored Avengers, the Guardians of the Galaxy with Nebula beside them, and the armies of Asgard, Wakanda, and the Ravagers. They fight Thanos' army and are eventually joined by Danvers, who destroys Thanos' ship. Stark uses the Infinity Stones to disintegrate Thanos and his army, but the energy feedback kills him.
Following a funeral for Stark, Thor appoints Valkyrie to replace him as the king of Asgard and joins the Guardians of the Galaxy. Rogers returns the Infinity Stones and Mjolnir to their original places in time and then remains in the past to be with Peggy Carter. In the present, an elderly Rogers passes on his shield to Sam Wilson.