What the song is about
The premise is stated in the first two lines and never complicated: the warden throws a party in the county jail, the prison band starts playing, and the place goes up. Everything after that is population — a roll-call of inmates, each given one line and one gag.
It is worth saying plainly that the song is not about incarceration in any serious sense. Nobody in it is unjustly imprisoned, nobody suffers, and the jail functions the way a barn or a high-school gym functions in other songs of the period: as a room where a dance can happen. Leiber and Stoller were writing comedy to order for a film, and they were very good at it.
The one thing the lyric does take seriously is rhythm. Every verse lands its joke on the beat and hands straight over to the next, so the song reads like a series of quick cuts. That relentlessness — no bridge, no let-up, no reflective middle eight — is why a novelty number survived its novelty.
How it came to be made
Jerry Leiber and Mike Stoller wrote it for the MGM film Jailhouse Rock, in which Presley plays a man who learns to sing in prison and becomes a star. The pair were already responsible for "Hound Dog" as Presley recorded it, and were brought in to supply the picture's songs.
Presley recorded it on 30 April 1957 at Radio Recorders in Los Angeles, and RCA Victor released the single on 24 September, ahead of the film's November opening. It is one of the clearest examples of the machine Presley's career had become by 1957 — a film, a title song, a single and an EP, engineered to arrive together.
The dance nobody was credited for
The film's production number — the cell-block set, the pole, the ranks of dancing inmates — is among the most recognisable sequences in any musical, and its authorship is a good story.
MGM assigned the choreographer Alex Romero, whose first version was built along conventional Hollywood lines: steps designed for a trained dancer. It did not suit Presley at all. Romero's solution was to ask Presley to move to the song the way he would normally, then build the number out of what he saw. The result is essentially Presley's own vocabulary, formalised and multiplied across a cast.
Romero received no screen credit for it. Neither did Presley, who by that account is the uncredited source of the choreography in the sequence he is most famous for.
What it did on the charts
It spent seven weeks at No. 1 in the United States. In Britain it reached No. 1 in January 1958 and held for three weeks — and it did so by entering the chart at the top, the first single ever to do that.
That detail is more than trivia. A record entering at No. 1 means the demand existed before anyone had heard it on the radio, which in 1958 was close to unprecedented and is a fair measure of what Presley's name alone was worth by then.
How it is put together
The opening is the whole record in miniature: three stabbed chords, each answered by silence, before the band drops into the shuffle. Nothing is introduced gradually. That call-and-silence figure is one of the most imitated openings in rock and roll precisely because it works as a summons.
Underneath, it is a twelve-bar blues taken fast, with a heavy backbeat and Scotty Moore's guitar answering the vocal line rather than accompanying it. Presley sings it hard and slightly ahead, more shouted than crooned, with none of the ballad technique he used elsewhere in the same year.
There is no key change, no bridge and no dynamic arc. The record simply runs at full intensity for two and a half minutes and stops, which is a structural choice suited to a dance sequence and, incidentally, to a jukebox.
The recording
The film sequence is the definitive visual, but the single is the record that went to No. 1. The official audio is below.
The 1957 RCA single — official audio on Elvis Presley's VEVO channel.
The lyrics
After the opening scene-setting, the lyric becomes a series of one-line portraits, each inmate introduced by name or number and given a single action. Spider Murphy plays saxophone, Little Joe blows on a slide trombone, the drummer boy from Illinois goes crash. Bugsy turns to Shifty Henry with an escape plan; Shifty declines, because he would rather stay and dance.
The most quoted couplet is the one that gives the song its faint air of mischief:
"Number forty-seven said to number three:
'You're the cutest jailbird I ever did see'"
Leiber and Stoller wrote it as one gag among many, and in the film the line passes without comment. It has nonetheless drawn attention for decades as an unusually direct piece of writing for a 1957 chart record, and readings of it circulate that the writers themselves never confirmed. What is not in doubt is that it survived the censors of the period untouched, which says something about how completely the comic frame disarmed everything inside it.
The last verse breaks the fourth wall of the joke — an inmate is told that if he cannot find a partner he should grab a wooden chair — and the song ends with the whole prison still dancing and nobody having escaped. There is no moral, because there was never going to be one.