Legendary batter Ross Taylor will end his long international career at the conclusion of New Zealand's home summer.

Taylor has established himself as a Black Caps great, scoring a record 18,074 runs in 445 appearances for his country.

The classy 37-year-old made his New Zealand debut back in 2006 and has gone on to become the only player to feature in 100 games in all formats.

Taylor has crafted an incredible 40 hundreds for the Black Caps and made 93 half-centuries, averaging 44.87 in Tests, 48.20 in ODIs and 26.15 in Twenty20 Internationals.

The former New Zealand captain announced on the eve of the two-match Test series against Bangladesh that his international career will end in 2022 following ODIs versus Australia and the Netherlands.

"It's been an amazing journey and I feel incredibly fortunate to have represented my country for as long as I have," he said.

"It's been such a privilege to play with and against some of the greats of the game and to have created so many memories and friendships along the way.

"But all good things must come to an end and the timing feels right for me. I want to thank my family, friends and all those who have helped me get to this point.

"There'll be plenty of time for more thank yous and reflections later in the season – but for now I want all my energy and focus to be on preparing and performing for the Black Caps this summer."

Black Caps head coach Gary Stead said: "Ross has always been a hugely respected member of the side and we’re thankful for his contributions to the Black Caps over an incredible career.

"His skills and temperament as a batsman have been world-class and his ability to perform at such a high level for so long speaks volumes of his longevity and professionalism.

"His experience has held the side together on countless occasions and his catching record [346, the most by a New Zealand fielder] speaks for itself. There's no doubt we’re going to miss him when he's gone.

"Seeing him hit the winning runs in Southampton to help win our first ICC world title is a moment I will never forget and I'm sure it's the same for many of the fans.

"I know Ross is really focused on performing well in these remaining series and going out on the right note."

Among the many highlights in Taylor's career was his 290 against at the WACA in November 2015, the highest Test score by a visiting batter in Australia.