On 28 March 2018, Maxwell was urgently recalled to the Test squad, along with Matthew Renshaw and Joe Burns, following the suspensions of Steve Smith, David Warner and Cameron Bancroft for ball tampering during the Third Test of the Australian 2018 Tour of South Africa. In October 2019, he announced an indefinite break from the game to deal with mental health difficulties.