Donati started his club career at Atalanta, before moving to Milan in June 2001 along with Cristian Zenoni for 60 billion lire in a cash-plus-player deal. However, due to the competition at the club, Donati was unable to retain a first team place after his first season, spending the 2002–03 season on loan at Parma and then Torino.