The royal couple, who are expecting their first child together, were greeted by the British Ambassador to Morocco, Thomas Reilly, and his wife, Alix.
Meghan, 37, and Harry, 34, are in town for a three-day visit at the request of Queen Elizabeth. They are staying at a royal residence as the guests of King Mohammed VI.
The visit officially ends on Monday, but they will stay in town for another night to have some private time in Morocco. The couple will return to London on Tuesday.
FYI: Meghan is wearing a Valentino dress.