 Virgili was an unused member of Italy U20 team at 2005 FIFA World Youth Championship.Along with Daniele Padelli, they were Emiliano Viviano's backup.He was the first choice goalkeeper at 2003 UEFA European Under-17 Football Championship, ahead Giacomo Bindi.