On 23 December 2006, McGrath announced his retirement from Tests.
His last Test was the fifth Ashes Test against England in Sydney in January 2007, where he took a wicket with the last ball of his Test career.
He retired from all forms of international cricket following the successful 2007 Cricket World Cup, at which he became the leading wicket taker in the history of the World Cup, while also being the tournament's top wicket taker with 26 and being named player of the tournament.
He was named in the 'Team of the Tournament' by ESPNCricinfo for the 2007 World Cup.
His spell of 3-18 against South Africa was named as the fifth-best ODI bowling performance of the year by ESPNCricinfo voters.

For his performances in 2007, he was named in the World ODI XI by the ICC and ESPNCricinfo.
On 23 December 2006, McGrath announced his retirement from Tests. His last Test was the fifth Ashes Test against England in Sydney in January 2007, where he took a wicket with the last ball of his Test career. He retired from all forms of international cricket following the successful 2007 Cricket World Cup, at which he became the leading wicket taker in the history of the World Cup, while also being the tournament's top wicket taker with 26 and being named player of the tournament. He was named in the 'Team of the Tournament' by ESPNCricinfo for the 2007 World Cup. His spell of 3-18 against South Africa was named as the fifth-best ODI bowling performance of the year by ESPNCricinfo voters.
For his performances in 2007, he was named in the World ODI XI by the ICC and ESPNCricinfo.
Glenn McGrath