"On behalf of the ICC, we congratulate Graeme Smith on his retirement following a very impressive and successful international career," said ICC chief executive David Richardson.
"Graeme featured in a number of memorable matches for South Africa and led his country in a world record 109 Tests, as well as 150 One-Day Internationals. He will no doubt go down in cricket's history as one of its most respected captains and opening batsmen."
"Batting at the top of the order is not an easy job but his determination to succeed is reflected in his career statistics and record of success, particularly in leading South Africa to the top of the Test rankings. The way he matured as a captain, encouraged his side to play hard but fair, be humble in both victory and defeat, was a great example to all," the ICC said in a release.
"The ICC thanks Graeme for his contribution to the sport and wishes him well in his future endeavours," Richardson said.
Smith made his Test debut against Australia almost 12 years ago at Newlands - the same venue and against the same opposition as he is playing his final Test. He scored 9,265 Test (average 48.25) and 6,989 ODI (average 37.98) runs.
Smith played his first ODI against Australia in Bloemfontein on March 30, 2002 while his final ODI was against Pakistan at Port Elizabeth in November 2013. Smith also played 33 T20Is between 2005 and 2011.
Image: Australian skipper Michael Clarke shakes hands with Graeme Smith
Photograph: Morne de Klerk/Getty Images
Harris clinches last-gasp win for Australia
Ball tampering controversies that tainted the gentleman's game
Scotland, UAE book 2015 Cricket World Cup berth
In-form Warner records a series of milestones SA Test series
ICC revamp, BCCI's demand for more revenue gets 'unanimous support'