Smith made his Test debut against Pakistan in July 2010 at Lord's. His first Test century came during the fifth match of the 2013 Ashes series when he scored 138 not out. His highest score of 239 came against the same team during the 2017–18 series at the WACA Ground, Perth. Smith has scored Test centuries at sixteen different cricket grounds, including eleven at venues outside Australia. In terms of centuries, he has been most successful against England (11). , he ranks joint sixth in the list of most centuries by an Australian in Tests. He topped the ICC Test Rankings for the best batsman in the years 2015, 2016 and 2017; on 30 December 2017 he achieved a rating of 947, the second highest of all time after Don Bradman. As a result of his involvement in the 2018 Australian ball-tampering scandal, Smith was subsequently banned from all forms of cricket, except club level, for a year in March 2018.