GDPR & ePrivacy
France's CNIL cookie rules for websites
France's regulator, the CNIL, expects refusing cookies to be as easy as accepting them, treats closing the banner as no consent, and allows a narrow exemption for privacy-friendly audience measurement. It's also one of Europe's most active cookie enforcers.
- Plain English
- Written for website owners
- Free to read
On this page
The CNIL (Commission nationale de l'informatique et des libertés) enforces France's cookie rules under Article 82 of the French Data Protection Act. Its guidelines and recommendation, published in 2020, expect websites to get consent before non-essential cookies, make refusing as easy as accepting, treat inaction or closing the banner as refusal, explain each purpose clearly, and let people withdraw at any time. The CNIL also allows a narrow exemption for audience-measurement tools that meet strict conditions. It has issued some of Europe's largest cookie fines, so its expectations are a good benchmark even if France isn't your main market.
The legal framework in France
France implements Article 5(3) of the ePrivacy Directive through Article 82 of the Loi Informatique et Libertés (Law No. 78-17 of 6 January 1978, as amended). The definition of consent comes from the GDPR. For background on the EU rule, see the ePrivacy Directive and cookies.
The CNIL's position is set out in two texts adopted in September 2020:
- Guidelines on cookies and other trackers, which interpret the law.
- A recommendation proposing practical ways to comply, such as wording and banner designs. The recommendation isn't binding in itself, but it shows what the CNIL considers good practice.
The CNIL gave websites until the end of March 2021 to bring their banners into line, and has enforced actively since then.
Because cookie rules sit in French law rather than the GDPR, the CNIL has treated cookie cases as outside the GDPR's one-stop-shop mechanism. That's why it has been able to fine large companies headquartered elsewhere directly for cookies set on French users' devices.
Refusing must be as easy as accepting
This is the CNIL's best-known requirement and the basis of several major fines. If accepting takes one click, refusing should take one click too. In practice, that means:
- A "Tout refuser" (Reject all) button on the first layer, at the same level and with the same prominence as "Tout accepter" (Accept all).
- Alternatively, a clearly visible "Continuer sans accepter" (Continue without accepting) link, often placed at the top of the banner. The CNIL has accepted this as a refusal mechanism when it's clearly visible.
- Closing the banner (with an X, for example) must not be treated as consent. The CNIL's recommendation treats it as refusal.
What doesn't work: a first layer with "Accept" and "Settings", where refusing requires opening a second layer and unticking boxes. That was the pattern behind the CNIL's fines against Google and Facebook announced in January 2022 (decisions of December 2021), of €150 million and €60 million respectively.
What valid consent looks like to the CNIL
Informed
Before consent, visitors should be told:
- The identity of the controllers involved, with an easily accessible list of third parties and an indication of their role.
- Each purpose, in short, plain language, with more detail available on a second layer.
- What accepting or refusing means.
- That they can withdraw consent at any time.
Specific and granular
Visitors should be able to consent purpose by purpose. A global "Accept all" is allowed alongside that, as long as granular choices are also offered and a global "Reject all" is equally available. Generic headings like "improve your experience" are too vague on their own.
Unambiguous
Scrolling, continuing to browse or clicking elsewhere on the page don't count. No pre-ticked boxes.
Withdrawable and demonstrable
Withdrawing must be as easy as consenting, for example through a link or icon available on every page. Under GDPR Art. 7(1), you must also be able to prove consent; the CNIL's recommendation discusses ways to do this, such as keeping a record of the banner shown and the choice made. See our guide to keeping proof of cookie consent.
Exempt trackers
The CNIL's guidelines list trackers that can be exempt from consent because they're strictly necessary or within a recognized exemption. They include trackers that:
- store the visitor's cookie consent or refusal choice;
- handle authentication to a service;
- keep the contents of a shopping cart;
- customize the interface, such as language, where that's an expected part of the service;
- handle load balancing;
- enable a paid site to limit free access to a sample of content;
- secure an authentication mechanism, such as limiting repeated access attempts;
- measure audience, under the strict conditions described below.
Our guide to strictly necessary cookies covers the general test that sits behind this list.
The audience-measurement exemption
France is one of the few EU countries that formally exempts some analytics from consent. The conditions are strict. In outline, the tracker must:
- be used only to produce anonymous statistics for the site operator's own audience measurement, such as performance measurement, detecting navigation problems or optimizing technical performance;
- not allow the visitor to be tracked across other sites or apps;
- not be combined with other processing or passed to third parties for their own purposes;
- have a limited lifetime: the CNIL sets 13 months for the cookie, not extended automatically on each new visit;
- keep the collected data for no more than 25 months;
- be disclosed to visitors, with a way to object.
The CNIL has also discussed technical safeguards, such as limiting geolocation precision. It has run a program assessing analytics tools that can be configured to fit the exemption, and its website lists them. Standard Google Analytics setups don't fit, partly because data is also used for Google's own purposes. Separately, in 2022 the CNIL found that transfers of Google Analytics data to the US breached the GDPR, before the EU-US Data Privacy Framework was adopted in 2023.
A tool that fits the exemption still has to be configured correctly. Check the CNIL's current list and conditions, and our guide to cookieless analytics for alternatives.
The exemption is about how a tool is configured and used, not about the brand. Even an approved tool falls outside it if you link its data to advertising or share it with third parties.
How long consent and refusal last
The CNIL hasn't set a single legal period for consent. Its approach is:
- Remember refusals as well as consents. Asking again on every visit after someone refused puts pressure on them, which undermines freely given consent.
- Keep the choice for a reasonable period. The CNIL's recommendation suggests around six months as a good practice before asking again.
- Cap tracker lifetimes. 13 months is the CNIL's benchmark for exempt audience-measurement cookies, and is widely used as an upper bound elsewhere.
See how long cookie consent lasts for how this compares across regulators.
What enforcement shows
CNIL cookie fines have followed a few clear themes:
| Announced | Organizations | Main issue |
|---|---|---|
| December 2020 | Google (€100 million total), Amazon Europe Core (€35 million) | Advertising cookies placed automatically without prior consent; inadequate information |
| January 2022 | Google (€150 million total), Facebook (€60 million) | Refusing cookies was harder than accepting |
| September 2025 | Google (€325 million total), Shein (€150 million) | Cookies and advertising without valid consent, including cookies placed at Google account creation and on Shein's site |
The CNIL has also run many smaller compliance campaigns, sending formal notices to large numbers of websites before taking further action. Its pattern is consistent: cookies set before consent, refusal that's harder than acceptance, and refusals not respected. For a broader look across regulators, see lessons from major cookie consent fines.
A CNIL-ready setup
- Run a free scan and confirm nothing non-essential loads before a choice.
- Put Reject all next to Accept all on the first layer, with the same style.
- Make sure closing the banner doesn't record consent.
- Offer per-purpose choices and a list of third parties on the second layer.
- Store both consents and refusals, and don't re-ask too soon.
- Keep a record of each choice and the banner version shown.
- If you rely on the audience-measurement exemption, check the tool and your configuration against the CNIL's current conditions.
PrivacyQuick's opt-in mode follows these defaults: Reject all sits beside Accept all with equal styling, categories start off, and every choice is logged with the banner version. The banner is available in French among its 15 languages.
Next steps
- Read the CNIL's guidelines and recommendation in full if France is a significant market for you; they're the most detailed regulator guidance in Europe.
- Test your banner in a private window with a French locale and check that refusal really blocks trackers.
- Review your analytics setup against the audience-measurement exemption, or keep analytics consent-based.
Frequently asked questions
Does the CNIL require a Reject all button?
The CNIL requires refusing to be as easy as accepting. A Reject all button on the first layer is the clearest way to do that, and the CNIL has also accepted a clearly visible 'Continue without accepting' link.
Is Google Analytics exempt from consent in France?
Generally no. The CNIL's audience-measurement exemption has strict conditions, including that data isn't used for the vendor's own purposes, and standard Google Analytics setups don't meet them.
How long is cookie consent valid in France?
The CNIL doesn't set one fixed period for consent, but it has suggested that keeping a visitor's choice for around six months before asking again is reasonable, and it treats 13 months as the maximum lifetime for exempt audience-measurement cookies.
Do French cookie rules apply to non-French websites?
They apply to cookies placed on the devices of users in France. The CNIL has fined companies based outside France for cookies set on French users' devices.
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.