Are VPNs legal in Spain? The law, and the 13 blocking episodes that made people ask

Are VPNs legal in Spain? The law, and the 13 blocking episodes that made people ask

06 Nov, 2025 · Alan Summers Updated 18 Sep, 2026

The previous version of this page opened with Spain as the world's second most attacked country, 45,000 cyberattacks a day and a 2,500% jump in VPN sign-ups. I tried to source all three. The first two trace to press releases from Spanish security vendors that give no method. The third is a misreading: the company it is attributed to, Proton, reported a 200% spike in its own post. None of them is in this version.

The question people bring to this page is simpler. Are VPNs legal in Spain, and, often, in Italy or Spain? The short answer is yes. The longer answer matters because Spain is where blocking aimed at football piracy has knocked hundreds of thousands of unrelated websites offline, and where a court has now told two VPN providers to join in. Below are the rules, with their statutes, and every blocking episode I could document since 2017, each with a verdict on whether a VPN would have got round it.

Are VPNs legal in Spain?

Yes. A VPN is legal to sell and legal to use in Spain, and no Spanish law I could find mentions VPNs at all. I searched the information society law, the 2022 telecommunications law, the data retention law, the copyright law, the gambling law and Article 270 of the Criminal Code. There is no single official sentence that says "VPNs are legal", because nobody has needed to write one. The closest thing is the state cybersecurity institute, INCIBE, whose first recommendation for public Wi-Fi is to use one.

QuestionThe rule in SpainStatute or decisionSource
Is using a VPN legal?Yes. No statute restricts it, for residents or visitors.None. INCIBE recommends VPNs to citizens.INCIBE
Do VPN providers need a licence or registration?No VPN-specific regime exists.Law 11/2022 on telecommunications regulates network operators and does not mention VPN services.BOE
Who has to retain data, and for how long?Operators of public electronic communications services and networks, for 12 months. Hand-over needs a judge. Content is excluded. VPN services are not named.Law 25/2007, Articles 1, 2, 5 and 6. Still in force, last amended in 2014, despite a line of EU court rulings against blanket retention since 2014.BOE
Who can block a site in general?The competent authority for public order, health, minors or intellectual property. Where the Constitution protects expression, only a judge.Law 34/2002 on information society services, Articles 8 and 11BOE
Can a civil court order internet providers to block?Yes, against intermediaries whose services a third party uses to infringe, even when the intermediary is not liable. This is the basis of the football cases.Intellectual Property Law, Articles 138, 139.1.h and 141BOE
Can a site be blocked for copyright without a judge?Yes, for repeat infringers, since 2019. In the ordinary procedure a court still has to authorise the blocking step. The Ministry of Culture commission blocked 110 websites in 2025.Intellectual Property Law, Article 195, as amended by Law 2/2019BOE, Estrella Digital
Can unlicensed gambling sites be blocked?Yes, by the gambling regulator, through orders to intermediaries.Law 13/2011, Article 47BOE
What stays a crime with a VPN on?Commercial-scale infringement and link sites: six months to four years in prison. A criminal judge can order blocking where conduct is repeated.Criminal Code, Article 270BOE
Can the government take over networks?Exceptionally and temporarily, for public security and national security, never in breach of fundamental rights. Internet messaging apps are excluded.Law 11/2022, Article 4.6, which absorbed a 2019 decree-lawBOE
Can a court order a VPN provider to block?It has happened once, as an interim measure against two named providers, treated as intermediaries under the EU Digital Services Act. Not yet tested on the merits or on appeal.Commercial Court No. 1 of Córdoba, announced February 17, 2026LaLiga, BleepingComputer
Do rules for minors touch VPNs?Not in the bill. The pending organic law raises the age of consent for data processing from 14 to 16 and requires platforms to verify age, and its text does not mention VPNs. One tabled amendment, number 89, would make VPN and DNS providers block within 30 minutes on a judicial or administrative order.Bill 121/000052, in Congress since April 2025Congress of Deputies, bill, amendments

Two points from those 11 rows. Spain has five separate routes to a blocked website, which are the general information society law, the civil courts, the culture ministry's commission, the gambling regulator and the criminal courts, and three of the five can work without a judge: the general route, which is how the medicines agency blocked Women on Web, the culture commission once a site is a repeat infringer, and the gambling regulator. And in none of the 11 does the law place any duty on the person using a VPN. Every obligation falls on an operator, an intermediary or an infringer. Spanish VPN law is, for now, the absence of VPN law.

Which blocking orders made Spaniards ask about VPNs?

The table lists 13 episodes between 2017 and September 2026. The VPN column answers a narrow technical question: given how the block was built, would a VPN have got round it? It is not a statement about what was lawful to view.

