"The Ballad of Bilbo Baggins" is a song composed by Charles Randolph Grean and performed by Leonard Nimoy, telling the story of Bilbo Baggins and his adventures in J. R. R. Tolkien's novel The Hobbit. The recording was featured on Two Sides of Leonard Nimoy, the second of Nimoy's albums on Dot Records. It was also released as a single (Dot Records Cat. #45-17028) in July 1967, backed with a "modern thought-image" folk song called "Cotton Candy".
When the single was originally released, Nimoy lip-synched to the recording during a guest appearance on the July 28, 1967 episode of Malibu U, a short-lived variety television series. This segment survives as a "music video" and shows Nimoy (wearing his Star Trek hairstyle as the series was in the midst of production of its second season at the time) and a group of color-coordinated young women, all wearing plastic pointed ears (Hobbit or Vulcan), singing and dancing on a beach. Since its rediscovery on the BBC2 documentary Funk Me Up Scotty and propagation over the Internet, it has become a relatively well-known example of 1960s camp. An excerpt from the musical number is included in the documentaries Ringers: Lord of the Fans about The Lord of the Rings fandom, and in For the Love of Spock. The song was also included in the 1993 Nimoy compilation album Highly Illogical.
An audio clip of the song was played as part of an answer on an episode of Jeopardy! aired January 5, 2006. The song was sampled by Bentley Rhythm Ace for their track "Theme From 'Gutbuster'" on their album For Your Ears Only, released in 2000. The video was also a feature on VH1's Web Junk 20. Segments of the song were shown during Bring Back... Star Trek, with Justin Lee Collins citing it as research into Leonard Nimoy.