HOMEPAGE | Blog | How to Disable Cookies in Browser

How to Disable Cookies in Browser

Publication Date 10 October 2026
Last Updated 10 October 2026
Table of Contents

Cookies are small pieces of data that websites store on your device. Browser cookies help keep you signed in, remember your language preferences, and keep track of items in your shopping cart. Some cookies are also used to measure website visits and connect your browsing activity across different sites for advertising purposes. Cookie settings vary by browser and device. Some browsers let you block all cookies, while others only let you block third-party cookies. Blocking cookies usually does not delete existing cookies, although some browsers combine these actions.

The steps below explain how to block and clear cookies in Chrome, Firefox, Microsoft Edge, Opera, and Samsung Internet.

What to Know Before Blocking Cookies

The difference between blocking and deleting cookies comes down to what happens to existing data and what happens on future visits. Blocking restricts cookie use, while deleting removes cookies that have already been saved. If you only delete cookies, websites may save them again the next time you visit.

  • Sign-ins and shopping carts: Blocking all cookies may prevent you from signing in or cause websites to stop remembering your shopping cart.

  • First-party and third-party cookies: First-party cookies belong to the website you are visiting. Third-party cookies belong to other sites, such as services embedded on the page.

  • Cookie purpose: Not all first-party cookies are essential cookies. They can also be used for analytics or advertising. Rejecting optional cookies through a website’s banner is different from blocking cookies in your browser.

  • Saved passwords: Deleting cookies does not delete passwords from your password manager. Select only the data types you want to remove.

  • Tracking protection: Blocking third-party cookies does not remove ads or stop every form of tracking. Browser fingerprinting, for example, can work without cookies.

On a shared computer, sign out of your accounts and clear stored session data when you finish. Blocking cookies does not necessarily remove existing data.

Menu names may vary by browser version, operating system, and interface language.

How to Block Cookies On Chrome

Chrome has separate settings for on-device site data and third-party cookies. Blocking third-party cookies does not block the cookies set by the website you are visiting.

Blocking Cookies in Chrome on a Computer

  1. Open the three-dot menu → Settings.

  2. Go to Privacy and security → Site settings.

  3. Open Additional content settings → On-device site data.

  4. Select Don’t allow sites to save data on your device (not recommended).

This setting covers cookies and other site data. To let websites save data during your session but remove it afterward, choose the option that deletes data when you close all browser windows.

Clear Cookies On Chrome

To clear cookies in Chrome on a computer, Android, iPhone, or iPad:

  1. Open the three-dot menu → Delete browsing data. If this option is not visible, go to Settings → Privacy and security → Delete browsing data.

  2. Choose a time range. Select All time to remove all saved cookies.

  3. Select Cookies and other site data or Cookies and site data. On iPhone and iPad, open Browsing Data, select Cookies, Site Data, and tap Confirm.

  4. Deselect any other data types you want to keep.

  5. Select Delete data or Delete Browsing Data, then confirm if prompted.

Clearing cookies may sign you out of websites and remove saved preferences. It does not block websites from saving cookies again.

Block Third-Party Cookies on Chrome (Desktop)

  1. Open the three-dot menu → Settings.

  2. Go to Privacy and security → Third-party cookies.

  3. Select Block third-party cookies.

Check the exceptions in the same section. Sites you have previously allowed may still use third-party cookies.

To delete saved cookies, open three-dot menu → Delete browsing data, choose a time range, select Cookies and other site data, and click Delete data. Deselect any other data types you want to keep.

Block Cookies in Chrome on Android

  1. Open the three-dot menu → Settings.

  2. Go to Site settings → On-device site data.

  3. Turn this setting off.

To block only third-party cookies, go to Settings → Site settings → Third-party cookies → Block third-party cookies.

Chrome on iPhone and iPad does not provide a setting to block all cookies, but you can clear saved cookies.

How to Block Cookies On Firefox

The following steps apply to Firefox on Windows, macOS, and Linux. You can choose which cookies to block under Enhanced Tracking Protection. To block all cookies:

  1. Open the three-line menu in the top-right corner and select Settings.

  2. Go to Privacy & Security.

  3. Under Enhanced Tracking Protection, select Custom. If this option is not immediately visible, open Advanced settings first.

  4. Select the Cookies checkbox.

  5. Choose All cookies from the dropdown menu next to it.

  6. If shown, click Reload All Tabs.

The Standard and Strict options in this section control the level of tracking protection. Choosing Strict protection is not the same as blocking all cookies.

Clear cookies on Firefox

  1. Open the three-line menu → History → Clear Recent History.

  2. Set the time range to Everything.

  3. Select Cookies and site data.

  4. Deselect any other items you want to keep, such as browsing history and cached data.

  5. Click Clear.

