At the 2012 Summer Olympics in London, Pellegrini finished fifth in the 400 metres freestyle with a time of 4:04.50 and the 200 metres freestyle with a time of 1:56.73.