| venue =| genre = {{flatlist|* Pop music|Pop* dance-pop}}| length = {{duration|m=3|s=40}}| label = Capitol Records|Capitol| writer = {{flatlist|* Katy Perry* Dr. Luke|Lukasz Gottwald* Max Martin}}| producer = {{flatlist|* Dr. Luke* Benny Blanco}}| prev_title = I Kissed a Girl| prev_year = 2008| next_title = Thinking of You (Katy Perry song)|Thinking of You| next_year = 2009| misc = {{external music video|{{YouTube|kTHNpusq654|"Hot n Cold"}}}}}}"Hot n Cold" (stylized as "Hot N Cold") is a song by American singer Katy Perry. The song was written by Perry, Dr. Luke, and Max Martin and produced by Luke and Benny Blanco for her second studio album, ''One of the Boys'' (2008). It was released as the album's second single on September 9, 2008. The lyrics address an unstable romantic relationship caused by a partner's mood swings.