sms compliance

Sent logo
Sent TeamMar 8, 2026 / sms compliance / mauritania

Mauritania Phone Numbers: +222 Country Code Format, Validation & Compliance Guide

Complete guide to Mauritania phone number validation and formatting. Learn +222 country code structure, 8-digit NSN format, ARE regulatory compliance, biometric SIM registration, and integrate with Chinguitel, Mauritel, and Mattel operators.

Mauritania Phone Numbers: Complete Guide to +222 Format, Validation & ARE Compliance

Master Mauritania's phone numbering system with this comprehensive guide. Learn to validate and format +222 phone numbers, understand the 8-digit National Significant Number (NSN) structure, implement ARE regulatory compliance, and integrate with the three major mobile operators (Chinguitel, Mauritel, Mattel).

Quick Reference

  • Country: Mauritania
  • Country Code: +222
  • International Prefix: 00
  • National Prefix: None
  • National Significant Number (NSN) Length: 8 digits

How Does Mauritania's Phone Number System Work?

Mauritania uses an 8-digit National Significant Number (NSN) plan regulated by the Autorité de Régulation Multisectorielle (ARE). The country transitioned from 7-digit to 8-digit phone numbers in 2011 1. Operator prefixes and service codes distinguish number types – the system avoids complex area codes for simplicity, similar to the E.164 international phone number format.

Mauritania Phone Number Structure Explained

Mauritanian phone numbers consist of an 8-digit NSN preceded by the country code (+222) for international calls. The NSN structure varies by service type.

+222 XXXXXXXX └──────── National Significant Number (NSN – 8 digits)

Number Categories and Formats

Quick Format Comparison:

TypeFormatExampleUse Case
Landline25[08]XXXXX, 35[0-9]XXXXX, 45[0-7]XXXXX45131234Fixed-line services
Mobile[2-4][0-9]XXXXXX22440461Mobile services
Toll-Free800XXXXX80012345Free-call services
Emergency1XX117, 118, 101Emergency services
International+222 XXXXXXXX+222 22440461E.164 format

Here's a breakdown of Mauritanian number categories and formats 1:

  • Landline Numbers: Landline prefixes indicate the service provider and geographic location. While Mauritania doesn't use traditional area codes, the initial digits serve this purpose.

    • Format: 25[08]XXXXX, 35[0-9]XXXXX, 45[0-7]XXXXX
    • Examples: 25080831, 45131234, 35798765
    • Geographic Mapping: Prefixes 250 and 258 indicate fixed-line services, while 45 serves Nouakchott and surrounding regions. Specific codes include 4513 (Néma), 4515 (Aîoun), 45000 (Kaédi), 4534 (Sélibaby), 4537 (Aleg), 4544 (Zouérat), 4546 (Atar), 4550 (Boghé), 4563 (Kiffa), 4569 (Rosso/Tidjikja), and 4574 (Nouadhibou).

Geographic Code Mapping:

PrefixCity/RegionService Type
250, 258Fixed-line servicesLandline
45NouakchottLandline
4513NémaLandline
4515AîounLandline
45000KaédiLandline
4534SélibabyLandline
4537AlegLandline
4544ZouératLandline
4546AtarLandline
4550BoghéLandline
4563KiffaLandline
4569Rosso/TidjikjaLandline
4574NouadhibouLandline
  • Mobile Numbers: Operators assign mobile numbers based on specific prefixes 1.

    • Format: [2-4][0-9]XXXXXX
    • Examples: 22440461, 46123456, 37890123
    • Operator Prefixes:
      • Chinguitel: 20–29 except 25 (~2 million subscribers as of Q2 2023 2)
      • Mauritel (Moov Mauritel): 40–49 except 45 (~2.7 million subscribers as of Q2 2023, largest operator 2)
      • Mattel: 30–39 except 35 (~1.9 million subscribers as of Q2 2023 2)
    • Note: All three operators remain active as of 2025, confirmed by ongoing regulatory oversight by ARE 3.
  • Toll-Free Numbers:

    • Format: 800XXXXX
    • Example: 80012345
  • Special Services: Use these shortcodes for emergency and information services 14.

    • Format: 1X or 1XX
    • Examples: 117 (Police), 118 (Fire Brigade), 101 (Ambulance), 16 (Speaking Clock), 12 (Telephone Inquiries), 116 (Gendarmerie), 119 (Traffic Police)
    • Note: Emergency service numbers changed from 2-digit to 3-digit format. International sources confirm Police is 117, Fire is 118, and Ambulance is 101 4.

