Skip to content

Phone validator, +261

This free phone number checker for Madagascar shows whether a number is valid.

Type a number with or without +261. The check reads it against the numbering plan for Madagascar in Google's libphonenumber metadata and returns its status, line type and E.164 form.

Try an example
ValidExample
E.164
+12015550123
National
(201) 555-0123
Country
United States (US)
Calling code
+1
Line type
Landline or mobile
Carrier (range holder)
Not available
Region
New Jersey
Time zones
America/New_York
Current carrier (live network)
Unlock with a free account
Ported number
Unlock with a free account
MCC / MNC
Unlock with a free account
Bulk CSV upload
Unlock with a free account
API access
Unlock with a free account

Unlock with a free account

These fields need an API key. The free plan includes 100 credits every month, no card required.

Unlock these fields

A mobile number from Madagascar is +261 followed by 9 digits, and the first one is 3.

Digits after +261
9
Starts with
32–39
From abroad
+261 32 12 345 67
Written at home
032 12 345 67
E.164
+261321234567

After +261, a mobile number starts with 32–39. Inside Madagascar it is written 032 12 345 67.

Landline numbers never start with 3, so the first digit tells a mobile number from a landline.

A landline number from Madagascar is +261 followed by 9 digits, and the first one is 2.

Digits after +261
9
Starts with
20
From abroad
+261 20 21 234 56
Written at home
020 21 234 56
E.164
+261202123456

After +261, a landline number starts with 20. Inside Madagascar it is written 020 21 234 56.

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.

Inside Madagascar, numbers are dialed with a 0 that disappears after +261.

The 0 is a trunk prefix: it is dialed only inside Madagascar, and an international or E.164 number never includes it.

Written at home
032 12 345 67
From abroad
+261 32 12 345 67
E.164
+261321234567

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

How many digits does a phone number from Madagascar have?
Counting only the digits after +261, landline numbers have 9 and mobile numbers have 9.
What do mobile numbers from Madagascar start with?
After +261, a mobile number from Madagascar starts with 32–39. Landline numbers never start with 3, so the first digit tells a mobile number from a landline.
Should I keep the 0 after +261?
No. 0 is the trunk prefix, dialed only inside Madagascar. After +261 the national number follows directly: +261 32 12 345 67, stored as +261321234567. The check still accepts +261 032 12 345 67 and returns +261321234567.
Does a valid result mean a number from Madagascar is in use?
No. Valid means the number fits the numbering plan of Madagascar: a possible length and a range that exists for its line type. It does not tell whether anyone holds the number today.
How should I store a number from Madagascar?
In E.164 form: a plus sign, the country code 261, then the national number without spaces or trunk prefix, such as +261321234567. That is the form the check returns.
Where do these rules come from?
From the numbering plan metadata for Madagascar in Google's libphonenumber v9.0.44, read through libphonenumber-js 1.13.17. The same metadata drives the free check on this page.

Numbering plan from Google's libphonenumber v9.0.44 metadata, read through libphonenumber-js 1.13.17.

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