Ahead of the 2011–12 season, Compper was linked with a move away from TSG 1899 Hoffenheim, with La Liga side Sevilla among interested. Despite this, he stayed at the club and started the season, continuing to play in the centre–back position under the new management of Holger Stanislawski. In a 0–0 draw against Bayern Munich on 1 October 2011, Compper's performance was praised by Stanislawski and he was named Man of the Match. He started in every match since the opening game of the season until his sending off in the final minutes of the game after fouling Tomáš Pekhart, in a 2–0 win over Nürnberg on 10 December 2011. After serving a two match suspension, Compper was again sent–off in the first half for a foul, in a 1–0 loss against Greuther Fürth in the quarter–final; in what turned out to be Stanislawski's last game as Manager. Despite the sending off, Compper then scored his first goal for the club, in a 1–1 draw against Köln on 4 March 2012. At the end of the 2011–12 season, Compper went on to make a total of 33 appearances and scoring two times in all competitions.