Science Fiction

Project Hail Mary

Book (2021) vs. Film (2026) — dir. Phil Lord & Christopher Miller

The Book
Project Hail Mary book cover Andy Weir 2021 Buy the Book →

As an Amazon Associate I earn from qualifying purchases.

The Film
Project Hail Mary 2026 film Ryan Gosling official trailer

Starring Ryan Gosling, Sandra Hüller, Lionel Boyce — In theaters March 20, 2026

AuthorAndy Weir
Book Published2021
Film Released2026
DirectorPhil Lord & Christopher Miller
Book Wins
⚠️ Contains spoilers – We discuss plot details and the ending. If you haven't read the book or seen the film yet, you may want to do that first.

The Story in Brief

Ryland Grace wakes up alone on a spaceship with no memory of who he is or why he's there. As recollections return in fragments, he pieces together the truth: he's the sole surviving crew member of a last-ditch mission to a distant star, tasked with finding a way to save Earth from an extinction-level threat called Astrophage — a microorganism that's dimming the sun and will cause mass extinction within decades. Grace, a former middle school science teacher who became a microbiologist, was chosen for the mission by Eva Stratt, the ruthless project director who assembled the Hail Mary crew through methods that skirted international law.

The novel's central pleasure is watching a brilliantly curious mind work through impossible problems — and then, unexpectedly, make a friend. Rocky, a five-legged alien engineer from the planet Erid whom Grace encounters near Tau Ceti, is one of the most inventive alien-contact concepts in recent science fiction. The two scientists must overcome a complete language barrier and incompatible biology to solve a problem that threatens both their worlds. Phil Lord and Christopher Miller, who made The Lego Movie and Spider-Man: Into the Spider-Verse, adapt it with Ryan Gosling as Grace, Sandra Hüller as Stratt, and a practical puppet design for Rocky that gives the alien genuine physical presence.

The novel became a bestseller immediately upon publication in 2021, spending months on the New York Times list and earning comparisons to Weir's debut, The Martian. Critics praised its optimistic vision of science and international cooperation, and the Grace-Rocky friendship became the emotional anchor that elevated the book beyond pure problem-solving thriller.

Character In the Book In the Film
Ryland Grace
Ryan Gosling
A former middle school science teacher turned microbiologist whose internal monologue is funny, self-deprecating, and relentlessly curious about every problem he encounters. Gosling captures Grace's essential decency and humor but necessarily loses the constant stream of scientific reasoning that defines the character on the page.
Rocky
Practical puppet with CGI enhancement
A five-legged Eridian engineer who communicates through musical tones and becomes Grace's closest friend through patient, methodical problem-solving. The puppet design gives Rocky tactile weight and allows Gosling to react to a physical presence, making the friendship feel more immediate than pure CGI would allow.
Eva Stratt
Sandra Hüller
A coldly effective administrator who does whatever it takes to give the mission a chance, including morally questionable decisions that Weir never asks you to forgive. Hüller's Stratt is warmer and more sympathetic, a change that makes her more palatable for a blockbuster audience but softens the character's uncomfortable edges.
Commander Yáo
Lionel Boyce
The Hail Mary's mission commander who dies in stasis before Grace wakes, appearing only in flashbacks as a competent, no-nonsense leader. Boyce appears in the film's flashback sequences, which are more extensive than in the novel and give Yáo more screen time to establish the crew dynamics.
Dr. Ilyukhina
Not yet cast in available materials
The Hail Mary's engineer who also dies in stasis, a brilliant scientist whose loss Grace mourns throughout the mission. The film compresses the flashbacks to the crew's training and selection, giving Ilyukhina less development than Yáo receives.

Key Differences

Grace's internal monologue is the novel's engine

Weir's novel is driven by first-person narration — Grace's voice is funny, self-deprecating, and relentlessly curious, and the slow revelation of his backstory through carefully placed flashbacks creates genuine dread alongside the comedy. The prose puts you inside a mind that finds genuine delight in each new discovery, no matter how terrifying the situation.

The film captures Grace's personality through Gosling's performance, which is warm and engaging, but it cannot replicate what the prose does: give you direct access to the scientific reasoning as it happens. Gosling's Grace explains things aloud or through voiceover, but the texture of thought — the false starts, the sudden insights, the pleasure of a hypothesis confirmed — is necessarily flattened.

Rocky's communication system arrives faster on screen

One of the book's great inventions is the musical language Grace and Rocky develop to communicate. Grace works out the physics of Rocky's sound-based speech, they build a shared vocabulary from scratch, and Weir savours every step of this process across dozens of pages. The gradual construction of mutual understanding is as thrilling as any action sequence.

