1. Blog/
  2. Guidelines and Recommendations/
  3. How to Enable or Disable Cookies in Chrome, Safari, Firefox and Edge

How to Enable or Disable Cookies in Chrome, Safari, Firefox and Edge

Quick answer: Every browser keeps its cookie controls in its privacy settings. For most people, the best setting is to block third-party cookies and keep first-party cookies on: that stops most cross-site tracking without logging you out of sites.

BrowserWhere the setting isRecommended option
Chrome (desktop)Settings > Privacy and security > Third-party cookiesBlock third-party cookies
Safari (Mac)Safari > Settings > PrivacyPrevent cross-site tracking (on by default)
Safari (iPhone, iPad)Settings > Apps > SafariPrevent Cross-Site Tracking (on by default)
EdgeSettings > Cookies and site permissions > Manage and delete cookies and site dataBlock third-party cookies
FirefoxSettings > Privacy & Security > Enhanced Tracking ProtectionStandard or Strict
OperaSettings > Privacy & security > Third-party cookiesBlock third-party cookies
BraveSettings > Shields > Block cookiesBlock third-party cookies (default)

To turn cookies back on, follow the same path and switch the setting back.

Enabling or disabling cookies in Google Chrome

What cookies are, and should you disable them?

A browser cookie is a small file a website saves in your browser. It remembers things like your login, language and shopping cart, and it can also track what you do across sites.

Cookie typeSet byWhat it doesBlock it?
First-partyThe site you’re onKeeps you logged in, saves your cart and settingsNo, sites break without it
Third-partyAnother domain, usually an ad or analytics companyTracks you across websites to target adsYes, for privacy
SessionThe site you’re onDeleted when you close the browserNo
Persistent / trackingFirst or third partyStays for days or years to recognize you laterThird-party ones, yes

Blocking all cookies gives the most privacy, but you’ll be logged out everywhere, carts won’t work and many sites will show errors. Blocking only third-party cookies keeps sites working while cutting most ad tracking.

Chrome still allows third-party cookies by default. In April 2025, Google dropped its plan to phase them out and said users can keep choosing in Chrome’s settings (Google). In October 2025 it also retired most Privacy Sandbox technologies. Safari, Firefox and Brave already block most third-party tracking by default.

What happens when you disable cookies

What you blockWhat still worksWhat breaks or changes
Third-party cookies onlyLogins, carts, site settings, most sitesFewer targeted ads; some embedded videos, comments or single sign-on buttons may fail
All cookiesReading public pagesLogins, shopping carts, saved preferences, many checkouts and some captchas
Cookies cleared on exitEverything during the sessionYou’re logged out every time you close the browser

Try blocking third-party cookies for a week before going further. If a site you trust stops working, add it as an exception instead of turning cookies back on everywhere.

How to enable or disable cookies in Chrome

Desktop (Windows, Mac, ChromeOS):

  1. Click the three dots in the top-right corner and open Settings.
  2. Go to Privacy and security > Third-party cookies.
  3. Choose Block third-party cookies, Block third-party cookies in Incognito, or Allow third-party cookies.
  4. To block all cookies, go to Privacy and security > Site settings > Additional content settings > On-device site data and select Don’t allow sites to save data on your device.
  5. To allow cookies for one site, add it under Allowed to use third-party cookies or Allowed to save data on your device.

Google’s Chrome cookie help page has the latest menu names.

Android:

  1. Open Chrome, tap the three dots and go to Settings.
  2. Tap Privacy and security > Third-party cookies.
  3. Pick the option you want.

iPhone and iPad: Chrome on iOS doesn’t have its own cookie switch. It follows Apple’s rules, so use Settings > Apps > Safari, or clear cookies in Chrome under Settings > Privacy and security > Delete browsing data.

Planet VPN’s Chrome extension includes a Cookie Blocker and Tracker Blocker on Premium.

How to enable or disable cookies in Safari

Mac:

  1. Open Safari and choose Safari > Settings (or press Command + comma).
  2. Click Privacy.
  3. Keep Prevent cross-site tracking on to block third-party tracking.
  4. Tick Block all cookies to turn every cookie off, or untick it to turn cookies back on.
  5. To remove saved cookies, click Manage Website Data > Remove All.

