Skip to content

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.

TypeDigits after +261Starts withExample
Landline920+261 20 21 234 56
Mobile932–39+261 32 12 345 67
VoIP922+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.

  1. 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.

  2. One digit missing

    Invalid

    +261 32 12 345 6

    One digit shorter than +261 32 12 345 67. The check returns Invalid.

  3. One digit too many

    Invalid

    +261 32 12 345 670

    One digit longer than +261 32 12 345 67. The check returns Invalid.

  4. The wrong country selected

    Invalid

    032 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?
+261. Dial it before the national number when you call Madagascar from another country, and keep it at the start of every stored number, as in +261321234567.
How do I call Madagascar from the United States?
Dial 011, the international prefix of the United States, then 261, then the national number without its trunk prefix 0: 011 261 32 12 345 67.
What is the trunk prefix of Madagascar?
0. It is dialed before the national number inside Madagascar only, as in 032 12 345 67, and is dropped after +261.
How do I call abroad from Madagascar?
Dial 00, then the country code and the number. On a mobile phone, + works in place of 00.
What time zone are numbers from Madagascar in?
libphonenumber maps them to Indian/Antananarivo.

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 licenses

Put 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