David Warner has represented Australia in 103 Tests so far.
The southpaw is currently in England to take part in the ICC World Test Championship final against India, followed by the five-match Ashes series.
The ICC Men's T20 World Cup 2024 is also on Warner’s agenda, but the 36-year-old has expressed desire to finish his Test career following the Sydney Test against Pakistan in January next year.
"You've got to score runs. I've always said the (2024) World Cup would probably be my final game," Warner told reporters.
"I probably owe it to myself and my family - if I can score runs here and continue to play back in Australia - I can definitely say I won't be playing that West Indies series.
"If I can get through this (WTC final and ensuing Ashes campaign) and make the Pakistan series I will definitely finish up then."
Warner’s Test form has been a cause of concern since 2022. In 14 matches, the left-hander has scored just 607 runs at an average of 26.39 while he registered scores of 1, 10 and 15 in the three innings that he batted on his last tour of India.
The opening batter understands that he needs to perform better to retain his place in the Test team.
"I want to play that 2024 World Cup. It is something that is on the back of my mind. We've got a lot of cricket before that, and then I think it stops from February," said Warner.
"So for me, then I'll have to play IPL some of the other franchise leagues and then get into that rhythm to play in June.
"There will be a bit of cricket around to play. Who knows I might go back and play a Shield game for New South Wales."
While the WTC final will be played at the Oval from June 7 to 11, the Ashes 2023 is due to get underway on June 16 at Edgbaston.
(cricket.com.au inputs)