What disabling cookies actually does
Turning off cookies stops websites from storing small files on your device that track your activity. When you disable cookies, websites can no longer remember you between visits, follow you across the internet, or build a profile of your browsing habits for advertising. You will have to log in again each time you visit a site, and targeted ads will largely disappear — though some ads will still show.
The tradeoff is real: many websites become harder to use. Shopping carts empty, forms don't remember what you typed, and some sites won't load at all. Most people find a middle ground more practical — blocking third-party cookies (the tracking kind) while allowing first-party cookies (the ones that make sites work). Your browser can do this with a single setting change.
Key Takeaways
- Disabling all cookies breaks many websites, so blocking only third-party cookies is usually more practical.
- Every browser has a cookie setting in its privacy menu, and the steps differ slightly between Chrome, Firefox, Safari, and Edge.
- You can also block cookies for specific websites while allowing them everywhere else.
- Clearing your cookies regularly removes tracking data that has already been stored, even if you allow new cookies going forward.
How to block third-party cookies in Chrome
Open Chrome and click the three vertical dots in the top right corner. Select Settings, then click Privacy and security on the left side. Under Cookies and other site data, select Block third-party cookies. This is the default setting in newer versions of Chrome, so you may already have it turned on.
If you want to block all cookies instead, choose Block all cookies from the same menu. Be aware that this will break many websites — you will not be able to stay logged in, and shopping carts will empty when you close the browser. Most people should stick with blocking only third-party cookies.
How to block third-party cookies in Firefox
Open Firefox and click the three horizontal lines in the top right corner. Select Settings, then click Privacy & Security on the left. Under Cookies and Site Data, check the box next to Delete cookies and site data when Firefox is closed. Then select Standard or Strict under Enhanced Tracking Protection.
Standard blocks third-party cookies and some trackers. Strict blocks more trackers but may break some websites. You can also click Manage Exceptions to allow cookies on specific sites you trust while blocking them everywhere else.
How to block cookies in Safari
Open Safari and click Safari in the menu bar at the top of the screen. Select Settings (or Preferences on older Macs), then click the Privacy tab. Under Cookies and website data, select Block all cookies or Allow only websites I visit. The second option is less disruptive — it allows first-party cookies but blocks third-party tracking cookies.
Safari also has Intelligent Tracking Prevention turned on by default, which blocks many trackers automatically even if you allow cookies. You do not need to change this setting unless a website is not working properly.
How to block cookies in Microsoft Edge
Open Edge and click the three horizontal dots in the top right corner. Select Settings, then click Privacy, search, and services on the left. Under Clear browsing data, toggle on Clear browsing data every time you close the browser. Then scroll down to Cookies and other site data and select Block third-party cookies.
Edge also offers a Tracking prevention slider that you can set to Strict for stronger protection. Like Chrome, blocking only third-party cookies is the default and the most practical choice for most users.
How to block cookies for one website only
You can allow cookies everywhere except on specific sites. In Chrome, visit the website you want to block, click the lock icon next to the address bar, and select Cookies. Click Manage, then toggle off Allow. In Firefox, go to Settings > Privacy & Security > Cookies and Site Data > Manage Exceptions, type the website address, and click Block.
In Safari, click Safari > Settings > Privacy, then click Manage Website Data. Find the website in the list, select it, and click Remove. In Edge, click the three dots > Settings > Privacy, search, and services > Cookies and other site data > Manage exceptions, type the address, and click Block.
Clearing cookies you already have stored
Disabling cookies only stops new ones from being stored. To remove cookies that websites have already placed on your device, you need to clear them manually. In Chrome, click the three dots > Settings > Privacy and security > Clear browsing data. Make sure Cookies and other site data is checked, select the time range (usually All time), and click Clear data.
In Firefox, click the three lines > Settings > Privacy & Security, scroll to Cookies and Site Data, and click Clear Data. In Safari, click Safari > Settings > Privacy > Manage Website Data, select all sites, and click Remove. In Edge, click the three dots > Settings > Privacy, search, and services > Clear browsing data and follow the same steps as Chrome.
Frequently Asked Questions
Will disabling cookies make me safer?
Disabling cookies reduces tracking and targeted advertising, but it does not protect you from viruses, phishing, or hacking. Cookies themselves are not dangerous — they are just text files. The risk is that advertisers and data brokers use them to build detailed profiles of your behavior. Blocking third-party cookies removes most of that tracking without breaking websites.
What happens if I disable all cookies?
Many websites will stop working properly. You will be logged out every time you close your browser, shopping carts will empty, and some sites will refuse to load at all. Banks, email providers, and streaming services often require cookies to function. Blocking only third-party cookies is a better choice for most people.
Do I need to clear cookies regularly?
Clearing cookies regularly removes tracking data that has already been stored, but it does not prevent new tracking. If you have disabled third-party cookies, clearing them occasionally is helpful but not urgent. If you allow all cookies, clearing them weekly or monthly reduces the amount of data advertisers can collect about you.
Can websites tell if I have disabled cookies?
Yes, websites can detect that you have disabled cookies and may refuse to load or display a warning. Some sites require cookies for security reasons. If a website is not working, try allowing cookies for that site only, or switch to a different browser temporarily to see if the problem persists.
Do private or incognito windows block cookies?
Private browsing modes (called Incognito in Chrome, Private in Firefox and Safari, and InPrivate in Edge) delete cookies when you close the window, but they do not block cookies while you are browsing. Websites can still track you during that session. For ongoing protection, change your cookie settings in the main browser settings, not just in private mode.