"Tryin' to Get to Heaven" is a song written and performed by the American singer-songwriter Bob Dylan, recorded in January 1997 and released in September that year as the fifth track on his album Time Out of Mind. The recording was produced by Daniel Lanois. Composition and recording The song is a medium-tempo folk-rock ballad whose narrator has traveled "all around the world" and, in the song's memorable refrain, is "trying to get to heaven before they close the door". It is notable for being the only song on Time Out of Mind on which Dylan plays the harmonica. In their book Bob Dylan All the Songs: The Story Behind Every Track, authors Philippe Margotin and Jean-Michel Guesdon call the song "hypnotic" and compare its sound to the work of Bruce Springsteen and Phil Spector. They note that Dylan's harmonica solo, which "requires several hearings to appreciate", achieves an unusual "electric" effect because of the way engineer Mark Howard ran it through a distortion box. The song is performed in the key of A major. Critical reception Dylan scholar Jochen Markhorst ranks the song among the author's "most beautiful works," noting that it's similar to but "more accessible" than the celebrated "Not Dark Yet" because it offers the "prospect of redemption in an afterlife". Spectrum Culture included the song on a list of "Bob Dylan's 20 Best Songs of the '90s". In an article accompanying the list, critic David Harris calls it "one of the many triumphs" on Time Out of Mind and notes, "More than anything, “'Tryin'’ to Get to Heaven' sounds like an aging songwriter taking stock, reliving glories of travel and sexual conquests before he skips off this mortal coil". A 2021 article in the Irish Independent named it one of the "all-time top 10 tracks by Bob Dylan", noting that, "as Dylan said of one of his own favourites, Neil Young’s 'Only Love Can Break Your Heart', you just want it to go on for ever". Live performances Between 1999 and 2019, Bob Dylan performed the song 335 times in concert on the Never Ending Tour. A live version from October 5, 2000 in London, done in a jazz arrangement and with a slower tempo, was officially released on The Bootleg Series Vol. 8: Tell Tale Signs: Rare and Unreleased 1989–2006. The live debut occurred in Lisbon, Portugal on April 7, 1999, a performance that was