The film necessarily compresses it. The connection between Grace and Rocky arrives faster and with less of the earned difficulty that makes it so moving on the page. Lord and Miller use montage to convey the language-building process, which is effective but removes the methodical pleasure of watching two scientists invent communication from nothing.

The science is compressed for pacing

Weir's novel luxuriates in scientific detail — the solutions Grace arrives at are worked out step by methodical step, and the book trusts readers to follow the reasoning. When Grace figures out how Astrophage reproduces, or how to synthesize Taumoeba, or how to survive the return trip, you see the full chain of logic.

The film compresses the science considerably. Grace still solves problems, but the explanations are shorter and the intermediate steps are often skipped. This improves pacing and makes the film more accessible, but it removes the particular pleasure of watching a real problem get solved in real time. The film is about a scientist; the book lets you be one.

Eva Stratt is softened for mainstream appeal

In the novel, Stratt is a coldly effective bureaucrat who does whatever it takes to give the mission a chance — she conscripts Grace against his will, she ignores international law, and she makes decisions that cost lives. Weir doesn't ask you to like her. She's necessary, not heroic.

Hüller's Stratt is warmer and more sympathetic. The film gives her moments of doubt and vulnerability that the novel withholds. It's a defensible change for a blockbuster that needs more emotional access points, but it softens one of the book's more interesting supporting characters. The novel's Stratt is uncomfortable to watch; the film's Stratt is someone you root for.

Rocky as a practical puppet is a genuine triumph

This is one area where the film potentially improves on the reading experience. Lord and Miller built Rocky as a practical puppet with CGI enhancements rather than a pure digital creation. The five-legged alien has weight and texture; Gosling could touch Rocky during filming, and the puppet's physical presence grounds the friendship in a way that no reader's imagination quite matches.

Seeing Rocky move — the way the legs articulate, the way the carapace shifts when Rocky "speaks" — is genuinely affecting in a different way from how it works on the page. The puppet design makes Rocky feel real in a manner that pure CGI rarely achieves. It's the film's smartest creative decision.

Should You Read First?

Yes — unequivocally. The novel's central pleasure is spending hundreds of pages inside a brilliant, funny, relentlessly curious mind as it unpacks the universe one hypothesis at a time. Weir's prose gives you the full texture of Grace's internal monologue and his almost childlike delight at each new discovery. The scientific problem-solving is the point, not just the vehicle for plot, and the book trusts you to follow the reasoning without dumbing it down.

The film captures the heart of that experience — Gosling's Grace is charming and the friendship with Rocky is genuinely moving — but it cannot replicate the specific pleasure of reading Weir's prose. Watch the film after reading and you'll appreciate what Lord and Miller managed to preserve. Watch it first and you'll miss what makes the novel special: the sense that you're solving the problems alongside Grace, not just watching him solve them.

Verdict

The book is the richer, deeper experience — Weir's scientific imagination is best encountered at the page's own pace, where you can follow every step of Grace's reasoning without compression. The film is a triumph in its own right, and Gosling's Grace is one of the most likeable protagonists in recent blockbuster cinema, but it's a different kind of pleasure. Read first, then watch Rocky come to life.

Frequently Asked Questions

Is Project Hail Mary connected to The Martian?
No. Both novels are by Andy Weir and share his signature problem-solving approach to science fiction, but they exist in separate universes. Project Hail Mary is a standalone novel with no narrative connection to Mark Watney's story on Mars. The tonal similarities — optimistic, science-driven, funny under pressure — are a function of Weir's voice, not shared continuity.
How does the film handle Rocky's appearance?
Lord and Miller built Rocky as a practical puppet with CGI enhancements rather than a fully digital creation. The five-legged alien engineer has a physical presence on set that Gosling could react to directly. The result is one of the most tactile alien designs in recent blockbuster cinema, with weight and texture that pure CGI rarely achieves.
Does the film change the ending?
The film preserves the novel's emotional climax and Grace's final choice between returning to Earth and staying with Rocky. The mechanics of how he arrives at that decision are compressed, but the thematic resolution remains intact. Readers will recognize the ending even if some of the scientific steps are abbreviated. The final scene is nearly identical to the book's.
Is the science in the book accurate?
Weir extrapolates from real physics and biology, though he invents the Astrophage organism and its properties. The problem-solving methods Grace uses are grounded in actual scientific reasoning — the chemistry, the orbital mechanics, the biology are all plausible within the novel's speculative framework. Weir consulted with scientists during the writing process to ensure the speculative elements had plausible foundations.
Will there be a sequel to Project Hail Mary?
As of 2025, Andy Weir has not announced plans for a sequel. The novel was written as a standalone story with a complete arc, and Grace's journey reaches a definitive conclusion. Weir has moved on to other projects, though he has not ruled out returning to this universe in the future if he finds a story worth telling.