Morocco is a genuinely multilingual country, shaped by its position between Africa, Europe and the Arab world. Its two official languages are Arabic and Amazigh (Berber), but in daily life most people speak Moroccan Arabic, known as Darija, and French is used very widely despite having no official status. Spanish and English round out the picture.
This guide explains the languages spoken in Morocco, which are official, which you will actually hear on the street, and why the country ended up so linguistically rich.