Skip to content
Product For law firms Guides Pricing Sign in Start free
Guides / Cookie lifetime

How long may a cookie live?

There is no single legal maximum in Germany, but a tracker that keeps an identifier for years is hard to justify.

4 min readUpdated October 2026For DPOs and lawyers
The essentials
  • Storage limitation (Art. 5(1)(e) GDPR) applies to identifiers kept in cookies.
  • The French CNIL recommends at most 13 months for audience and advertising trackers, a widely used benchmark.
  • Many tools set two-year identifiers by default: that is a finding, and usually a setting.

The principle

The GDPR's storage limitation principle (Article 5(1)(e)) requires keeping personal data no longer than necessary for its purpose. A cookie carrying an identifier is such data, so its lifetime has to match its purpose.

The 13-month benchmark

The French authority CNIL, in its 2020 guidelines and recommendation on cookies, recommends that trackers used for audience measurement or advertising live no longer than 13 months, and that a visitor's choice be asked again after a reasonable period. Authorities elsewhere, including in Germany, assess lifetimes case by case under the same principle; the 13-month figure is widely used as a benchmark.

session_id
_hjSession
consent
_ga
06 months13 months24 months
Lifetimes on a 24-month scale. The line marks 13 months: the part beyond it is a finding.

What we flag

Seqlense GDPR measures the lifetime of every persistent cookie a page sets and flags those kept longer than 13 months (400 days). Session cookies, which disappear when the browser closes, are reported separately.

Typical findings

Checklist

Sources

General information, not legal advice. Have your specific situation reviewed by your DPO or counsel.

Related guides