The full Arabic name al-Mamlakah al-Maghribiyyah (المملكة المغربية) translates to “Kingdom of the West”; although “the West” in Arabic is الغرب Al-Gharb. For historical references, medieval Arab historians and geographers sometimes referred to Morocco as al-Maghrib al-Aqṣá (المغرب الأقصى, meaning “The Farthest West”) to distinguish it from neighbouring historical regions called al-Maghrib al-Awsaṭ (المغرب الأوسط, meaning “The Middle West“) and al-Maghrib al-Adná (المغرب الأدنى, meaning “The Nearest West“).
The basis of Morocco’s English name is Marrakesh, its capital under the Almoravid dynasty andAlmohad Caliphate. The origin of the name Marrakesh is disputed, but is most likely from the Berber words amur (n) akush (ⴰⵎⵓⵔ ⵏ ⴰⴽⵓⵛ) or “Land of God”. The modern Berber name for Marrakesh is Mṛṛakc (in the Berber Latin script). In Turkish, Morocco is known as Fas, a name derived from its ancient capital of Fes. However, this was not the case in other parts of the Islamic world: until the middle of the 20th century, the common name of Morocco in Egyptian and Middle Eastern Arabic literature was Marrakes (مراكش); this name is still used in some languages such as Persian, Urdu, Punjabi and Pashto. The English name Morocco is an anglicisation of the Spanish Marruecos.