Dr. Grace was alone for about four years before he met Rocky in Project Hail Mary. The story’s timeline puts Ryland Grace’s solo time on the Hail Mary at roughly that length before first contact with Rocky.

Context

That gap is part of why the Rocky reveal feels so big: Grace has already spent years surviving, troubleshooting, and talking only to himself before he finally gets a true partner.

Quick answer

  • Approximate time alone: about 4 years.
  • Why it matters: it shows how much of the mission he had to carry by himself before the story shifts into the human-alien teamwork that fans remember most.

Tiny spoiler note

If you meant the movie specifically, the exact on-screen timeline can feel a little compressed, but the underlying story still points to roughly four years before Rocky enters the picture.