What Is an Opt-out Cookie?

An opt-out cookie can tell a website not to track you for ads, but rejecting one doesn't apply globally. Here's how to use opt-out cookies, and what to do about the sites they can't cover.
We receive compensation from the products and services mentioned in this story, but the opinions are the author's own. Compensation may impact where offers appear. We have not included all available products or offers. Learn more about how we make money and our editorial policies.

Opt-out cookies are essentially cookies used to avoid cookies. When a website creates an opt-out cookie in your browser folder, it enables you to block that same website from installing future cookies.

In All About Cookies' own survey of 1,000 U.S. adults, 25% of people said they reject all optional cookies by default when prompted. But clicking "reject" on one banner is a much smaller win than it feels like — and the opt-out you just set may not survive the week. Here's how opt-out cookies actually work, where they fall short, and how to cover more ground with less effort.

In this article
How do opt-out cookies work?
Why should I use opt-out cookies?
How to use opt-out cookies
Drawbacks of opt-out cookies
Opt-out cookies vs. Global Privacy Control
Bottom line
FAQs

How do opt-out cookies work?

Here's what surprises most people: an opt-out cookie is still a cookie. When you opt out of an ad network's tracking, that network saves a small file in your browser whose only job is to say "this person said no." Every time the network sees that file, it skips the targeting.

That design has a catch. Because your opt-out lives in your cookies, anything that clears your cookies also clears your opt-outs. Wiping your browsing data, using a cleanup tool, or browsing in a private or incognito window all leave you un-opted-out without any warning. Opt-out cookies also expire on their own, so even an untouched browser eventually loses them.

It's also worth knowing where browsers stand. Safari and Firefox block third-party cookies by default. Chrome does not — it still allows them, and instead asks you to make a choice. Since Chrome is the most-used browser, opt-out cookies remain relevant for a large share of the web.

#1 Ad Blocker to Stop Third-Party Cookies, Trackers, and Unwanted Ads
5.0
Editorial Rating
Get Deal
On Total Adblock's website
2026 Editors’ Choice
Best Overall Ad Blocker
Ad Blocker
Total Adblock
PROMOTION: Get 80% Off
  • Top ad blocker that historically scores 100/100 on AdBlock Tester, passing every banner, interstitial, pop-up, and contextual ad test
  • Successfully blocked YouTube ads in our testing, one of the trickier platforms for ad blockers to handle consistently
  • Works across Chrome, Edge, Safari, and Opera, plus Android and iOS mobile apps

Why should I use opt-out cookies?

The opt-out cookie tells the website not to install third-party advertiser cookies or other types of cookies on your browser. This prevents the third-party ad server from tracking your page preferences within a website or across websites in its network.

Other reasons to use opt-out cookies include telling the website that you don't want to participate in any type of online profiling or having your browsing history tracked. Many of the biggest third-party ad-serving companies offer opt-out cookies.

Not every cookie is worth opting out of, and not every cookie is worth keeping. Here's a quick breakdown of which ones generally fall into each category:

Infographic showing which cookies you should accept

How to use opt-out cookies

To comply with data privacy legislation, websites need to be transparent about what consumer data they collect and how they share and use it. There are a few ways to opt out, roughly in order of how much ground each one covers.

  1. Decline cookies when a website prompts you. The most direct option, and the one you'll use most often. Look for "Reject all" or "Manage preferences" rather than just closing the banner — dismissing a banner isn't always the same as declining.
  2. Use an industry opt-out tool to cover many ad networks at once. The Network Advertising Initiative (NAI) runs an opt-out tool for online ads that lets you opt out of its member networks in one pass. The Digital Advertising Alliance runs a similar tool at optout.aboutads.info covering a different (and partly overlapping) set of networks, so it's worth running both. Each tool scans which networks currently have cookies on your browser, then sets opt-out cookies for the ones you select.
  3. Block cookies in your browser. To block cookies from all sites or specific sites, you can manage them through your browser's cookie settings. Unlike an opt-out cookie, a browser-level block doesn't rely on a file you can delete.
  4. Use a privacy tool. Some ad blockers and browser extensions automatically decline cookie prompts on your behalf, so you never click through a banner. Learn more about the broader toolkit for blocking tracking cookies.

If you use the NAI or DAA tools, bookmark them and re-run them every few months. Because the opt-outs are stored as cookies, they quietly stop working the moment you clear your browsing data.

Drawbacks of opt-out cookies

