Magalhães had several offers to leave Porto, but ultimately stayed and won a total of seven leagues, adding in 1987 the European Cup and playing the entire final against FC Bayern Munich. Under Bobby Robson he became a fringe player, and left in the 1995 summer having appeared in well more than 300 official matches; a move to another side in the north, Leça FC, was then arranged, but he retired at the end of the campaign after the modest team retained their top flight status, but with the player contributing rarely.