The novel is framed as a letter from Wolf Truly to his college-aged son Daniel, recounting five days Wolf spent lost on a mountain near Palm Springs, California, with three strangers when he was eighteen. He warns Daniel that not everyone survived.
Wolf begins with his childhood in Mercury, Michigan, where he grows up with his father, Frankie, an irresponsible, hard-drinking man. Wolf's mother, Glory, a kindergarten teacher, dies when Wolf is four in what the family calls "an accident." His precious memories of her include her lemon-scented hairspray and her habit of placing her hand over her heart to show she kept him there. When Wolf is thirteen, Frankie moves them to Santa Sophia, California, to stay with his sister Kriket in Tin Town, a sprawling, impoverished mobile home development. Wolf's oldest cousin Yago, a violent gang figure, beats and humiliates him, while Frankie remains mostly absent.
Wolf's life changes when he meets Byrd (Byron Diaz), a boy his age of Polish and Cahuilla heritage, at a local gas station where Byrd lives in a back apartment with his uncle Harley Diaz, a prominent local figure who takes a protective interest in Wolf. Byrd introduces Wolf to the mountain, teaching him survival skills and wildlife photography. They discover Secret Lake, a hidden seasonal lake, and spend years exploring the wilderness together.
The narrative shifts to the day Wolf gets lost: his eighteenth birthday and the one-year anniversary of Byrd's accident. Frankie has recently been imprisoned for vehicular manslaughter after killing a young couple while driving drunk. Alone and desperate, Wolf decides to hike to Angel's Peak and jump to his death, deliberately leaving behind his supply knapsack.
On the tram ride up, Wolf notices three women: Nola Devine, a silver-haired woman in her sixties wearing an oxblood poncho; her daughter Bridget, a thin blonde carrying a mesh sports bag with water and granola bars; and Nola's eighteen-year-old granddaughter Vonn, wearing impractical lime-green flip-flops. During the ride, Wolf hears the reassurance "There will be sway," a phrase he will carry with him for life. After disembarking, Wolf finds the trailhead to Angel's Peak blocked by overgrown bushes. Nola asks him to guide them to Secret Lake to honor her recently deceased husband, Pip. Unable to refuse, Wolf agrees, postponing his plan.
Near the lake, Bridget panics at a swarm of bees and scatters the group into unfamiliar terrain. Vonn, who has been silently following, appears. Wolf leads them back toward the Mountain Station, the tram terminal at the summit, but takes them in the wrong direction. As darkness falls, the ground gives way and all four tumble off a concealed cliff onto a granite outcropping. Nola sustains a compound fracture of her wrist, with bone protruding through the skin. Vonn sets the bones and bandages the wound with strips of Wolf's T-shirt. They are stranded above Devil's Canyon with almost no supplies. As the group huddles in a shallow cave that first freezing night, Bridget describes a recurring dream of being rescued in the greatest moment of her life. Wolf notices that his suicidal despair has vanished, replaced by fierce protectiveness toward the three women.
Over the next days, Wolf repeatedly fails to scale the rock wall above them. Nola's wrist infection worsens, and she collapses. Wolf discovers that the large jar in Nola's knapsack contains Pip's cremated ashes, not the food he suspected. Wolf and Bridget find sterasote, a medicinal native plant, and grind its leaves into a poultice that reduces Nola's fever. Two coyotes stalk the group; Wolf drives them off by hurling the jar of ashes. The coyotes leap across a fifteen-foot chasm the group names "Devine Divide," proving the gap can be crossed.
Wolf's narration weaves in extended flashbacks. He reveals that Byrd's accident resulted from a gathering at Secret Lake where a friend of Byrd's cousin Lark Diaz insisted on trying redweed, a hallucinogenic native plant. The friend became violent and kicked Byrd off a cliff. Byrd survived but was left with severe brain damage and lost the ability to speak. He was moved to Harley's ranch, where he spent his days watching the mountain. Wolf also reveals the truth about Glory's death: She was murdered by her school's principal, who shot her and then himself while Frankie and four-year-old Wolf watched.
On the second night, Wolf and Vonn share a kiss in the dark, during which Wolf detects cinnamon on her breath. Wolf then has a vivid dream in which Glory and a vision of Byrd instruct him to use a fallen lodgepole pine to bridge Devine Divide and follow a lone pine tree to safety. On the third morning, Wolf discovers the source of the cinnamon: Vonn secretly found Bridget's lost supplies and consumed most of them. Vonn confesses and reveals she is pregnant, eating to protect the baby. The group forgives her.
Wolf finds the log from his dream and the group pushes it across the crevice. Vonn and then Wolf, carrying Nola, cross successfully, but Bridget retreats partway across. A rockslide destroys the bridge, stranding her. After a coyote chases Bridget into the brush, she impossibly reappears on the others' side, having leaped the gap in a feat she cannot explain. Climbing to the plateau above, Wolf discovers the ridges do not connect and there is no way back to the Mountain Station. He spots the lone pine from his dream and leads the group toward it.
They press on through worsening conditions. They find the remains of a lost hiker and recover a knife and other supplies from his knapsack. A rattlesnake bites Vonn, and Wolf carries her unconscious body onward. On the fifth day, Wolf and Bridget spot Mountain Rescue workers near Corazon Falls, a remote waterfall, but cannot make themselves heard. Wolf fills a knapsack with rocks for Bridget to throw toward the rescuers, but the attempt fails. Bridget places her hand over her heart, the same farewell gesture Glory used to make, then runs to the cliff edge and leaps off in Nola's red poncho. Her body on the rocks alerts the rescue team, fulfilling the dream she described throughout the ordeal.
A helicopter makes an unprecedented landing near the falls, airlifting Nola, Vonn, and Wolf to safety. Wolf wakes in the hospital four days later, having lost three toes. Byrd appears, having spoken his first word in over a year, "Wolf," which prompted Harley to search and ultimately launch the rescue. Nola tells the nurse Wolf is the baby's father, a spontaneous claim that establishes the role Wolf will adopt. When Wolf tells Vonn that Bridget died, Vonn asks never to be told what happened.
In the months that follow, Wolf visits Frankie in prison hoping for connection, but Frankie only wants Wolf to sell the survival story. On the day Daniel is born, Wolf kisses Vonn and names the baby Daniel, later learning Bridget's middle name was Danielle. But the newborn resembles Yago, and Nola helps Wolf piece together clues Bridget once mentioned about the biological father: He was French Canadian, wore a rainbow shirt, and said something about "Glory." Wolf realizes the man was Frankie, making Daniel both his adopted son and his biological half-brother. This revelation is why Wolf kept the story secret and moved the family to Hamtramck, Michigan, to raise Daniel far from Frankie.
The letter ends with Wolf inviting Daniel to return to the mountain with him. He signs it "Always, Dad," invoking both Glory's gesture and Frankie's tattoo, and closes with the family motto from the tram ride: "There will be sway."