Madagascar IBAN validator
How the IBAN format works
- Format
- MG + 2 check digits + 25 digits (27 chars) — used in practice, not in the official SWIFT IBAN registry
- Example
- MG9400000000000000000100016
Things to watch for
- Madagascar is not in the official SWIFT IBAN registry — this 27-character format is used in practice by Malagasy banks, not formally standardized by SWIFT/ECBS
- Unlike its Indian Ocean neighbor Mauritius, an official SWIFT IBAN registry member, Madagascar's IBAN-style format has no formal SWIFT/ECBS backing
- Checks format and checksum only — does not confirm the account exists or is held at a real Malagasy bank
^MG[0-9]{25}$A Malagasy IBAN-style account number is 27 characters: “MG”, two check digits, then 25 digits with no letters anywhere — for example MG9400000000000000000100016. Madagascar, the large island nation off Africa’s southeastern coast, is not in the official SWIFT/ECBS IBAN registry — a contrast with its Indian Ocean neighbor Mauritius, which is a registered member with a formally standardized IBAN. Comoros, further north in the same ocean, shares Madagascar’s unregistered status and also uses a 27-character all-numeric format.
Madagascar’s own currency, the ariary (MGA), and its own central bank, Banky Foiben’i Madagasikara, operate independently of both the CFA franc zones on the African mainland and any SWIFT-recognized IBAN framework.
How this validator works
This tool checks the “MG” prefix, confirms exactly 25 digits follow the two check digits, and runs the mod-97 checksum (ISO 7064) a correctly formed Malagasy account number satisfies. Everything happens in your browser, with nothing sent to a server.
What a pass doesn’t tell you
A pass confirms the 27 characters are internally consistent — not that the account is open or that Madagascar has formal SWIFT IBAN registration. This tool performs no lookup against Banky Foiben’i Madagasikara or any Malagasy bank.
Scope: format and mod-97 checksum validation only, for a format used in practice but not SWIFT-registered — not payment processing or account confirmation.
Content last reviewed 2026-08-10.
IBAN FAQ
Is Madagascar an official IBAN registry country?
No. Madagascar is not in the official SWIFT/ECBS IBAN registry, unlike its Indian Ocean neighbor Mauritius. Malagasy banks use a 27-character, all-numeric IBAN-shaped account number satisfying the mod-97 checksum without formal SWIFT backing.
What does a Malagasy IBAN-style number look like?
27 characters: 'MG', two check digits, then 25 digits and no letters — for example MG9400000000000000000100016.
Does this tool confirm the account is active at a Malagasy bank?
No. It checks structure and the mod-97 checksum only, entirely client-side. Confirming an account requires the account-holder's bank or Banky Foiben'i Madagasikara, the central bank.