Project Hail Mary
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 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, without 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 his tiny ship, it’s up to him to puzzle out an impossible scientific mystery—and conquer an extinction-level threat to out 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?
Part scientific mystery, part dazzling interstellar journey, 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.

Andy Weir
Project Hail Mary
A Novel
ePub r1.0
Titivillus 01.12.2021
Andy Weir, 2021
Cover design: Will Staehle
Title page image: iStock/Roman Kulinskiy
Rocket diagrams: David Lindroth Inc.
Digital editor: Titivillus
ePub base r2.1


CONTENTS
Acknowledgments
Chapter 1
Chapter 2
Chapter 3
Chapter 4
Chapter 5
Chapter 6
Chapter 7
Chapter 8
Chapter 9
Chapter 10
Chapter 11
Chapter 12
Chapter 13
Chapter 14
Chapter 15
Chapter 16
Chapter 17
Chapter 18
Chapter 19
Chapter 20
Chapter 21
Chapter 22
Chapter 23
Chapter 24
Chapter 25
Chapter 26
Chapter 27
Chapter 28
Chapter 29
Chapter 30
About the Author
FOR JOHN, PAUL, GEORGE, AND RINGO
I’d like to thank the following people who helped me get the science as accurate as possible: Andrew Howell, for helping me with astronomy and stellar sciences. Jim Green, for explaining the basics of planetary science and how atmospheres work. Shawn Goldman, for telling me all about exoplanet detection. Charles Duba (who I actually went to high school with!), for explaining complex details about neutrinos. And finally, Cody Don Reeder, for giving me vital chemistry information and also being an all-around cool guy to exchange emails with.
On the book front, I’d like to thank my agent, David Fugate, for always having my back. Also, Julian Pavia, my editor on this book and so far all of my books. And Sarah Breivogel, who has handled publicity for my books since day one. And I’d like to thank my eclectic group of beta readers: My mother, Janet, who loves everything I do; Duncan Harris, who questions every plot point and keeps me honest; and Dan Snyder, who… wait. You never got back to me, Dan! What, am I not good enough for you!?
And I’d like to thank my wife, Ashley, for putting up with god-knows how many conversations about possible plot and story structure ideas and always giving me wise feedback.


