A lone astronaut must save the earth from disaster in this incredible new science-based thriller from the #1 New York Times bestselling author of The Martian.
“A novel that would have delighted Robert A. Heinlein and Isaac Asimov.”—George R. R. Martin, author of A Game of Thrones
“Weir’s finest work to date . . . the one book I read last year that I am certain I can recommend to anyone, no matter who, and know they’ll love it.”—Brandon Sanderson, author of the Stormlight Archive series
Ryland Grace is the sole survivor on a desperate, last-chance mission—and if he fails, humanity and the earth itself will perish.
Except that right now, he doesn’t know that. He can’t even remember his own name, let alone the nature of his assignment or how to complete it.
All he knows is that he’s been asleep for a very, very long time. And he’s just been awakened to find himself millions of miles from home, with nothing but two corpses for company.
His crewmates dead, his memories fuzzily returning, Ryland realizes that an impossible task now confronts him. Hurtling through space on this tiny ship, it’s up to him to puzzle out an impossible scientific mystery—and conquer an extinction-level threat to our species.
And with the clock ticking down and the nearest human being light-years away, he’s got to do it all alone.
Or does he?
An irresistible interstellar adventure as only Andy Weir could deliver, Project Hail Mary is a tale of discovery, speculation, and survival to rival The Martian—while taking us to places it never dreamed of going.
Amazon.com Review
An Amazon Best Book of May 2021: As Ryland Grace awakens from a coma, he doesn’t know who he is or where he is, but a mix of calculations, deductions, and slowly returning memories enlightens him: He’s a junior high school science teacher on a small space ship. His mission? Save Earth. As in The Martian, Weir makes science and problem solving not only cool but absolutely essential to survival, delivering an electrifying space adventure that yanks at both the gut and the heart strings. Readers will absorb facts about gravity and heavy metals even as Grace races against the clock and builds an unexpected partnership while hurtling through the cold depths of space. —Adrian Liang, Amazon Book Review
“A propulsive adventure.”—Entertainment Weekly
“Weir spins a space yarn in a way only he can. Fans of his earlier works won’t be disappointed.”—Newsweek
“Andy Weir proves once again that he is a singular talent. Project Hail Mary is so fascinating and propulsive that it’s downright addictive. From the first page as Ryland wakes up not knowing who or where he is, I was hooked.”—Taylor Jenkins Reid, New York Times bestselling author of Daisy Jones & The Six
“Reading Project Hail Mary is like going on a field trip to outer space with the best science teacher you’ve ever had—and your class assignment is to save the world. This is one of the most original, compelling, and fun voyages I’ve ever taken.”—Ernest Cline, #1 New York Times bestselling author of Ready Player One
“Two worlds in peril, a competent (but flawed and human) man, a competent alien, unending scientific puzzles to unravel, with humanity itself at risk, this one has everything fans of old school SF (like me) love. If you like a lot of science in your science fiction, Andy Weir is the writer for you.”—George R. R. Martin, New York Times bestselling author of A Game of Thrones
“I loved The Martian, but I actually find Project Hail Mary to be Mr. Weir’s finest work to date. It’s somehow both exciting, yet also personal. I’m constantly amazed by how well Mr. Weir continues to write wonderfully accessible science fiction without compromising either the science or the fiction.”—Brandon Sanderson, New York Times bestselling author of the Stormlight Archive series
“Brilliantly funny and enjoyable . . . one of the most plausible science fiction books I’ve ever read.”—Tim Peake, ESA astronaut and internationally bestselling author of Limitless
“Thrilling doesn’t even begin to describe Project Hail Mary, which is undisputedly the best book I’ve read in a very, very long time . . . I cheered, I laughed (a lot), I cried, and when the twist arrived and the book revealed its true target, my jaw hit the floor. Mark my words: Project Hail Mary is destined to become a classic.”—Blake Crouch, New York Times bestselling author of
Recursion and Dark Matter
“A joy to read . . . with Project Hail Mary, Weir is leaning hard into all that made The Martian kick.”—Locus
“Readers may find themselves consuming this emotionally intense and thematically profound novel in one stay-up-all-night-until-your-eyes-bleed sitting. An unforgettable story of survival and the power of friendship—nothing short of a science fiction masterwork.”—Kirkus Reviews (starred review)
Andy Weir built a two-decade career as a software engineer until the success of his first published novel, The Martian, allowed him to live out his dream of writing full-time. He is a lifelong space nerd and a devoted hobbyist of such subjects as relativistic physics, orbital mechanics, and the history of manned spaceflight. He also mixes a mean cocktail. He lives in California.
Andy Weir's Project Hail Mary is a strange object, and its strangeness deserves to be taken seriously. On its surface it belongs to the most optimistic corner of hard science fiction—the lineage of Heinlein's competent engineers and Clarke's puzzle-solvers, where the universe presents itself as a series of problems that can be worked through with sufficient ingenuity and a decent spreadsheet. And the book delivers exactly that pleasure, in generous proportion: Dr. Ryland Grace improvises pendulums to measure acceleration, builds a Fourier-analysis translator in Excel, breeds nitrogen-resistant microbes across dozens of generations, and repurposes interstellar probes as makeshift engines. The procedural satisfaction is real. But the novel is doing something stranger and more interesting beneath its genial, joke-cracking surface. It is making an argument—one that the book's own relentless good cheer nearly conceals—about the relationship between coercion and survival, about whether the moral enormities committed in the name of species preservation can ever be distinguished from the catastrophe they avert, and about whether friendship across light-years is a happy accident of convergent biochemistry or something closer to love. Project Hail Mary is a first-contact novel, a survival thriller, and a buddy comedy, but it is most distinctively a work that asks what it costs to save a civilization, and whether the answer changes if you save two.
The premise arrives with the brutal efficiency that is Weir's signature. Dr. Ryland Grace wakes from a medically induced coma aboard the interstellar ship Hail Mary, alone except for two mummified crewmates, with no memory of who he is or why he is there. The novel's opening cognitive test—"What's two plus two?"—becomes a recurring refrain, and the answer is never as simple as the question implies. Through flashbacks triggered by sensory cues, Grace recovers the chain of catastrophes that put him on the ship: a Russian astronomer named Dr. Irina Petrova discovered an infrared arc—the Petrova line—migrating from the sun to Venus, marking the path of a sun-eating alien microbe. The microbe, which Grace dubs Astrophage, is exponentially dimming Earth's star. Within decades, the dimming will trigger a collapse of agriculture, war, famine, and pestilence that will kill billions. The international Petrova Taskforce, led by a Dutch former ESA administrator named Eva Stratt, has built a last-resort interstellar ship—a kamikaze mission, no fuel for return—to investigate Tau Ceti, the only nearby star mysteriously showing no Astrophage infection. Grace, a disgraced former academic turned junior-high science teacher, was recruited because his controversial paper denying water as a prerequisite for life made him the only person on Earth who could take the first extraterrestrial samples seriously when they turned out to be water-based microbes living on the surface of the sun. He is, as he puts it, "a lab coat, not an astronaut." He is also, as Stratt will later put it, "a coward and full of shit." The novel's argument about heroism begins from the premise that its protagonist is neither heroic nor willing, and that this is precisely what makes him capable of saving the world.
The first-contact sequence that occupies the novel's middle third is where Weir's craft is most visible and most pleasurable. Having arrived at Tau Ceti, Grace detects an alien spacecraft—the Blip-A—holding position 217 meters away. Communication begins not with universal translators or telepathy but with what two scientists from different biospheres actually share: physics. The aliens jettison a cylinder made of solid xenon—"xenonite," a material that Grace will spend much of the novel attempting to understand—containing models of local stars, a thread connecting Tau Ceti to 40 Eridani (indicating the aliens' home system), and a Petrova line reading of 30 percent. Grace crafts a reply out of wax and solder, sends it via EVA, and a tunnel is constructed connecting the two ships. What follows is the novel's most extended and satisfying set piece: the incremental, error-prone, wonderfully specific process of building a shared language from scratch. The Eridian—whom Grace names Rocky—communicates through music because his species evolved in total darkness on a high-gravity, ammonia-atmosphere world, perceiving the universe through passive sonar rather than vision. He has no eyes, no concept of radiation, and a body built of mercury blood and steam-powered muscles. Grace decodes Rocky's language using Fourier analysis in Excel, then establishes shared units of length, time, and mass through improvised experiments—a pendulum demonstration, a balance-beam measurement of an iron ball. When Rocky reveals that his people's ignorance of relativistic time dilation means he has over two million kilograms of surplus Astrophage fuel, Grace's suicide mission becomes survivable, and both are reduced to tears. "Has to be, or you and I would not meet," Rocky says, explaining why their two civilizations converged at exactly the same technological level. "If planet has less science, it no can make spaceship. If planet has more science it can understand and destroy Astrophage without leaving their system." The novel's deepest claim is buried in this throwaway line: that the universe filters civilizations into a narrow Goldilocks band where they are advanced enough to reach the stars but not so advanced that the crisis solves itself, and that this band is where friendship becomes possible.
The mission to planet Adrian—Tau Ceti e, the Astrophage homeworld—is where the procedural thriller and the buddy comedy fuse into something genuinely tense. Grace and Rocky discover that Adrian hosts a complex biosphere, including translucent cells, bacteria, and an amoeba-like organism that preys on Astrophage. They name it Taumoeba, and its existence explains everything: Tau Ceti is not immune to Astrophage; it simply has a natural predator that keeps the population in balance. "Some life on Adrian EATS Astrophage!" Rocky exclaims. "Population in balance. Natural order. This explains all things!" The sample-collection sequence that follows is the novel's most harrowing set piece. A 10-kilometer xenonite chain fishing expedition into Adrian's atmosphere goes catastrophically wrong when reflected IR light melts a hole in the port fuel tank, causing exposed Astrophage to thrust the ship toward the planet. "There are trillions and trillions of horny little Astrophages, all ready to breed," Grace narrates. "And then, all at once, they see Adrian. Not just a source of carbon dioxide, but their ancestral homeland." In the chaos, Grace's pilot seat is crushed by centrifugal force, and Rocky—dying from exposure to human atmosphere after his radiator catches fire—hauls Grace to safety with his last strength. "Save…Earth…Save…Erid…" Rocky gasps, and Grace, pinned and suffocating, thinks: "What an odd thing to think as my last thought. Sorry, Earth, I think. There. Much better last thought." This is the book's emotional pivot: the moment when the mission ceases to be about species survival in the abstract and becomes about the specific, inconvenient, irreducible fact of another being who has risked his life for you.
And it is here that Weir's extended flashback structure earns its keep. The novel alternates between Grace's present-tense adventures with Rocky and his gradually recovering memories of the Petrova Taskforce on Earth, and the most devastating of these flashbacks arrives immediately after Rocky's near-sacrifice. Eva Stratt, we learn, is not merely a ruthless administrator but a former history major who has internalized civilizational collapse as a methodological principle. Her lecture to Grace in a Baikonur holding cell is the novel's thematic core: "For fifty thousand years, right up to the industrial revolution, human civilization was about one thing and one thing only: food." She cites the Tai Ping rebellion, where four hundred thousand soldiers died in combat and twenty million died from the resulting famine, and frames Astrophage as merely the latest iteration of humanity's war over sustenance. The projected death toll—3.5 billion from Astrophage-induced famine—is just another data point. This is the Fernand Braudel or Annales-school argument applied to interstellar crisis: civilizational history is material history, and material history is the history of who eats. Stratt's moral reasoning is that if history is fundamentally about food, then any action that preserves the food supply is historically justified. She drugs Grace, conscripts him by force, has Russian soldier Meknikov frog-march him weeping onto the Hail Mary, and when Grace protests, she delivers the novel's cruelest line: "Dr. Grace. You're a coward and you're full of shit. If you really cared so much about the children, you'd get on that ship without hesitation." The novel refuses to let Stratt be merely villainous. She is correct about the scale of the threat. Her methods are monstrous, and the novel shows them as monstrous, and yet the book provides no alternative course of action that would have achieved her results. She is the antagonist who is functionally right, and the reader is left to sit with the discomfort of a species saved by a tyrant.
Grace's final choice—the one that makes the novel's moral argument legible rather than merely asserted—arrives after the successful breeding of Taumoeba-82.5, the nitrogen-resistant strain that can survive in Venus's atmosphere and thus spread to kill Astrophage throughout the solar system. Grace launches four beetle probes toward Earth with mini-farms of the organism and departs on a return trajectory, only to discover that Taumoeba-82.5 has mutated to permeate xenonite—the Eridians' hull material—and has destroyed Rocky's entire fuel supply. The Blip-A is dead in space, and Rocky's species is condemned. "Option 1: Go home a hero and save all of humanity. Option 2: Go to Erid, save an alien species, and starve to death shortly after." Grace faces a literal one-or-the-other choice, and the novel does not cheat it: there is no third option at the moment of decision, no convenient discovery that makes the dilemma evaporate. He chooses Rocky. He launches all four beetles with the data and Taumoeba samples toward Earth, turns the Hail Mary around, and searches for the derelict Blip-A using his spin drives as a flashlight and the Petrovascope as a detector—a maneuver of pure improvisational audacity that is entirely in keeping with the novel's procedural ethos. When he finds Rocky alive, the discovery that Taumoeba itself is edible—a consequence of the panspermia hypothesis the book has been quietly building all along, the 98 percent mitochondrial identity between Earth life and Astrophage—resolves the starvation problem without resolving the exile. Grace does not go home. He spends decades on Erid in a xenonite dome, eating Taumoeba nutrients and cloned human meat ("meburgers"), teaching Eridian children about the speed of light. The novel ends with Rocky delivering the news that Sol has returned to full brightness. "Astrophage is gone. Or at least reduced in population so much that it doesn't matter. We won. We did it!" The victory is absolute and the cost is absolute, and Weir's refusal to soften either fact is the book's most substantive achievement.
The novel's weaknesses are real and worth naming. The flashback structure, effective as a device for parcelling out exposition and emotional weight, occasionally becomes mechanical—the Chinese aircraft carrier, "Stratt's Vat," serves as the primary flashback setting for so long that it begins to feel like a stage set rather than a world, and the supporting characters who populate it (Dimitri Komorov, Dr. Lokken, Steve Hatch) are vivid but thin, defined by single traits rather than full psychologies. Hatch, the Canadian Beatles-obsessed inventor who pitches the beetle probes, is particularly symptomatic: his whimsy is charming, but his function is to deliver information and a Beatles joke, and the novel has no interest in him outside that function. The same can be said of Commander Yáo Li-Jie and Olesya Ilyukhina, whose desiccated bodies haunt the novel's opening and whose recovered memories are poignant but never quite escape the gravitational pull of Grace's own story—they are mementos rather than presences. Stratt herself, for all her thematic weight, is more argument than character: her history-major framework is intellectually coherent, but her near-absolute power—monopolizing Astrophage samples, overriding governments, ordering 241 nukes detonated under Antarctica to release methane—strains plausibility in ways the novel never fully interrogates. The procedural satisfactions of the science can also eclipse the emotional register; Grace's habit of processing devastation through extended scientific analogy (the tennis-ball-in-a-jungle explanation for why Taumoeba can permeate xenonite is brilliant and moving, but it is also characteristic of a narrator who thinks his feelings rather than feeling them) can make the novel's most painful moments feel anaesthetized by their own cleverness.
But it would be a mistake to frame these as failures of craft rather than as features of the tradition Weir is working in. The Heinlein-Clarke lineage of competent-protagonist hard SF has always treated emotional restraint as a methodological virtue, and Grace's reluctance to dwell in grief is of a piece with his insistence on measuring, testing, and verifying. The novel is in extended conversation with the first-contact subgenre that runs from Stanisław Lem's Solaris through Ted Chiang's "Story of Your Life," and Weir's answer to the question of whether communication between sufficiently different intelligences is possible is a firm, almost defiant "yes, but only through shared physics." Where Lem's ocean-planet refuses to be legible, Rocky and Grace build legibility through the scientific method itself—through pendulums and Fourier transforms and balance beams. The novel's panspermia argument—that life on Earth, Erid, and Adrian all descend from a common ancestor, that the 98 percent mitochondrial identity between human cells and Astrophage is evidence of a single scattered experiment—does real narrative work, reframing the entire plot as a family reunion rather than a first encounter. Rocky's line, "possible we are family," is the novel's most compressed and consequential sentence, and Weir commits to its implications fully: Taumoeba is edible across species not because of narrative convenience but because the book's underlying cosmology asserts that all complex life in the galaxy shares a biochemistry. This is a provocative and contested position in exobiology—Fred Hoyle and Carl Sagan argued versions of it, and the Astrobiology Institute's early speculative literature was shaped by exactly this debate—and Weir's adoption of it as a working assumption lets the novel do things that a more cautious book could not. The friendship between Grace and Rocky is not sentimental; it is, by the book's own lights, empirical—a consequence of convergent evolution and shared ancestry that happens to feel like love.
The evolutionary-psychology thread that runs through the novel—Rocky's argument that self-sacrifice evolves because it benefits the species, Grace's counter-argument that evolution is "lazy" once a problem is solved—draws explicitly on the Dawkins-style gene's-eye logic that the book dramatizes as a real disagreement between two scientists. But where the selfish-gene tradition tends toward reductionism, Project Hail Mary quietly refuses it. Grace's arc is a rebuttal to genetic determinism: he is explicitly not the kind of person who would volunteer for a suicide mission, he is frog-marched to the launchpad weeping, and he ends up choosing Rocky over Earth anyway. The novel's treatment of self-sacrifice is more interesting than its characters' evolutionary arguments: sacrifice is presented not as a trait one possesses or lacks but as something discovered under pressure, in the gap between what evolution has equipped a species for and what an individual chooses to do. The fist-bump motif—the recurring gesture that begins as a knock on Rocky's tunnel wall, becomes their celebration, then their farewell, and finally the gesture Rocky makes when delivering the news about Sol—compresses this entire arc into a single repeated physical action, and it is the novel's most efficient bit of storytelling.
What Project Hail Mary is for, finally, is the argument that humble, rigorous science—performed by ordinary people under extraordinary pressure, with nothing more rarefied than a willingness to admit ignorance and build the next experiment—is what saves civilizations. It is a book that takes the procedural pleasures of the lab seriously and makes them narratively thrilling, that builds suspense out of spectroscopic analysis and generational breeding protocols, that locates heroism not in courage or genius but in the teacherly instinct to ask clear questions and refuse to claim knowledge one does not have. It is also a book that refuses to flinch from the moral ugliness of civilizational triage, that forces its reader to sit with the possibility that the species was saved by a woman who drugged a weeping man and sent him to die, and that ends with its protagonist exiled on an alien world, eating cloned meat, having traded one civilization for another and called the trade good. The novel's relentless cheerfulness—its jokes, its bromance, its Beatles references—is not a failure of seriousness but a strategy for making the seriousness bearable. Weir has written a book that believes in the possibility of friendship across light-years, and he has earned that belief, step by methodical step, by building a universe in which shared physics is a stronger foundation than shared language, and in which panspermia means that no one in the galaxy is truly a stranger. Whether that is a falsifiable claim or a sentimental comfort is a question the novel cannot answer and does not pretend to answer. It is, instead, the hypothesis the book bets its entire emotional weight on, and the bet pays.
I don't know who I am. I don't know what I do. I don't remember anything at all.
Grace realizes he has total amnesia after waking from a coma aboard the Hail Mary — identity, isolation, vulnerability
I'm not on Earth.
After measuring gravity with a stopwatch and tape measure, Grace realizes he is aboard a decelerating spacecraft, not on any known planet — science, discovery, problem-solving
This isn't Vulcans dropping by to say hi. This is…space algae.
Grace reflects on the nature of humanity's first contact with alien life — not intelligent beings, but a single-celled organism eating the sun — first contact, expectations vs reality, humility
I have all of the authority.
Eva Stratt explains her position to Grace after having him brought to a secret lab by the FBI — power, urgency, crisis leadership
It took you two days to think of poking it with a stick.
Stratt's dry reaction when Grace finally penetrates an Astrophage cell membrane with a nanosyringe after exhausting every sophisticated method — humor, simplicity, scientific method
It means every scientific paper I ever wrote is wrong.
Grace discovers that Astrophage is mostly water, disproving his life's work arguing that alien life wouldn't need water — humility, science, intellectual honesty
It's simple, really. Get energy, get resources, and make copies. It's the same thing all life on Earth does.
Grace works out the complete life cycle of Astrophage — migrating between the sun and Venus to gather energy and breed — biology, universality of life, elegant simplicity
We are asking these people to die. We shouldn't ask them to suffer emotional torment for four years too. Science and morality both give the same answer here, and you know it.
Grace convinces Stratt to put the Hail Mary crew in medically induced comas for the journey rather than leave them awake — ethics, sacrifice, compassion
Human beings have a remarkable ability to accept the abnormal and make it normal.
Grace reflects on being bored while waiting for intelligent aliens to continue their first-ever interspecies conversation — adaptation, human nature, resilience
Humans spent thousands of years looking up at the stars and wondering what was out there. You guys never saw stars at all but you still worked space travel. What an amazing people you Eridians must be.
Grace realizes that Rocky's species evolved without sight, using echolocation instead, yet still achieved interstellar travel — admiration, diversity of intelligence, overcoming limitations
I am repair Eridian. I not science Eridian. Smart smart smart science Eridians died.
Rocky expresses despair about his ability to solve the Astrophage problem, feeling inadequate compared to his dead crewmates — self-doubt, loss, imposter syndrome
You're alive. And you're here. And you haven't given up.
Grace reassures Rocky after Rocky despairs about his repeated failures to collect Astrophage samples alone — encouragement, friendship, perseverance
You and me will save Eridani and Sol.
Rocky's simple declaration of their shared mission after learning both their home stars face the same threat from Astrophage — cooperation, unity, shared purpose
Deadline-induced quality issues: a problem all over the galaxy.
Grace's wry observation after Rocky explains that equipment fell off his ship because it was built in too much of a hurry — humor, universality, engineering
I've gone from 'sole-surviving space explorer' to 'guy with wacky new roommate.' It'll be interesting to see how this plays out.
Grace reflects on Rocky's decision to move all his belongings aboard the Hail Mary so they can work together — friendship, humor, adaptation
It's a weird feeling, scientific breakthroughs. There's no Eureka moment. Just a slow, steady progression toward a goal. But man, when you get to that goal it feels good.
Grace reflects on the gradual process of breeding nitrogen-resistant Taumoeba over many generations — science, patience, persistence
I spend a lot of time un-suiciding this suicide mission.
Grace works to repair and prepare the Hail Mary for a return journey it was never designed to make — hope, determination, humor
Grumpy. Angry. Stupid. How long since last sleep, question?
Rocky diagnoses Grace's frustration as simple exhaustion and insists he sleep before trying to solve problems — friendship, care, practical wisdom
I always wish Rocky were here.
Grace, traveling alone on the Hail Mary after they parted ways, realizes how deeply he depends on Rocky's companionship — loneliness, friendship, loss
You…you no can die. You are friend.
Rocky's anguished response when Grace tells him he will die because he doesn't have enough food to survive the trip home — friendship, sacrifice, love
Fist my bump.
Rocky proposes a celebratory gesture, slightly mangling the English phrase Grace taught him — humor, friendship, cultural exchange
What's the point of even having a world if you're not going to pass it on to the next generation?
Grace reflects on why he continues teaching children basic science even as the apocalypse looms over Earth — teaching, legacy, purpose
I know Liberia uses imperial units but I don't know my own name. That's irritating.
Grace discovers random trivia about himself while still unable to remember basic personal details during his amnesia — humor, identity, amnesia
No. It was a scientific poke with a very scientific stick.
Grace defends the sophistication of his nanosyringe method after Stratt reduces it to poking something with a stick — humor, science, ego