
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.

Barney and Gomer are responsible for watching over two thieves who are temporarily jailed in Mayberry. Between the two of them, the criminals manage to escape three times.

Andy unexpectedly has his hands full as The Darlings, a family of musicians from the mountains, arrive in Mayberry to meet a bus due the next day.

Barney orders Gomer and Otis to keep watch on Andy when an ex-con Andy sent to prison many years before returns to Mayberry.

Andy and Barney must figure out a way to prevent a farmer's goat who has eaten a load of dynamite from blowing up Mayberry.