How to Implement Mauritania Phone Number Validation

Common Implementation Issues:

  • International format handling: Strip the country code (+222) before validating the 8-digit NSN.
  • User input variations: Handle spaces, dashes, and parentheses in phone number input.
  • Operator identification: Use prefix-based lookup tables to identify carriers before routing.
  • Legacy numbers: Reject 7-digit numbers – all Mauritanian numbers are 8 digits since 2011 1.

Validation

Edge Cases to Handle:

  • Numbers with country code: +22222440461 → extract 22440461.
  • Partial numbers during input: Validate length before pattern matching.
  • Invalid prefixes: Reject numbers not matching known operator or service patterns.
  • International dialing: Accept both +222 and 00222 prefixes.

Use this JavaScript function to validate Mauritanian numbers:

javascript
function validateMauritanianNumber(phoneNumber) {
  const cleanedNumber = phoneNumber.replace(/\D/g, ''); // Remove non-digit characters
  const patterns = {
    landline: /^(25[08]|35[0-9]|45[0-7])\d{5}$/,
    mobile: /^[234][0-9]\d{6}$/,
    tollFree: /^800\d{5}$/,
    special: /^1\d{1,2}$/
  };
  for (const type in patterns) {
    if (patterns[type].test(cleanedNumber)) {
      return { valid: true, type }; // Return type for more context
    }
  }
  return { valid: false };
}

// Example usage:
console.log(validateMauritanianNumber('+22222123456')); // { valid: true, type: 'mobile' }
console.log(validateMauritanianNumber('45131234'));   // { valid: true, type: 'landline' }
console.log(validateMauritanianNumber('17'));         // { valid: true, type: 'special' }
console.log(validateMauritanianNumber('999999999'));   // { valid: false }

Handling International Format:

javascript
function normalizeInput(phoneNumber) {
  // Remove all non-digit characters
  let cleaned = phoneNumber.replace(/\D/g, '');
  // Remove country code if present
  if (cleaned.startsWith('222') && cleaned.length > 8) {
    cleaned = cleaned.slice(3);
  }
  return cleaned;
}

Formatting

When to Use Each Format:

  • International format (+222 XXX XXXXX): Store in databases, display internationally, maintain E.164 compliance.
  • Local format (XXX XXXXX): Display within Mauritania and user-facing interfaces.
  • URI format (tel:+222-XXX-XXXXX): Create clickable phone links in web/mobile apps.

Use these functions for international and local formatting:

javascript
function formatInternational(number) {
  const cleanedNumber = number.replace(/\D/g, '');
  return `+222 ${cleanedNumber.slice(0, 3)} ${cleanedNumber.slice(3, 8)}`;
}

function formatLocal(number) {
  const cleanedNumber = number.replace(/\D/g, '');
  return `${cleanedNumber.slice(0, 3)} ${cleanedNumber.slice(3, 8)}`;
}

Input Validation Before Formatting:

javascript
function safeFormat(number) {
  const normalized = normalizeInput(number);
  const validation = validateMauritanianNumber(normalized);
  if (!validation.valid) {
    throw new Error('Invalid Mauritanian phone number');
  }
  return formatInternational(normalized);
}

Mauritania Phone Number Regulations and Best Practices

Digital Identity Integration

Mauritania implemented mandatory biometric SIM card registration in 2023, following Decision No. 0038 by the National Regulatory Council (CNR), enacted April 6, 2023 2. The initial registration deadline was October 6, 2023 – ARE threatened to suspend unregistered SIM subscriptions after this date 25. Users must register with valid government-issued ID and biometric data at operator commercial branches.

Registration Requirements:

  • Present valid government-issued ID at operator commercial branches.
  • Provide biometric data (fingerprints, facial recognition).
  • Complete registration with all three operators: Moov Mauritel, Chinguitel, and Mattel.

Developer Implications:

  • Verify SIM registration status before activation through operator-specific APIs.
  • Contact ARE directly for compliance integration requirements (contact@are.mr, +222 4529 1270 1).
  • Follow data security and privacy guidelines set by ARE.
  • Note: Biometric data is collected at operator branches – APIs provide registration verification only.
  • As of 2023, all active SIMs in Mauritania must be biometrically registered 25.

Number Portability (MNP)

MNP Implementation Status: As of 2025, there is no public evidence that Mauritania has implemented Mobile Number Portability (MNP). The three operators (Chinguitel, Mauritel, Mattel) maintain distinct prefix ranges, and operator identification remains prefix-based 13.