DateWhat was blocked, and on whose orderHow it was doneWould a VPN have got round it?Source
September 13 to October 1, 2017At least 25 websites about the Catalan independence referendum, on orders of the Catalan high court, enforced by police.cat domains were seized at the registry itself. Mirror sites were blocked by DNS tampering on Orange and Euskaltel and by traffic inspection on Telefónica.Partly. Yes for the mirrors blocked inside Spanish networks. No for the seized .cat domains, which stopped existing for everyone.OONI
January 12, 2018HDFull and Repelis, on a claim by six film studios. Barcelona Commercial Court No. 6Four internet providers block the domains and any other domain or IP address giving accessYes. Streaming from them stayed an infringement.TorrentFreak, Elzaburu
October 2019The websites and app of the protest platform Tsunami Democràtic, on the order of a National Court judge. GitHub then made the app's repository unavailable in Spain at the Civil Guard's request.Blocking of the domains at Spanish providers, then a geo-block by GitHub based on the visitor's locationYes. Both depended on a Spanish connection.Genbeta, Xataka
Early 2020 to todayWomen on Web, a non-profit abortion information service, on the order of the medicines agency, with no courtSeven providers, using DNS manipulation, traffic inspection equipment, forged certificates and connection resets. The Supreme Court ordered a partial unblock in October 2022. OONI still measured the block on multiple networks in 2026.Yes. The interference sits inside Spanish access networks.Magma report, OONI, EFE
February 11, 202044 pirate sites, for Telefónica's broadcasting arm. A Madrid commercial court grants a dynamic injunction.Six providers block URLs, domains and IP addresses. The list is updated weekly and new entries are blocked within three hours.Yes. The infringement stays.TorrentFreak
April 8, 2021A standing protocol between rights holders and operators with 98% of the market, supervised by the Ministry of Culture. A technical committee meets weekly to add mirror domains. 1,194 domains were blocked at the end of 2024.Web redirect to an official notice pageYes. The infringement stays.Ministry of Culture, Bandaancha
March 22 to 25, 2024Telegram, ordered suspended by a National Court judge in a copyright case and withdrawn by the same judge three days later as "excessive and not proportional"Never applied, as far as I could establishNot needed. The judge himself noted that users could turn to proxies and VPNs.General Council of the Judiciary, elDiario.es
February 2025 onwardIP addresses used by pirate football streams, under judgment 310/2024 of Barcelona Commercial Court No. 6, dated December 18, 2024. Many of the addresses are Cloudflare's and are shared with thousands of lawful sites.Pure IP blocking at the access provider on match days. Telefónica drops the traffic silently, DIGI and Vodafone show a notice, Orange and MásMóvil block without one.Yes. A person already on a VPN never saw it, which is why lawful users turned to VPNs.TorrentFreak, TorrentFreak, Bandaancha
Reported April 15, 2025Two IP addresses of the hosting company Vercel, blocked by Movistar, Vodafone and Orange. Unblocked by April 18.Whole IP addresses, with no inspection of which site was requestedYes.Vercel
October 18 to 20, 2025Large Cloudflare address ranges on Movistar, Orange and Vodafone. Game servers and streaming services are hit. Proton reports a 200% spike in free sign-ups from Spain on October 19.IP blockingYes.Proton
February 17, 2026LaLiga announces interim orders from Commercial Court No. 1 of Córdoba against NordVPN and Proton VPN, granted without hearing them and with no appealThe two providers must make a changing list of IP addresses unreachable from Spain. Internet providers are not told to block the VPNs.Partly. On paper no, for customers of the two named providers. LaLiga alleged that NordVPN had not fully implemented the order. On May 19, 2026, according to NordVPN, the court refused LaLiga's request for fines, unable to conclude that any breach was deliberate. NordVPN's experts argued that listed addresses go stale within hours. Neither side has published the ruling.TorrentFreak, TorrentFreak, Xataka
March 23, 2026A second Barcelona judgment extends dynamic blocking to every live sports event held by Telefónica's broadcasting arm, including the Champions League, tennis and golfIP addresses, URLs and domains, at four operatorsYes. No VPN or DNS provider is named.Xataka
August 15, 2026The 2026 to 2027 season opens with blocking again, peaking at about 550 IP addresses near midnight. It is the last season the December 2024 judgment covers.IP blockingYes.Xataka

The verdicts come to ten yes, two partly and one not needed. The reason is structural. Ten of the thirteen were built inside the access provider's network, and a VPN tunnel passes through that network unopened. GitHub's 2019 geo-block keyed on a Spanish IP address, which a VPN also changes. Two episodes are different. In 2017 the state went to the domain registry, and a seized domain is gone for the whole world. In 2026 rights holders went to the VPN providers themselves. Those are the two directions in which blocking can go when the access network stops being enough.

The scale of the football blocking is the part with real measurements. OONI identified 7,441 IP addresses blocked on Spanish networks between January 1 and June 1, 2026, then checked 9.2 million popular domains against them: 554,507 of them, or 5.8%, sat on a blocked address at some point. More than 501,000 of those domains sat behind 2,218 Cloudflare addresses, and blocking between 4 and 20 addresses in a single hour was enough to disrupt over 400,000 domains. The affected sites included national pages of UNICEF and the UN refugee agency, Amnesty chapters and a software registry. LaLiga's position is that the blocking cut piracy by 40 to 60% on weekends "without collateral impact". The Barcelona court dismissed annulment requests from Cloudflare and the security conference RootedCON in March 2025, finding harm to third parties not proven. Net neutrality complaints to the ministry went from about ten to about 265 in 2025.

