Hard Candy is the eleventh studio album by American singer and songwriter Madonna. It was released on April 18, 2008, by Warner Bros. Records. Hard Candy was her last album with the company after a 25-year history until Confessions II (2026). Madonna began working on Hard Candy in early 2007, and collaborated with Justin Timberlake, Timbaland, the Neptunes, and Nate "Danja" Hills to produce a dance-pop album incorporating hip hop, electropop, disco, electro, funk, and R&B.

For the album's creation, Madonna wanted to portray an alter-ego called the "black Madonna", but it was later scrapped to avoid controversy. Critical reaction was generally favorable, and Hard Candy debuted at number one in 37 countries worldwide, becoming the year's eleventh best-selling album, exceeding 4 million copies.

The album spawned three singles. The lead single, "4 Minutes", was a worldwide success, topping the charts in 21 countries and becoming Madonna's 37th Billboard Hot 100 top-ten hit. "Give It 2 Me" was released as the second single, and "Miles Away" as its third. Madonna performed in small venues in three cities to promote the album. She subsequently embarked on the Sticky & Sweet Tour, which became the highest-grossing concert tour by a female artist at the time.

Background and development In February 2007, Timbaland said that he was working with Madonna for her upcoming eleventh studio album. It was Madonna's last studio album for Warner Bros. Records, and following the release of a greatest hits collection (Celebration), she would join Live Nation Artists, a new initiative launched by concert promoter Live Nation. The 10-year deal with Live Nation encompassed all of Madonna's future music and music-related businesses, including the exploitation of the Madonna brand, new studio albums, touring, merchandising, fan clubs/Web sites, DVDs, music-related television and film projects and associated sponsorship agreements. In August 2007, Timbaland spoke about the development of the album to MTV News. Together he and Justin Timberlake were confirmed to have worked on the album with Madonna and said that they wrote ten songs for her. Songs confirmed to have been developed were "La, La" and "Candy Shop", which was written by Pharrell Williams. Timbaland added, "Me and Justin did the records. [Madonna's] got a hot album. Her album is up there with Justin's album. [...] Ah, man, there's this one song, we taking it back to 'You must be my luck-eee starrrr!' ... Remember 'Ugly' by Bubba Sparxxx? I got a beat similar to that. The hook is no words. It's saying stuff named after coffee... The name of the song is 'La, La'. Pharrell did a hot one for her too called 'Candy Shop'." Timbaland finished off by saying that the title of the album was not decided then, but he had to reconvene with Madonna to complete the record by September 2007. MTV described the new album as moving in an urban direction. It had initially been defined as having "a lot of producers from a lot of genres in there." Pet Shop Boys were originally asked by Warner to write and produce some songs for the album. Timbaland referred to the album as being "like 'Holiday' with an R&B groove".

Recording

Hard Candy features additional vocals by Timberlake, Timbaland, Williams and Kanye West and production by Madonna, Timbaland, Timberlake, the Neptunes and Nate "Danja" Hills. Previously, Madonna had worked with relatively unknown producers like William Orbit, Mirwais Ahmadzaï and Stuart Price. However, for Hard Candy, Madonna decided to collaborate with producers and artists who were already well-known. Talking to MTV, Madonna explained her decision to collaborate with well-known producers: "Because they're good, and I like their shit. [...] I mean, I don't like to repeat myself, and I was sitting around thinking, 'What music do I love right now?' And it was actually [Timberlake's] record FutureSex/LoveSounds. [...] I was listening to it obsessively."

Madonna had already started work on the album with Williams, and during one of her breaks from recording, her manager Guy Oseary spoke to Timberlake, suggesting that it "would be cool" if he recorded some songs with her. Timberlake commented "'That would be awesome', but I thought, 'That'll never happen', [...] But it's a testament to Pharrell. He had already laid the groundwork where she was going with it. She played 'Candy Shop' for me, and a couple of other songs, and I thought, 'What a cool direction'. I thought she could essentially do the whole record with Pharrell if she wanted to, and I asked Tim, 'How do we fit in?' And it basically came down to how we did my record, co-producing, and just throwing Madonna in the mix." The first track recorded by Madonna and Timberlake was "Devil Wouldn't Recognize You". Timberlake felt that the song, which Madonna had been working on for years before the Hard Candy project, was comparable to "Frozen" (1998). He wanted to turn the line "'The devil wouldn't recognize you, but I do" into a catchy hook and make it sound like a concept.

