 On 26 April 2017, at age 25, Ansari announced his retirement from professional cricket with immediate effect.He did not regard himself as a super-successful cricketer, such as Joe Root or Moeen Ali, so retirement did not feel like he was giving up something.He stated he had always maintained that cricket was just one part of his life, and that he had other ambitions that he wanted to fulfil.