Warner made his T20 international debut in January 2009 and has scored 3,277 runs at an average of 33.43 in 110 innings.
He scored 6,932 runs at 45.30 in 159 ODI innings, including 22 centuries.
In Test matches he made 8,786 runs at 44.59 with 26 hundreds, including a top score of 335 not out against Pakistan in December 2019.
Australia bowler Josh Hazelwood acknowledged the team will “miss him around the group, out in the field and off field” after an “amazing all-format career”.
Hazelwood said: “It’s sort of been a slow burn [retirement] with Test cricket and ODI cricket and now T20.
“So, life without him, we’ve sort of gotten used to it a little bit [but] it’s always different when you lose a player that’s been there for so long.”