Opt-out cookies are worth using, but it helps to know what you're getting:

  • They're site-by-site and network-by-network. Opting out of one ad network says nothing to the next one.
  • They don't follow you. Opt-outs are stored per browser and per device, so opting out in Chrome on your laptop does nothing for Safari on your phone.
  • They disappear. Clearing cookies, using private browsing, or simply waiting for them to expire undoes your work silently.
  • Ads don't go away. Opting out stops the personalization, not the advertising. You'll see the same number of ads; they'll just be less relevant to you.
  • Some tracking isn't cookie-based. Browser fingerprinting and account-based tracking continue regardless of your cookie choices.

Blocking cookies broadly has its own tradeoff: cookies are also what keep you logged in and remember your cart, language, and region. If you block everything, expect to re-enter more and re-log in more often. That's why declining optional cookies while keeping essential ones is usually the better balance.

#1 Ad Blocker to Stop Third-Party Cookies, Trackers, and Unwanted Ads
5.0
Editorial Rating
Get Deal
On Total Adblock's website
2026 Editors’ Choice
Best Overall Ad Blocker
Ad Blocker
Total Adblock
PROMOTION: Get 80% Off
  • Top ad blocker that historically scores 100/100 on AdBlock Tester, passing every banner, interstitial, pop-up, and contextual ad test
  • Successfully blocked YouTube ads in our testing, one of the trickier platforms for ad blockers to handle consistently
  • Works across Chrome, Edge, Safari, and Opera, plus Android and iOS mobile apps

Opt-out cookies vs. Global Privacy Control

An opt-out cookie and Global Privacy Control (GPC) both tell a website not to track or sell your data, but they work at different levels. An opt-out cookie is site-specific: you set it on one website, and it only covers that website.

GPC works differently. It's a signal sent by your browser or a browser extension, and it applies automatically to every site you visit. You don't accept or decline anything on a per-site basis — the signal is just there, and it doesn't vanish when you clear your cookies.

GPC also carries legal weight. As of January 1, 2026, roughly a dozen states require covered businesses to recognize a universal opt-out signal like GPC, including California, Colorado, Connecticut, Delaware, Maryland, Minnesota, Montana, Nebraska, New Hampshire, New Jersey, Oregon, and Texas.

Opt-out vs. opt-in: U.S. privacy law is mostly opt-out, meaning that tracking is allowed until you say no. Under the EU's General Data Protection Regulation (GDPR), it's the reverse: sites need your consent before setting non-essential cookies. That's why American cookie banners often default to "on" and European ones don't.

Bottom line

Opt-out cookies do what they say: they tell one website, one time, not to track you. That's useful, but it's narrow — and because the opt-out is itself a cookie, it disappears the next time you clear your browsing data.

If you'd rather not repeat that decision on every website, Global Privacy Control or a privacy tool with a built-in auto-reject feature covers far more ground with less upkeep. Running the NAI and DAA tools every few months is a reasonable supplement, not a substitute.

FAQs

Do opt-out cookies stop all tracking?

No. Opt-out cookies are site-specific, so they only stop tracking from the website that set them. Other sites can still track you unless you opt out of each one individually or use a broader tool like Global Privacy Control.

What's the difference between an opt-out cookie and Global Privacy Control?

An opt-out cookie works one site at a time. Global Privacy Control sends a single signal to every site you visit, so you don't have to repeat the process. Learn more about how GPC works.

Is there a tool that opts me out of multiple ad networks at once?

Yes. The Network Advertising Initiative's opt-out tool covers its member ad networks in one step, and Global Privacy Control covers participating websites more broadly.

Do I have to accept cookies for a site to work?

Not usually. Most cookies that personalize or track your activity are optional. Rejecting them may mean a less tailored experience, but it typically won't block you from using the site.


#1 Adblocker — Even Blocks YouTube Video Ads
5.0
Editorial Rating
Get Deal
On Total Adblock's website
2026 Editors’ Choice
Best Overall Ad Blocker
Ad Blocker
Total Adblock
PROMOTION: Get 80% Off
  • Top ad blocker that historically scores 100/100 on AdBlock Tester, passing every banner, interstitial, pop-up, and contextual ad test
  • Successfully blocked YouTube ads in our testing, one of the trickier platforms for ad blockers to handle consistently
  • Works across Chrome, Edge, Safari, and Opera, plus Android and iOS mobile apps

Author Details
Kate Quinlan is a Senior Editor at All About Cookies, where she has tested dozens of digital security tools and contributed to more than 370 articles spanning web hosting, VPNs, ad blockers, parental controls, and data security. Before joining AAC, she managed a team of more than 150 writers at SuperSummary, where she developed editorial standards at scale. She holds a B.A. in Professional Writing from Kutztown University.