"I Gotta Feeling" followed in the international success of
The E.N.Ds lead single "
Boom Boom Pow". In the United States, the song debuted on the
Billboard Hot 100 at number two, behind "Boom Boom Pow", prompted by sales of 249,000 downloads. The song held at number two for another week before rising to the top position on the chart. On July 30, 2009, it was reported that the song, along with "Boom Boom Pow", helped earn the Black Eyed Peas the longest run at number one on the
Billboard Hot 100 by a duo or group (17 weeks). The song stayed at number one on the chart for a total of fourteen weeks before being unseated by
Jay Sean's "
Down". The song, together with "Boom Boom Pow", earned the group a total of 26 consecutive weeks atop the Hot 100 chart while also earning them their longest running single on the chart, with a total of 56 weeks logged. It was the group's second single to sell over 6 million downloads in the United States, and was certified 7× Platinum on August 25, 2010 by the
Recording Industry Association of America (RIAA), signifying sales of over 7 million units. It was the first song to reach sales of over 6 million (November 25, 2010), 7 million (March 20, 2011), 8 million (June 24, 2012), and 9 million (June 7, 2019). It also earned the accolade of being the best digital seller in history. The next week, it rose to number one following a surge in airplay, where it maintained that position for 16 consecutive weeks, setting the record for longest run at number one since the chart's inception in 2007. The song was present on the chart for a total of 76 weeks, setting the record for longest stay on the chart. "I Gotta Feeling" fared similarly in international markets. The song had a slower rise in the United Kingdom, where it debuted at number 70 on the week ending June 20, 2009. It quickly picked up momentum, moving into the top five in its fifth week on the chart. On the week ending August 8, 2009, the song peaked at number one, becoming the group's third number one and staying there for two non-consecutive weeks. "I Gotta Feeling" held within the top ten for 16 consecutive weeks and lasted on the chart for a total of 76 weeks. The song was certified 5× Platinum by the
British Phonographic Industry on December 27, 2024 for sales and streams of 3 million units. and has sold over 1.44 million copies in the United Kingdom as of May 2014. In Ireland, the song peaked at number one and held that position for 12 non-consecutive weeks, falling to number two on the week of August 27, 2009, after six weeks in the top position. It rose to number one the following week and held that position for another six weeks. The single was certified double platinum for sales of 40,000 units. In Germany, the song debuted on the chart at number seven and rose to number three two weeks later. "I Gotta Feeling" peaked at number one in countries including Australia, Austria, Belgium, Denmark, Italy, The Netherlands, and New Zealand. ==Live performances==