The country code of Madagascar is +261.
How Madagascar phone numbers are written and dialed
- Calling code
- +261
- Trunk prefix
- 0
- International prefix
- 00
- Number lengths
- 9
- Example mobile
- +261 32 12 345 67
- Example landline
- +261 20 21 234 56
To call Madagascar from abroad, dial +261 and drop the trunk prefix 0.
From another country, dial your international access code (00 in most of the world, 011 from the United States and Canada, or + on a mobile phone), then 261, then the national number.
Inside Madagascar, national numbers are dialed with the trunk prefix 0, which you drop after +261 when calling from abroad.
A valid Madagascar number has 9 digits after the country code.
To call abroad from Madagascar, dial 00 before the foreign country code.
- From abroad
- +261 32 12 345 67
- Written at home
- 032 12 345 67
- E.164
- +261321234567
Numbers from Madagascar come in 3 types, each with its own first digits.
Each row is a line type of the numbering plan, with the number of digits after +261 and the digits it starts with.
| Type | Digits after +261 | Starts with | Example |
|---|---|---|---|
| Landline | 9 | 20 | +261 20 21 234 56 |
| Mobile | 9 | 32–39 | +261 32 12 345 67 |
| VoIP | 9 | 22 | +261 22 12 345 67 |
Examples come from Google's libphonenumber metadata. They are valid in format and are not assigned to real people.
Numbers from Madagascar map to the Indian/Antananarivo time zone.
Every range of Madagascar in libphonenumber's time zone file points to Indian/Antananarivo.
- Indian/Antananarivo
4 common mistakes with numbers from Madagascar: 3 of them fail the check
Each example below was run through the same check as the tool on this page, starting from the valid number +261 32 12 345 67.
Keeping the 0 after +261
Valid+261 032 12 345 67
The trunk prefix 0 is only dialed inside Madagascar: after +261 it does not belong. The check reads it as +261321234567 anyway. Store that E.164 form: a system that compares numbers as text would see two different numbers.
One digit missing
Invalid+261 32 12 345 6
One digit shorter than +261 32 12 345 67. The check returns Invalid.
One digit too many
Invalid+261 32 12 345 670
One digit longer than +261 32 12 345 67. The check returns Invalid.
The wrong country selected
Invalid032 12 345 67
Typed as a national number with Zambia selected in the country menu, it is read as a number on +260. The check returns Invalid.
Frequently asked questions
What is the country code of Madagascar?
How do I call Madagascar from the United States?
What is the trunk prefix of Madagascar?
How do I call abroad from Madagascar?
What time zone are numbers from Madagascar in?
Numbering plan from Google's libphonenumber v9.0.44 metadata, read through libphonenumber-js 1.13.17.
Time zones from libphonenumber's resources/timezones/map_data.txt.
All data sources and licensesPut this check in your product
Get an API key in under a minute. 100 free credits every month, no card required.
- 100 free credits a month
- No card
- Test keys spend nothing
- Cancel any time