ISO 4217 currency code
MAD: Moroccan Dirham
Written and maintained by ZagTrader. Last reviewed . How this page is sourced and checked
MAD is the ISO 4217 code of the Moroccan Dirham, used in Morocco and Western Sahara. Its numeric code is 504 and it has 2 decimals.
- Alphabetic code
- MAD
- Numeric code
- 504
- Minor units
- 2
- Type
- Currency
Where MAD is used
- Morocco
- Western Sahara
MAD in financial messages
| Standard | How it is written | Example |
|---|---|---|
| Swift MT, field 32A | Value date, currency code and amount with a comma as the decimal mark and no separators | :32A:261022MAD1250,75 |
| ISO 20022 | The Ccy attribute of the amount element; a dot as the decimal mark | <IntrBkSttlmAmt Ccy="MAD">1250.75</IntrBkSttlmAmt> |
| FIX | Tag 15 Currency (and 120 SettlCurrency), with the amounts in their own tags | 15=MAD |
See how to read field 32A, the MT103 and pacs.008 pages, or paste a message into the parser to check its amounts against the currency.
Questions
- What is the currency code of the Moroccan Dirham?
- MAD, with the numeric code 504 (ISO 4217).
- How many decimals does MAD have?
- 2. An amount in MAD can have up to 2 digits after the decimal mark.
- Which countries use MAD?
- Morocco and Western Sahara, according to ISO 4217 list one.
- What is currency code 504?
- 504 is the ISO 4217 numeric code of MAD (Moroccan Dirham). Numeric codes are often the same as the ISO 3166 numeric code of the country.
GCC currencies
Source: ISO 4217 list one, published 17 September 2026 by SIX Group as the ISO 4217 maintenance agency. ISO is a trademark of the International Organization for Standardization; ZagTrader is not affiliated with ISO or SIX Group.