Television roles
Griffith's first appearance on television was in 1955 in the one-hour teleplay of No Time for Sergeants on The United States Steel Hour. That was the first of two appearances on that series. In 1960, Griffith appeared as a county sheriff, who was also a justice of the peace and the editor of the local newspaper, in an episode of Make Room for Daddy starring Danny Thomas. This episode, in which Thomas's character is stopped for running a stop sign in a little town, served as a backdoor pilot for The Andy Griffith Show. Both shows were produced by Sheldon Leonard.
Beginning in September 1960, Griffith starred as Sheriff Andy Taylor in The Andy Griffith Show for the CBS television network. The show took place in the fictional town of Mayberry, North Carolina, where Taylor, a widower, was the sheriff and town sage. The show was filmed at Desilu Studios, with exteriors filmed at Forty Acres in Culver City, California.
From 1960 to 1965, the show co-starred character actor and comedian — and Griffith's longtime friend — Don Knotts in the role of Deputy Barney Fife, Taylor's best friend and comedy partner. He was also Taylor's cousin in the show at first, though later they dropped that cousin relationship and talked simply of knowing one another since boyhood. In the series premiere episode, in a conversation between the two, Fife calls Taylor "Cousin Andy", and Taylor calls Fife "Cousin Barney." The show also starred child actor Ron Howard (then known as Ronny Howard), who played Taylor's only child, Opie Taylor. It was an immediate hit. Griffith never received a writing credit for the show, but he worked on the development of every script. Knotts was frequently lauded and won multiple Emmy Awards for his comedic performances, as did Frances Bavier in 1967, while Griffith was never nominated for an Emmy Award during the show's run.
In 1967, Griffith was under contract with CBS to do one more season of the show. However, he decided to quit the show to pursue a movie career and other projects. During the last season of The Andy Griffith Show, new cast member Ken Berry was worked into the storylines as a principal character, grooming him as Griffith's replacement. Producer Sheldon Leonard shrewdly introduced the new, revamped Griffith show Mayberry R.F.D. as a summer-replacement series in the Griffith time slot, attracting Griffith's established audience. The series continued into the fall, with Ken Berry as a widower farmer and many of the regular Griffith Show characters recurring, some regularly and some as guest appearances. Griffith served as executive producer (according to Griffith, he came in once a week to review the week's scripts and give input) and guest starred in five episodes (the pilot episode involved his marriage to Helen Crump).
Griffith made final appearances as Taylor in three reunion vehicles: the 1986 television film, Return to Mayberry, with fellow co-star, Don Knotts, and two reunion specials in 1993 and 2003, with strong ratings.
After leaving his still-popular show in 1968, and starting his own production company Andy Griffith Enterprises in 1972, Griffith starred in less-successful television series such as Headmaster (1970), The New Andy Griffith Show (1971), Adams of Eagle Lake (1975), Salvage 1 (1979) and The Yeagers (1980). After spending seven months in rehabilitation for leg paralysis from Guillain–Barré syndrome in 1983, Griffith returned to television as the title character, Ben Matlock, in the legal drama Matlock (1986–1995) on NBC and ABC. Matlock was a country lawyer in Atlanta, Georgia, who was known for his Southern drawl and for always winning his cases. Matlock also starred unfamiliar, struggling actors (both of whom were childhood fans of Andy Griffith) Nancy Stafford as Michelle Thomas (1987–1992) and Clarence Gilyard, Jr. as Conrad McMasters (1989–1993). By the end of its first season it was a ratings powerhouse on Tuesday nights. Although the show was nominated for four Emmy Awards, Griffith once again was never nominated. He did, however, win a People's Choice Award in 1987 for his work as Matlock.
Griffith also made other character appearances through the years on Playhouse 90, Gomer Pyle – USMC, The Mod Squad, Hawaii Five-O, The Doris Day Show, Here's Lucy, The Bionic Woman and Fantasy Island, among many others. He also reprised his role as Ben Matlock on Diagnosis: Murder in 1997, and his final guest-starring role was in 2001 in an episode of Dawson's Creek.