Italian side Parma brought the Argentine defender to Europe. However, the club, having already used their quota of three non-EU players, loaned him to Napoli, who purchased 50% of his rights on a co-ownership deal. Ayala was bought by Milan at the end of the 1997–98 season and played there for two seasons until Valencia purchased him for £6.25 million.