The former Wales skipper, who captained the British and Irish Lions on tours to Australia in 2013 and New Zealand last summer, underwent neck and knee surgery last year and has not played for 12 months.
The announcement was made jointly by the Welsh Rugby Union and Warburton’s regional team Cardiff Blues.
Warburton said: “Unfortunately, after a long period of rest and rehabilitation the decision to retire from rugby has been made with my health and well-being as a priority as my body is unable to give me back what I had hoped for on my return to training.”
BREAKING: @samwarburton_ has announced his retirement from the game. He led Wales for a record 49 times in his 74 appearances.
#ThanksWarby pic.twitter.com/BOCahUsJ6Oā Welsh Rugby Union š (@WelshRugbyUnion) July 18, 2018