"Maybe my final series will be the England series later in the year," the 40-year-old told BBC Sinhala. "There comes a time for every cricketer, when they have to stop playing. I think that time has come for me."
Herath, who retired from one-day and Twenty20 internationals in 2016, is in the squad for Sri Lanka's two-match test series against South Africa, which kicks off on Thursday in Galle.
With spinners like Dilruwan Perera, Akila Dananjaya and Lakshan Sandakan in the national side, Herath believed Sri Lanka would be in good hands post his retirement.
(Reporting by Anirban Paul in Bengaluru; editing by Sudipto Ganguly)