iPhone and iPad:

  1. Open Settings > Apps > Safari (on iOS 17 and earlier: Settings > Safari).
  2. Turn on Prevent Cross-Site Tracking.
  3. Turn on Block All Cookies to disable cookies, or off to enable them.
  4. To delete cookies, tap Clear History and Website Data.

How to enable or disable cookies in Edge, Firefox, Opera and Brave

Microsoft Edge

  1. Click the three dots and open Settings.
  2. Go to Cookies and site permissions > Manage and delete cookies and site data.
  3. Turn off Allow sites to save and read cookie data to block all cookies, or turn on Block third-party cookies.
  4. Add sites under Allow to keep cookies on for them.

Edge also has Tracking prevention (Basic, Balanced, Strict) under Privacy, search, and services. Planet VPN is available as an Edge extension too.

Mozilla Firefox

  1. Open the menu (three lines) > Settings > Privacy & Security.
  2. Under Enhanced Tracking Protection, choose Standard, Strict or Custom.
  3. In Custom, tick Cookies and choose what to block, from cross-site tracking cookies to All cookies.
  4. Click Manage Exceptions to allow cookies on specific sites.

Standard mode already isolates cookies per site with Total Cookie Protection (Mozilla). For extra privacy, add the Planet VPN Firefox extension.

Opera

  1. Open Settings (Alt + P on Windows).
  2. Go to Privacy & security > Third-party cookies.
  3. Choose to allow or block third-party cookies, and add exceptions for sites you trust.

Planet VPN also works as an Opera extension.

Brave

  1. Open Settings > Shields.
  2. Under Block cookies, choose Only cross-site (the default), All, or Disabled.
  3. To change it for one site, click the lion icon in the address bar.

How to delete cookies

Blocking stops new cookies. To remove the ones already saved, clear them:

BrowserWhere to clear cookiesShortcut
ChromeSettings > Privacy and security > Delete browsing data > Cookies and other site dataCtrl + Shift + Delete (Windows), Command + Shift + Delete (Mac)
EdgeSettings > Privacy, search, and services > Delete browsing data > Choose what to clearCtrl + Shift + Delete
FirefoxSettings > Privacy & Security > Cookies and Site Data > Clear DataCtrl + Shift + Delete
Safari (Mac)Safari > Settings > Privacy > Manage Website Data > Remove All—
Safari (iPhone)Settings > Apps > Safari > Clear History and Website Data—
Chrome (Android)Chrome > three dots > Delete browsing data—

To clear cookies for one site only, click the icon left of the address bar (a lock or settings icon) and open its cookies or site data. Clearing cookies logs you out of the sites you remove.

How to fix “This page requires cookies to be enabled”

This message means the site needs a cookie to log you in or remember a step, and your browser blocked it. Try these in order:

  1. Allow cookies for that site only. Add it to the cookie exceptions in your browser (see the steps above), then reload the page.
  2. Check third-party cookies. Login pages that use another domain, like a payment or sign-in provider, may need third-party cookies for that site.
  3. Leave private or Incognito mode. Some browsers block more cookies there.
  4. Pause privacy extensions and ad blockers for the site, then reload.
  5. Clear that site’s cookies and cache, which fixes corrupted cookies.
  6. Check the date and time on your device. A wrong clock makes cookies expire instantly.
  7. Update your browser. Old versions can fail on newer cookie rules.

Once the page works, you can keep strict settings for every other site.

Cookies vs cache vs browsing history

Browsers store 3 kinds of data, and “clear browsing data” lets you pick each one:

FeatureCookiesCacheBrowsing history
What it isSmall files sites use to remember youSaved copies of images, scripts and pagesA list of the pages you visited
Why it existsLogins, carts, preferences, trackingPages load faster on your next visitSo you can find pages again
Privacy riskHigh for third-party cookiesLowMedium, mainly on shared devices
Clearing itLogs you outPages load slower onceRemoves autocomplete suggestions

Why websites ask you to accept cookies

In the EU and the UK, privacy law requires sites to ask before they set cookies that aren’t strictly necessary, such as analytics and advertising cookies. That’s why so many sites show a consent banner.

