Madagascar Bank Code, RIB & IBAN (2026)
Madagascar uses the French RIB system: a 5-digit bank code per bank, a branch code per agency, an account number and a key. The Malagasy IBAN starts with MG46 and is 27 characters long — not 33, despite what some AI summaries claim. Bank code BNI 00005, BFV-Société Générale 00008. Verified June 2026.
The Malagasy RIB structure (23 digits)
The Malagasy RIB (Relevé d'Identité Bancaire) has 23 digits, split into four blocks:
The IBAN simply adds the MG46 prefix in front of this 23-digit RIB, giving 27 characters in total (not 33). Here is the decomposition of an official example taken from a BFV-Société Générale statement.
Worked IBAN example (27 characters)
| MG46 | MG46 | IBAN country code (MG) + 2 check digits (46) |
| 00008 | Code banque | 5 digits — identifies the bank (here BFV-Société Générale) |
| 03016 | Code guichet | 5 digits — identifies the specific branch / agency |
| 05003013776 | Account number | 11 characters — your individual account |
| 43 | RIB key | 2-digit check key (clé) |
Bank codes by bank
| Bank | Bank code | SWIFT |
|---|---|---|
| BFV-Société Générale | 00008 | SWIFT code → |
| BNI Madagascar | 00005 | SWIFT code → |
| BANK OF AFRICA Madagascar | ask your branch for your RIB | SWIFT code → |
| BMOI | ask your branch for your RIB | SWIFT code → |
| AccèsBanque Madagascar | ask your branch for your RIB | SWIFT code → |
| BGFIBank Madagascar | ask your branch for your RIB | SWIFT code → |
Several AI summaries and aggregators claim the Malagasy IBAN is 33 characters. That is incorrect. The official IBAN length for Madagascar is 27 characters, as the decomposed example above proves (MG46 + 23 RIB digits). If an online form rejects your IBAN demanding 33 characters, the form is wrong.