This is why "are VPNs legal in Spain" became a common search. Most of the people asking were not looking for football. They were developers whose deployments failed on a Saturday evening, and shoppers whose payment page would not load.

Are VPNs legal in Spain: a woman using a phone with a VPN connected to Spain

Is a VPN legal in Italy or Spain, and how do the two compare?

Using a VPN is legal in both countries. They differ in how far blocking duties have been pushed onto VPN and DNS companies, and Italy has gone further.

SpainItaly
Is using a VPN legal?YesYes
Who orders live sports blocks?Commercial courts, with the rights holders supplying the address listsThe regulator AGCOM, through the Piracy Shield platform created under Law 93 of July 14, 2023, with blocks due within 30 minutes
Are VPN providers covered?Two named providers, by an interim court order of February 2026All of them in principle. AGCOM lists VPN providers, public DNS providers and search engines as addressees of its orders, and its latest amendment, of July 30, 2025, extended the system from sport to all live audiovisual content.
Public DNS resolversNo order found against any resolverThe Court of Milan ordered Google to block listed domains in its public DNS on March 11, 2025. AGCOM fined Cloudflare €14,247,698, announced on January 8, 2026, for not filtering on its 1.1.1.1 resolver. Cloudflare appealed on March 8, 2026, and the Lazio administrative court rejected the appeal on July 17, 2026.
Providers that leftNone foundThe Italian provider AirVPN stopped accepting customers in Italy from February 19, 2024, calling the requirements too burdensome.

The contrast is between a regulator and a courtroom. Italy wrote VPN providers into a standing administrative system. Spain has a single interim order whose own court then declined to enforce it with fines. Neither country has touched the user. Our pages on using a VPN in Spain and in Italy cover the everyday side, and the register of website blocking in France shows the third model, where Paris courts have ordered five VPN providers to block sports piracy domains since May 2025.

What about privacy, data retention and cybercrime in Spain?

The old page leaned on alarming numbers. These are the official ones. INCIBE's response team handled 122,223 cybersecurity incidents in 2025, up 26% in a year, of which 45,445 were online fraud, including phishing. The data protection agency received 30,931 complaints in 2025, up 64% and the most in its history, and imposed €48.1 million in fines.

On retention, Spain still has the 12-month rule it adopted in 2007 to implement an EU directive that the EU Court of Justice struck down in 2014, the first in a line of rulings against blanket retention. The law binds telecom operators, it requires a judge's authorisation for access, and it has not been rewritten. Your internet provider therefore keeps a year of records about when and where you connected, though not what you read. A VPN replaces what that provider can record about your destinations with a single entry, the VPN server. Our table of retention laws in 16 jurisdictions shows how other countries handle the same question. Le VPN has a server location in Spain among more than 100, allows 10 simultaneous connections and comes with a 30-day money-back guarantee.

What changes next?

  • Constitutional Court. RootedCON announced its challenge to the football blocking on May 16, 2025 and Cloudflare filed its own by June 2025. As of September 18, 2026 the court had still not decided whether to admit RootedCON's.
  • Córdoba. The interim order against the two VPN providers stays in force and the main case is pending. I found no report on whether Proton has applied the order.
  • The Barcelona judgment expires with the 2026 to 2027 season, around June 20, 2027. LaLiga's tender for the 2027 to 2032 broadcasting rights makes cooperation with blocking, and support for legal action against VPNs and DNS services, a condition for bidders. A new application in 2027 is likely.
  • Congress. A committee approved a non-binding motion on April 29, 2026 asking the government to write "technological proportionality" into the law. It changes nothing by itself, and no bill has followed.
  • The minors' law. The government wants the organic law passed before the end of 2026. The clause to watch is amendment 89, which would write VPN and DNS providers into the information society law as intermediaries with a 30-minute blocking duty. I could not establish whether the committee has accepted it.
  • Women on Web v Spain was filed at the European Court of Human Rights on June 12, 2026.
  • Italy. The Lazio administrative court upheld the Cloudflare fine on July 17, 2026, in judgment 13201/2026. Cloudflare has said it will appeal again.

About the author

Le VPN Blog Editor

Alan Summers has been writing and editing for the Le VPN blog for years, covering online privacy, cyber security, and the best ways to get the most out of a VPN. He keeps a close eye on the news that affects internet freedom around the world and turns it into practical advice for Le VPN readers.

Articles by Alan Summers →

FAQ: VPNs and the law in Spain

Save 50% with the 12-Month Plan

Secure your internet connection with our premium VPN service. Fast, reliable, and private browsing worldwide.

Choose Your Plan

30-day money-back guarantee

VTNV Solutions Limited. © 2026 Le VPN. All rights reserved. Sitemap