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 |
| 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 |
| 252502 | Credit Agricole du Maroc | Mastercard | Debit · Standard | Use |
One BIN per bank — the most common Visa or Mastercard product of each of the largest issuers. 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 31 issuers. Visa is the most common network (38% of the BINs), followed by Maestro (28%). Debit ranges outnumber credit ranges 333 to 83. 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 31 named issuers. Each bank with ten or more BINs has a page listing all of them.
| 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% |
| 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% |
| Banque Marocaine pour le Commerce et L'Industrie | 13 | Visa | 92% |
| 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 country: fraud rules often compare the BIN country (MA) with the shopper's IP address and billing address. Generate numbers with a BIN from Morocco to test the domestic path, and with a foreign BIN to test cross-border rules.
- Debit vs credit: 80% of the BINs from Morocco are debit ranges. If your checkout treats debit differently (fees, installments, recurring billing), test with a BIN of each type from the table above.
- Domestic card payments are processed through the CMI (Centre Monétique Interbancaire).
Generated numbers only pass format checks: network prefix, length and the Luhn checksum. They are not issued by any bank in Morocco, carry no money and are declined by every real payment system — use them for forms, validation and BIN rules, and switch to your gateway's documented test cards for approvals and declines.
← 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. The generator on this page starts every number 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. No bank issued the number, so it carries no account and real payments with it are declined.
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); 409572 (Credit du Maroc, S.A.); 431441 (Banque Marocaine du Commerce Exterieur). 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). A card from any country can pay in any currency the merchant supports; the issuer handles conversion.
Will these numbers pass a payment gateway?
They pass format checks — length, network prefix and the Luhn checksum — so they are ideal for testing form validation and BIN-based rules. Gateways in test mode want their own documented test cards for approvals and declines; in live mode every generated number is declined because no bank has issued it.