%22My Happy Ending%22 is a song by Canadian singer-songwriter Avril Lavigne, written by herself and Butch Walker for her second studio album, Under My Skin (2004). It was released as the album's second internationally released single in 2004 and became Lavigne's fourth most successful single. It peaked higher than %22Don't Tell Me%22, the album's first single. In the United Kingdom, it reached the top five; in the United States, it peaked at number nine (staying in No. 9 for 4 weeks). Structurally, the song is written in 4/4 style and has a repeated hook in both the chorus and in the intro and outro.The RIAA certified %22My Happy Ending%22 platinum in January 2005, making it Lavigne's second platinum single after %22I'm with You%22 (2002). Allmusic highlighted the song as one of the most significant post-grunge songs of all time.