Timberlake was impressed by the amount of recording material Madonna would already have ready. He said that he does not normally write down his lyrics, since the ideas come faster to him, but Madonna had "all these thoughts, riddles, poems, feelings, all written in huge notebooks ... she kept handing them over. It was amazing, taking these little bits here and there and putting them together like a puzzle." For recording "Miles Away", Timberlake played a guitar riff for Madonna and asked "How do we want to do this? What do we want it to be about? What do we want to say?" Madonna decided to have discussions between herself and Timberlake to develop other ideas for the songs. One of the ideas they connected on was the universality of long-distance relationships, which they felt was too personal for them, but nevertheless used the concept in "Miles Away". Madonna commented on the recorded version: "We put our stuff out there. [...] And after we did the song, everybody in the studio was like, 'Oh, I can relate to that'."

Music structure and composition

With Interview magazine, Madonna explained her inspirations behind the songs and the music of Hard Candy. She said that "probably in many respects most of the songs [on Hard Candy] are [autobiographical]. But in more of an unconscious way. I don't really think about telling personal stories when I'm writing music. It just comes. And then a lot of times, six months later, eight months later, I go, 'Oh, that's what I wrote that song about.' But that's when I play the song for lots of people and they all go, 'Oh, I can totally relate to that'." Sonically, Hard Candy is a dance-pop, pop, hip hop, electropop, disco, electro, funk and R&B record.

"Candy Shop" is the opening track of the album. Produced by The Neptunes, the song uses the word candy as a metaphor for sex. Williams said, "We were just in a studio, [...] and [Madonna] was like, 'Look, give me some hot shit.' I was looking at her like, 'She's saying hot shit?' She was like, 'What?' And I'm like, 'OK.' So we just worked and made it." The first single from the album, "4 Minutes", was initially known as "4 Minutes to Save the World". The song's development was motivated by a sense of urgency to save the planet from destruction, and how people can enjoy themselves in the process. According to Madonna, the song inspired her to produce the documentary I Am Because We Are. The song features vocals by Timberlake and Timbaland. An uptempo dance song with an urban, hip hop style, it also incorporates Timbaland's bhangra beats. The instrumentation used in the song includes brass, foghorns and cow bells. The song's lyrics carry a message of social awareness, inspired by Madonna's visit to Africa and the human suffering she witnessed.

In "Give It 2 Me", the album's second single, Madonna merged bounce-beats and a funky bassline. "If it's against the law, arrest me", she sings "If you can handle it, undress me." The song has a short interlude where Madonna continuously repeats the words "Get stupid", as Williams chants, "To the left, to the right". "Give It 2 Me" was written by Madonna as an anthemic, self-manifesto song which, although it appears to be about dance and sex, is a reference to Madonna's career spanning three decades in the music industry. Musically it is an upbeat dance song, featuring instrumentation from West African percussion and cowbells. Backing vocals are provided by Williams. The fourth track, "Heartbeat", has Madonna singing breathlessly and also features an interlude where the music changes from its normal rhythm, just the sound of drums.

MTV said that "Miles Away", the third single from the album, was the most deceptively simple track because although it appeared straightforward on the surface, it had a lot of technical tricks underneath it. The song departs from the dance theme of the album and deals with the difficulties of long-distance relationships. "Miles Away" is a melancholy electronic ballad, which, according to Madonna is autobiographical, and is inspired by her then-husband Guy Ritchie. The relationship themed lyrics continue in the next track "She's Not Me", which talks about Madonna being emulated by another woman, hence she utters the line "She started dressing like me and talking like me, It freaked me out, She started calling you up in the middle of the night, What's that about?"

The next track "Incredible" starts off like a love song and then transforms into a plea to someone to return to a relationship. The song changes rhythm at the interlude to mimic this change in tone. In a promotional interview, Madonna described the song as full of "angst and desire" and "wanting to get back to a feeling of happiness and fulfillment," but also containing a feeling of abandonment. In a review of the album on MTV, the shift in the structure of the song reflected Madonna's own confusion about how she felt about her lover in the song. "Can't get my head around it", she sang. "I, I need to think about it." "Beat Goes On", featuring West, has a '70s R&B meeting '80s dance vibe and a rap interlude by West. Williams has commented that Madonna's work ethic was different from other artists that he had worked with before. That is reflected in songs like "Spanish Lesson" where she sings the line "If you do your homework/ Baby I will give you more". It also has influences of Spanish music. Groove inspired music is present in "Dance 2Night", which featured Timberlake.

"Devil Wouldn't Recognize You" was written by Madonna before the Hard Candy project started. The song has a sense of mystery and starts off softly and slowly with a piano introduction. It then becomes fast and melancholy, with Madonna singing: "Your eyes are full of surprises/ They cannot predict my fate". The trip hop inspired "Voices" is the last track of the album, consisting of unresolved chords and sweeping strings, as the lyrics question who is really in control: "Are you walking the dog?/ Is the dog walking you?"

Release and artwork