Miles Away is a song by American singer-songwriter Madonna from her eleventh studio album, Hard Candy. It was first released as a promotional single in Japan, during June 2008, as the theme for the Fuji Television Japanese drama, Change. The song was released by Warner Bros. Records, as the third and final single from the album on October 17, 2008, and was subsequently included on her compilation album, Celebration (2009). Written by Madonna, Justin Timberlake and Timbaland, Miles Away is a melancholy electronic ballad, which, according to Madonna is autobiographical, and is inspired by her then husband Guy Ritchie. Lyrically, the song deals with long-distance relationships.Miles Away has received positive appreciation from critics, though some of them noted its similarity to Justin Timberlake's 2006 single, What Goes Around...\u002F...Comes Around. Miles Away reached the top forty in most countries, while topping the chart in Spain. It was also notably successful in Japan, where it reached the top ten and achieved three Japan Gold Disc Awards. In the United States, the song did not appear on the Billboard Hot 100, but was a success on the dance charts, where it became Madonna's seventh consecutive number-one song on the Hot Dance Airplay chart, the most for any artist. The song has been performed by Madonna in the promotional tour for the Hard Candy album and the 2008–09 Sticky & Sweet Tour, during the gypsy segment of the show.