<Tr> <Th> Followed by </Th> <Td> Mayberry R.F.D. </Td> </Tr> <Tr> <Th> Related shows </Th> <Td> The Danny Thomas Show Gomer Pyle, U.S.M.C. </Td> </Tr> <P> The Andy Griffith Show is an American situation comedy which aired on CBS from October 3, 1960, to April 1, 1968, with a total of 249 half - hour episodes spanning over eight seasons--159 in black and white and 90 in color . The series partially originated from an episode of The Danny Thomas Show . </P> <P> The show originally starred Andy Griffith in the role of Andy Taylor, the widowed sheriff of the fictional small community of Mayberry, North Carolina . Other major characters include Andy's inept but well - meaning deputy, Barney Fife (Don Knotts); Andy's spinster aunt and housekeeper, Bee Taylor (Frances Bavier), and Andy's precocious young son, Opie (Ron Howard). Eccentric townspeople and temperamental girlfriends complete the cast . </P>

How many seasons of andy griffith show are there