European Union and EEA · General Data Protection Regulation (Regulation (EU) 2016/679)

GDPR and cookies: what the law requires

Under the GDPR, a cookie that can identify a visitor processes personal data, and the only workable legal basis for advertising and analytics cookies is consent: a freely given, specific, informed and unambiguous choice made before the cookie is set. Pre-ticked boxes, scrolling and cookie walls do not count, refusing must be as easy as accepting, and you must be able to prove each consent. Fines reach 20 million euros or 4% of worldwide annual turnover, and cookie cases have already produced fines of 150 million and 325 million euros against Google.
Published 20 October 2026 · By the Cookiequiet team · Markdown

Quick facts

Applies toOrganizations established in the EU or EEA, and any organization anywhere that offers goods or services to people in the EU or monitors their behavior (Article 3)
Consent modelOpt-in. Consent must be freely given, specific, informed and unambiguous, given by a clear affirmative action (Article 4(11))
Cookie ruleSetting the cookie is governed by Article 5(3) of the ePrivacy Directive; everything done with the data afterwards is governed by the GDPR
Maximum fine20 million euros or 4% of worldwide annual turnover, whichever is higher (Article 83(5))
AuthorityThe national supervisory authority of each member state (CNIL, AEPD, Garante, Datatilsynet and others), coordinated by the European Data Protection Board
In force since25 May 2018 (adopted 27 April 2016)

What is the GDPR?

The General Data Protection Regulation is the European Union's data protection law. It was adopted on 27 April 2016 and has applied since 25 May 2018 in every EU member state and, through the EEA agreement, in Iceland, Liechtenstein and Norway. It is a regulation, not a directive, so the same text applies everywhere without national transposition, although member states run their own supervisory authorities and set some details locally.

The GDPR does not mention cookies by name. It matters for cookie banners for two reasons. First, Recital 30 says that online identifiers such as IP addresses and cookie identifiers can identify a person, so most cookies process personal data. Second, the ePrivacy Directive, which does regulate cookies, borrows the GDPR's definition of consent. In practice the two laws work together: the ePrivacy Directive decides whether you may store or read a cookie, and the GDPR decides what you may do with the data and how consent must look.

Who does the GDPR apply to?

Article 3 gives the GDPR a wide territorial scope. It applies to any organization established in the EU, whatever the nationality of its visitors, and to organizations outside the EU that offer goods or services to people in the EU or monitor their behavior. Behavioral advertising and analytics are forms of monitoring, so a website in the United States or Australia that tracks visitors from France or Germany is within scope. There is no size threshold and no exemption for small businesses.

Consent is defined in Article 4(11) as a freely given, specific, informed and unambiguous indication of the person's wishes, given by a statement or a clear affirmative action. Article 7 adds the conditions: the controller must be able to demonstrate that consent was given, the request must be clearly distinguishable from other matters, and withdrawing consent must be as easy as giving it. Recital 32 rules out silence, pre-ticked boxes and inactivity. Recital 43 says consent is presumed not to be freely given when it is bundled: separate purposes need separate consent.

The Court of Justice applied these rules to cookies in Planet49 (C-673/17, 1 October 2019). A pre-ticked checkbox is not valid consent, the rule applies whether or not the cookie contains personal data, and the information given to the user must include how long the cookies last and whether third parties can access them.

The European Data Protection Board's Guidelines 05/2020 on consent (4 May 2020) settled two more questions: scrolling or swiping through a page is not consent, and a cookie wall that blocks access to a site until the visitor accepts tracking does not produce freely given consent.

Not every cookie needs consent. Cookies that are strictly necessary to provide a service the visitor asked for (session, shopping cart, login, security, load balancing, storing the consent choice itself) are exempt under the ePrivacy Directive. Audience measurement is exempt only under specific national conditions, such as the CNIL's exemption for first-party analytics with truncated IP addresses and no cross-site tracking. Everything else, including advertising pixels, social media embeds and most analytics, needs prior consent. Legitimate interest cannot replace consent for setting cookies, a point the EDPB's cookie banner task force restated in 2023.

What must a compliant banner do?

Put together, the GDPR, the ePrivacy Directive and the authorities' guidance describe a banner that:

  • blocks all non-essential cookies and scripts until the visitor has chosen;
  • shows an Accept and a Reject option of the same prominence on the first screen, since a majority of EU authorities consider a banner without a reject option on the same layer as the accept button to be an infringement (EDPB task force report, January 2023);
  • lets visitors choose by purpose (analytics, marketing, functional) with nothing pre-ticked;
  • explains who sets the cookies, for what purpose, for how long and who receives the data, before the choice;
  • allows withdrawal at any time through a link or icon that is as easy to find as the original choice;
  • records the choice, so you can demonstrate consent under Article 7(1).

