Prefixyr.com
Spain ☎️ Landline / Geographic

Area Code 871 – Balearic Islands

The phone area code for Balearic Islands is 871 (international format +34871). Browse local exchange codes (NXX) and carrier assignments below.

Current Local Time
05:33:57
Europe/Madrid • UTC +02:00
Full Dialing Format
+34871
Population 1,231,768
👥
Admin Region Balearic Islands
🗺️
Elevation 165m
🏔️
GPS Coordinates 39.5888, 2.9031
📍

📍 Geographic Location of Balearic Islands

Overview of Area Code 871

Area code 871 is a geographic telephone prefix within the Spanish national numbering plan, assigned to the Balearic Islands (Illes Balears). This autonomous community of Spain is located in the Mediterranean Sea and comprises four main inhabited islands: Mallorca, Menorca, Ibiza, and Formentera, along with several smaller islets. The code 871 serves as an overlay for the older 971 prefix, which historically covered the entire archipelago. As a result, both 971 and 871 numbers coexist in the same geographic region, and local calls between them are charged as local calls, not long-distance.

Coverage and Administrative Jurisdiction

The 871 prefix covers the entire territory of the Balearic Islands, including its capital, Palma de Mallorca, as well as other significant municipalities such as Ibiza Town, Maó (Mahón), and Ciutadella. The region is a popular tourist destination, and many businesses, hotels, and public services use 871 numbers. The administrative jurisdiction falls under the Delegación del Gobierno en las Illes Balears, and numbering is managed by the Comisión Nacional de los Mercados y la Competencia (CNMC) in accordance with ITU-T E.164 recommendations.

Dialing Formats

When calling a Spanish number with the 871 prefix from within Spain, the full national number must be dialed, including the leading trunk prefix 0. For example, a local call from Madrid to a number in Palma would be dialed as 0 871 XXX XXX. However, when calling from outside Spain, the international format is used: +34 871 XXX XXX, where +34 is the country calling code for Spain. It is important to note that the trunk prefix '0' is not included in the international format.

Overlay Considerations and Number Portability

Because 871 is an overlay code, there is no need for local callers to change their dialing habits for calls within the Balearic Islands; all calls are dialed using the full 9-digit number (including the area code). This overlay also means that new telephone lines in the region may be assigned either 971 or 871 numbers, depending on availability. Number portability is fully supported, allowing subscribers to retain their 871 numbers when switching service providers, including from fixed-line to VoIP or mobile services, as long as the service is provided within the same geographic area.

Caller Instructions

For local callers within the Balearic Islands, simply dial the 9-digit number (e.g., 871 123 456). For callers from other parts of Spain, dial 0 871 123 456. For international callers, dial +34 871 123 456. When calling from a mobile phone in Spain, it is also necessary to include the full number, as mobile networks require the complete national number for routing.

❓ Frequently Asked Questions

What region is area code 871 associated with in Spain?
Area code 871 is a geographic prefix assigned to the Balearic Islands, an autonomous community of Spain. It covers the islands of Mallorca, Menorca, Ibiza, and Formentera, and serves as an overlay to the older 971 code.
How do I call a Spanish number with area code 871 from abroad?
To call a number with area code 871 from outside Spain, you need to dial the international access code (e.g., 00 or +), then Spain's country code 34, followed by the 9-digit number including the area code. For example, +34 871 123 456.
Is 871 a mobile or landline prefix?
871 is a geographic landline prefix, not a mobile prefix. It is used for fixed-line services in the Balearic Islands. However, due to number portability, a 871 number might be routed to a VoIP or mobile service, but the number itself remains geographic.
Do I need to dial the area code when calling locally within the Balearic Islands?
Yes, in Spain, all calls, including local ones, require dialing the full 9-digit number that includes the area code. For example, to call a 871 number from a fixed line in Palma, you would dial 871 123 456.
Are calls to 871 numbers charged at a higher rate?
No, calls to 871 numbers are charged as standard geographic calls. If you are calling from within Spain, the cost depends on your operator's tariff for national calls. From abroad, international rates to Spain apply.