GDPR & ePrivacy
Are cookie walls legal? Pay-or-consent explained
A pure cookie wall, where the only way in is to accept tracking, is very hard to defend under EU law. Pay-or-consent models are contested: some regulators accept them under strict conditions, but not for every business.
- Plain English
- Written for website owners
- Free to read
On this page
A strict cookie wall, where visitors can't use your site unless they accept non-essential cookies, is unlikely to produce valid consent under EU or UK law, because consent must be freely given. The European Data Protection Board (EDPB) has said so directly. Pay-or-consent models, where visitors either accept tracking or pay for access without it, are a separate and still-contested question: some national regulators accept them under conditions, while the EDPB has said that large online platforms will usually not get valid consent from a bare choice between paying and being tracked. For most ordinary websites, the safe answer is to let visitors refuse and still use the site.
Three kinds of "wall"
People use "cookie wall" loosely. It helps to separate three setups:
| Setup | What the visitor sees | General risk level |
|---|---|---|
| Hard cookie wall | "Accept cookies to continue." No other option except leaving. | High: the EDPB says consent obtained this way isn't freely given. |
| Pay-or-consent ("pay or okay") | "Accept tracking, or subscribe to read without tracking." | Contested: depends on price, equivalence, who you are and the regulator. |
| Content-level gating | The site works, but a specific embed (video, map, social post) needs its cookies before it loads. | Low: this is ordinary consent-based blocking, done well. |
The third setup isn't really a wall. A YouTube video that shows a placeholder saying "This video sets cookies from YouTube. Load video?" respects the visitor's choice for that specific feature. Everything else on the page still works.
Why hard cookie walls fail: freely given consent
Consent under the GDPR must be "freely given" (Art. 4(11)). Article 7(4) adds that when assessing whether consent is freely given, utmost account must be taken of whether the performance of a service is made conditional on consent to processing that isn't necessary for it. Recital 42 says consent isn't freely given if the person has no genuine or free choice or can't refuse without detriment, and Recital 43 adds that consent is presumed not to be freely given where a service is made dependent on unnecessary consent.
The EDPB applied this directly to cookies in its Guidelines 05/2020 on consent. It said that making access to a website conditional on accepting cookies, with no genuine choice, does not produce valid consent. Its example is a script that blocks content except a request to accept cookies: the visitor isn't presented with a genuine choice.
Because the ePrivacy Directive takes its definition of consent from the GDPR, a hard cookie wall also undermines the consent you need under Article 5(3) for the cookies themselves. You end up with cookies set without valid consent.
Pay-or-consent: where the debate stands
The harder question is whether offering a paid, tracking-free alternative makes the choice free. Here, the main reference points are these.
The CJEU in Meta v Bundeskartellamt
In July 2023, the Court of Justice ruled in Meta Platforms v Bundeskartellamt (C-252/21), a case about Facebook's data practices. In discussing consent, the Court said users should be free to refuse particular data processing that isn't necessary for the contract without having to give up the service entirely, which means being offered, if necessary for an appropriate fee, an equivalent alternative without those processing operations. That passage is widely cited as opening the door to paid alternatives, although the Court didn't set out detailed conditions.
The EDPB's opinion on large online platforms
In April 2024, the EDPB adopted Opinion 08/2024 on consent-or-pay models implemented by large online platforms. Its central view: in most cases, those platforms won't meet the requirements for valid consent if they only offer users a binary choice between consenting to processing for behavioral advertising and paying a fee. The EDPB encouraged offering a further free option without behavioral advertising, for example with advertising based on less or no personal data. It also flagged factors such as the fee level, whether the alternative is genuinely equivalent, and the power imbalance between platform and user.
The opinion is aimed at large platforms, not every news site or blog. But its reasoning about genuine choice and equivalence is a useful guide for anyone.
The Digital Markets Act track
Separately, the European Commission found in 2025 that Meta's pay-or-consent model for Facebook and Instagram in the EU did not comply with the Digital Markets Act, which has its own consent rules for designated "gatekeepers". That decision is specific to gatekeepers under the DMA, but it shows the pressure on the model at the largest scale.
National regulators
National authorities have taken more nuanced positions for ordinary publishers:
- France (CNIL). After France's highest administrative court ruled in 2020 that the CNIL couldn't impose a general and absolute ban on cookie walls through guidelines, the CNIL moved to case-by-case assessment. In 2022 it published initial criteria for assessing paid alternatives, focusing on whether there is a real and fair alternative and whether the price is reasonable. See our guide to CNIL cookie rules.
- United Kingdom (ICO). The ICO published guidance on "consent or pay" models in 2025. It says such models can be compatible with UK data protection law in principle, and lists factors including power imbalance, an appropriate fee, equivalence of the services, and privacy by design. See UK cookie rules under PECR.
- Other countries. Several other European authorities have looked at pay-or-consent on news sites and reached similar conditional conclusions. Positions vary, so check the guidance in the countries that matter to you.
When it adopted Opinion 08/2024, the EDPB also said it would develop guidelines on consent-or-pay with a broader scope than large platforms. Check whether those have been published, and what they say, before designing a model around it.
Conditions regulators tend to look at
Where pay-or-consent is accepted at all, the same questions come up again and again:
- Is the paid option genuinely equivalent? Same content and features, not a stripped-down version.
- Is the price reasonable? A fee designed to be so high that nobody picks it doesn't create a real choice.
- Does the paid option really avoid tracking? Paying users shouldn't get advertising cookies or tracking pixels anyway.
- Is consent still granular? Within the consent option, purposes should still be separate where they reasonably can be, rather than one bundled "accept everything".
- Is there a power imbalance? Services people depend on, or that dominate a market, face tougher scrutiny than one of many news sites.
- Is the choice explained clearly? Visitors should understand what accepting means and what paying gets them.
- Can people withdraw? Withdrawing consent should be possible without unfair consequences.
Pay-or-consent is a business model decision with legal risk attached, not a banner setting. If you're considering it, get legal advice for your market before you launch.
Walls that hide in plain sight
Some designs work like a wall without calling themselves one:
- A banner that covers the page and has no reject option. Functionally, the visitor must accept to proceed.
- A "reject" path that leads to a dead end, such as a page saying the site can't be used without cookies.
- Repeated re-prompting after a refusal, so the visitor gives in to get rid of the banner.
Regulators view these through the same lens of freely given consent, and often as deceptive design as well. Our guide to cookie banner dark patterns covers them in detail.
What's safe for most websites
If you run a business site, shop, SaaS marketing site or blog, there's rarely a reason to wall off content. The low-risk approach is:
- Show a banner with Accept all, Reject all and Preferences on the first layer.
- Let visitors who reject use the whole site, with only strictly necessary cookies.
- Gate individual embeds behind a click-to-load placeholder that explains which cookies they set.
- Make the choice easy to change later.
If your revenue depends on advertising, consider the free alternatives regulators point to, such as contextual advertising that doesn't rely on tracking cookies, before reaching for a wall.
Next steps
- Check whether your current banner lets visitors use the site after refusing. Try it in a private window.
- Replace any "accept to continue" overlay with a banner that offers a real reject option. Our GDPR cookie consent checklist covers the other requirements.
- For embeds, use click-to-load placeholders. With PrivacyQuick, iframes use
data-srcplusdata-categoryand load only when that category is allowed; see the script blocking docs. - If you're weighing pay-or-consent, read the current EDPB and national guidance for your market and take legal advice.
Frequently asked questions
What is a cookie wall?
A cookie wall blocks access to a website or its content until the visitor accepts cookies. Refusing means you can't use the site at all.
Is pay or okay legal in the EU?
It's contested. The EDPB has said large online platforms will usually not get valid consent from a simple choice between paying and being tracked, while some national regulators accept the model for ordinary publishers if the price is reasonable and the paid option is genuinely equivalent.
Can I block content until cookies are accepted?
Blocking a specific embed, such as a video, until the visitor allows the related cookies is normal and fine. Blocking the whole site unless the visitor accepts tracking is a cookie wall and is very risky in the EU and UK.
Are cookie walls allowed in the UK?
The ICO has said consent is unlikely to be valid where access is conditional on accepting non-essential cookies with no real alternative. Its consent-or-pay guidance sets out factors for when a paid alternative may be acceptable.
Check your own website in 30 seconds
Our free scanner lists every cookie and tracker your site sets, sorted into categories, before you add a banner.
This guide is general information, not legal advice. Laws and regulator guidance change; check the current rules for your situation or ask a lawyer.