"It's been more than a year of hoping, trying, pushing and willing to get back on the field for one last time, to taste the sweet victory or encounter that gut-wrenching despair.
"To hear the roar of the crowd or grab the pill out of the air. To make that last bone-crunching tackle or score that last game winning try.
"But it's unfortunately just not to be. I, like most, would have liked my career to have ended differently, but sometimes things don't turn out quite the way we hope for."
Habana is South Africa’s leading test try scorer with 67, two behind the world record held by Daisuke Ohata of Japan. Habana’s 124 caps is the second highest for a South African player.
“We have been privileged to have witnessed the career of Bryan Habana, who will undoubtedly be remembered as one of the great legends of Springbok rugby,” SA Rugby President Mark Alexander said in a statement. (Reporting by Mark Gleeson, Editing by Ed Osmond)