Internet in Spain: Overview
Spain is one of the countries with the best internet infrastructure in Europe and the world. With over 42 million users and a penetration rate exceeding 95% of the population, the country stands at the forefront of broadband connectivity. The massive deployment of fiber optic FTTH (Fiber To The Home) has been the differentiating factor: Spain has more kilometers of fiber optic than the UK, Germany, France, and Italy combined. 85% of Spanish households have access to fiber optic, and contracted speeds routinely exceed 100 Mbps across virtually the entire territory.
The Spanish telecommunications market is dominated by four major operators: Movistar/Telefónica (the historic and largest operator), Orange España (now part of MásOrange after merging with MásMóvil), Vodafone España, and Digi (the Romanian operator that has gained enormous popularity for its competitive prices). These are joined by a vibrant ecosystem of mobile virtual network operators (MVNOs) such as Pepephone, Simyo, Lowi, Finetwork, and O2 (Telefónica's second brand). Madrid and Barcelona concentrate the highest technological density, but cities like Valencia, Seville, Bilbao, Málaga, and Zaragoza enjoy virtually identical connections thanks to the extensive national fiber network.
The IP blocks used in Spain are highly diverse due to the large volume of addresses assigned to the country. Telefónica, which was one of the main recipients of IPv4 addresses in the early years of the internet, manages broad ranges including 80.x.x.x, 81.x.x.x, 83.x.x.x, 85.x.x.x, and 213.x.x.x. Orange operates in ranges such as 85.x.x.x and 90.x.x.x. Digi uses blocks 85.x.x.x and 188.x.x.x. Vodafone primarily uses 212.x.x.x and 217.x.x.x. RIPE NCC (Réseaux IP Européens Network Coordination Centre) manages allocations for Spain and all of Europe.
A distinctive feature of the Spanish internet is its leadership in IPv6 and the low prevalence of CG-NAT on fiber connections. Unlike Latin America, most fiber users in Spain receive a real public IP (usually dynamic, but public), which facilitates the use of home servers, IP cameras, gaming with open NAT, and remote access.
Internet Providers in Spain
The Spanish fixed broadband market is led by four major groups, each with its own characteristics and specific IP ranges:
🔵 Movistar / Telefónica
Historic operator and market leader. IP ranges: 80.x, 81.x, 83.x, 85.x, 213.x. FTTH up to 1 Gbps. Leader in IPv6 (~40%). Nationwide coverage.
🟠 Orange España
Part of MásOrange. IP ranges: 85.x.x.x, 90.x.x.x. FTTH up to 1 Gbps. IPv6 on fiber customers. Strong in urban areas.
🔴 Digi
Romanian operator with rapid growth. IP ranges: 85.x.x.x, 188.x.x.x. Own + rented FTTH. Competitive prices. Very popular.
🔴 Vodafone España
British multinational. IP ranges: 212.x.x.x, 217.x.x.x. FTTH up to 1 Gbps. IPv6 available. Convergent packages.
Movistar / Telefónica
Movistar, the commercial brand of Telefónica de España, is the largest telecommunications operator in the country and one of the most important in Europe. It owns the majority of Spain's fiber optic infrastructure, which it leases to other operators like Digi and Vodafone in many areas. Its extensive IP ranges include 80.0.0.0/12, 81.0.0.0/12, 83.0.0.0/12, 85.0.0.0/12, and 213.0.0.0/12. Movistar offers FTTH with speeds up to 1 Gbps symmetric, with the most extensive coverage in the country (virtually all provincial capitals and the vast majority of municipalities). It is the undisputed leader in IPv6 deployment in Spain, with approximately 40% of its traffic carried over IPv6. Unlike Latin America, Movistar's fiber customers receive a real public IP (dynamic but public) without CG-NAT. Movistar also operates 5G networks across the entire national territory.
Orange España (MásOrange)
Orange, now integrated into the MásOrange group after merging with MásMóvil in 2024, is Spain's second-largest operator. Its IP ranges include blocks 85.0.0.0/12 and 90.0.0.0/12. Orange offers FTTH connections with speeds up to 1 Gbps, using both its own fiber infrastructure and sharing agreements with Telefónica. Orange has widely deployed IPv6 on its fiber network, with most FTTH customers having access to native IPv6. Following the merger with MásMóvil, the group also manages the Yoigo, Pepephone, Virgin Telco, Euskaltel, and R brands, consolidating as a large-scale competitor against Telefónica. Orange fiber customers receive dynamic public IPs, without CG-NAT, as is standard in the Spanish FTTH market.
Digi
Digi, the Romanian-origin operator, has been the phenomenon of the Spanish telecommunications market in recent years. With an aggressive pricing strategy and deployment of its own fiber in major cities, it has captured millions of customers. Its IP ranges include blocks 85.x.x.x and 188.x.x.x. Digi deploys its own fiber optic in high-density urban areas (Madrid, Barcelona, Valencia, Seville, and other large cities) and leases access to Telefónica's network in areas without its own coverage. It offers speeds from 100 Mbps to 1 Gbps (on its own network). Digi has not yet deployed IPv6 at scale, which is one of its weak points compared to Movistar and Orange. Digi fiber customers (on its own network) receive dynamic public IPs. On mobile connections, Digi does use CG-NAT extensively.
Vodafone España
Vodafone España, a subsidiary of the British Vodafone group, operates as one of the major convergent operators in the country. Its IP ranges include primarily 212.0.0.0/12 and 217.0.0.0/12. Vodafone offers FTTH with speeds up to 1 Gbps, combining its own infrastructure (inherited from ONO, the cable operator it acquired) with access to Telefónica's network. IPv6 is available for fiber customers, although its deployment is less comprehensive than Movistar's. Vodafone has refocused on the Spanish market after years of customer losses, competing with convergent packages that include fiber, mobile, and television. Fiber customers receive standard dynamic public IPs. In the mobile segment, as with all Spanish operators, CG-NAT is used unless a static IP or business plan is contracted.
How to Check Your IP in Spain
Finding your public IP address in Spain is straightforward with miip.link. Simply visit the site from any browser on your computer, tablet, or phone. We automatically detect your public IP, identify your ISP (Movistar, Orange, Digi, Vodafone, or another), and display your approximate location at the city and province level.
Alternative methods for users in Spain:
- Windows: Open PowerShell or Command Prompt and run
curl ifconfig.meornslookup myip.opendns.com resolver1.opendns.com. - Mac/Linux: In the Terminal, run
curl ifconfig.meorcurl ipinfo.ioto get your IP and location metadata. - Router: Access your router's configuration (usually 192.168.1.1) and check the "Internet Status" or "WAN" section. The IP shown should match miip.link's result (if not, there may be CG-NAT on mobile or ADSL connections).
- Mobile: On iOS or Android, simply open your browser and visit miip.link. Your mobile connection IP will be different from your home fiber IP.
In Spain, IP range identification is quite clear: if your IP starts with 80.x, 81.x, 83.x, 85.x, or 213.x, you're likely a Movistar/Telefónica customer. IPs starting with 90.x are typically Orange or MásOrange. Ranges 188.x are characteristic of Digi. IPs 212.x and 217.x indicate Vodafone. An advantage of the Spanish internet is that on fiber, the IP you see on miip.link is your real public IP and matches your router's IP, meaning you're not behind CG-NAT (very different from what happens in Latin America).
Recommended DNS Servers for Spain
Spain's privileged geographic location and the presence of international internet nodes in Madrid, Barcelona, and Bilbao make DNS latencies particularly low, especially to European servers. Here are the best options:
| DNS Provider | Primary Server | Secondary Server | Approx. Latency from Madrid |
|---|---|---|---|
| Cloudflare | 1.1.1.1 | 1.0.0.1 | 5-15ms (node in Madrid) |
| Google DNS | 8.8.8.8 | 8.8.4.4 | 10-20ms |
| Quad9 | 9.9.9.9 | 149.112.112.112 | 10-20ms (node in Madrid) |
| OpenDNS | 208.67.222.222 | 208.67.220.220 | 15-25ms |
| Local ISP DNS | (Automatic) | (Automatic) | 2-8ms |
Cloudflare (1.1.1.1) is the optimal choice for Spain, with only 5-15ms latency from Madrid thanks to Cloudflare having nodes directly in the Spanish capital. Additionally, Cloudflare respects privacy and offers DNS over HTTPS and DNS over TLS natively. Quad9 (9.9.9.9) also has a presence in Madrid and adds malicious domain blocking, making it an excellent security option. Google DNS (8.8.8.8) is another good candidate with 10-20ms. Local ISP DNS (Movistar, Orange, Vodafone) have minimum latencies of 2-8ms but may log and monetize your browsing history. To change DNS, go to your device or router's network settings and replace the automatic values with the servers in this table. If you have IPv6, make sure to also configure IPv6 DNS (Cloudflare: 2606:4700:4700::1111, Google: 2001:4860:4860::8888).
Internet Speed in Spain
Spain consistently ranks among the countries with the fastest internet in the world thanks to its extensive fiber optic network. According to Ookla's Speedtest Global Index, Spain ranks around 15-20 globally in fixed broadband speed, with a national average of 150-200 Mbps download. The difference between cities is minimal: Madrid and Barcelona average 180-250 Mbps, while provincial capitals like Zaragoza, Valladolid, Seville, and Murcia are not far behind at 150-200 Mbps. This uniformity is possible thanks to the extensive FTTH deployment reaching over 85% of households.
Contracted fiber optic speeds in Spain are notably symmetric (same upload and download speed) at most operators. Movistar and Orange offer 1 Gbps symmetric on their premium plans, Digi offers up to 1 Gbps on its own network, and Vodafone also markets 1 Gbps. In practice, real speeds are usually close to what's contracted, with little degradation even during peak hours. Mobile internet in Spain is also advanced, with 5G widely available in cities and speeds of 50-150 Mbps under optimal conditions. To measure your actual speed, use speedtest.net with a server in Madrid or Barcelona, or fast.com for video streaming speed.
VPNs in Spain: Privacy and Streaming
In Spain, VPNs are primarily used for international streaming, privacy, and security. Spain does not have an internet censorship regime like some countries, and online freedom of expression is constitutionally protected. However, there are scenarios where a VPN is very useful:
- International streaming: Access Netflix US catalogs (much broader than the Spanish one), Hulu (not available in Spain), BBC iPlayer, or Amazon Prime Video content from other European countries.
- Privacy and data protection: Although the GDPR protects your data in the EU, a VPN adds an extra layer of privacy from your ISP. Movistar, Orange, or Vodafone may record your browsing habits.
- Secure public WiFi: Protect your information on WiFi networks at airports (Barajas, El Prat), cafés, libraries, shopping centers, and hotels.
- Bypassing geo-blocks: Access Spanish services (banking, TV, government) when traveling abroad and needing to appear as if you're in Spain.
- Court-ordered site blocking: In Spain, some unauthorized streaming sites are blocked by court order (as part of anti-piracy efforts). A VPN can help access content that's blocked in other countries.
The best VPNs for users in Spain: NordVPN (over 60 servers in Madrid, excellent speed with NordLynx protocol), ExpressVPN (servers in Madrid and Barcelona, ideal for streaming), Surfshark (budget option with servers in Madrid), CyberGhost (servers optimized for streaming, with presence in Madrid). Servers in Madrid offer the best speeds (2-8ms additional latency). For international streaming, servers in London (15-25ms), Frankfurt (20-30ms), and New York (70-90ms) are good options.
IPv6 in Spain: A Success Story
Spain is one of the world leaders in IPv6 adoption, with approximately 35-40% penetration according to Google Statistics, ranking alongside countries like Belgium, Germany, France, India, and the United States in the global top. This success is mainly due to Telefónica/Movistar's decisive commitment to massive IPv6 deployment on its fiber optic network. Most Movistar FTTH customers receive native IPv6 alongside their IPv4 (dual-stack configuration), and IPv6 traffic represents a significant and growing percentage of their total volume.
Orange and Vodafone also offer IPv6 on their fiber connections, although with smaller deployment percentages. Digi is the major operator most lagging in IPv6, although it is expected to deploy it soon given that it's building its own network. Regional operators like Adamo (fiber in rural areas) also offer IPv6. To verify if you have IPv6 on your Spanish connection:
- Visit miip.link: it shows both your IPv4 and IPv6 if available.
- Visit test-ipv6.com: complete IPv6 functionality test.
- Check your router's configuration: look for "IPv6" in settings and make sure it's enabled as "dual-stack" or "IPv4+IPv6".
- If you're a Movistar fiber customer and don't have IPv6, it may be disabled on your router (some older models require it).
Spain's high IPv6 adoption is a competitive advantage: it improves performance on modern services, eliminates the need for CG-NAT (each device can have a unique global IP), and prepares the infrastructure for the future of the internet. If your connection doesn't have IPv6, consider asking your operator to activate it, especially if you're on fiber optic.
CG-NAT in Spain: Reality or Exception?
Unlike Latin America, CG-NAT (Carrier-Grade NAT) is the exception rather than the rule on fixed broadband connections in Spain. The abundance of IPv4 addresses assigned to Telefónica in the 1990s and the current massive IPv6 deployment make CG-NAT unnecessary for most fiber connections. However, there are specific cases where it does apply:
- ADSL connections: Some operators apply CG-NAT on ADSL connections, especially in rural areas where infrastructure is older.
- 4G/5G mobile internet: All Spanish operators (Movistar, Orange, Vodafone, Digi) use CG-NAT by default on their mobile data connections. To get a public IP on mobile, you need to contract a business plan or request the specific service.
- MVNO operators: Mobile virtual network operators (Pepephone, Simyo, Lowi) use CG-NAT as standard practice.
- Some budget fiber plans: Certain low-cost plans (especially Digi on Telefónica's rented network) may use CG-NAT.
To verify if you're behind CG-NAT, compare your router's WAN IP with the IP shown by miip.link. If they're different, you're behind CG-NAT. The solution in Spain is generally simpler than in Latin America: upgrade your plan or request a public IP from your operator (Movistar and Orange usually provide it at no additional cost on fiber). For mobile connections, the business option is the way to get a public IP.
IP Geolocation in Spain
IP geolocation in Spain is among the most accurate in the world thanks to the high density of infrastructure and well-organized IP blocks. Madrid and Barcelona are generally geolocated accurately at the city and even district level. Cities like Valencia, Seville, Bilbao, Zaragoza, and Málaga are correctly identified at the urban level in most cases. In provincial capitals and mid-sized cities, accuracy is at the city level in most IP geolocation services. Only in very dispersed rural areas might the province be shown instead of the exact locality. IP geolocation is useful for timezone configuration: mainland Spain and the Balearic Islands use CET/CEST (UTC+1/UTC+2), while the Canary Islands use WET/WEST (UTC/UTC+1, one hour less). IP geolocation never reveals your exact postal address or precise GPS coordinates.
Regulation and Privacy in Spain
As a member of the European Union, Spain is subject to the General Data Protection Regulation (GDPR), which establishes strong protections for citizens' personal data. IP addresses are considered personal data under the GDPR, meaning ISPs and websites must treat them with the same guarantees as other identifying data. Spanish operators are required to inform users about data processing, including IP addresses, and users have the right to request what information is stored about them. Additionally, the Spanish Data Protection Agency (AEPD) oversees compliance and can impose significant penalties. The "Cookie Law" and data retention regulations affect how ISPs can use your IP and browsing metadata.