If MNP becomes active in the future:

  • Number Lookup: Query the MNP central database to determine current operator.
  • Caching Strategy: Implement caching with 24–48 hour TTL for performance.
  • Fallback Logic: Use prefix-based routing if MNP lookup fails.
  • API Integration: Contact ARE (contact@are.mr) for MNP database access specifications.

Current Implementation: Use prefix-based operator identification as shown in the Number Categories section.

Regulatory Compliance (ARE)

Follow ARE (Autorité de Régulation Multisectorielle) regulations to avoid penalties, fines, or license suspension. Key requirements include:

  • Number Assignment Validation: Validate number assignments against ARE's guidelines.
  • SIM Registration Compliance: Verify biometric registration status for new activations.
  • Real-time Reporting: Implement reporting capabilities for number usage and service metrics.
  • Data Retention: Comply with ARE's data retention policies (contact ARE at contact@are.mr or +222 4529 1270 for specific requirements 1).
  • Quality of Service (QoS) Monitoring: Monitor and maintain acceptable QoS levels per ARE standards.

Security Considerations

Security Best Practices:

  • API Security: Implement OAuth 2.0 or API key authentication, rate limiting (e.g., 100 requests/minute per client), and request signing for integrity.
  • Data Protection: Use TLS 1.3 for all data in transit and encrypt phone numbers at rest using AES-256.
  • Access Control: Implement role-based access control (RBAC) for phone number databases.
  • Audit Logging: Log all phone number lookups, validations, and modifications with timestamps.
  • Compliance: Follow ARE data security guidelines – biometric data must remain with operators 2.

Common Threats:

  • Number enumeration attacks: Implement rate limiting and CAPTCHA for bulk lookups.
  • SIM swap fraud: Verify registration status through operator APIs before sensitive operations.
  • Spoofing: Validate caller ID against registered SIM database when possible.

Performance Optimization

Performance Optimization:

  • Caching Strategy:
    • Cache validated numbers with Redis: TTL 24 hours for validation results.
    • Cache operator prefix lookups: TTL 7 days (operator prefixes rarely change).
    • Implement LRU (Least Recently Used) eviction policy.
  • Database Optimization:
    • Index phone number fields with B-tree indexes for exact matches.
    • Use prefix indexes for operator identification queries.
    • Implement connection pooling (min: 5, max: 20 connections).
  • Validation Performance:
    • Client-side validation reduces API calls by ~80%.
    • Server-side validation: <5ms average response time.
    • Batch validation: process 1000 numbers in <100ms.

Framework Integration Examples:

  • Express.js: Use middleware for automatic validation on routes accepting phone numbers.
  • Django: Create custom model field validators for phone number fields.
  • Spring Boot: Implement @Valid annotations with custom constraint validators.

Frequently Asked Questions

What is the country code for Mauritania phone numbers?

Mauritania's international country code is +222. Dial +222 followed by the 8-digit local number when calling from outside Mauritania. For example, +222 22440461 reaches a Chinguitel mobile number. The international prefix to dial out from Mauritania is 00. For help formatting international numbers, see our guide on phone number validation best practices.

How do I validate Mauritania phone numbers in my application?

Use regex patterns to validate Mauritanian phone numbers by type. Mobile numbers follow the pattern [2-4][0-9]XXXXXX (8 digits total), landline numbers use 25[08]XXXXX, 35[0-9]XXXXX, or 45[0-7]XXXXX, and toll-free numbers start with 800XXXXX. The validation function in this guide checks all number types and returns the specific type for context.

What are the major mobile operators in Mauritania and their prefixes?

Mauritania has three major mobile operators: Mauritel (Moov Mauritel) with prefixes 40–49 except 45 (~2.7 million subscribers, largest operator), Chinguitel with prefixes 20–29 except 25 (~2 million subscribers), and Mattel with prefixes 30–39 except 35 (~1.9 million subscribers). These operator prefixes route calls and identify the carrier.

What are Mauritania's biometric SIM registration requirements?

Since April 6, 2023, Mauritania mandates biometric SIM card registration under Decision No. 0038 by the National Regulatory Council (CNR). Users must present valid government-issued ID at operator branches and provide biometric data (fingerprints, facial recognition). The initial deadline was October 6, 2023 – unregistered SIMs faced subscription suspension after this date. Verify SIM registration status before activation.

How do I format Mauritania phone numbers for display?

