A letter from Mr Mugabe said the decision was voluntary, Reuters news agency reports.
The surprise announcement came as lawmakers debated an impeachment motion against Mr Mugabe in a joint sitting of parliament.
Mr Mugabe had previously refused to resign despite last week’s military takeover, and days of protests.
He has been in power since independence in 1980.
[contentcards url=”http://www.bbc.com/news/world-africa-42071488″ target=”_blank”]