Dark patterns are a separate risk. Making the Reject option a small text link, giving the accept button a strong color and the reject button an unreadable one, or re-asking on every page are the kind of designs the task force flagged as misleading and that the CNIL has fined.

Enforcement and fines

Article 83 sets two tiers: up to 10 million euros or 2% of worldwide annual turnover for breaches of the controller's obligations, and up to 20 million euros or 4% for breaches of the principles, of the conditions for consent and of data subjects' rights. Cookie decisions are usually taken under the national law that transposes the ePrivacy Directive, using the GDPR's consent standard, which is why the French CNIL can act directly against companies headquartered in Ireland without the one-stop-shop mechanism.

The CNIL has built the largest body of cookie fines in Europe:

DateCompanyFineMain finding
7 December 2020Google LLC and Google Ireland100 million eurosAdvertising cookies set on google.fr without consent, poor information
7 December 2020Amazon Europe Core35 million eurosAdvertising cookies set on amazon.fr without consent
31 December 2021Google LLC and Google Ireland150 million eurosRefusing cookies took several clicks, accepting took one (google.fr, youtube.com)
31 December 2021Facebook Ireland60 million eurosSame asymmetry on facebook.com
19 December 2022Microsoft Ireland60 million eurosCookies set on bing.com without consent, no reject button as easy as accept
29 December 2022TikTok5 million eurosNo one-click refusal, purposes not explained
29 December 2023Yahoo EMEA10 million eurosAbout twenty advertising cookies set without consent, withdrawal tied to losing the mail service (upheld by the Conseil d'État on 7 October 2025)
1 September 2025Google LLC and Google Ireland325 million eurosCookies set at account creation without valid consent, ads shown as emails in Gmail
1 September 2025Infinite Styles Services (Shein)150 million eurosCookies set on shein.com without consent

The consent framework used by the advertising industry has been tested too. The Belgian authority fined IAB Europe 250,000 euros on 2 February 2022 over the Transparency and Consent Framework, the Court of Justice confirmed on 7 March 2024 (C-604/22) that the TC String is personal data, and the Brussels Market Court confirmed the fine on 14 May 2025 while annulling the decision on procedural grounds.

How Cookiequiet handles the GDPR

Cookiequiet's banner is built around these rules: nothing non-essential runs before a choice, Accept all and Reject all have the same size and weight on the first screen, the four categories are off by default in the preferences center, and every string is shown in the visitor's language (24 languages). The consent log records each choice with its date, categories, banner version and a hashed IP, which is the evidence Article 7(1) asks for. Geo-targeting lets you show the banner only to visitors in the EEA, the UK and the other regulated countries, or everywhere. The cookie scanner lists what your site actually sets so the cookie table in the banner is accurate. Policies are templates written for the GDPR, not legal advice. See the Reject all guide for the design details and the fines of 2026 for the latest enforcement.

Questions

Yes, if you offer goods or services to people in the EU or monitor their behavior, which includes analytics and advertising tracking of EU visitors (Article 3(2)). The practical test is whether you target or track EU visitors, not where your servers are. Many non-EU sites use geo-targeting to show the consent banner to EU visitors only.
The EDPB's cookie banner task force reported in January 2023 that a large majority of EU authorities consider a banner that offers Accept but no Reject option on the same layer to be invalid consent. The CNIL has fined Google, Facebook, Microsoft and TikTok for exactly that. A Reject option as visible as Accept on the first screen is the safe design.
No for setting the cookie: the EDPB task force confirmed that the legal basis for storing or reading cookies under Article 5(3) of the ePrivacy Directive cannot be legitimate interest. Some countries exempt limited first-party audience measurement from consent, for example France under the CNIL's conditions. Outside those exemptions analytics needs consent.
The GDPR sets no fixed period; Article 7(1) only requires that you can demonstrate consent while you rely on it. Keep the record for as long as the cookies it covers are in use and for the limitation period of possible claims, and keep no more data than needed. The CNIL suggests asking again after 6 months at most for the choice itself.

Put a quiet banner on your website today

Free for one website with every core feature, no card and no trial clock. Upgrade a website to Starter for $3 a month to match your brand with AI and drop the branding, or to Pro for $9 to design it with the AI agent.