UN/LOCODE Codes — Morocco (MA)
122 UN/LOCODE location codes for Morocco — the United Nations Code for Trade and Transport Locations (UNECE) identifying ports, airports, rail and road terminals, border crossings and other trade points. Each code is 5 characters: the ISO country code MA plus a 3-character location code.
| Code | Name | Subdivision | Functions | Status |
|---|---|---|---|---|
MA4DM | Dar Bou Azza 📍 | MEK | Road terminal | Recognised location |
MA6KN | Souq Larb'A Al Gharb 📍 | KEN | Port, Multimodal | Approved by a competent national government agency |
MA6KS | Sidi Slimane 📍 | KEN | Road terminal | Recognised location |
MA8FT | Tit Mellil 📍 | MED | Road terminal | Recognised location |
MAAAR | Al Aaroui 📍 | NAD | Road terminal | Recognised location |
MAAGA | Agadir | Port, Airport | Adopted by an international organisation (e.g. IATA/ECLAC) | |
MAAHU | Al Hoceïma 📍 | Port, Airport | Adopted by an international organisation (e.g. IATA/ECLAC) | |
MAAKH | Akhfennir 📍 | TAF | Road terminal | Approved by the UN/LOCODE Maintenance Agency |
MAAMZ | Amizmiz 📍 | HAO | Road terminal | Recognised location |
MAANZ | Anza 📍 | AGD | Port, Road terminal | Recognised location |
MAASE | Aïn Sebaa 📍 | CAS | Rail terminal, Road terminal | Recognised location |
MAASI | Asilah | Port | Original entry not verified since the date shown | |
MAAZE | Azemmour | Port | Original entry not verified since the date shown | |
MAAZL | Azilal 📍 | 05 | Road terminal | Approved by the UN/LOCODE Maintenance Agency |
MAAZR | Azrou | Road terminal | Recognised location | |
MABAH | Ait Baha 📍 | TIZ | Road terminal | Recognised location |
MABED | Berrechid | Road terminal | Recognised location | |
MABEM | Beni Mellal | Road terminal | Recognised location | |
MABEN | Benguerir 📍 | KES | Road terminal | Recognised location |
MABER | Berkane | Road terminal | Recognised location | |
MABES | Ben Slimane 📍 | BES | Road terminal | Recognised location |
MABFK | Boufakrane 📍 | MEK | Road terminal | Recognised location |
MABJJ | Bir Jdid 📍 | JDI | Road terminal | Recognised location |
MABOS | Bouskoura 📍 | AGD | Rail terminal, Road terminal | Recognised location |
MABOU | Bouznika | Road terminal | Recognised location | |
MABRE | Breich | — | Recognised location | |
MABUJ | Boujdour 📍 | BOD | Port, Road terminal | Approved by the UN/LOCODE Maintenance Agency |
MABUL | Boulaouane 📍 | JDI | Road terminal | Recognised location |
MACAS | Casablanca 📍 | CAS | Port, Airport, Postal exchange | Adopted by an international organisation (e.g. IATA/ECLAC) |
MACMN | Mohammed V International Airport 📍 | 08 | Airport | Recognised location |
MAD2V | Ar Rommani 📍 | KHE | Port, Multimodal | Approved by a competent national government agency |
MAELG | El Gara 📍 | SET | Road terminal | Recognised location |
MAELH | El Hajeb 📍 | MEK | Road terminal | Recognised location |
MAELJ | El Jadida 📍 | JDI | Port, Road terminal | Recognised location |
MAELL | El Jouam'a 📍 | TET | Road terminal | Recognised location |
MAERH | Errachidia | Airport | Adopted by an international organisation (e.g. IATA/ECLAC) | |
MAESS | Essaouira 📍 | ESI | Port, Road terminal | Recognised location |
MAEUN | Laayoune (El Aaiun) | Port, Airport | Adopted by an international organisation (e.g. IATA/ECLAC) | |
MAFEZ | Fez | Airport | Adopted by an international organisation (e.g. IATA/ECLAC) | |
MAG2K | Biougra 📍 | AGD | Road terminal | Recognised location |
MAGLN | Goulimime | Airport | Adopted by an international organisation (e.g. IATA/ECLAC) | |
MAGMS | Gmassa 📍 | MAR | Road terminal | Approved by the UN/LOCODE Maintenance Agency |
MAGUE | Guercif 📍 | TAZ | Road terminal | Recognised location |
MAHAB | Habib 📍 | OUA | Road terminal | Recognised location |
MAHDS | Had Soualem 📍 | CAS | Road terminal | Recognised location |
MAIFR | Ifrane 📍 | IFR | Road terminal | Recognised location |
MAIMZ | Imouzzer Kandar 📍 | SEF | Road terminal | Approved by the UN/LOCODE Maintenance Agency |
MAJER | Jerada 📍 | JRA | Road terminal | Approved by the UN/LOCODE Maintenance Agency |
MAJFL | Jorf Lasfar | Port, Road terminal | Recognised location | |
MAJHR | Aïn Harrouda 📍 | Multimodal | Recognised location | |
MAKAT | Kasba Tadla | Road terminal | Recognised location | |
MAKHA | Khouribga | Road terminal | Recognised location | |
MAKHE | Khemisset | Road terminal | Recognised location | |
MAKHF | Khenifra 📍 | KHN | Road terminal | Recognised location |
MAKMA | Ksar Majaz | TNG | Rail terminal, Road terminal, Multimodal | Recognised location |
MAKSS | Ksar es Sghir 📍 | FAH | Road terminal | Recognised location |
MAKZZ | Allal Tazi 📍 | KEN | Multimodal | Approved by a competent national government agency |
MALAR | Larache | Port | Original entry not verified since the date shown | |
MALIF | Lisasfa 📍 | SET | Road terminal | Recognised location |
MAMBS | Moulay Bou Selham 📍 | KEN | Road terminal | Recognised location |
MAMDN | Mediouna 📍 | Multimodal | Recognised location | |
MAMDT | Midelt 📍 | KHN | Road terminal | Approved by a competent national government agency |
MAMEK | Meknès 📍 | Road terminal | Recognised location | |
MAMEL | Melloussa 📍 | TNG | Road terminal | Recognised location |
MAMOH | Mohammedia | Port | Original entry not verified since the date shown | |
MAMRC | Ourika 📍 | OUA | Road terminal, Multimodal | Approved by a competent national government agency |
MAMTH | Ain Beni Mathar 📍 | OUJ | Road terminal | Recognised location |
MAMTT | Martil 📍 | TET | Road terminal | Recognised location |
MANDR | Nador | Port | Adopted by an international organisation (e.g. IATA/ECLAC) | |
MANNA | Kenitra (ex Port Lyautey) | Port, Airport | Adopted by an international organisation (e.g. IATA/ECLAC) | |
MANOU | Nouasseur | — | Recognised location | |
MANPS | Nouveau Port Safi, Sidi Boudenyan 📍 | SAF | Port | Approved by a competent national government agency |
MAOSA | Ouled Salah 📍 | OUJ | Road terminal | Recognised location |
MAOUD | Oujda | Airport | Adopted by an international organisation (e.g. IATA/ECLAC) | |
MAOUZ | Oued Zem 📍 | KHO | Road terminal | Recognised location |
MAOZZ | Ouarzazate | Airport | Adopted by an international organisation (e.g. IATA/ECLAC) | |
MAPTM | Tanger Med | TNG | Port, Rail terminal, Road terminal | Adopted by an international organisation (e.g. IATA/ECLAC) |
MARAK | Marrakech 📍 | Rail terminal, Road terminal, Airport | Adopted by an international organisation (e.g. IATA/ECLAC) | |
MARBA | Rabat | Port, Airport | Adopted by an international organisation (e.g. IATA/ECLAC) | |
MAREM | Ras El Ma 📍 | NAD | Port, Multimodal | Approved by a competent national government agency |
MARNA | Roches Noires 📍 | MOH | Port, Road terminal | Recognised location |
MASAL | Salé 📍 | Port | Recognised location | |
MASDB | Sidi Bennour 📍 | JDI | Road terminal, Multimodal | Approved by a competent national government agency |
MASDC | Souk Et Tnine Des Chtouka 📍 | JDI | Multimodal | Approved by a competent national government agency |
MASEK | Ksar Es Souk | Airport | Adopted by an international organisation (e.g. IATA/ECLAC) | |
MASEL | Slimane 📍 | KES | Road terminal | Recognised location |
MASET | Settat | — | Recognised location | |
MASFF | Sefrou 📍 | FES | Road terminal, Multimodal | Recognised location |
MASFI | Safi | Port, Airport | Adopted by an international organisation (e.g. IATA/ECLAC) | |
MASGD | Sebt Guerdane 📍 | TAR | Road terminal | Approved by a competent national government agency |
MASID | Sidi Bibi 📍 | 13 | Road terminal | Recognised location |
MASII | Sidi Ifni | Port | Adopted by an international organisation (e.g. IATA/ECLAC) | |
MASIK | Sidi Kacem | Road terminal | Recognised location | |
MASLE | Selouane 📍 | NAD | Multimodal | Approved by a competent national government agency |
MASMD | Aït Melloul 📍 | 13 | Port, Multimodal | Recognised location |
MASMW | Smara | Airport | Adopted by an international organisation (e.g. IATA/ECLAC) | |
MASRH | Sidi Rahal 📍 | JDI | Road terminal | Recognised location |
MASSO | Souk Sebt des Oulad Nemâa 📍 | BEM | Road terminal | Recognised location |
MAT4R | Oulad Teima 📍 | TAR | Road terminal | Approved by a competent national government agency |
MATAF | Tafraout 📍 | TIZ | Road terminal | Approved by the UN/LOCODE Maintenance Agency |
MATAL | Talsint 📍 | FIG | Road terminal | Approved by the UN/LOCODE Maintenance Agency |
MATAR | Taroudannt 📍 | TAR | Road terminal | Recognised location |
MATAT | Tata 📍 | TAR | Road terminal | Recognised location |
MATAZ | Taza | Road terminal | Recognised location | |
MATEM | Temara | 06 | Port | Recognised location |
MATFY | Tarfaya | Airport | Adopted by an international organisation (e.g. IATA/ECLAC) | |
MATHI | Tinerhir 📍 | OUA | Road terminal | Recognised location |
MATIN | Tinghir 📍 | TIN | Road terminal | Recognised location |
MATNG | Tangier 📍 | Port, Airport, Postal exchange | Adopted by an international organisation (e.g. IATA/ECLAC) | |
MATNT | Taounate 📍 | Multimodal | Recognised location | |
MATRD | Taroudant 📍 | TAR | Road terminal, Airport, Multimodal | Approved by a competent national government agency |
MATRE | Tardane 📍 | LAR | Road terminal | Approved by a competent national government agency |
MATTA | Tan Tan | Airport | Adopted by an international organisation (e.g. IATA/ECLAC) | |
MATTU | Tétouan 📍 | Port, Airport | Adopted by an international organisation (e.g. IATA/ECLAC) | |
MATZI | Tiznit 📍 | TIZ | Road terminal | Recognised location |
MATZU | Tou Zikou 📍 | AGD | Road terminal | Recognised location |
MAVIL | Dakhla | Port, Airport | Adopted by an international organisation (e.g. IATA/ECLAC) | |
MAYSS | Youssoufia 📍 | SAF | Road terminal | Recognised location |
MAZIE | Imintanoute 📍 | CHI | Multimodal | Recognised location |
MAZSA | Saidia 📍 | OUJ | Multimodal | Recognised location |
MAZSB | Skhirat 📍 | Multimodal | Recognised location | |
MAZZ4 | Ksar el Kebir 📍 | LAR | Road terminal | Recognised location |
What the functions mean
The "Functions" column decodes the UN/LOCODE 8-position function classifier. A location can serve more than one transport function:
- Port — any sea, river or lake port for waterborne transport.
- Rail terminal — a rail freight/cargo terminal.
- Road terminal — a road freight/cargo terminal.
- Airport — a location with an airport.
- Postal exchange — a postal exchange office.
- Multimodal — an inland clearance depot or multimodal function (ICD/dry port).
- Fixed transport — a fixed transport function such as an oil or gas pipeline terminal.
- Border crossing — a border crossing point.
The "Status" column shows how the entry was approved (for example, Approved by a competent national government agency or Recognised location).
Working with shipments to or from Morocco? Validate box IDs with the container number validator and classify goods with the HS code lookup.
Frequently asked questions
What is a UN/LOCODE for Morocco?
A UN/LOCODE for Morocco is a 5-character code that starts with the ISO 3166 country code MA followed by a 3-character location code (letters or digits) — for example a port, airport, rail or road terminal, or border crossing. Morocco has 122 such locations in the official UNECE UN/LOCODE list. The codes are used in customs declarations, EDI messages and shipping documents.
How many UN/LOCODE locations does Morocco have?
Morocco has 122 UN/LOCODE locations. The most common functions are Road terminal, Port, Airport.
What do the UN/LOCODE function codes mean?
Each UN/LOCODE entry has an 8-position function classifier. In order, the positions are: Port, Rail terminal, Road terminal, Airport, Postal exchange, Multimodal (inland clearance depot), Fixed transport (e.g. pipeline), and Border crossing. A position is active when it is not a hyphen or a zero, so one location can combine several functions.
Look up or validate MA location codes
Search any UN/LOCODE with the free UN/LOCODE lookup tool, or check a whole list at once with the bulk UN/LOCODE checker.
Data: UN/LOCODE list published by UNECE (United Nations Economic Commission for Europe). Suggested reference, not an official determination.