Home Blog Third-Party Cookies: What They Are and Where They Stand in 2026

GDPR

Third-Party Cookies: What They Are and Where They Stand in 2026

Posted by Kevin Yun|October 25, 2025

Third-Party Cookies: What They Are and Where They Stand in 2026

A third-party cookie is a cookie set by a domain other than the website you are visiting. If you are on news-site.com and an ad on the page comes from adnetwork.com, adnetwork.com can store its own cookie in your browser. Because the same ad network appears on thousands of sites, it can recognize you on each one and build a picture of your browsing.

That is why third-party cookies power most cross-site advertising and why regulators and browsers have spent years restricting them. This guide covers how they work, where each browser stands in 2026 after Google dropped its plan to remove them from Chrome, and what GDPR and US privacy laws require if your site uses them.

Table of contents

Every cookie belongs to a domain. What makes a cookie first-party or third-party is whether that domain matches the site in your address bar.

First-party cookie Third-party cookie
Set by The site you are visiting A different domain, through content embedded on the page
Readable by Only that site The third party, on every site where its content loads
Typical uses Logins, shopping carts, language settings, site analytics Ad targeting, retargeting, cross-site measurement, social embeds
Browser treatment Allowed everywhere Blocked or partitioned by default in Safari, Firefox and Brave; allowed by default in Chrome

First-party and third-party describe who sets a cookie. Session and persistent describe how long it lasts, and the two are independent. Most third-party tracking cookies are persistent. See session vs persistent cookies for the difference.

How third-party cookies work

A third-party cookie is created whenever a page loads something from another domain, such as an ad, a script, a pixel, an embedded video or a social media button. Here is a typical tracking sequence:

  1. You visit news-site.com. The page loads an ad from tracker.com.
  2. tracker.com sets a cookie in your browser with a unique ID, for example uid=12345.
  3. Later you visit shopping-site.com, which also loads content from tracker.com.
  4. Your browser sends the same cookie back to tracker.com, along with the page you are on.
  5. tracker.com now knows that the same browser read the news article and looked at the shop, and can show you ads based on both.

Repeat that across every site that uses the same ad network or analytics provider and you get a detailed browsing profile, tied to a cookie ID rather than a name. Under GDPR, that ID still counts as personal data because it singles out one person's browser.

What third-party cookies are used for

  • Behavioral advertising. Showing ads based on the sites you have visited.
  • Retargeting. Following you with ads for a product you looked at elsewhere.
  • Conversion tracking. Telling an advertiser that a click on an ad led to a sale on another site.
  • Frequency capping. Limiting how many times you see the same ad.
  • Embedded content. Video players, maps, chat widgets and social buttons often set their own cookies, whether or not you interact with them.
  • Sign-in and payments. Some single sign-on and payment flows rely on cookies from the provider's domain.

The last two are why removing third-party cookies entirely breaks things, and why browsers have introduced narrower replacements for those uses.

Are third-party cookies going away?

Not in Chrome. Google announced in 2020 that it would phase out third-party cookies in Chrome, delayed the change several times, and then reversed course:

  • January 2024: Chrome restricted third-party cookies for 1% of users as a test.
  • July 2024: Google dropped the plan to remove them and proposed a user-choice prompt instead.
  • April 2025: Google said it would not launch that prompt either and would keep its current approach, where users can block third-party cookies in Chrome's settings.
  • October 2025: Google retired most of its Privacy Sandbox technologies, the ad-targeting replacements built for a cookieless Chrome, citing low adoption. It kept a few, including CHIPS (partitioned cookies), FedCM (federated sign-in) and Private State Tokens.

So in 2026 the browser picture looks like this:

Browser Third-party cookies by default
Chrome Allowed. Blocked in Incognito mode. Users can block them in settings.
Safari Blocked since 2020 through Intelligent Tracking Prevention.
Firefox Partitioned by Total Cookie Protection, so each site gets its own separate cookie jar and cross-site tracking does not work. Known trackers are blocked.
Edge Allowed, but known trackers are blocked by its default tracking prevention setting.
Brave Blocked.

Chrome is the most used browser, so third-party cookies still reach a large share of visitors. But a significant share of traffic, especially on iPhones, already arrives with them blocked, which is why advertisers have moved toward first-party data and server-side measurement.

None of this changes the law. Whether a browser allows a cookie has nothing to do with whether you are allowed to set it.

