How long does cookie consent last?

Neither the GDPR nor the ePrivacy Directive sets how long a cookie choice stays valid. France’s CNIL, the regulator that has said the most about it, considers six months “generally appropriate” for keeping the visitor’s choice, consent or rejection. The 13 and 25 months often quoted are about exempt analytics. Many pages, including well-ranked ones, mix them up.

Duration What it is about Status
6 months How long to keep the visitor’s choice (consent or rejection) before asking again Duration the CNIL considers “generally appropriate”
13 months Lifetime of an analytics cookie exempt from consent, not extended on each visit CNIL recommendation for the exemption
25 months How long the data collected by that analytics may be kept CNIL recommendation for the exemption

How long should you keep the visitor’s choice?

The CNIL writes that “a duration of six months, for both consent and refusal, is generally appropriate”. After that, the banner can appear again so the visitor confirms or changes their choice.

A rejection counts as much as consent. A site that forgets it and asks again on every visit wears the visitor down until they accept, which is the opposite of what regulators require. And keeping a choice for six months does not replace a “Manage cookies” link, which lets the visitor withdraw it as easily as they gave it, as the GDPR requires (Article 7).

Where do the 13 months come from?

From the French rules on analytics exempt from consent. An analytics tool (Matomo for instance) can work without asking the visitor’s consent under certain conditions. The CNIL recommends in particular that its cookie lasts at most 13 months, a lifetime that is “not automatically extended on new visits”. Google Analytics, in its usual configuration, is not concerned: it still needs consent.

Pages that give 13 months as the time to keep the visitor’s choice confuse the two rules.

And the 25 months?

That is the maximum recommended retention for the data from that same exempt analytics: the raw statistics collected should not be kept longer than 25 months. Aggregated, anonymous reports (the number of visits in a given month, for example) are not concerned. The other conditions of the exemption are in our guide to cookies exempt from consent.

The GDPR (Article 7) requires you to be able to show that valid consent was collected, but sets no duration for that proof. In practice, it must stay available at least as long as you rely on the consent it proves, and long enough to answer an audit or a complaint. The CNIL has already fined Criteo, which could not show that people had validly consented.

Is this going to change?

It could, at EU level. The “Digital Omnibus” regulation proposed by the European Commission in November 2025 provides, among other things, that a visitor’s choice be respected for at least six months. The text is still being discussed between the Parliament and the member states: nothing applies yet, and national regulators’ guidance still sets the practice.

FAQ

Can I ask for consent again before six months?

Six months is a duration the CNIL considers “generally appropriate”, not a figure set by law. Asking earlier is fine when something changes for the visitor, such as a new tool or a new purpose. Asking again on every visit after a rejection, on the other hand, amounts to pressuring them into accepting.

Should a rejection be remembered too?

Yes. The CNIL recommends the same duration “for both consent and refusal”. A visitor who rejected should not see the banner again on every page or every visit.

Can a cookie last longer than 13 months?

No general rule sets the lifetime of every cookie. The 13 months are the limit the CNIL recommends for an analytics cookie to be exempt from consent. For other trackers, the lifetime must stay proportionate to their purpose and be stated in your cookie policy.

Does this apply to your site?

Paste its address: Nodbar visits it like a first-time visitor, records what fires before consent and prepares a compliant banner. Free, no sign-up needed for the scan.