In May 2006, Boavista signed Ferreira after his tenure with Braga ended, but suddenly Porto and its team president, Jorge Nuno Pinto da Costa, offered him a contract following the unexpected departure of manager Co Adriaanse. Ferreira terminated his contract with Boavista and joined Porto at the Estádio do Dragão on 18 August 2006, after the Supertaça Cândido de Oliveira final, only one week before the start of the 2006–07 league. There, Ferreira worked with such stars as Ricardo Quaresma, Anderson, Pepe, Lucho González, Raul Meireles, Paulo Assunção, José Bosingwa and Lisandro López.