Prior to start of the 2007–08 Primeira Liga, Costa would announce that the 2007–08 season would be his last as a professional. Despite the sacking of Fernando Santos at the beginning of the league campaign, Costa would remain a first team regular under José Antonio Camacho. The first match of the season saw Costa be decisive in Benfica reaching the Champions League group stage. He scored two goals in a qualifier against Copenhagen in the first leg. He would also play an important part in the second leg where Benfica defeated the Danish side 1–0 away from home to seal Benfica's third consecutive presence in the group stage.