He has also said that he has plans to extend his Test career for a while longer. But it depends on the discussion he will have with the selectors and the authorities in Sri Lanka he has added.
According to ESPN crickinfo. Sangakkara has further stated "I'll be 37 at the end of this year, and I'm fully aware that it's fast approaching the time when either you go, or you get asked to leave".
Sangakkara has already quit T20 internationals, Sri Lanka's victorious World T20 campaign in April being his last outing in the format.
With 12,500 runs from 369 games, Sangakkara is the fourth leading run-getter in ODIs behind only Sachin Tendulkar, Ricky Ponting and Sanath Jayasuriya, while his 11,151 runs from 122 matches put him ninth on the list in Tests in an international career that has spanned 14 years.
He has also been involved in two World Cup finals in 2007 and 2011 and three World T20 finals in 2009, 2012 and 2014, playing a key role in the latest one with a match-winning, unbeaten fifty as Sri Lanka finally broke their run of losing at the last stage of a world event.