Robert Stroud (Lancaster) is imprisoned as a young man for committing a murder in Alaska. He is shown as a rebellious inmate, fighting against a rigid prison system: on his way to jail by train he breaks open the window to allow the suffocating inmates to breathe. His rebellious attitude puts him in conflict with Harvey Shoemaker (Malden), the warden of Leavenworth Prison.
While in jail, Stroud learns that his mother (Ritter) tried to visit him but was denied and told to return later in the week. Outraged, he attacks a guard over the issue and the man is killed. Stroud is sentenced to death, but his mother runs a successful campaign and it is commuted to life in prison. The terms of the sentence require that he be kept in solitary confinement for the rest of his life.
To break the monotony, Stroud adopts an orphaned baby sparrow as a pet. This starts a trend and he and the other convicts acquire birds, such as canaries, as gifts from the outside. Before long, Stroud has built up a collection of birds and cages. When they fall ill, he conducts experiments and comes up with a cure. As the years pass, Stroud becomes an expert on bird diseases and even publishes a book on the subject. His writings are so impressive that a doctor describes him as a “genius”.
Stroud later meets bird-lover Stella Johnson (Field) and agrees to go into business, marketing his bird remedies. He and Stella later marry, but his mother disapproves and this causes a rift between mother and son. He is abruptly transferred to the federal penitentiary at Alcatraz (the “Rock”), a new maximum security institution where he is not permitted to keep birds. He is now growing elderly but still shows a rebellious side, writing a history of the U.S. penal system that is suppressed by Shoemaker, now warden of the Rock.
Still at odds with authority, Stroud nevertheless manages to help stop a prison rebellion in 1946 by throwing out the guns acquired by the convicts. He then assures the authorities that they can now re-enter the premises without fear of being shot. Although Stroud has been a thorn in his side for decades, Shoemaker acknowledges that he has never lied to him and takes him at his word.
Although constantly denied parole, Stroud is eventually transferred to another prison in Missouri after a petition campaign. During the move, he meets several reporters and displays a range of knowledge on more than just birds, such as the technical details of a passing jet aircraft. He even gets to meet Thomas E. Gaddis (Edmond O’Brien), the author of the book based on his life.