"I Knew You Were Trouble" is a song recorded by American singer-songwriter Taylor Swift for her fourth studio album, Red (2012). It was released on October 9, 2012, in the United States by Big Machine Records as the third promotional single from the album. Later, "I Knew You Were Trouble" was released as the third single from Red on November 27, 2012, in the United States. It was written by Swift, Max Martin and Shellback, with the production handled by the latter two. .