In music, the call"Shave and a Haircut" and the associated response "two bits" is a simple, 7-note musical couplet or riff popularly used at the end of a musical performance, usually for comic effect. It is used both melodically and rhythmically, for example as a door knock. Play (help·info)
"Two bits" is an archaism in the United States for 25 cents, a quarter. "Six bits" is occasionally used. The final words may also be "get lost" or some other facetious expression. In England, it was often said as "five bob" (slang for five shillings), although words are now rarely used to accompany the rhythm of the tune.
An early occurrence of the tune is from an 1899 Charles Hale song, "At a Darktown Cakewalk". Other songs from the same period also used the tune. The same notes form the bridge in the "Hot Scotch Rag", written by H. A. Fischler in 1911.
An early recording used the 7-note tune at both the beginning and the ending of a humorous 1915 song, by Billy Murray and the American Quartet, called "On the 5:15".
In 1939, Dan Shapiro, Lestor Lee and Milton Berle released "Shave and a Haircut – Shampoo" which used the tune in the closing bars, and is thought to be the origin of the lyric.
In Mexico, the tune is highly offensive, as it is commonly used to stand in for the vulgar phrase "chinga tu madre, cabrón" (translation: "Fuck your mother, asshole!").
The Italian version is Ammazza la vecchia... col Flit! [i.e. "Kill the old lady with Flit!" - Flit being an old brand of DDT insecticide]. This is a humorous popular version of a post WWII commercial Ammazza la mosca... col Flit [i.e. "Kill the fly with Flit!"]. This version is never perceived as offensive, but just as a joke.
The tune has been used innumerable times as a coda or ending in musical pieces. It is strongly associated with the stringed instruments of bluegrass music, particularly the 5-string banjo. Earl Scruggs often ended a song with this phrase or a variation of it. On the television show The Beverly Hillbillies, musical cues signifying the coming of a commercial break (cues which were in bluegrass style) frequently ended with "Shave and a Haircut". It is the most popular bluegrassrun, after the G run.
R&B singer and bandleader Dave Bartholomew used the phrase on two of his recordings: "Country Boy" (1950) at the very end, and the original version of My Ding-A-Ling (1952) as a figure introducing each verse.
Les Paul and Mary Ford's Capitol recording of "Magic Melody" concluded with the phrase minus the last two notes ("two bits"). Responding to complaints from disc jockeys, Capitol in 1955 released "Magic Melody Part 2"—consisting solely of the missing notes—on a 45, said to be the shortest tune on record.
P. D. Q. Bach ends his "Blaues Gras" ("bluegrass") aria with "Shave and a Haircut", sung in Denglisch (mangled German and English): "Rasieren und Haarschneiden, zwei bitte" ("Shave and haircut, two please", ungrammatical in either language). "Zwei bitte" is a Denglisch pun, sounding like "two bits" to a speaker of both languages. The melody is also used in The Short-Tempered Clavier.
"Shave and a Haircut" was used in many early cartoons, particularly Looney Tunes cartoons, played on things varying from car horns to window shutters banging in the wind. It was also used as an ending to many cartoon shows, just after the credits. Decades later, the couplet became a plot device used by the chief antagonist Judge Doom in the film Who Framed Roger Rabbit, the idea being that Toons cannot resist finishing with the "two bits" when they hear the opening rhythm.
In the book Genellan: Planetfall by Scott Gier, a character uses the tune to establish contact with an alien race.