Nigerian Phone Numbers: Format, Area Code & Validation Guide - phone-number-standards -

Frequently Asked Questions

Nigerian phone numbers adhere to the E.164 standard and include a country code (+234), a national prefix (0), an area/network code, and a subscriber number. Fixed lines use 02XXXXXXXX, while mobile numbers are 10 digits starting with prefixes like 070, 080, 081, 090, and 091.
Regular expressions are commonly used to validate Nigerian phone numbers. Separate patterns are used for fixed lines (including the new 02 prefix) and mobile numbers. The article provides example regular expressions for common scenarios in JavaScript.
The country code for Nigeria is +234. It is used for international calls to Nigeria. For domestic calls within Nigeria, use the national prefix 0.
For outbound calls from Nigeria, use 009, +, or 00 followed by the country code and the phone number. Inbound to Nigeria, use +234 followed by the 10-digit number without the leading 0.
The 02 prefix for fixed lines was introduced in 2023 by the NCC. Its purpose is to increase capacity, modernize the numbering system, and accommodate future growth in telecommunications services.
Nigeria's fixed-line area codes vary by region due to the legacy system. The new standard format 02XXXXXXXX aims to unify these, but older formats still exist. Lagos also has its own specific format (01XXXXXXXX).
MNP allows users to switch networks while keeping their number, so the original prefix may not indicate the current carrier. It usually takes about 48 hours and has a 90-day cooling-off period.
You should store numbers in E.164 format (+234XXXXXXXXXX) for database storage and international compatibility. However, display numbers in local format (0XXXXXXXXX) for Nigerian users.
The NCC is Nigeria's telecom regulator, responsible for overseeing the numbering plan and other aspects of the telecommunications sector. The NCC website (ncc.gov.ng) provides detailed information and regulations.
Shortcodes and special service numbers (like emergency services or toll-free numbers) in Nigeria usually have 3-7 digits. The article provides validation examples for these numbers, such as toll-free numbers using 0800.
While prefixes traditionally indicated carriers, mobile number portability (MNP) allows users to switch networks while retaining their number. Therefore, relying solely on prefixes to identify carriers is no longer reliable.
The best practice is to store Nigerian phone numbers using the E.164 international format (+234XXXXXXXXXX). This ensures compatibility with global systems and facilitates international communication.
The Nigerian Communications Commission (NCC) website (ncc.gov.ng) and the Nigerian Communications Act 2003 are the primary resources for regulatory information.
Loading...