Block Third-Party Cookies On Firefox

  1. Open Settings → Privacy & Security.

  2. Under Enhanced Tracking Protection, select Custom. If necessary, open Advanced settings first.

  3. Select the Cookies checkbox.

  4. Choose All cross-site cookies from the dropdown menu.

  5. Click Reload All Tabs if shown.

Some embedded content or sign-in options that use another service may stop working after this change.

How to Block Cookies On Microsoft Edge

In Microsoft Edge, cookie settings are listed under Cookies. To block all cookies:

  1. Open the three-dot menu → Settings in the top-right corner.

  2. Go to Clear browsing data.

  3. Next to Clear browsing data now, click Choose what to clear.

  4. Turn off Allow sites to save and read cookie data.

Clear cookies on Microsoft Edge

To remove saved cookies:

  1. Open Settings → Privacy, search, and services.

  2. Go to Clear browsing data.

  3. Next to Clear browsing data now, click Choose what to clear.

  4. Select a time range.

  5. Select Cookies and other site data, then deselect any other types of data you want to keep.

  6. Click Clear now.

Blocking Third-Party Cookies On Microsoft Edge

To block third-party cookies while allowing the website you are visiting to use its own cookies:

  1. Open Settings → Privacy, search, and services.

  2. Go to Cookies.

  3. Turn on Block third-party cookies.

Edge’s Tracking prevention feature is separate from these cookie settings.

How to Block Third-Party Cookies in Opera on a Computer

To block third-party cookies in Opera:

  1. Open Settings.

  2. Go to Privacy and security.

  3. Open Third-party cookies.

  4. Select Block third-party cookies.

If your version shows Site settings → Cookies and site data, enable Block third-party cookies there. To block all cookies, turn off Allow sites to save and read cookie data, if available.

Blocking third-party cookies does not block the cookies set by the website you are visiting.

Clear cookies on Opera

To remove cookies that have already been saved:

  1. Open Settings → Privacy and security.

  2. Select Clear browsing data.

  3. Choose a time range.

  4. Select Cookies and other site data.

  5. Deselect any other types of data you want to keep, then confirm.

How to Block Cookies On Samsung Internet

Samsung Internet lets you block all cookies or only third-party cookies. To find these settings:

  1. Open Samsung Internet and go to Menu → Settings.

  2. Go to Sites and downloads → Site permissions.

  3. Open Cookies.

  4. Select Block all cookies or Block third-party cookies.

Clear cookies on Samsung Internet

To remove saved cookies and site data:

  1. Open Samsung Internet and go to Menu → Settings.

  2. Go to Personal browsing data → Delete browsing data.

  3. Select the option for cookies and site data.

  4. Deselect any other items you want to keep.

  5. Tap Delete data. If prompted, tap Delete to confirm.

Is It Safe to Disable Cookies?

Disabling cookies will not harm your device. Blocking third-party cookies can limit some forms of cookie-based tracking. However, blocking all cookies may prevent you from signing in to accounts or completing purchases.

Cookie blocking alone does not protect you against malware, phishing, or every form of tracking. Choose your settings based on your privacy preferences and what the websites you use need to function.

When Should You Enable Cookies?

If you cannot sign in to a trusted website, keep items in your shopping cart, or use your saved preferences, check your cookie settings. If cookie blocking is causing the problem, you can use your browser’s available settings to allow cookies for that site.

Signing in through another service or using an embedded application may require third-party cookies. If your browser supports it, grant temporary permission or add an exception for the relevant site instead of turning off cookie blocking for every website.

Frequently Asked Questions

To reduce cookie-based tracking across websites, start by blocking third-party cookies. Blocking all cookies is a broader restriction that can also affect basic functions such as signing in.

In Chrome on a computer, go to Settings → Privacy and security → Third-party cookies → See all site data and permissions. Search for the website, click the delete icon next to it, and confirm by selecting Delete. This may remove other data saved by the website as well as its cookies.

No. Clearing only cookies and site data will not delete passwords stored in your password manager, although it may sign you out of websites. Leave any separate password or autofill options unselected when clearing browsing data.

Websites often save your cookie preferences in a cookie or other browser storage. If you clear that record along with cookies and site data, the website may ask again. This can also happen when you use another device or browser, or when the saved preference expires. Blocking that storage may also prevent the website from remembering your choice.

Check your browser’s cookie or site data settings, including any site-specific exceptions. Block third-party cookies does not mean all cookies are blocked.

Previously saved cookies may still appear in the data list even after you block new ones.

Cookies may contain personal information or identifiers that can be linked to you. They do not need to include your name or email address: a unique user or session ID can be matched with other records to identify you.