Ferreira was selected by coach Luiz Felipe Scolari for the UEFA Euro 2004 tournament. He started their opening match against Greece, but a series of mistakes in the 1–2 loss saw him dropped for Miguel for the rest of the tournament. Following an injury to the latter late into the first half of the final, however, he returned to action in another defeat to the same opponent, now 1–0.