Morocco Phone Number Validator & Carrier Lookup
In Morocco, each mobile prefix maps to one operator — 0661 is Maroc Telecom, 0665 Orange, 0600 Inwi — yet since portability arrived in 2007 the prefix no longer tells you who serves a number today. Veriphone returns the originally allocated operator and line type from the national numbering plan, and resolves the network serving a ported number with mode=current.
Try it — Morocco numbers
Free — no account required. Protected by reCAPTCHA.
Morocco phone number format
Morocco numbers carry the +212 country code with a national trunk prefix of 0, dropped in E.164 format. Mobile and fixed-line ranges are distinguished by their leading digits and returned as a line_type you can filter on.
Morocco mobile operators & prefixes
Each mobile prefix is allocated to a specific operator. Veriphone returns that operator from the ANRT (Agence Nationale de Réglementation des Télécommunications) numbering plan, along with line type.
Plus a smaller allocation: Al Hourria Telecom. Veriphone resolves each to its host network.
Fixed-line area codes
For landline numbers, Veriphone returns the city or region where the numbering plan resolves one. Mobile numbers are non-geographic and carry no city.
Questions about Morocco number validation
Can you tell Maroc Telecom, Orange, and Inwi apart from the prefix?
For the original allocation, yes — each mobile prefix belongs to one operator (for example 0661 is Maroc Telecom, 0665 is Orange, 0600 is Inwi), and Veriphone returns it from the full numbering plan. The catch is portability: since 2007 a number can keep its prefix after switching networks, so a 0661 number is not guaranteed to be on Maroc Telecom today. Use a Standard lookup for the allocated operator; add mode=current to resolve the network serving a ported number now.
Does Veriphone resolve ported Moroccan numbers to the current operator?
Yes — with mode=current. A Current lookup resolves the number's serving operator from national portability records and returns it alongside the original allocation on record, with a ported flag. Standard lookups return the originally allocated operator only. A common pattern is to validate everything with Standard, then run Current on the subset where the serving operator matters. Current lookups do not indicate whether a device is switched on or reachable.
How do I filter mobiles from landlines for an SMS campaign?
Moroccan mobile numbers begin with 06 or 07; fixed lines begin with 05. The line_type field returns mobile or fixed_line directly, so you can filter on mobile before sending rather than parsing prefixes yourself.
Can it tell which city a Moroccan landline is in?
For part of the fixed-line range, yes — the response includes a city or region where the numbering plan resolves one (for example Casablanca or Rabat). Elsewhere it returns the country. Mobile numbers are not geographic and carry no city.
Start validating Morocco phone numbers
1,000 free lookups. No credit card. Carrier and line type on every valid number.
Create free account