Moroccan number plates by city: the code for each prefecture
The number on the right of a Moroccan plate tells you the prefecture or province where the car was registered. Here is how to read a plate, followed by the code for every prefecture and province, region by region.
Photo: J. Patrick Fischer — CC BY-SA 4.0 (Wikimedia Commons)
Published on 30 September 2026
Contents
- How do you read a Moroccan number plate?
- All 89 codes in numerical order, from 1 to 89
- Codes for the Tanger-Tétouan-Al Hoceïma region
- Codes for the Oriental region
- Codes for the Fès-Meknès region
- Codes for the Rabat-Salé-Kénitra region
- Codes for the Béni Mellal-Khénifra region
- Codes for the Casablanca-Settat region
- Codes for the Marrakech-Safi region
- Codes for the Drâa-Tafilalet region
- Codes for the Souss-Massa region
- Codes for the southern provinces
- Why this code matters when you rent a car on Loccor
Rent a car in Tangier
Compare cars from verified local agencies, then book online.
Browse available cars in Tangier
How do you read a Moroccan number plate?
A Moroccan plate reads in three blocks. On the left is a registration number of up to five digits. In the middle is a letter of the Arabic alphabet. On the right is a one- or two-digit number: the code of the prefecture or province where the car was registered.
Since 3 August 2026 a unified plate has applied (Decision No. 640.26, published in Official Bulletin No. 7531): the MA code is built into the left of the plate, and the Arabic letter is shown with its Latin equivalent (أ and A, ب and B, ج and J). New and imported cars get it automatically. Older domestic plates remain valid until the car is next sold, so on a rental car you will still see both designs. The prefecture code on the right does not change.
That last number is the one that points to the city. It refers to an administrative district, not a municipality, so neighbouring towns often share a code, such as Tanger and Asilah (40), or Larache and Ksar El Kébir (42).
Large cities split into several prefectures have more than one code: Casablanca runs from 6 to 13 plus 72, Fès from 15 to 17, Meknès uses 20 and 21, and Marrakech runs from 26 to 28, with 29 going to the neighbouring province of Al Haouz.
All 89 codes in numerical order, from 1 to 89
1: Rabat · 2: Salé · 3: Salé · 4: Skhirat-Témara · 5: Khémisset, Tiflet · 6: Casablanca · 7: Casablanca · 8: Casablanca · 9: Casablanca · 10: Casablanca.
11: Casablanca · 12: Casablanca · 13: Casablanca · 14: Mohammedia · 15: Fès, Moulay Yacoub · 16: Fès, Moulay Yacoub · 17: Fès, Moulay Yacoub · 18: Sefrou · 19: Boulemane · 20: Meknès.
21: Meknès · 22: El Hajeb · 23: Ifrane, Azrou · 24: Khénifra · 25: Errachidia, Erfoud · 26: Marrakech · 27: Marrakech · 28: Marrakech · 29: Al Haouz (Tahannaout, Asni) · 30: Chichaoua.
31: El Kelâa des Sraghna · 32: Essaouira · 33: Agadir · 34: Inezgane, Aït Melloul · 35: Chtouka-Aït Baha (Biougra) · 36: Taroudant, Oulad Teïma · 37: Tiznit · 38: Ouarzazate · 39: Zagora · 40: Tanger, Asilah.
41: Fahs-Anjra · 42: Larache, Ksar El Kébir · 43: Chefchaouen · 44: Tétouan · 45: Al Hoceïma, Imzouren · 46: Taza · 47: Taounate · 48: Oujda · 49: Berkane, Saïdia · 50: Nador, Beni Ensar, Zaïo.
51: Taourirt, El Aïoun · 52: Jerada · 53: Figuig · 54: Safi · 55: El Jadida, Azemmour · 56: Settat · 57: Khouribga, Oued Zem · 58: Benslimane, Bouznika · 59: Kénitra, Souk El Arbaâ · 60: Sidi Kacem.
61: Béni Mellal, Kasba Tadla · 62: Azilal · 63: Es-Semara · 64: Guelmim · 65: Tan-Tan · 66: Tata · 67: Assa-Zag · 68: Laâyoune · 69: Boujdour · 70: Dakhla.
71: Aousserd · 72: Casablanca · 73: Nouaceur, Bouskoura, Dar Bouazza · 74: Médiouna · 75: M’diq, Fnideq, Martil · 76: Driouch · 77: Guercif · 78: Ouazzane · 79: Sidi Slimane, Sidi Yahya El Gharb · 80: Midelt.
81: Berrechid, Had Soualem · 82: Sidi Bennour · 83: Ben Guerir · 84: Fquih Ben Salah · 85: Youssoufia · 86: Tinghir · 87: Sidi Ifni · 88: Tarfaya · 89: Lagouira.
Codes for the Tanger-Tétouan-Al Hoceïma region
Tanger, Asilah: 40; Fahs-Anjra: 41; Larache, Ksar El Kébir: 42; Chefchaouen: 43; Tétouan: 44; Al Hoceïma, Imzouren: 45; M’diq, Fnideq, Martil: 75; Ouazzane: 78.
Codes for the Oriental region
Oujda: 48; Berkane, Saïdia: 49; Nador, Beni Ensar, Zaïo: 50; Taourirt, El Aïoun: 51; Jerada: 52; Figuig: 53; Driouch: 76; Guercif: 77.
Codes for the Fès-Meknès region
Fès, Moulay Yacoub: 15 to 17; Sefrou: 18; Boulemane: 19; Meknès: 20 and 21; El Hajeb: 22; Ifrane, Azrou: 23; Taza: 46; Taounate: 47.
Codes for the Rabat-Salé-Kénitra region
Rabat: 1; Salé: 2 and 3; Skhirat-Témara: 4; Khémisset, Tiflet: 5; Kénitra, Souk El Arbaâ: 59; Sidi Kacem: 60; Sidi Slimane, Sidi Yahya El Gharb: 79.
Codes for the Béni Mellal-Khénifra region
Khénifra: 24; Khouribga, Oued Zem: 57; Béni Mellal, Kasba Tadla: 61; Azilal: 62; Fquih Ben Salah: 84.
Codes for the Casablanca-Settat region
Casablanca: 6 to 13 and 72; Mohammedia: 14; El Jadida, Azemmour: 55; Settat: 56; Benslimane, Bouznika: 58; Nouaceur, Bouskoura, Dar Bouazza: 73; Médiouna: 74; Berrechid, Had Soualem: 81; Sidi Bennour: 82.
Codes for the Marrakech-Safi region
Marrakech: 26 to 28; Al Haouz (Tahannaout, Asni): 29; Chichaoua: 30; El Kelâa des Sraghna: 31; Essaouira: 32; Safi: 54; Ben Guerir: 83; Youssoufia: 85.
Codes for the Drâa-Tafilalet region
Errachidia, Erfoud: 25; Ouarzazate: 38; Zagora: 39; Midelt: 80; Tinghir: 86.
Codes for the Souss-Massa region
Agadir: 33; Inezgane, Aït Melloul: 34; Chtouka-Aït Baha (Biougra): 35; Taroudant, Oulad Teïma: 36; Tiznit: 37; Tata: 66.
Codes for the southern provinces
Es-Semara: 63; Guelmim: 64; Tan-Tan: 65; Assa-Zag: 67; Laâyoune: 68; Boujdour: 69; Dakhla: 70; Aousserd: 71; Sidi Ifni: 87; Tarfaya: 88; Lagouira: 89.
Why this code matters when you rent a car on Loccor
On Loccor, a partner agency’s name is only shared once your booking is confirmed. Until then, each agency has a public reference ending in its city’s prefecture code: a reference ending in 26 means an agency in Marrakech, one ending in 40 an agency in Tanger.
So you can tell at a glance which city the car is in, before you even open its page.
Frequently asked questions
What is the registration code for Casablanca?
Casablanca is split into several prefectures and uses codes 6 to 13, as well as 72.
Why do two towns share the same code?
The code refers to a prefecture or province, not a municipality. Tanger and Asilah come under the same prefecture, so they share 40.
New Moroccan licence plate in 2026: what changes?
Since 3 August 2026 the plate includes the MA code and shows the Arabic letter with its Latin equivalent. It goes on new and imported cars; an older domestic plate stays valid until the car is next sold. Only international plates with a separate MA strip must be replaced by 31 December 2026, NARSA has said. The prefecture code does not change.
Further reading
renting a car in Morocco: the complete guide
Sources
O’Voiture – arrêté 640.26 — ovoiture.ma
Morocco World News – précisions de la NARSA (05/09/2026) — moroccoworldnews.com
The Smart Choice in Morocco
Ready to Hit the Road in Morocco with Total Freedom?
Written by the Loccor editorial team, the platform connecting travellers with car rental agencies in Morocco.
Browse the cars available to rent in Tangier
Cars available to rent in Tangier
- Opel Corsa 2026
- · Kia Picanto 2025
- · Dacia Sandero 2026
- · Hyundai i10 2026
- · Geely GX3 2026
- · Renault Kardian 2026
- · Renault Clio 2024
- · Peugeot 208 2025
- · Renault Clio 5 2026
- · Dacia Logan 2026
- · Geely GX3 Pro 2026
- · Hyundai i20 2026
More articles from the guide
Tangier's beaches by car: Dalia, Achakar, Sidi Kankouch and Ksar Sghir
Saïdia by car: the “Blue Pearl” beach, the Moulouya and the Beni Snassen
The Fez tanneries by rental car: Chouara tannery, where to park and how to visit
Asilah and Larache by car from Tangier: the northern Atlantic coast at your own pace
Ouzoud Waterfalls by Car from Marrakech: The Perfect Day Trip at Your Own Pace