The Royal Moroccan Football Federation earlier this week denied reports the Frenchman had stepped down, but Renard used social media on Sunday to confirm he has left his post.
Communiqué pic.twitter.com/4MYoA1s1Cq— Hervé Renard (@Herve_Renard_HR) July 21, 2019
Morocco endured a disappointing Africa Cup of Nations campaign, exiting the competition in shock circumstances in the round of 16 with a 4-1 penalty shoot-out defeat to Benin following a 1-1 draw.
The 50-year-old took over the Atlas Lions in February 2016 and guided them to the 2018 World Cup in Russia, their first qualification in 20 years.
"Morocco will always remain for me a country with which I lived incredible emotions," he wrote in a statement posted on Twitter. "I am proud of what we have achieved and how far we have managed to come.
"It is time for me to close this long and beautiful chapter of my life, not without emotion and sadness, but it is an inevitable decision taken well before AFCON 2019."
Renard has led both Zambia and Ivory Coast to AFCON glory during his coaching career.
At my request I met Mr Lekjaa president of the FRMF.— Hervé Renard (@Herve_Renard_HR) July 15, 2019
We have taken stock of the competition that has just ended for us.
We also talked about the future, I gave him my opinion.
We have agreed not to make any public statement.
J’adresse mes plus chaleureux remerciements à Sa Majesté le Roi Mohammed VI que Dieu l’assiste, pour tous les efforts consentis afin de développer le sport et le football en particulier J’en profite pour remercier le Prince Moulay Hassan ainsi que l’ensemble de la famille Royale. pic.twitter.com/CxhTAk22gS— Hervé Renard (@Herve_Renard_HR) July 21, 2019