"Till the World Ends" is a song by American recording artist Britney Spears, released as the second single from her seventh studio album, Femme Fatale. It was written and produced by Dr. Luke and Max Martin, with additional writing by Kesha and Alexander Kronlund, and additional production by Billboard. Kesha explained that her main inspiration for the song was imagining Spears and any other female musicians touring the world. On March 2, 2011, the single's cover art and a snippet of the song surfaced online. "Till the World Ends" leaked online on March 3, 2011, and was released the following day.