"Anytime You Need a Friend" is a song by American singer and songwriter Mariah Carey. The song was written and produced by Carey and Walter Afanasieff, for her third studio album, Music Box (1993). It was released on May 24, 1994, through Columbia Records, as the fifth and final single from the album. The song is influenced by pop, R&B and gospel genres. While the album focused heavily on pop oriented and radio friendly material, "Anytime You Need a Friend" deviated from the formula, finishing as the only gospel-infused song on Music Box. Lyrically, the song's protagonist tells her love interest that anytime he may need a friend, she will be there unconditionally for him. Throughout the song's bridge and climax, critics noted the lyrics altering from those of a friend, to those of a lover. The song was well received by contemporary music critics, many of whom praised Carey's large spanning vocal range, as well as its gospel influence that they felt was missing on most of Music Box. Aside from its critical acceptance, the song achieved strong worldwide chart positions and peaked at number twelve on the US Billboard Hot 100, but became her first charting single to miss out the top-ten. Additionally, it peaked at number five in Canada and topped the singles charts in Finland. The song attained a top-twenty peak position in Australia, France, Ireland, New Zealand, Switzerland and the United Kingdom. Carey performed "Anytime You Need a Friend" live on several televised talk and award shows around the world, including the Late Show with David Letterman, the British music chart program Top of the Pops and German entertainment show Wetten, dass..?. Additionally, the song served as a closing number on Carey's Music Box and Daydream World Tours, and was featured on her compilation albums, Greatest Hits (2001) and The Ballads (2008). Although several remixes were commissioned for the song, the C+C remix became the most notable, being produced by C+C Music Factory's David Cole and Robert Clivillés, and the first of Carey's remixes to feature her on production credits. The song's music video was filmed by Danielle Federici, in New York during the summer of 1994. The video was filmed in black-and-white fashion, and features Carey's first image makeover, where she appears with a straightened hairstyle for the first time in her career. Additionally, the music video showcases scenes of Carey singing by a