"Till the World Ends" is a song by American recording artist Britney Spears. It was released as the second single from her upcoming seventh studio album, Femme Fatale."Till the World Ends" was written by Alexander Kronlund, Kesha, Dr. Luke and Max Martin, while being produced by Dr. Luke, Max Martin and Billboard. The main inspiration of the song for Kesha was imagining Spears and any other female musician touring the world. "Till the World Ends" was released on March 3 2011 .