🇲🇦Morocco (MA)
ISO 3166 country code - Africa / Northern Africa
About Morocco
Morocco (MA) is located in Africa, Northern Africa. The official currency is the Moroccan Dirham (MAD). It has 75 administrative subdivisions defined in ISO 3166-2.
Alpha-2MA
Alpha-3MAR
Numeric504
Currency
د.م. MAD - Moroccan Dirham
Code Example
import { country } from '@koshmoney/countries';
// Look up Morocco by alpha-2 code
const ma = country.getCountry('MA');
// => { name: 'Morocco', alpha2: 'MA', alpha3: 'MAR', numeric: '504' }
// Look up by alpha-3 code
country.getCountryByAlpha3('MAR');
// Look up by numeric code
country.getCountryByNumeric('504');Subdivisions (75)
| Code | Name | Type |
|---|---|---|
| MA-01 | Tanger-Tétouan-Al Hoceïma | Region |
| MA-02 | L'Oriental | Region |
| MA-03 | Fès-Meknès | Region |
| MA-04 | Rabat-Salé-Kénitra | Region |
| MA-05 | Béni Mellal-Khénifra | Region |
| MA-06 | Casablanca-Settat | Region |
| MA-07 | Marrakech-Safi | Region |
| MA-08 | Drâa-Tafilalet | Region |
| MA-09 | Souss-Massa | Region |
| MA-10 | Guelmim-Oued Noun | Region |
| MA-11 | Laâyoune-Sakia El Hamra | Region |
| MA-12 | Dakhla-Oued Ed-Dahab | Region |
| MA-AGD | Agadir-Ida-Outanane | Prefecture |
| MA-AOU | Aousserd | Prefecture |
| MA-ASZ | Assa-Zag | Province |
Showing 15 of 75. View all 75 subdivisions →
FAQ
- What is the ISO code for Morocco?
- Morocco has three ISO 3166-1 codes: Alpha-2 "MA", Alpha-3 "MAR", and Numeric "504".
- How many subdivisions does Morocco have?
- Morocco has 75 subdivisions defined in ISO 3166-2, including Tanger-Tétouan-Al Hoceïma, L'Oriental, Fès-Meknès, and more.
- How to look up Morocco in JavaScript?
- Install @koshmoney/countries via npm, then use country.getCountry('MA') to get all ISO codes, or subdivision.getByCountry('MA') for subdivisions.
Related Countries
Use Morocco data in your project
Get ISO codes, subdivisions, currency, and more with a single npm package.
npm install @koshmoney/countries