| Youth career | |||
|---|---|---|---|
| 1990–1995 | Perugia | ||
| Senior career* | |||
| Years | Team | Apps | (Gls) |
| 1995–1997 | Perugia | 10 | (0) |
| 1997–1998 | Rangers | 34 | (3) |
| 1998–1999 | Salernitana | 25 | (0) |
| 1999–2012 | AC Milan | 335 | (9) |
| 2012–2013 | Sion | 27 | (1) |
| Total | 403 | (13) | |
| International career | |||
| 1995–1996 | Italy U18 | 14 | (3) |
| 1998–2000 | Italy U21[2] | 21 | (1) |
| 2000 | Italy Olympic[3] | 3 | (0) |
| 2000–2010 | Italy[4] | 73 | (1) |
| Managerial career | |||
| 2013 | Sion | ||
| 2013 | Palermo | ||
| 2014 | OFI Crete | ||
| 2015–2016 | Pisa | ||
| 2016–2017 | Pisa | ||
| 2017–2019 | AC Milan | ||
| 2019–2021 | Napoli | ||
| 2022–2023 | Valencia | ||
| 2023–2024 | Marseille | ||
| 2024– | Hajduk Split | ||
| *Club domestic league appearances and goals | |||