"Fergalicious" is a song recorded by American singer Fergie for her debut studio album, The Dutchess (2006). It was written by Fergie and Black Eyed Peas bandmate will.i.am, who also produced the song as well as providing the instrumentation and additional vocals. The song was slated as the second single from the album and released for airplay on October 23, 2006. "Fergalicious" is an electro song with R&B and hip hop characteristics. It contains compositional samples of "Supersonic", a song written by Dania Maria Birks, Juana Michelle Burns, Juanita A. Lee, Kim Nazel, and Fatima Shaheed and performed by J. J. Fad, and "Give It All You Got", a song written by Derrick Rahming and popularized by Afro-Rican. The song's bridge contains an interpolation of "Night Train" by Jimmy Forrest and James Brown. The critical reception of "Fergalicious" was positive, with many praising it as a catchy and danceable track. Some music critics compared the song to "My Humps" (2006), a single released by The Black Eyed Peas from their fourth studio album Monkey Business (2005).
"Fergalicious" was a commercial success in the United States and moderately so in several other countries. In the United States, it peaked at number two on the Billboard Hot 100 and at number one on the Pop Songs chart. "Fergalicious" was certified double platinum by the Recording Industry Association of America and sold over three million digital units, becoming Fergie's second best selling song in the United States. In Australia and New Zealand, the song peaked at numbers four and five respectively and received gold certifications. In Europe, the song peaked within the top thirty on several different charts across the continent, including high positions in Finland, Norway, Belgium and France. An accompanying music video was directed by Fatima Robinson and features Fergie and will.i.am in a candy factory, supposedly inspired by Willy Wonka.
"Fergalicious" was written by will.i.am and Fergie, credited as Will Adams and Stacy Ferguson respectively. The song contains samples of "Supersonic" by J. J. Fad and "Give It All You Got" by Afro-Rican. The writers of these two songs, Dania Maria Birks, Juana Michelle Burns, Juanita A. Lee, Kim Nazel, Fatima Shaheed, and Derrick Rahming, receive songwriting credits for "Fergalicious" as a result. The song was recorded while on the John Lennon Educational Tour Bus. While discussing the tracks on the album, will.i.am had this to say about the song, "... but then she'll have a song like 'Fergalicious,' where it's just being sassy and flaunting her stuff from a strong female perspective, paying homage to Salt-N-Pepa." will.i.am produced the song as well as playing the bass, keys and drum programming. He collaborated with Padraic Kerin on engineering the track while John Hanes edited it through the use of Pro Tools. Serban Ghenea worked with Tim Roberts on mixing the song, which took place at MixStar Studios in Virginia Beach, Virginia. A&M Records, in association with will.i.am Music Group and Interscope Records, sent the song to contemporary hit radio on October 23, 2006. Fergie stated in an interview with MTV that the song reminds her of the old days, when "I went to Knott's Berry Farm [in California] and did what I thought was a dance battle."
"Fergalicious" is an electro, hip hop and dance song with a length of 4:52 (4 minutes and 52 seconds). The song features sampling from two songs, "Supersonic" by J. J. Fad and "Give It All You Got" by Afro-Rican, utilizing their rapping style and synthesized strings respectively. The song is set in common time and has a moderate hip-hop tempo of 112 beats per minute. It is written in the key of B-flat minor and Fergie's vocals span two octaves, from G3 to D5. "Fergalicious" begins with a countdown in two different languages, English and Spanish. The song then moves to a fast-paced rhythm and a synth line referencing Kraftwerk's "It's More Fun to Compute", as will.i.am raps. The rhythm transitions into "pong" basslines over which Fergie raps with "detached nonchalance". The song features an interlude that runs in a jingle style.
The lyrics are centered on the theme of self-pride. Fergie raps about how she bests all other women and that no other man is worthy enough to date her. Leah Greenblatt of Entertainment Weekly describes the song as a "self-love anthem". Sal Cinquemani of Slant Magazine wrote that the song "opens The Dutchess with a cartoonish Black Eyed Peas tone". According to Kelly Smith of The Maneater, the song is a "rap remix that consists of a catchy chorus and cheesy lyrics."
"Fergalicious" received generally positive reviews for music critics. Bill Lamb of About.com rated it four out of five stars, liking better than the previous single "London Bridge" which he found "reaked of sleaze". He praised the song as "a sassy, fluffy party tune that should be lighting up pop radio within weeks." Leah Greenblatt of Entertainment Weekly writes that the song does not stray away from her previous works with the Black Eyed Peas, comparing the lyrics to those of "My Humps". Norman Mayers of Prefix thought it and "Here I Come" are fun and flirty songs, writing that "they work because of the dance-floor productions that not only reference '80s hip-hop but also '60s Motown." Dan Gennoe of Yahoo! Music described the song as "booty-shaking electro". Louis Tullo of The Heights writes that "the result [of the song] yields danceable beats and playfully salacious lyrics, but it seems her voice is lost in overproduction." Kelly Smith of The Maneater thought that the song would be successful on the radio, writing "this song will most likely become a radio whore, being played over and over until people are forced to admit that the beat is so-so." Eva Wiseman of The Guardian praised the song as "joyous and fabulous pop music, the kind of people who mop up silently when she wets herself on stage... It even inspires blasphemy in critics."IGN writer Spence D. finds "Fergalicious" to be a nice start up for the album, referring to the song as "an infectious little ditty that grinds its way into your grey matter with unavoidable tenacity."
In the United States, "Fergalicious" entered on the BillboardHot 100 at number seventy-nine. On the issue dated November 11, 2006, the song jumped thirteen places from number nineteen to number six, entering the top ten of the chart. After weeks of ascending and descending within the top ten, the song reached a peak of number two on the Hot 100 on the issue dated January 13, 2007 after selling 294,000 downloads. It was held off the top only by "Irreplaceable" by Beyonce.  The song was that week's greatest digital gainer on the chart and generated at the time the greatest digital sales in one week. This record, however, was broken almost a year later by "Low" by Flo Rida featuring T-Pain on the week of January 12, 2008 after selling 470,000 downloads. The song was certified double platinum on February 22, 2008 by the Recording Industry Association of America (RIAA). Its digital download sales stand at 3,121,000 as of May 2013, and it was her second single to surpass sales of three million downloads. "Fergalicious" is Fergie's second most downloaded song, behind "Big Girls Don't Cry" and ahead of "Glamorous", "Clumsy", and "London Bridge".
In Australia, the song entered at number eleven on the issue dated December 10, 2006 and reached a peak of number four six weeks later. The song has been certified gold by the Australian Recording Industry Association (ARIA) for sales of 35,000 units. On the issue dated December 18, 2006, the song debuted on the chart in New Zealand at number forty. In its fifth week, the song peaked at number five. It has been certified gold by the Recording Industry Association of New Zealand (RIANZ) for sales of 7,500 units. In Belgium, the song peaked on the Flanders chart at number eleven for one week and on the Wallonia Chart at number seventeen for three consecutive weeks. In France, the song entered and peaked at number fifteen on the issue dated January 27, 2007. It lasted on the chart for total of eighteen weeks. "Fergalicious" entered the Singles Top 60 chart in Switzerland on the issue dated December 10, 2006 at number sixty-nine. The song fell to number seventy-seven but on the third week ascended forty-eight places to number twenty-nine, where it peaked for one week. It spent a total of nineteen weeks on the chart, logging its last week on the issue dated April 22, 2007 at number ninety-two.
The video premiered on MTV on October 24, 2006 and premiered on Yahoo! Music on October 31, 2006. The music video was filmed in Hollywood, and directed by Fatima Robinson, who also directed the "My Humps" music video. will.i.am from The Black Eyed Peas also appears in the video, which features Fergie as Willy Wonka in a candy factory called "Fergieland" (the factory was nameless in the original book and both film versions). The video starts with the Oompa Loompas packaging pink and purple boxes of "Fergalicious" candy. In the beginning of the video, Fergie sings in a field of candy canes with the Oompa Loompas. Throughout the video, she wears a tan and khaki girl scout outfit, sports a black one-piece swimsuit while lying in a pile of candy, (often in a kaleidoscope view) works out in a colorful gym flexing her biceps, sings in a room filled with lollipops and other candies while dressed like Shirley Temple, and pops out of a cake while wearing a tiny blue swimsuit with gems encrusted on the exterior. She then starts watching two women wrestle in cake before joining them at the end of the video. Towards the end of the video, Fergie opens and then plays a few notes on a Samsung K5 MP3 Player, giving it center focus in the screen; there then follow, interspersed in the remaining frames of the videos, shots of other characters in the video either listening to the player, presenting it to the camera with a big smile, or carefully handing the player to another extra. As of November 11, 2013, the music video for "Fergalicious" has been viewed over 50 million times on popular video-sharing website, YouTube.
In March 2009, former N.W.A member the Arabian Prince sued Fergie's record label over unpaid royalties for including a sample of Supersonic, a song he produced, for Fergalicious. The lawsuit was filed in the New York Supreme Court, claiming that Tamika Wright, Jerry Heller and Ruthless Records owed him 20% of the royalties from the song. He also claims that the label refused him payment on numerous occasions.