Do third-party cookies need consent under GDPR?

Yes, almost always. In the EU, Article 5(3) of the ePrivacy Directive requires consent before storing or reading any cookie that is not strictly necessary for a service the user asked for. GDPR sets the standard for that consent: freely given, specific, informed and unambiguous, given by a clear action, and as easy to withdraw as to give. The UK applies the same rule through PECR.

Third-party advertising, retargeting and social media cookies are never strictly necessary, so they need consent. In practice that means:

  • No third-party tracking scripts load until the visitor opts in.
  • Rejecting is as easy as accepting, with a "Reject all" button on the first layer of the banner.
  • No pre-ticked boxes, and continuing to scroll does not count as consent.
  • Your cookie notice names the third parties and explains what their cookies do.

You are responsible for the third-party cookies on your site, even though another company sets them. The Court of Justice of the EU ruled in the 2019 Fashion ID case that a website embedding a Facebook "Like" button was a joint controller for the data collected and sent to Facebook through it.

Regulators enforce this actively. France's CNIL fined Google €150 million and Facebook €60 million in 2021 for making cookies harder to refuse than to accept, and in September 2025 fined Google €325 million and Shein €150 million over cookie consent failures.

For what a compliant banner looks like in detail, see our guide to GDPR cookie consent banners.

Third-party cookies under US privacy laws

US state privacy laws mostly use an opt-out model rather than opt-in consent. Under the California Consumer Privacy Act (CCPA), letting third parties collect data through cookies for cross-context behavioral advertising counts as "sharing" personal information. If you do it, you must:

  • Offer a "Do Not Sell or Share My Personal Information" link, or an equivalent opt-out.
  • Honor Global Privacy Control (GPC) browser signals as an opt-out request.
  • Disclose the practice in your privacy policy.

Most other state laws, such as those in Virginia, Colorado and Connecticut, give similar opt-out rights for targeted advertising. See Do Not Sell My Personal Information for how to set this up.

How to find the third-party cookies on your site

Most sites set more third-party cookies than their owners realize, because every marketing tag, chat widget or embedded video can add its own. To get a list:

  1. Run your homepage and key landing pages through a scanner. Our free cookie checker lists every cookie a page sets and which domain set it.
  2. Check what loads before consent. Open the page in a private window, do not interact with the banner, and see which cookies are already there. Any third-party marketing cookie at this point is a compliance problem.
  3. Look at your tag manager and site plugins to find where each script comes from and who added it.

How to use third-party cookies compliantly

  • Remove what you do not use. Old pixels and abandoned tools are the most common source of unexpected tracking.
  • Block the rest until consent. Use a consent banner that holds back each script until its category is accepted, not one that only displays a notice. Our free cookie consent banner does this.
  • Use Google Consent Mode v2 if you run Google Ads or Google Analytics, so Google's tags respect the visitor's choice.
  • Keep your cookie policy current. List each third party, its purpose and how long its cookies last.
  • Check your vendors. Third parties that process personal data on your behalf need a data processing agreement, and those using it for their own purposes need to be disclosed.
  • Do not treat workarounds as a loophole. Server-side tagging, first-party proxies and browser fingerprinting change how tracking works technically, but tracking a visitor still needs a legal basis and, in the EU, usually consent.

FAQ

Are third-party cookies illegal?

No. They are legal, but in the EU and UK you need consent before setting any that are not strictly necessary, and in California and other US states you must let people opt out of their use for targeted advertising.

Does Chrome still support third-party cookies?

Yes. Google abandoned its plan to phase them out, and Chrome allows third-party cookies by default outside Incognito mode. Users can still block them in Chrome's privacy settings.

Is Google Analytics a third-party cookie?

Google Analytics 4 sets first-party cookies, such as _ga, on your own domain. It still sends data to Google, and in the EU and UK analytics cookies need consent because they are not strictly necessary. Google Ads and other advertising tags do set third-party cookies.

Should I block third-party cookies in my browser?

Blocking them reduces cross-site tracking and rarely breaks ordinary browsing. A few sign-in or payment flows may need an exception for a specific site. Safari, Firefox and Brave already block or isolate them by default.

What will replace third-party cookies?

There is no single replacement. Advertisers increasingly rely on first-party data from logged-in users, contextual advertising based on the page content, and server-side measurement. All of these still have to follow privacy law when they involve personal data.