
Andy Taylor is the widower sheriff of the small, sleepy North Carolina town of Mayberry. Andy and son Opie live with Aunt Bee, who takes care of the family. Andy's deputy is his bumbling but neurotically hilarious cousin, Barney Fife. Among Andy's Mayberry friends is the town's resident barber, Floyd.

Aunt Bee scolds Opie and tells him to stay away from the courthouse after he handcuffs a classmate to a flagpole; Opie, annoyed at the situation, decides to run away from home.

Andy learns that a bully has been demanding Opie's milk money at school. Andy must decide whether to intervene or let Opie deal with the bully and learn to stand up for himself.

An attractive out-of-town woman gets a speeding ticket from Andy. While waiting for her trial, she uses flattery and bribes to sway the witnesses for the prosecution.

Opie becomes jealous when he thinks Andy likes Trey, his new best friend, more than him. Andy then decides to teach Opie a lesson in friendship.