Four sons reunite in their Texas hometown to attend their mother's funeral. John (John Wayne) is the gunfighter, Tom (Dean Martin) is the gambler, Matt (Earl Holliman) is the quiet one, and Bud (Michael Anderson Jr.) is the youngest. They soon learn that their father gambled away the family ranch, leading to his own murder. The brothers decide to find their father's killer and get back the ranch, even though they are discouraged to do so by local Sheriff Billy Wilson (Paul Fix). When the sheriff turns up dead, the Elder boys are blamed for the murder. Deputy Sheriff Ben Latta (Jeremy Slate) joins forces with the only witnesses of the murder: Morgan Hastings (James Gregory) and his son Dave (Dennis Hopper). A gunfight breaks out between the Hastings gang and the Elder gang. After his brother Matt is killed, John decides to settle the ranch dispute in a court of law with a judge (Sheldon Allman). However, Tom decides to take matters into his own hands by kidnapping Dave. After the final climactic gunfight, John and the wounded Bud retreat to a rooming house owned by Mary Gordon (Martha Hyer).