“What’s two plus two?”
Something about the question irritates me. I’m tired. I drift back to sleep.
A few minutes pass, then I hear it again.
“What’s two plus two?”
The soft, feminine voice lacks emotion and the pronunciation is identical to the previous time she said it. It’s a computer. A computer is hassling me. I’m even more irritated now.
“Lrmln,” I say. I’m surprised. I meant to say “Leave me alone” —a completely reasonable response in my opinion—but I failed to speak.
“Incorrect,” says the computer. “What’s two plus two?”
Time for an experiment. I’ll try to say hello.
“Hlllch?” I say.
“Incorrect. What’s two plus two?”
What’s going on? I want to find out, but I don’t have much to work with. I can’t see. I can’t hear anything other than the computer. I can’t even feel. No, that’s not true. I feel something. I’m lying down. I’m on something soft. A bed.
I think my eyes are closed. That’s not so bad. All I have to do is open them. I try, but nothing happens.
Why can’t I open my eyes?
Open.
Aaaand… open!
Open, dang it!
Ooh! I felt a wiggle that time. My eyelids moved. I felt it.
Open!
My eyelids creep up and blinding light sears my retinas.
“Glunn!” I say. I keep my eyes open with sheer force of will. Everything is white with shades of pain.
“Eye movement detected,” my tormenter says. “What’s two plus two?”
The whiteness lessens. My eyes are adjusting. I start to see shapes, but nothing sensible yet. Let’s see… can I move my hands? No.
Feet? Also no.
But I can move my mouth, right? I’ve been saying stuff. Not stuff that makes sense, but it’s something.
“Fffr.”
“Incorrect. What’s two plus two?”
The shapes start to make sense. I’m in a bed. It’s kind of… oval-shaped.
LED lights shine down on me. Cameras in the ceiling watch my every move. Creepy though that is, I’m much more concerned about the robot arms.
The two brushed-steel armatures hang from the ceiling. Each has an assortment of disturbingly penetration-looking tools where hands should be. Can’t say I like the look of that.
“Ffff… oooh… rrrr,” I say. Will that do?
“Incorrect. What’s two plus two?”
Dang it. I summon all my willpower and inner strength. Also, I’m starting to panic a little. Good. I use that too.
“Fffoouurr,” I finally say.
“Correct.”
Thank God. I can talk. Sort of.
I breathe a sigh of relief. Wait—I just controlled my breathing. I take another breath. On purpose. My mouth is sore. My throat is sore. But it’s my soreness. I have control.
I’m wearing a breathing mask. It’s tight to my face and connected to a hose that goes behind my head.
Can I get up?
No. But I can move my head a little. I look down at my body. I’m naked and connected to more tubes than I can count. There’s one in each arm, one in each leg, one in my “gentlemen’s equipment,” and two that disappear under my thigh. I’m guessing one of them is up where the sun doesn’t shine.
That can’t be good.
Also, I’m covered with electrodes. The sensor-type stickers like for an EKG, but they’re all over the place. Well, at least they’re only on my skin instead of jammed into me.
“Wh—” I wheeze. I try again. “Where… am… I?”
“What’s the cube root of eight?” the computer asks.
“Where am I?” I say again. This time it’s easier.
“Incorrect. What’s the cube root of eight?”
I take a deep breath and speak slowly. “Two times e to the two-i-pi.”
“Incorrect. What’s the cube root of eight?”
But I wasn’t incorrect. I just wanted to see how smart the computer was. Answer: not very.
“Two,” I say.
“Correct.”
I listen for follow-up questions, but the computer seems satisfied.
I’m tired. I drift off to sleep again.
I wake up. How long was I out? It must have been a while because I feel rested. I open my eyes without any effort. That’s progress.
I try to move my fingers. They wiggle as instructed. All right. Now we’re getting somewhere.
“Hand movement detected,” says the computer. “Remain still.”
“What? Why—”
The robot arms come for me. They move fast. Before I know it, they’ve removed most of the tubes from my body. I didn’t feel a thing. Though my skin is kind of numb anyway.
Only three tubes remain: an IV in my arm, a tube up my butt, and a catheter. Those latter two are kind of the signature items I wanted removed, but okay.
I raise my right arm and let it fall back to the bed. I do the same for my left. They feel heavy as heck. I repeat the process a few times. My arms are muscular. That doesn’t make sense. I assume I’ve had some massive medical problem and been in this bed for a while. Otherwise, why would they have me hooked up to all the stuff? Shouldn’t there be muscle atrophy?
And shouldn’t there be doctors? Or maybe the sounds of a hospital? And what’s with this bed? It’s not a rectangle, it’s an oval and I think it’s mounted to the wall instead of the floor.
“Take…” I trail off. Still kind of tired. “Take the tubes out….”
The computer doesn’t respond.
I do a few more arm lifts. I wiggle my toes. I’m definitely getting better.
I tilt my ankles back and forth. They’re working. I raise my knees up. My legs are well toned too. Not bodybuilder thick, but still too healthy for someone on the verge of death. I’m not sure how thick they should be, though.
I press my palms to the bed and push. My torso rises. I’m actually getting up! It takes all my strength but I soldier on. The bed rocks gently as I move. It’s not a normal bed, that’s for sure. As I raise my head higher up, I see the head and foot of the elliptical bed are attached to strong-looking wall mounts. It’s kind of a rigid hammock. Weird.
Soon, I’m sitting on my butt tube. Not the most comfortable sensation, but when is a tube up your butt ever comfortable?
I have a better view of things now. This is no ordinary hospital room. The walls look plastic and the whole room is round. Stark-white light comes from ceiling-mounted LED lights.
There are two more hammock-like beds mounted to the walls, each with their own patient. We are arranged in a triangle and the roof-mounted Arms of Harassment are in the center of the ceiling. I guess they take care of all three of us. I can’t see much of my compatriots—they’ve sunken into their bedding like I had.
There’s no door. Just a ladder on the wall leading to… a hatch? It’s round and has a wheel-handle in the center. Yeah, it’s got to be some kind of hatch. Like on a submarine. Maybe the three of us have a contagious disease? Maybe this is an airtight quarantine room? There are small vents here and there on the wall and I feel a little airflow. It could be a controlled environment.
I slide one leg off over the edge of my bed, which makes it wobble. The robot arms rush toward me. I flinch, but they stop short and hover nearby. I think they’re ready to grab me if I fall.
“Full-body motion detected,” the computer says. “What’s your name?”
“Pfft, seriously?” I ask.
“Incorrect. Attempt number two: What’s your name?”
I open my mouth to answer.
“Uh…”
“Incorrect. Attempt number three: What’s your name?”
Only now does it occur to me: I don’t know who I am. I don’t know what I do. I don’t remember anything at all.
“Um,” I say.
“Incorrect.”
A wave of fatigue grips me. It’s kind of pleasant, actually. The computer must have sedated me through the IV line.
“… waaaait…” I mumble.
The robot arms lay me gently back down to the bed.
I wake up again. One of the robot arms is on my face. What is it doing?!
I shudder, more shocked than anything else. The arm retracts back to its home in the ceiling. I feel my face for damage. One side has stubble and the other is smooth.
“You were shaving me?”
“Consciousness detected,” the computer says. “What’s your name?”
“I still don’t know that.”
“Incorrect. Attempt number two: What’s your name?”
I’m Caucasian, I’m male, and I speak English. Let’s play the odds. “J–John?”
“Incorrect. Attempt number three: What’s your name?”
I pull the IV out of my arm. “Bite me.”
“Incorrect.” The robot arms reach for me. I roll off the bed, which is a mistake. The other tubes are still connected.
The butt tube comes right out. Doesn’t even hurt. The still-inflated catheter yanks right out of my penis. And that does hurt. It’s like peeing a golf ball.
I scream and writhe on the floor.
“Physical distress,” says the computer. The arms give chase. I crawl along the floor to escape. I get under one of the other beds. The arms stop short, but they don’t give up. They wait. They’re run by a computer. It’s not like they’ll run out of patience.
I let my head fall back and gasp for breath. After a while, the pain subsides and I wipe tears from my eyes.
I have no idea what’s going on here.
“Hey!” I call out. “One of you, wake up!”
“What’s your name?” the computer asks.
“One of you humans, wake up, please.”
“Incorrect,” the computer says.
My crotch hurts so bad I have to laugh. It’s just so absurd. Plus, the endorphins are kicking in and making me giddy. I look back at the catheter by my bunk. I shake my head in awe. That thing went through my urethra. Wow.
And it did some damage on the way out. A little streak of blood sits on the ground. It’s just a thin red line of—
I sipped my coffee, popped the last fragment of toast into my mouth, and signaled the waitress for my check. I could have saved money by eating breakfast at home instead of going to a diner every morning. Probably would have been a good idea, considering my meager salary. But I hate cooking and I love eggs and bacon.
The waitress nodded and walked over to the cash register to ring me up. But another customer came in to be seated right that moment.
I checked my watch. Just past seven A. M. No rush. I liked to get in to work by seven-twenty so I could have time to prep for the day. But I didn’t actually need to be there until eight.
I pulled out my phone and checked my email.
TO: Astronomy Curiosities [email protected]
FROM: (Irina Petrova, PhD) [email protected]
SUBJECT: The Thin Red Line
I frowned at the screen. I thought I’d unsubscribed from that list. I left that life a long time ago. It didn’t get a lot of volume, and what it did get, if memory served, was usually pretty interesting. Just a bunch of astronomers, astrophysicists, and other domain experts chatting about anything that struck them as odd.
I glanced at the waitress—the customers had a bunch of questions about the menu. Probably asking if Sally’s Diner served gluten-free vegan grass clippings or something. The good people of San Francisco could be trying at times.
With nothing better to do, I read the email.