phone number standards

Sent logo
Sent TeamMar 8, 2026 / phone number standards / Article

Mayotte Phone Numbers: +262 Country Code, Format & Validation

Learn Mayotte phone number formatting with +262 country code, E.164 validation, regex patterns, and ARCEP compliance. Complete guide for YT telecommunications with code examples.

Mayotte Phone Numbers: Format, Area Code & Validation Guide

Mayotte phone numbers use the +262 country code (ISO: YT) and follow the E.164 international format. This French overseas department shares the +262 dialing code with Réunion but uses distinct prefixes: 269 for landlines and 639 for mobile phones.

Build robust Mayotte phone number validation into your applications with regex patterns, E.164 conversion logic, and ARCEP compliance. Parse local formats (0XXXXXXXX), validate 8-digit subscriber numbers, and implement error handling for infrastructure disruptions.

Quick Reference:

  • Country Code: +262 (shared with Réunion)
  • Landline Prefix: 269
  • Mobile Prefix: 639
  • Format: +262XXXXXXXX (11 digits total)
  • Local Format: 0XXXXXXXX (9 digits)
  • Regulatory Body: ARCEP

Understanding Mayotte Telecommunications

Mayotte, a French overseas department in the Indian Ocean, follows the French telecommunications framework with unique characteristics. ARCEP (Autorité de Régulation des Communications électroniques, des Postes et de la Distribution de la Presse) regulates all telecommunications services in Mayotte. Cyclone Chido in December 2024 disrupted infrastructure significantly, highlighting the need for robust error handling and fallback mechanisms.

Design your systems to handle:

  • Shared +262 country code with Réunion (different prefixes distinguish territories)
  • 8-digit subscriber numbers following French patterns
  • Natural disaster vulnerabilities requiring redundant communication channels
  • ARCEP regulations governing number portability, service quality, and competition

How to Format Mayotte Phone Numbers

Store phone numbers in E.164 format (+262XXXXXXXX) internally for global interoperability and simplified processing across telecommunications systems.

E.164 Format Structure

The E.164 format follows +262XXXXXXXX, where 262 is the country code and XXXXXXXX represents the 8-digit subscriber number. This eliminates ambiguity and ensures accurate routing.

E.164 Advantages:

BenefitDescription
International CompatibilityWorks seamlessly across countries and telecommunications systems
Simplified ProcessingApplications parse and validate numbers easily
Reduced ErrorsEliminates confusion from varying local formats

Convert Local Formats to E.164

Users input numbers in various formats. Convert these to standardized E.164 format:

javascript
class MayottePhoneNumberFormatter {
  static formatToE164(phoneNumber) {
    // Remove all non-numeric characters
    const cleaned = phoneNumber.replace(/\D/g, '');

    // Check for international format (already in E.164)
    if (cleaned.startsWith('262') && cleaned.length === 11) {
      return `+${cleaned}`;
    }

    // Check for local format starting with '0'
    if (cleaned.startsWith('0') && cleaned.length === 9) {
      return `+262${cleaned.substring(1)}`;
    }

    throw new Error('Invalid Mayotte phone number format. Use +262XXXXXXXX or 0XXXXXXXX.');
  }
}

// Example usage:
console.log(MayottePhoneNumberFormatter.formatToE164('0269601234')); // Output: +262269601234
console.log(MayottePhoneNumberFormatter.formatToE164('+262269601234')); // Output: +262269601234
try {
    console.log(MayottePhoneNumberFormatter.formatToE164('269601234')); // Throws error
} catch (e) {
    console.log(e.message); // Output: Invalid Mayotte phone number format. Use +262XXXXXXXX or 0XXXXXXXX.
}

This code converts local formats to E.164, handling non-numeric characters and validating both international and local formats. Sanitize user input and provide clear error messages.

How to Validate Mayotte Phone Numbers

After formatting to E.164, validate phone numbers using regex patterns to prevent invalid entries from entering your system.

Regex Validation Patterns for Mayotte Numbers

Use these regular expressions to validate Mayotte phone numbers and distinguish between landline and mobile numbers:

javascript
const validateMayotteNumber = (number) => {
  // Ensure E.164 format before applying regex
  if (!number.startsWith('+262') || number.length !== 11) {
    return false;
  }

  const patterns = {
    landline: /^(\+262)269\d{6}$/, // Landlines start with 269
    mobile: /^(\+262)639\d{6}$/,   // Mobiles start with 639
  };

  return Object.values(patterns).some(pattern => pattern.test(number));
};

// Example usage:
console.log(validateMayotteNumber('+262269601234')); // Output: true (landline)
console.log(validateMayotteNumber('+262639601234')); // Output: true (mobile)
console.log(validateMayotteNumber('+262123456789')); // Output: false (invalid prefix)

Update regular expressions regularly to accommodate new number ranges and operator prefixes. Use a library or service that maintains current regex patterns.

Validation Patterns by Number Type:

Number TypePrefixPatternExample
Landline269/^(\+262)269\d{6}$/+262269601234
Mobile639/^(\+262)639\d{6}$/+262639601234
Directory Assistance118/^118\d{3}$/118XXX (6 digits)

Directory Assistance and Phone Number Migration

Mayotte uses the French directory assistance system with 118 XXX format numbers (6 digits total). Integrate these services to provide phone lookup functionality in your applications.

Migration Process

Follow this structured approach when migrating telecommunications services:

1. Pre-Migration Planning (30 days before cutover)

  • Notify your current provider at least 30 days in advance
  • Prepare migration documentation
  • Schedule transition during off-peak hours (recommended: 00:00–04:00 UTC+3)
  • Update business communications with new contact information
  • Notify all stakeholders

