"When Johnny Comes Marching Home" originated during the American Civil War and was published and popularised by a Bandleader called Patrick Gilmore using the name Louis Lambert. It is thought that Gilmore added new lyrics and adapted the melody for an existing Irish Song called "Johnny I Hardly Knew Ye" which seems to predate the American version, though the evidence is inconclusive. As a popular folk song and a rousing march it has become very well-known across the world, with many variants. The children's song "The Animals Went in Two by Two" based on the biblical story uses the same melody. The song has been sung and recorded by many popular singers and choirs, and as an instrumental it has been played as a march to accompany many military and non-military events. Among the many notable uses on film, is its surreal use on the soundtrack of the film "Dr. Strangelove or: How I Learned to Stop Worrying and Love the Bomb" where it was arranged by British composer Laurie Johnson.
The audio controls below allow you to play the mp3 version of When Johnny Comes Marching Home for piano or you can download the MP3 file. You can also download the midi version of When Johnny Comes Marching Home for piano or alternatively edit/play the midi file.
The image below is the first page of the sheet music, and here you can download the full sheet music for When Johnny Comes Marching Home for piano in PDF format.