In Morocco, covering the head with a scarf is not mandatory. You will see women with head scarves and women without. Niqabs are scarce and burqas are prohibited by the State. That said, traveling with a scarf is a good idea.
Do men wear scarves in Morocco?
In the south, the men may wear their headscarves wrapped into a turban. There are a couple of things that very different here. For example, exposing your shoulders and tops of your arm are considered overly-revealing, so we recommend always keeping these areas covered.