In a ceremony in the Moroccan city of Casablanca on Thursday, King Mohammed VI named Hassan Hami as the North African countrys Ambassador to Tehran.
Hami had previously served as Moroccos envoy to Azerbaijan.
Relations between Iran and Morocco were severed in 2009 following a series of disputes on regional issues. However, senior officials of the two countries have been in consultation and coordination with each other to take necessary steps to normalize ties.
Iran officially appointed Mohammad Taqi Moayyed, a career diplomat who had previously served in Tunisia, the Netherlands and Greece, as its new ambassador to Morocco. He submitted his credentials to Moroccos King in January 2015.
Rabat opened diplomatic channels with Tehran last year. Moroccos Foreign Minister Salaheddine Mezouar expressed his countrys determination in November to appoint an ambassador to Tehran.