Real BINs from banks in Morocco
The generator above is preset with BIN 401713, a Visa debit range of Attijariwafa Bank. Pick another bank's BIN below to switch — each number keeps the BIN, gets random digits and a Luhn check digit, and comes with a random expiry date and CVV.
| BIN | Issuer | Network | Type · level | Use this BIN |
|---|---|---|---|---|
| 401713 | Attijariwafa Bank | Visa | Debit · Classic | Use |
| 455219 | Societe Generale Marocaine de Banques | Visa | Debit · Classic | Use |
| 252500 | Banque Centrale Populaire | Mastercard | Debit · Standard | Use |
| 524889 | Bank of Africa | Mastercard | Debit · Standard | Use |
| 422630 | Banque Marocaine pour le Commerce et L'Industrie | Visa | Debit · Classic | Use |
| 252525 | Credit Immobilier et. Hotelier | Mastercard | Debit · Standard | Use |
| 409572 | Credit du Maroc, S.A. | Visa | Debit · Classic | Use |
| 431441 | Banque Marocaine du Commerce Exterieur | Visa | Debit · Classic | Use |
The largest issuers in Morocco, one typical Visa or Mastercard BIN each. All 252 BINs with a named issuer are in the Morocco BIN list.
Card networks and card types in Morocco
Morocco has 416 BINs in the dataset; 252 name the issuing bank, spread over 30 issuers. Visa is the most common network (38% of the BINs), followed by Maestro (28%). Debit ranges outnumber credit ranges 333 to 83. Visa and Mastercard hold a similar number of ranges. 24 ranges are prepaid or gift products and 35 are business, corporate or commercial cards.
| Network | BINs | Share | Debit | Credit |
|---|---|---|---|---|
| Visa | 158 | 38% | 137 | 21 |
| Maestro | 115 | 28% | 115 | 0 |
| Mastercard | 111 | 27% | 76 | 35 |
| Diners Club | 13 | 3% | 0 | 13 |
| American Express | 11 | 3% | 0 | 11 |
| Private label | 4 | 1% | 1 | 3 |
| Local brand | 4 | 1% | 4 | 0 |
Most common product levels: Standard (172), Classic (54), Gold (20), Platinum (19), Business (16).
Largest card issuers in Morocco
The 10 banks with the most BINs in the data, out of 30 named issuers. Attijariwafa Bank, Societe Generale Marocaine de Banques and Banque Centrale Populaire alone account for 33% of the named BINs in Morocco. Follow a bank name for its complete list of ranges.
| Issuer | BINs | Main network | Debit |
|---|---|---|---|
| Attijariwafa Bank | 41 | Visa | 88% |
| Societe Generale Marocaine de Banques | 22 | Mastercard | 82% |
| Banque Centrale Populaire | 21 | Mastercard | 86% |
| Bank of Africa | 20 | Mastercard | 70% |
| Banque Marocaine pour le Commerce et L'Industrie | 20 | Visa | 85% |
| Credit Immobilier et. Hotelier | 19 | Mastercard | 63% |
| Credit du Maroc, S.A. | 16 | Visa | 81% |
| Banque Marocaine du Commerce Exterieur | 14 | Visa | 79% |
| Credit Agricole du Maroc | 14 | Mastercard | 93% |
| Al Barid Bank | 11 | Mastercard | 91% |
Payment testing notes for Morocco
- Currency: MAD (Moroccan dirham). Most gateway APIs expect amounts in the smallest unit, for example 1050 for 10.50.
- Card authentication: 3-D Secure has been generalised for Moroccan cards online since January 2014, and 3-D Secure 2.0 was rolled out from April 2022. Source
- Card country: Many risk engines flag a mismatch between the card's issuing country (MA), the IP address and the billing country. Test both: a local BIN from the table, then a BIN from another country.
- Debit vs credit: Debit makes up 80% of the ranges here; only 4 of the other 62 countries we cover have a higher debit share. Card type matters for surcharges, installment plans and stored-card billing: test each.
- Billing details: postcodes in Morocco are 5 digits (e.g. 20000); phone numbers use +212 — 9-digit national number (0 + 9 digits locally); mobiles start with 6 or 7, landlines with 5.
- Domestic card payments are processed through the CMI (Centre Monétique Interbancaire).
Paying online in Morocco: local methods and gateways
Cards are only part of the picture. These payment methods are popular in Morocco and usually sit next to the card form at checkout:
- Wafacash (cash voucher) — Cash payment of online orders at Wafacash agencies, offered through dLocal. Source
Payment gateways developers commonly integrate for Morocco, with their official sandbox docs:
| Gateway | About | Test cards |
|---|---|---|
| CMI (Centre Monétique Interbancaire) | Moroccan interbank card processor through which merchants accept card payments online. | – |
| YouCan Pay | Moroccan PSP with a sandbox mode (pub_sandbox_ keys) and documented test cards, including 3DS simulation. | Official docs |
| dLocal | Accepts Visa, Mastercard and UnionPay plus Wafacash cash payments in Morocco. | – |
Card generators for other countries
← Generators for other countries · Morocco BIN list · BIN generator · BIN checker
BIN data: bin-list-data by Venelin Kochev (a lite version of binlookup.io), licensed under CC BY 4.0. Changes made by Fakecreditcard: issuer, brand and country names re-cased and standardized, spelling variants of the same issuer merged, malformed phone numbers and web addresses removed.
Frequently asked questions
Can I generate a Morocco credit card number for testing?
Yes. Every number on this page starts with a real BIN registered to a bank in Morocco — by default 401713 (Attijariwafa Bank, Visa debit). The remaining digits are random and the last one is a Luhn check digit. None of them is a real card; live payments fail.
Which card networks are most common in Morocco?
By BIN count in our data: Visa 38%, Maestro 28%, Mastercard 27%, Diners Club 3%. Debit ranges make up 80% and credit ranges 20%.
Which BINs do Visa cards from Morocco start with?
Examples from different banks: 401713 (Attijariwafa Bank); 455219 (Societe Generale Marocaine de Banques); 422630 (Banque Marocaine pour le Commerce et L'Industrie); 409572 (Credit du Maroc, S.A.). See the Morocco BIN list for every bank.
Which currency should I use to test payments from Morocco?
MAD (Moroccan dirham). Gateway APIs usually expect amounts in the smallest unit (for example 1050 for 10.50). Shoppers with cards from Morocco can still be charged in other currencies; their bank converts the amount.
Is a generated Morocco card number a real card?
They do not. A generated number only has the right shape; Attijariwafa Bank or any other issuer has never heard of it, so authorization always fails. Real alternatives: a virtual card from a bank in Morocco. Testing a checkout? Use your gateway’s sandbox test cards.
Which payment methods should a checkout for Morocco offer next to cards?
Wafacash: Cash payment of online orders at Wafacash agencies, offered through dLocal.