You can usually choose Reject all or Necessary only. Sites must still work for the basic things you asked for, like logging in and checkout. Your choice is saved in a cookie, so clearing cookies brings the banner back.

Other ways to limit tracking

  • Private browsing: Incognito and private windows delete cookies when you close them. Chrome’s Incognito blocks third-party cookies by default. See VPN vs Incognito mode for what each one hides.
  • Clear cookies regularly, or set Firefox and Edge to delete them when you close the browser.
  • Ad and tracker blockers stop many tracking scripts before they set cookies.
  • Reject non-essential cookies in cookie consent banners. EU and UK rules require sites to ask.
  • Watch for fingerprinting. Some trackers identify you from your browser and device settings, without cookies (what is browser fingerprinting).

Does a VPN block cookies? No. A VPN like Planet VPN encrypts your connection and hides your IP address, so sites can’t use your IP to locate or link you. But cookies live in your browser, and a site can still read them with the VPN on. Use a VPN together with the cookie settings above. Planet VPN’s browser extension also includes a Cookie Blocker and Tracker Blocker on Premium.

Trackers that work without cookies

Blocking cookies doesn’t stop every form of tracking. Ad and analytics companies also use:

  • Browser fingerprinting: combining your screen size, fonts, browser version and other settings into an ID that’s often unique to you.
  • Supercookies: data stored in places cookie settings don’t reach, such as the cache or certain browser storage features. Modern browsers have closed many of these.
  • Tracking pixels: tiny invisible images in emails and pages that report when you open them.
  • Your IP address: links your visits together and reveals your approximate location.
  • Logged-in accounts: if you’re signed in to a big platform, it can recognize you across sites that use its login or widgets.

A privacy-focused browser, a tracker blocker and a VPN together cover far more than cookie settings alone. Here’s what a VPN hides and what it doesn’t.

FAQ

How do I enable cookies in my browser?

Open your browser’s privacy settings, find the cookie option and switch it to allow. The quick-reference table at the top shows where it is in Chrome, Safari, Edge, Firefox, Opera and Brave.

How do I disable cookies in my browser?

In the same privacy settings, choose Block all cookies. To keep sites working, block only third-party cookies instead.

Is it good to disable cookies?

Blocking third-party cookies is good for privacy and rarely breaks anything. Blocking all cookies breaks logins, carts and saved settings on most sites, so it’s only worth it for short, private sessions.

How do I enable cookies on iPhone?

Go to Settings > Apps > Safari (Settings > Safari on iOS 17 and earlier) and turn off Block All Cookies. Chrome and other browsers on iPhone follow the same rules.

How do I allow cookies for one website?

Add the site to your browser’s cookie exceptions: the allowed sites list in Chrome, Allow in Edge, or Manage Exceptions in Firefox. The rest of the web keeps your stricter setting.

Does Chrome still use third-party cookies?

Yes. In April 2025, Google dropped its plan to remove them and said users can keep choosing in Chrome’s settings. Chrome’s Incognito mode blocks them by default.

How do I stop websites asking me to accept cookies?

Browsers have no built-in switch for consent banners. Some ad-blocker filter lists hide them, but the reliable option is to choose Reject all or Necessary only once per site.

Does a VPN block cookies?

No. A VPN hides your IP address and encrypts your traffic, but cookies live in your browser and sites can still read them. Use a VPN together with cookie settings or a cookie blocker.

Are cookies dangerous?

Cookies can’t run code or install malware. The risks are privacy, from third-party tracking, and account theft, if malware or a hacker steals the session cookies that keep you logged in.

Does clearing cookies delete my passwords?

No. Saved passwords are stored separately. Clearing cookies logs you out of sites, but the browser can still fill in your saved password.

Does Incognito mode block cookies?

It deletes all cookies when you close the private window, and Chrome’s Incognito blocks third-party cookies by default. Sites can still use cookies while the window is open. See does a VPN work in Incognito.

Why does a site say cookies are disabled when they’re on?

The site may need third-party cookies, an extension may be blocking them, or your device clock may be wrong. See the troubleshooting steps above.