# How long should cookies live?

> Consent-based cookies should expire within 13 months. Set Max-Age on your own cookies and the expiry option on analytics and ad tags.

Best practices · HTML version: https://getreport.app/learn/cookie-lifetime

## Cookie lifetime

Passing looks like: Cookie lifetime passes.

**Why it matters.** French and Spanish guidance caps consent-based cookies at 13 months, and Chrome and Safari already trim long lifetimes. A two-year analytics cookie earns nothing and reads badly in an audit.

**How to fix it.**

1. Set the cookie's Max-Age or Expires to 13 months or less (GA4: the cookie_expires parameter; Meta Pixel and most tags have a similar setting).

Check your own page: https://getreport.app/
