Project Hail Mary is a 2026 science fiction film produced and directed by Phil Lord and Christopher Miller and written by Drew Goddard, based on the 2021 novel by Andy Weir. It stars Ryan Gosling, who also produced the film, as Ryland Grace, with Sandra Hüller, James Ortiz, and Lionel Boyce in supporting roles. The story follows Ryland Grace, a middle school teacher who awakens aboard an interstellar spacecraft with no memory of how he got there.
Pre-production began in 2020, before Weir's novel was published. Filming took place throughout 2024 in the United Kingdom, both on location and on sets. Scenes aboard the spacecraft Hail Mary were filmed on a practical set that was constructed for the film.
Project Hail Mary premiered in London on March 9, 2026, and was released in the United States by Amazon MGM Studios on March 20, with Sony Pictures Releasing International releasing in other territories. It received positive reviews and was a commercial success, grossing over $684million worldwide and becoming the seventh-highest-grossing film of 2026.
Plot
In the near future, middle school teacher and former molecular biologist Ryland Grace wakes from an induced coma aboard the interstellar spacecraft Hail Mary, suffering from amnesia. He learns that he is the sole survivor of a three-person crew travelling to the Tau Ceti system, 11.9 light-years from Earth.
Through flashbacks, Grace recalls scientists discovering a "Petrova line" of infrared light between the Sun and Venus. An alien microbe called "astrophage" was proliferating on the Sun, dimming it at a rate that would cause catastrophic global cooling within thirty years. Eva Stratt, head of the Petrova Taskforce, recruited Grace because of his expertise in speculative astrobiology. He discovered that astrophage consisted of unicellular organisms that absorb electromagnetic radiation from the Sun and expel it for propulsion.
Grace joined Stratt's Project Hail Mary, an international "long-shot" mission to send a crewed spacecraft to Tau Ceti, using astrophage as fuel. Tau Ceti was the only nearby star not occluded by astrophage. The mission was a suicide mission, as the spacecraft could carry only enough fuel for a one-way journey; any findings would have to be returned by space probes.
In the present, Grace encounters an alien spacecraft that docks with the Hail Mary. Made from a solid form of xenon, which Grace calls "xenonite", it carries a rock-like, five-legged alien from Erid, a planet in the 40 Eridani A system. Grace names the alien "Rocky", deduces that Eridians perceive their surroundings through echolocation, and develops a machine translation system to interpret Rocky's musical language. Rocky is a mechanical engineer and the sole survivor of an Eridian mission to save his star from astrophage. The two become close friends and agree to collaborate, with Rocky working aboard the Hail Mary inside a pressurised xenonite sphere because neither can survive in the other's atmosphere.
Grace and Rocky investigate the Petrova line around Tau Ceti e, which Grace names "Adrian" after a name he gave to Rocky's Eridian mate, and discover a microbial biosphere that feeds on astrophage. Rocky theorises that these organisms keep the astrophage population in check. After learning that Grace cannot return home, Rocky offers to share some of his astrophage fuel with the Hail Mary. Grace remembers that an astrophage explosion killed the original crew's science officers, and that Stratt recruited him when no replacements could be trained in time.
While collecting the astrophage predator from Adrian's atmosphere, a fuel leak causes the Hail Mary to spin uncontrollably, knocking Grace unconscious. Rocky escapes his sphere to save him but is badly injured. While Rocky recovers, Grace studies the captured predator, naming it "taumoeba" and selectively breeding it to survive in the nitrogen-rich atmosphere of Venus. After Rocky recovers, the pair celebrate their success. Grace then remembers that he initially refused to join the mission, but Stratt had him drugged and put aboard the ship, believing he was the only person capable of completing it.
Grace and Rocky part ways to return home. Soon afterwards, Grace discovers that the taumoeba has escaped its xenonite breeding tanks and begun consuming the Hail Marys astrophage fuel. Although he contains the outbreak, he realises that Rocky's xenonite ship cannot contain the organism and will eventually lose all its fuel, stranding Rocky and dooming Erid. Grace chooses to sacrifice his remaining fuel to rescue Rocky and the Eridians, sending his video logs and taumoeba samples to Earth by probe.
Stratt and her team receive the probes and use the taumoeba to cure the Sun's astrophage infection. On Erid, Grace lives in an Earth-like biodome built for him by the Eridians. Rocky tells him that Eridian scientists can prepare the Hail Mary for a return voyage to Earth. Grace considers this before beginning another day teaching science to enthusiastic Eridian children.
Cast
Ryan Gosling as Ryland Grace, a middle school science teacher and former molecular biologist on a mission to save humanity Sandra Hüller as Eva Stratt, the head of the international task force behind Project Hail Mary James Ortiz as Rocky, an alien Grace encounters on his journey. The character was effected through a puppet controlled by a team of five puppeteers led by Ortiz, dubbed the "Rockyteers", with Ortiz also providing the artificial voice assigned to him Ortiz also has an uncredited role as a television presenter Lionel Boyce as Carl, a member of security personnel Ken Leung as Yao Li-Jie, the Chinese commander of the Hail Mary spacecraft Milana Vayntrub as Olesya Ilyukhina, a Russian engineer on board the Hail Mary Priya Kansara as the voice of Mary, the Hail Marys onboard computer Malachi Kirby as Martin Dubois, the original scientist of the Hail Mary Liz Kingsman as Annie Shapiro, a backup scientist of the Hail Mary Mia Soteriou as Dr. Browne Orion Lee as Dr. Li Michelle Greenidge as Chimamanda
Additionally, Eunice Huthart (the film's stunt coordinator), Damien de Froberville (co-president of Sony Pictures Animation), Ray Porter (the audiobook narrator), and Meryl Streep provided the rejected alternative voices for Rocky.
Production Development In March 2020, Metro-Goldwyn-Mayer was nearing a deal to acquire adaptation rights to the then-upcoming Andy Weir novel Project Hail Mary (2021), with Ryan Gosling set to star in and produce the film. The rights for the novel were acquired for $3million. In May 2020, Phil Lord and Christopher Miller were hired to direct and produce the film. Due to Lord and Miller being unable to work on the screenplay because of commitments to Spider-Man: Across the Spider-Verse (2023), Drew Goddard (who previously adapted Weir's 2011 novel The Martian into a 2015 film) was hired the following month to write the screenplay. In April 2024, Amazon, which acquired Metro-Goldwyn-Mayer in 2022, revealed a possible 2026 release window for the film. In May 2024, Sandra Hüller joined the cast, with Greig Fraser hired as cinematographer. Milana Vayntrub joined the cast the following month.
Filming
Principal photography began on June 3, 2024, in the United Kingdom and wrapped on October 26, 2024. Filming took place at Shepperton Studios. Location filming occurred at The Hemel Hempstead School, the South Parade Pier in Portsmouth, the Mullard Radio Astronomy Observatory in Cambridge, and Durdle Door and Man o' War Cove in Dorset.
The film was "filmed for IMAX" by using large-sensor Arri Alexa 65 cameras, which provide 6.5K (20 MP) of resolution, with an aspect ratio of 2.1:1, utilizing the whole sensor with anamorphic lenses rotated by 90 degrees to achieve the IMAX standard 1.43:1 aspect ratio. For regular presentations, the common 2:1 format (Univisium) was derived by cropping the top and bottom of the IMAX image. The film switches between taller and wider aspect ratios. When a scene takes place in the present, a taller aspect ratio is used—1.43:1 for IMAX 15/70 mm or Dual Laser, 1.85:1 for Xenon or Single Laser, and 2.00:1 for non-IMAX presentations. For scenes in the past, an aspect ratio of 2.39:1, a standard ratio for anamorphic process cinematography, was achieved with the regular use of anamorphic lenses.
In an interview with The Hollywood Reporter, Miller mentioned that no chroma keying was used in the film, with the entire set being shot practically. Fraser had previously collaborated with visual effects supervisor Paul Lambert on the Dune films; their disdain for green and blue screens, which impacts lighting and visuals through color spill, led them to use blackouts and grey screens on the film instead. Miller had previously stated that VFX was used to depict the spaceship from the outside, while shots of Gosling in space were shot against a black or varying color backdrop.
NASA provided support through both the input of scientific experts and astronaut Kjell N. Lindgren visiting Gosling during filming to share insights on human spaceflight.
Post-production The visual effects were developed by Framestore (which also collaborated on the film adaptation of The Martian), Industrial Light & Magic (ILM), Sony Pictures Imageworks, BUF and Wylie Co. VFX, with Mags Sarnowska serving as visual effects supervisor alongside Lambert.
While puppeteer Ortiz voiced Rocky during filming with Gosling, it was initially thought that a more high-profile actor would replace him. However, Lord and Miller felt that Ortiz's performance could not be improved upon during screenings of the film. Lord praised the collaboration between practical and visual effects in the creation of the character Rocky's performance:
Miller noted that by the end of the film shots with Rocky were about 50% VFX animation and 50% puppetry.
The digitally shot and produced film was transferred to film stock and then re-digitized to achieve the "warmth" of analog film. The initial test screening of the film was 3 hours and 45 minutes long, and was cut down to the final length due to feedback from the screenings. Joel Negron served as film editor.
Music
It was announced at San Diego Comic-Con that Daniel Pemberton would score the film. Pemberton worked with Lord and Miller on Spider-Man: Into the Spider-Verse (2018) and its 2023 sequel, which they produced. This is the first film directed by Lord and Miller to not be scored by Mark Mothersbaugh.
The score, consisting of 38 tracks, was released digitally on March 20, 2026. The film also includes fourteen other songs, including "Sign of the Times" by Harry Styles, "Two of Us" by the Beatles, "Rainbows" by Dennis Wilson and "Gracias a la vida" sung by Mercedes Sosa.
Marketing
The first trailer was released on June 30, 2025. It was the most-viewed trailer for any original film in the first week of its release, accumulating 400million views globally. Lego released a model of the Hail Mary spacecraft on March 1, 2026, as part of the Lego Icons series.
Release Theatrical Project Hail Mary was released on March 20, 2026, in over 4,000 theaters by Amazon MGM Studios in the United States and Canada, and Sony Pictures Releasing International in all other territories. It was also released in select IMAX theaters, with a 1.43:1 aspect ratio.
Home media The film was released on digital streaming platforms on May 12, 2026. It began streaming on the MGM+ subscription streaming service and Prime Video on June 18 and July 3, respectively.
It was also released on 4K Ultra HD Blu-ray, Blu-ray, and DVD on August 11, 2026, by Alliance Entertainment. Following the standard disc release will be an Amazon exclusive three-disc SteelBook gift set, scheduled for October 13. It will include a third disc with the film in its full 1.43:1 IMAX ratio, plus additional bonus material and a collectible booklet.
Reception Box office