Mikkel S. Eriksen, Tor Erik Hermansen, and Ester Dean assisted Perry in writing "Peacock" for her third studio album, Teenage Dream, released in 2010.
So she then decided to get back into the studio and work with Stargate, a production team co-producing Teenage Dream, during a late-night session and made several more songs, including "Firework" and "Peacock".
[3] "They were all a bit worried about the word 'cock' and it gave me déjà vu because they did the exact same thing with 'I Kissed a Girl,'" Perry stated.
"[4] Prior to the release of Teenage Dream, the singer debuted "Peacock" in early August 2010 when she performed it at the MTV World Stage in Malaysia.
[8] Its composition was compared to Toni Basil's cheerleader anthem "Mickey" by many reviews as both songs are stomping jams, bursting with double meanings.
[11] Rob Sheffield from Rolling Stone noticed the two songs shared a drum hook, and thought of "Peacock" as a sequel to Gwen Stefani's 2005 single, "Hollaback Girl".
Greg Kot from the Chicago Tribune said that "Peacock" adapting the beat from Basil's "Mickey" into a suggestive metaphor "barely qualifies as an off-color joke let alone a song.
[14] In his negative review for the album, Matthew Cole of Slant Magazine found it difficult to think of a song more unrefined or more irritating than "Peacock".
He believed all reviews of Teenage Dream will discuss the track, which will be because it is "potentially historic in its badness, to the point that, once you've heard it, you too will have to describe it to other people just to convince yourself that it really exists.
"[15] Spin magazine writer Mikael Wood remarked that the song contains a double entendre that even a performer such as Kesha could find crude.
[16] Writing in music website Sputnikmusic, Rudy Klapper said she would bet that "Peacock" would "never [be] seeing the light of day, primarily because it's a terrible song with a double entendre so blunt it would make Ke$ha blush".
Talking about how hooks on Teenage Dream are catchy, but quickly start to erode if listeners pay more attention to the words, he cited "Peacock" as an example of this.
After eight weeks of appearing on the chart, "Peacock" reached the top spot, replacing La Roux's "In for the Kill",[22] on December 4, 2010.
Concert reviewer Jim Abbott for the Orlando Sentinel felt that detailed performances such as the ones done for "Peacock" were a highlight for the singer's tour.