Format Mauritanian numbers using E.164 international format: +222 XXX XXXXX (e.g., +222 224 40461). For local display, use XXX XXXXX format without the country code (e.g., 224 40461). The formatting functions in this guide clean input automatically and apply consistent spacing.

Does Mauritania support Mobile Number Portability (MNP)?

As of 2025, there is no public evidence that Mauritania has implemented Mobile Number Portability (MNP). Operator identification remains prefix-based, with Chinguitel (20–29 except 25), Mauritel (40–49 except 45), and Mattel (30–39 except 35) maintaining distinct prefix ranges. Verify current MNP status with ARE (Autorité de Régulation Multisectorielle) before implementing MNP-dependent features.

What is the telecommunications regulatory authority in Mauritania?

The Autorité de Régulation Multisectorielle (ARE) regulates telecommunications in Mauritania. ARE enforces number assignment policies, biometric SIM registration, Quality of Service (QoS) standards, and data retention requirements. Non-compliance can result in penalties, fines, or license suspension. Implement real-time reporting capabilities and follow ARE's data security guidelines.

How did Mauritania's phone numbering system change in 2011?

In 2011, Mauritania transitioned from 7-digit to 8-digit phone numbers to accommodate telecommunications growth. This change increased the available number pool and aligned with international numbering standards. All current Mauritanian phone numbers use the 8-digit NSN format preceded by country code +222 for international calls.

What are the emergency service numbers in Mauritania?

Mauritania uses 3-digit codes for emergency services: dial 117 for Police, 118 for Fire Brigade, and 101 for Ambulance 4. Additional services include 116 (Gendarmerie), 119 (Traffic Police), 16 (Speaking Clock), and 12 (Telephone Inquiries). Access these special service numbers from any phone without the country code. Note: Emergency response times may vary, and authorities may not always answer calls to these numbers 4.

How do I implement API security for Mauritania phone number services?

Secure your phone number APIs using OAuth 2.0 authentication, rate limiting to prevent abuse, request signing for integrity verification, and IP whitelisting to restrict access. Encrypt all data in transit using TLS 1.3, mask sensitive information, enforce role-based access control, and maintain comprehensive audit logs for compliance with ARE regulations.

Summary

You now understand Mauritania's phone numbering system, including the +222 country code, 8-digit NSN structure, and operator-specific prefixes for Chinguitel, Mauritel, and Mattel. You've learned validation regex patterns for mobile, landline, toll-free, and special service numbers, plus formatting functions for international and local display.

Key regulatory requirements include ARE compliance, mandatory biometric SIM registration (enforced since 2023), and prefix-based operator identification (MNP not yet implemented as of 2025). Implement security best practices using OAuth 2.0, rate limiting, TLS 1.3 encryption, and comprehensive audit logging.

Extend your implementation with:

  • Webhook handlers for real-time number verification with ARE's APIs.
  • Caching strategies using Redis for high-performance number lookups.
  • Multi-region database replication for improved latency.
  • Automated compliance reporting dashboards for ARE requirements.
  • Integration with international SMS gateways supporting Mauritania's operators.

References

Footnotes

  1. International Telecommunication Union (ITU). "National Numbering Plans: Mauritania." Retrieved from ITU Official Document and Wikipedia: Telephone numbers in Mauritania. Effective January 1, 2011. Details the 2011 transition from 7-digit to 8-digit NSN length, operator prefix assignments, and ARE contact information. 2 3 4 5 6 7 8

  2. Connecting Africa. "Mauritania mandates SIM registration process." Published August 2023. Retrieved from Connecting Africa. Details Decision No. 0038 by CNR (April 6, 2023), registration deadline (October 6, 2023), and biometric requirements enforced by ARE. Subscriber counts: Moov Mauritel (~2.7 million), Chinguitel (~2 million), Mattel (~1.9 million) as of Q2 2023. 2 3 4 5 6 7

  3. Telecompaper. "Mauritanian telecoms regulator ARE orders mobile operators to improve service quality." Published September 18, 2025. Retrieved from Telecompaper. Confirms ARE oversight of Chinguitel, Mauritel, and Mattel operators in 2025. 2

  4. UK Foreign Office. "Getting help - Mauritania travel advice." Retrieved from GOV.UK. Confirms emergency numbers: Police (117), Fire (118), Ambulance (101). Notes that authorities may not answer calls to these numbers. 2 3 4

  5. Developing Telecoms. "Mauritania mandates SIM registration and sets October deadline." Published August 24, 2023. Retrieved from Developing Telecoms. Confirms ARE deadline of October 6, 2023, for SIM registration with biometric data collection. 2