Gomer Pyle is a television character played by Jim Nabors and introduced in the middle of the third season of The Andy Griffith Show. Pyle, a simpleminded and gentle auto mechanic, became a character when actor Howard McNear, who portrayed Floyd the Barber, took a respite from the show due to health reasons. Nabors played Pyle for 23 episodes from 1962 to 1964.
After two seasons on The Andy Griffith Show, McNear returned and Griffith proposed a show based on the Gomer Pyle character. In 1964, the character was spun-off into Gomer Pyle, U.S.M.C., which ran until 1969.
Pyle is a good-natured, naïve single man from Mayberry, North Carolina. The only apparent employee at Wally's Filling Station, he initially lived there in a back room. Wide-eyed and slack jawed, he usually wore a service station uniform and a baseball cap with an upturned bill; a handkerchief dangled from his back pocket. He initially displayed scant knowledge of automotive mechanics: in "The Great Filling Station Robbery", for example, he thought a carburetor was a hood ornament. However, he learned over time, and in other episodes he was able to diagnose mechanical problems for the average lay person. In his first appearance, in an episode called "The Bank Job," Gomer is shown operating a blow torch to cut through a bank's vault.
Like his cousin Goober, Gomer provided comic relief, awestruck by the simplest of things, resulting in the exclamation of his catchphrases, "Shazam!", "G-o-l-l-y", "Sur-prise, sur-prise, sur-prise!", and "shame, shame, shame!", as appropriate.
Gomer was sometimes deputized by Deputy Barney Fife, when Sheriff Taylor was otherwise occupied. Though always compliant, Gomer's ineptitude usually made him more of a hindrance than a help in the line of duty. However, in the eyes of his friends, especially Sheriff Andy Taylor, his shortcomings were generally outweighed by his gentle, generous spirit.
Gomer's Mayberry roots were evident in the spin-off series Gomer Pyle, U.S.M.C., where his countrified, backward nature served as the keystone for the show's humor, making him a comic foil to the hard-nosed drill instructor Seregant Vince Carter, played by Frank Sutton. Both series also included several episodes displaying Gomer's skill as a baritone singer.
At first Sergeant Carter was rankled and extremely irritated by the slow-witted Pyle, and dreamed of ways to rid himself of the private's presence. Over the course of the series, however, Carter began to tolerate Pyle, and even grew to respect him. Pyle, though always unconventional, developed into a good Marine, yet never went an episode without causing some degree of irritation for Carter. In the final episode, Gomer requests a transfer after realizing he is nothing but a source of constant anxiety for Carter. Carter, initially pleased with the request, later arranges for the transfer to be denied; and, the episode ends with Carter insisting the two shake hands, not knowing Gomer's hand is covered in shellac.
Both The Andy Griffith Show and Gomer Pyle USMC ended their runs by the late 1960s. While Mayberry RFD continued from 1968–71, where The Andy Griffith Show left off, the concept of returning Gomer to Mayberry was nixed, as the actor was given a CBS variety show of his own (which lasted two seasons). Gomer eventually returned, along with most of the original cast of The Andy Griffith Show, to the 1986 television movie Return to Mayberry. Gomer and Goober Pyle run a gas station/car repair shop called "G & G Garage," implying that Gomer's Marine career had, at some point, ended.
On an episode of The Lucy Show, "Lucy Gets Caught Up in the Draft," Nabors has a cameo role as "Gomer Pyle".
When both The Carol Burnett Show and GPUSMC were running on CBS first-run, there would be an annual crossover between the series – with a character played by Burnett appearing on GPUSMC, and Nabors appearing on Burnett's variety show on the first episode of every season.
Andy Griffith Show appearances
The following is a list of Andy Griffith Show episodes featuring Gomer before his spin-off series.
- Episode 13: "The Bank Job"
- Episode 16: "Man in a Hurry"
- Episode 17: "High Noon in Mayberry"
- Episode 22: "The Great Filling Station Robbery"
- Episode 27: "Barney's First Car"
- Episode 32: "The Big House"
- Episode 2: "The Haunted House"
- Episode 4: "The Sermon for Today"
- Episode 6: "Gomer the House Guest"
- Episode 7: "A Black Day for Mayberry"
- Episode 9: "A Date for Gomer"
- Episode 11: "Citizen's Arrest"
- Episode 13: "Barney and the Cave Rescue"
- Episode 20: "The Song Festers"
- Episode 22: "Andy's Vacation"
- Episode 23: "Andy Saves Gomer"
- Episode 24: "Bargain Day"
- Episode 26: "A Deal is a Deal"
- Episode 27: "Fun Girls"
- Episode 29: "The Rumor"
- Episode 30: "Barney and Thelma Lou, Phfftt"
- Episode 31: "Back to Nature"
- Episode 32: "Gomer Pyle, U.S.M.C."
- In the movie Full Metal Jacket by Stanley Kubrick, the nickname "Gomer Pyle" is derisively given to Private Leonard Lawrence (played by Vincent D'Onofrio) during basic training, after infuriating Gunnery Sergeant Hartman (played by R. Lee Ermey) by being unable to stop grinning. It isn't so much a nickname as the drill instructor forcibly renaming Leonard, forbidding use of his actual name, in order to dehumanize and break him.
- "Gomer Pyle" has become U.S.M.C. slang for a recruit who continually messes up or needs extra training.
- In U. S. Naval Aviation, dogfight adversaries that have not yet been identified are referred to as "gomers", while "bandits" are known to be hostile. 
- In the 1992 film White Men Can't Jump, Billy Hoyle (played by Woody Harrelson) refers to a rival basketball player as "Gomer Pyle" after being called "Opie Taylor".
- Big Boi's 2010 single Shutterbugg features the lyrics, "It ain't so country though, nigga, this ain't no Gomer Pyle".
- In the Futurama episode Roswell That Ends Well Fry meets someone he believes to be his grandfather whose character is based on Gomer Pyle.
- IMDb – "The Andy Griffith Show" (1960) > Full cast and crew
- IMDb – "Gomer Pyle, U.S.M.C." (1964)
- IMDb - "Full Metal Jacket" (1987)
- Army Navy Air Force Marines Coast Guard. "Military Jargon, Lingo, & Slang | Share Your Military Jargon Today". Vetfriends.com. Retrieved 2012-05-07.
- The Tailhook Association. "Aviator's Slang". www.tailhook.org. Retrieved 2012-09-21.