Inzamam-ul-Haq, former Pakistan cricket captain, will retire after his side's second Test against South Africa in Lahore.
The 37-year-old veteran of 119 Tests, speaking during the first Test at the National Stadium in Karachi, said he would make himself available for the Lahore test which runs from October 8 to 12, but that it would be his last.
"I want to now give way to youngsters and allow them to take centre stage," Inzamam said on Friday.
"I don't want to stop any youngster's progress.
"It is a tough decision but it is the best for me and my country," added Inzamam, who made himself unavailable for the first Test.
Inzamam stepped down as captain and retired from one-day internationals after his team was disappointingly eliminated in the first round of the World Cup in the Caribbean earlier this year.
"I have taken this decision after much thought and I realise that my presence in the dressing room could be a pressure on the younger players," Inzamam said.
"So I have decided this is the best time for me to bid farewell to a game I have loved so much."
The Multan-born batsman who also played in 378 one-day internationals said his biggest regret remained the performance of the team in the 2007 World Cup.
"I have taken this decision after much thought and I realise that my presence in the dressing room could be a pressure on the younger players."
"It was one of the biggest disappointments of my long career the way we performed because we had a good team. But there have been other disappointments as well and that is part of the game," Inzamam said.
He said winning the 1992 World Cup final against England was the best moment of his career plus the hundred he scored against Bangladesh in 2003 in his hometown Multan to help Pakistan win the match.
"It was my comeback match after disappointing form in the 2003 World Cup and it was an important innings for me."
Inzamam added that he would be available to serve Pakistan cricket in any capacity if asked by the Pakistan Cricket Board.
The heavily built batsman needs another 20 runs to surpass Javed Miandad's Pakistan record of 8,832 Test runs made in 124 Tests.
Inzamam has scored a Pakistan record of 25 Test centuries in his 119 matches so far, while his tally of 11,739 runs in one-day internationals is also a Pakistan record.