"The One That Got Away" is a song by American recording artist and songwriter Katy Perry. The song was written by Perry, Dr. Luke, and Max Martin. The latter two produced the song for Perry's third studio album, Teenage Dream (2010). The song is a mid-tempo pop ballad about a lost love. It features references to rock bands Radiohead and Muse and addresses the relationship of Johnny Cash and June to express the strength of the relationship.
"The One That Got Away" received mostly positive reviews from most music critics, who complemented Katy's serious tone. The song was released in October 2011 by Capitol Records as the sixth single from the album, and was followed by its Floria Sigismondi-directed video, which premiered in November and featured actor Diego Luna.