Warner, on his 33rd birthday and in his first home international since being banned for ball tampering in South Africa, leapt wildly into the air on reaching his milestone from the last ball of Australia's innings.
And after hearing jeers during his mostly personally unsuccessful Ashes campaign in England, Warner was feeling the love from the Australian fans.
"It's always fantastic to get that ... you forget how much it actually drives you when you're out there," Warner said of the crowd support. "I think they don't realize how much of an impact it has for us players."
The left-hander received support from captain Aaron Finch (64 from 36 balls) and Glenn Maxwell (62 from 28).
Sri Lanka fast bowler Kasun Rajitha finished with 0-75, the most runs conceded in a four-over spell in T20 internationals.
Warner's century featured 10 fours and four sixes, surpassing his previous best T20 international score of 90 not out.
Maxwell and Warner put on 107 runs and their century stand took only 52 balls.
Sri Lanka's run chase was stung by the loss of early wickets as the visitors slumped to 13-3 after 22 balls.
Australian pacemen Mitchell Starc (2-18) struck in the first over and Pat Cummins (2-27) took two wickets in consecutive deliveries in his first over.
Spinners Adam Zampa (3-14) and Ashton Agar (1-13) were also wicket-takers as Dasun Shanaka top-scored with 17 for Sri Lanka.
Sri Lanka came in to the match on a four-game T20 winning streak, including all three matches in Pakistan and the final match on a tour of New Zealand. The Sri Lanka side in Pakistan was missing many of the country's top players due to security concerns.
Australia will host Pakistan in a three-match T20 series in early November. Next year, Australia will host the T20 World Cup.
/crictoday/media/agency_attachments/2026/07/21/2026-07-21t110708663z-crictpday-logo-2026-07-21-16-37-08.png)
Follow Us/crictoday/media/media_files/wp-content/uploads/2021/01/davidwarner-1563175099-1572234424.jpg)