2. Implementation Process

  • Implement call forwarding to minimize disruption
  • Use phased approach: parallel operation → automated forwarding with announcements → permanent change
  • Account for Mayotte's UTC+3 timezone when coordinating with global offices
  • Test all systems before final cutover
  • Monitor call quality and delivery rates post-migration

ARCEP shapes Mayotte's telecommunications landscape. Stay informed about regulations to keep your applications compliant.

ARCEP Focus Areas:

AreaTechnologiesImpact on Development
Network Infrastructure4G/5G, fiber opticsPlan for increased bandwidth capabilities
Service QualityNetwork monitoring, QoS standardsImplement performance tracking
CompetitionMultiple provider supportDesign carrier-agnostic systems
Future TechnologiesNumber portability, IoT, eSIMSupport flexible number management
Network EvolutionVirtualization, cloud servicesPrepare for API-based infrastructure

Monitor ARCEP's publications and announcements regularly. Adapt your implementations to align with regulatory changes and emerging technologies.

Business Continuity and Disaster Recovery

Mayotte's vulnerability to natural disasters requires robust business continuity planning.

Essential DR Components:

  1. Primary and Backup Communication Channels

    • Configure multiple SMS gateways
    • Implement email fallback for critical notifications
    • Set up alternative VoIP providers
    • Test failover mechanisms monthly
  2. Emergency Protocols

    • Define escalation procedures for service outages
    • Establish communication hierarchies
    • Document provider contact information
    • Create runbooks for common failure scenarios
  3. Network Coverage Validation

    • Monitor coverage thresholds in real-time
    • Implement automatic fallback when coverage drops
    • Log all failover events for analysis
    • Set up alerts for sustained outages
  4. Regular Testing

    • Conduct disaster recovery drills quarterly
    • Test backup systems under load
    • Validate data replication and backup integrity
    • Review and update procedures based on test results

Incorporate network validation into your application. When coverage falls below your threshold, activate fallback mechanisms like SMS or alternative channels to maintain functionality.

Frequently Asked Questions

What is the country code for Mayotte?

Mayotte's country code is +262, shared with Réunion (another French overseas department). The ISO country code is YT. Distinguish Mayotte numbers by checking the prefix: 269 for landlines and 639 for mobile phones.

How do I format a Mayotte phone number to E.164?

Format Mayotte phone numbers as +262XXXXXXXX where 262 is the country code and XXXXXXXX is the 8-digit subscriber number. Example: local number 0269601234 becomes +262269601234 in E.164 format. Remove the leading 0 when converting from local format.

What's the difference between Mayotte and Réunion phone numbers?

Both use +262 country code but have different prefixes. Mayotte landlines start with 269 and mobiles with 639. Réunion landlines start with 262 and mobiles with 692 or 693. Validate the full prefix pattern to distinguish territories.

What regex pattern validates Mayotte phone numbers?

Use /^(\+262)269\d{6}$/ for landlines and /^(\+262)639\d{6}$/ for mobile phones. These regex patterns ensure the number starts with +262, followed by the Mayotte-specific prefix (269 or 639), and exactly 6 additional digits for a total of 8 subscriber digits.

Who regulates telecommunications in Mayotte?

ARCEP (Autorité de Régulation des Communications électroniques, des Postes et de la Distribution de la Presse) regulates Mayotte's telecommunications. As a French overseas department, Mayotte falls under French telecommunications law and ARCEP's jurisdiction for network standards, service quality, and competition policies.

What timezone does Mayotte use for scheduling calls?

Mayotte operates on UTC+3 year-round (no daylight saving time). When scheduling calls, migrations, or system maintenance, account for this 3-hour offset from UTC. Coordinate with European offices (UTC+1/+2) accordingly.

How do I handle Mayotte numbers that start with 0?

Local numbers starting with 0 follow the format 0XXXXXXXX (9 digits total). Remove the leading 0 and prepend +262 to convert to E.164 format. Example: 0269601234 becomes +262269601234. Validate the number is exactly 9 digits before conversion.

Are Mayotte phone numbers affected by natural disasters?

Yes. Cyclone Chido in December 2024 disrupted telecommunications significantly. Implement robust error handling, fallback mechanisms (SMS, alternative channels), and network coverage validation to maintain functionality during infrastructure failures.

Can I port phone numbers between providers in Mayotte?

Number portability is available under ARCEP regulations, allowing users to keep their numbers when switching providers. Support number portability by validating numbers independently of carrier information and following ARCEP's porting procedures.

What directory assistance numbers work in Mayotte?

Mayotte uses the French directory assistance system with 118 XXX format numbers. These 6-digit numbers start with 118. Integrate directory assistance by allowing these patterns in your validation logic and providing appropriate routing for 118XXX calls.

How long should I notify providers before migrating services?

Notify your current provider at least 30 days in advance. Schedule migrations during off-peak hours (recommended: 00:00–04:00 UTC+3). Implement call forwarding during transition, prepare documentation, and update all business communications before cutover.

Do Mayotte phone numbers support SMS and MMS?

Yes. Mobile numbers (prefix 639) support SMS and MMS. Landline numbers (prefix 269) typically do not support SMS. When implementing messaging features, validate the target number is mobile (starts with +262639) before attempting SMS/MMS delivery.

Conclusion

Implementing Mayotte phone number handling requires understanding the +262 country code format, E.164 validation, and ARCEP regulations. Use the regex patterns, code examples, and best practices in this guide to build reliable telecommunications systems for Mayotte (YT). Monitor ARCEP's initiatives and adapt your implementations to maintain compliance and leverage emerging technologies.

For more phone number formatting guides, explore our resources on E.164 format standards and international telecommunications compliance.