Skip to main content
Free Tool

Maestro Card Number Validator

Check whether a number looks like a valid Maestro debit card: the prefix, the 12 to 19 digit length and the Luhn check digit. Everything runs in your browser.

Try a test card number

Maestro card number format at a glance

Starts with (IIN)5018, 5020, 5038, 5893; 6304, 6759, 6761 to 6763; Other 50 and 56 to 69 ranges
Length12 to 19 digits (16 is most common)
Security codeCVC2, 3 digits, back of the card (some Maestro cards have none)
Luhn check digitYes. The last digit is a Luhn (mod 10) check digit.
Issued inHistorically Europe, plus parts of Latin America and Asia. Mastercard is phasing Maestro out in Europe in favor of Debit Mastercard.
Network operatorMastercard

Maestro IIN (BIN) ranges

PrefixNotes
5018, 5020, 5038, 5893
6304, 6759, 6761 to 6763
Other 50 and 56 to 69 rangesMastercard assigns further Maestro ranges; confirm with a BIN lookup

What the first digits mean

Maestro is a Mastercard debit brand, so its numbers start with 5 or 6 (ISO/IEC 7812 banking and merchandising categories). Unlike Visa or Amex there is no single prefix: the common ones are listed above, and Mastercard assigns further ranges inside 50 and 56-69.

A prefix tells you the network, not the bank. To see the issuing bank, country and card type behind a Maestro BIN, use the BIN lookup tool or browse the full Maestro BIN list.

Worked Luhn example with a Maestro test number

This uses a public test number from the YooKassa testing docs. It passes every format check but is not a real account, so it cannot be charged.

Number: 6759 6498 2643 8453 (16 digits)

  1. Start from the rightmost digit (the check digit) and move left.
  2. Double every second digit, starting with the one just left of the check digit.
  3. If doubling gives a number above 9, subtract 9 (same as adding its two digits).
  4. Add every value together. The number is valid if the total ends in 0.
Digit6759649826438453
Double?x2=12-x2=10-x2=12-x2=18-x2=4-x2=8-x2=16-x2=10-
Value3719349846837413

Total: 80. 80 mod 10 = 0, so the number passes the Luhn check.

Working backwards: without the check digit, the other digits add up to 77. The check digit is whatever brings that total to the next multiple of 10: (10 - 7) mod 10 = 3, which matches the last digit.

Why a valid Maestro card number still declines

Passing the Luhn and length checks only proves the number is well formed. Whether the payment goes through is decided by the issuer, and these are the common reasons a Maestro card is still declined:

  • Card-not-present not supported

    Some Maestro cards were issued for in-person use only, and some acquirers do not accept Maestro for online or recurring payments.

  • Missing security code

    Some Maestro cards have no CVC2. Checkouts that require a 3-digit code block those customers.

  • Insufficient funds

    The number is fine, but the account cannot cover the amount right now. This is a soft decline: retrying after payday or once the balance recovers often succeeds.

  • Expired or replaced card

    Luhn and length checks never look at the expiry date. A card reissued after loss, fraud or expiry keeps failing until the customer updates it or a card updater service supplies the new details.

  • Issuer fraud rules

    Unusual amounts, a new merchant, or a country mismatch between the card and the customer can trigger a "do not honor" or suspected fraud decline even on a perfectly valid number.

Look up the exact response code in the Mastercard decline codes to see whether it is a soft decline worth retrying or a hard decline that needs the customer.

Maestro card number FAQ

How many digits is a Maestro card number?

A Maestro card number is 12 to 19 digits (16 is most common). The last digit is a check digit calculated with the Luhn algorithm.

What does a Maestro card number start with?

Maestro card numbers start with 5018, 5020, 5038, 5893, 6304, 6759 or 6761 to 6763. Maestro ranges sit close to Mastercard, Discover and UnionPay ranges. Use a BIN lookup to confirm.

What is the CVC2 on a Maestro card?

The CVC2 (Card Validation Code 2) is the 3-digit security code on the back of the card (some Maestro cards have none). It is not part of the card number, so a number validator cannot check it.

Do Maestro card numbers use the Luhn algorithm?

Yes. The last digit is a Luhn (mod 10) check digit.

Why would a valid Maestro card number still be declined?

A valid number only proves the format is right. Card-not-present not supported, Missing security code, Insufficient funds are common reasons a Maestro payment still fails.

Cookie preferences

Your privacy matters

We use analytics to understand how you use our site and improve your experience. Privacy Policy