Andy Dufresne, the young, successful vice president of a major bank, finds his life taking a serious detour after his wife and her lover are murdered and the crime gets pinned on him.
Maybe because he was outside the lover's house with a loaded gun the night of the murder.
Yeah, not looking good for him.
Anyway, he's sent to Shawshank Prison, where he's befriended by some total sweethearts, including a convicted murderer named Red who eventually becomes his best bud. Red's a guy who "knows how to get things," and Andy asks him to get him a rock hammer to collect rocks—he's always been an amateur geology fan. Red's glad to oblige. Andy's also befriended by some guys who are...well, let's just say they don't want to examine rocks with him.
Nobody said prison was easy.
With his considerable accounting skills, Andy begins helping Warden Norton and the guards with their taxes and other financial issues, and he's suddenly vaulted into the position of teacher's pet. He gets shown so much favoritism that the guards end up having his back, even going so far as to, uh, take care of another inmate who doesn't seem able to take "no" for an answer.
Matters become complicated when Norton has Andy assist him with some shady dealings, involving Andy having to launder the warden's money so that nothing gets traced back to either of them. A financial wizard who knows all the loopholes, Andy launders everything through a Mr. Randall Stevens: a completely fictional human being who even has his own social security card and birth certificate.
As Andy tells Red, he was clean as a whistle on the outside; it took being sent to prison to turn him into a crook.
There's a glimmer of hope for Andy when Tommy, a new inmate, arrives at the prison, and it turns out he has information that could exonerate his new friend. The warden learns about it, and is none too keen to release into society someone with so much dirt on him. He has Tommy murdered, throws Andy into solitary for two months, and only releases him once he agrees to keep doing his dirty work.
There's a time to shut up and a time to put up, and apparently, this was an awfully good time to shut up.
After 20 years at Shawshank, Andy doesn't seem like himself. His buddies are worried, and he asks one of them for a length of rope. He seems to be telling Red...goodbye. One morning, he doesn't make it out of his cell for roll call. Red fears the worst, but astonishingly, he isn't in there at all.
We've got an escape on our hands.
The warden learns the shocking truth: for almost two decades, Andy has been chiseling away at the wall with a rock hammer and hiding his handiwork behind a series of pinup posters procured by Red, finally making his escape through the sewer pipes the night before.
Norton "releases the hounds," but Andy's long gone—and was probably too covered in sewage to leave much of a scent anyway.
Having cleared out the funds set up under Randall Stevens, Andy absconds with over $300,000 of the warden's money, forwards the cooked account books to the local newspaper, and makes a bee line for Mexico. The police come for the warden, who takes the coward's way out with a bullet to the brain.
Before Andy leaves, he makes Red promise that if he ever gets out, he'll dig up something in a remote hayfield.
After another ten years, Red does just that. He discovers that Andy left him some spending money, as well as instructions on how to find him. The two friends are reunited on the beach in Mexico, with one of most yearbook quote-worthy lines ever:
RED: I hope I can make it across the border. I hope to see my friend, and shake his hand. I hope the Pacific is as blue as it has been in my dreams. I hope.