Supercookies are not a type of HTTP cookie. The word is a label applied to any mechanism that stores or reconstructs a user identifier in a way that survives the actions people take to remove cookies. Mozilla's security blog describes them plainly as something that can be used in place of ordinary cookies to store user identifiers, but which is much more difficult for users to delete and block. Because the term describes an effect rather than an API, it has been attached to very different techniques over the years: identifiers hidden in browser caches, identifiers rebuilt from a dozen storage locations, flags abused as bits of a tracking number, and headers inserted into web traffic by a carrier. What they share is persistence beyond the user's expectations, and that is the property worth understanding.
What the Term Can Mean
At least four distinct families have been called supercookies.
- Cache-based identifiers. A tracker serves a resource with a unique value embedded in it, such as an image or an ETag header, and the browser caches it. On a later visit, code may read that cached value, or an ETag may return in a conditional request, allowing recognition without an ordinary cookie. Different techniques have exploited resource caches and remembered network state; they do not all expose values in the same way.
- Protocol-state identifiers. Some browser features remember a decision per host. HTTP Strict Transport Security records that a host must be reached over HTTPS; by setting that flag on a pattern of subdomains, a tracker can encode bits of an identifier and read them back by observing which hosts the browser upgrades. Alternative service hints have been abused the same way.
- Respawning identifiers. A script writes the same identifier into several places at once, such as cookies, localStorage, IndexedDB and cache, and restores it to any location the user has cleared. Historically this also used plugin storage, which is no longer available in modern browsers. The term evercookie is often used for this approach specifically.
- Network-injected identifiers. A network operator adds a header carrying a subscriber identifier to unencrypted HTTP requests passing through its infrastructure. The browser never stores anything, so clearing it changes nothing, and recipients of the modified requests may receive it. Encrypting the request end to end prevents an ordinary intermediary from adding that HTTP header.
None of these is a standard, and none is reliable across browsers. They are tricks that exploit a storage area or signal whose purpose was something else.
Storage, Network and the Persistence of Identifiers
What makes these persistent identifiers effective is that the places they live are not covered by the controls users associate with cookies. A control that clears only cookies may leave caches untouched; broader site-data controls can remove additional storage; HSTS state may have its own, less visible, clearing path; and a header added by a carrier is outside the browser entirely. The identifier also tends to be shared across sites, because some caches and protocol state were historically shared across top-level sites, not by the site the user was visiting. A tracker embedded on many sites could therefore read the same cached value everywhere.
That cross-site readability is what modern browsers have attacked. Mozilla's network partitioning, introduced in Firefox 85, keys the HTTP cache, image cache, favicon cache, HSTS cache, font cache, DNS cache, alternative-service cache and connection pools by the top-level site being visited, so a value cached while visiting one site is invisible when the same tracker loads on another. That change targeted sharing between sites, while still allowing the browser to reuse resources on a return visit to the same site. Comparable partitioning exists in other engines, and Chrome introduced HTTP cache partitioning using both the top-level site and the current-frame site. Partitioning does not delete the identifier; it restricts reuse through that partitioned store across sites. This reduces one route for supercookie tracking, without excluding linkage through accounts or other signals. The network-injection family is addressed differently: HTTPS prevents an ordinary intermediary without decryption access from adding HTTP headers, which is one of the less-discussed reasons encryption of ordinary web traffic matters.
Supercookies Compared With Ordinary Cookies and Evercookies
| Property | Ordinary cookie | Evercookie-style respawning | Cache or protocol-state supercookie | Network-injected header |
|---|---|---|---|---|
| Set by | Server via Set-Cookie or script | Script writing to many stores | Server via cached resource or protocol flag | Network operator |
| Visible in cookie settings | Yes | Partly | No | No |
| Removed by clearing cookies | Yes | Only until respawned | No | No |
| Blocked by cross-site partitioning | Third-party use, in partitioning browsers | Largely, for cross-site linkage | Yes, for cross-site linkage | Not applicable |
| Defeated by HTTPS | No | No | No | Yes |
The supercookie vs cookie distinction is therefore about control. An ordinary cookie, even a persistent one with a long expiry, is set through a cookie API or header, listed in the browser's settings and removed when the user asks. A supercookie exists precisely to escape that bargain. A long-lived first-party cookie used for login is not a supercookie; a value hidden in the favicon cache to recognise a visitor who deleted their cookies is.
Why the Techniques Mattered and What Remains
These methods appeared because third-party cookies were being blocked and deleted, and advertising measurement wanted continuity. Regulators responded to the most visible cases, and browser vendors responded with protections through partitioning, cache isolation and tighter clearing controls. The result today is that the classic cross-site supercookie is far less effective in current versions of major browsers, though the underlying idea persists in new forms, while fingerprinting and server-side identity graphs remain separate ways of linking activity. Those methods should not automatically be called supercookies: their mechanisms and available controls differ.
Limits of the Term and of the Defences
Because supercookie is informal, descriptions of it often mix retired techniques with current behaviour. Plugin storage no longer exists in mainstream browsers, HSTS abuse has been constrained, and partitioned caches have closed the simplest cache tricks. Equally, defences are partial: partitioning protects against cross-site linkage but not against a single site recognising its own returning visitors through its own cache, and private browsing modes discard state only at the end of the session. Clearing cookies remains a weaker action than people assume, and the honest summary is that persistent identification can be made harder in every current browser but cannot be ruled out by any single setting.