Drifter Logan Cates, Rory Calhoun, scans the desert horizon at a lonely watering hole and intervenes when Apache warriors close in on three cowboys, firing warning shots that buy the men a chance to ride for their lives.
Sometime later he encounters a young woman, Junie Hatchett, whose parents were tortured and murdered by the Apache. To keep her safe, he guides them to a small, defensible box canyon that also has a reliable water supply. There, he meets Lonnie Foreman, Tom Pittman, a 19-year-old survivor of the earlier encounter who becomes part of the fragile refuge.
The canyon draws a varied crowd escaping the Apache threat, including a small band of cavalrymen, and Jennifer Fair, Barbara Bates, along with her fiancé, Grant Kimbrough. On the first night, a Pima Indian named Lugo, Frank De Kova, quietly slips in for water. Logan, bound by a deep-seated mistrust of the Apache and a stubborn sense of fairness, lets Lugo stay despite the fact he is wanted in connection with a officer’s murder tied to Lugo’s gold.
Lonnie and Junie quickly grow attached, and the group becomes more than a mere shelter as tensions rise and trust is tested. The box canyon is soon besieged by the Apache, forcing Logan to lean on his knowledge of Indian fighting and the local terrain to steady the others and keep them from losing their nerve.
Zimmerman, Leo Gordon, proposes a bold escape plan with Kimbrough, but Jennifer disapproves of what she sees as a reckless gamble. The plan unravels when Zimmerman tries to steal Lugo’s gold and flee into the desert; he is killed, though Lugo had hidden most of his gold and Zimmerman merely ends up with nothing. The revelation underscores Lugo’s careful hoard and the precarious balance of power inside the canyon.
As food and water run low, Logan undertakes a dangerous raid into the Apache camp to forage for supplies, while he orders the group to ration their dwindling water. Apache attacks grow more relentless, leaving only Webb, Myron Healey, and Conley, Regis Parton, standing alongside him as other cavalrymen fall. A fellow officer’s death drives Webb into a furious, reckless rush into the enemy camp, where he is wounded and captured, his tortured screams haunting the survivors.
With the desert wind rising, a desperate plan takes shape: under the cover of a sandstorm, they intend to fill empty water bottles with black powder and small stones to fashion grenades that can scatter the Apache across the sands. As the group braces to depart, Kimbrough’s cowardice surfaces again when Lugo’s plan to stay with the women clashes with his panic to leave; he initially travels out but quickly turns back to flee, and Jennifer brands him a coward.
Lugo confronts the fleeing Kimbrough, and a deadly shot ends the fiancé’s effort to escape. Then Cates, Conley, and Lonnie confront the Apache horde in a final, brutal exchange. The trio lights and throws their grenades, while Conley charges into the enemy camp and detonates his grenade at close range, inflicting heavy damage on the attackers.
Returning to Box Canyon, Jennifer reveals the fate of Kimbrough, and the group steadies after the assault. As the sandstorm passes, Lugo confesses that he had hidden his gold in Cates’s saddlebags and offers Lonnie a share so that he and Junie can move on to California. Lugo, Lonnie, and Junie depart together, leaving Cates and Jennifer behind. Jennifer finally rides off with Cates chasing after her, and the two ride away into the distant horizon together, a quiet, unresolved road ahead.