What cookies are and why websites ask you to enable them

A cookie is a small file your browser stores on your computer. When you visit a website, that site can ask your browser to save information — like that you logged in, what you put in your shopping cart, or your language preference. The next time you visit, the website reads that cookie and remembers you.

Websites ask you to enable cookies because without them, you have to log in again every time you visit, your cart empties, and the site can't remember your settings. Most websites won't work properly if cookies are turned off. Your browser stores these files in a folder on your computer, and you can delete them anytime.

Cookies are not programs or viruses — they're just text files. They can't run code or damage your device. A website can only read cookies it created itself, not cookies from other sites.

Key Takeaways

  • Cookies are small files websites ask your browser to store so they can remember you next time you visit.
  • Most websites require cookies to work properly — without them you lose login information, shopping carts, and saved preferences.
  • Cookies are turned on by default in Chrome, Firefox, Safari, and Edge, so you likely don't need to change anything.
  • If a website tells you cookies are off, the fix is different for each browser and takes less than one minute.

Check if cookies are already on in Chrome

Chrome turns cookies on by default, so most people don't need to do anything. To check: open Chrome and click the three vertical dots in the top right corner. Select Settings.

On the left side, click Privacy and security, then click Cookies and other site data. Look for the option that says Allow all cookies or Block third-party cookies in Incognito. If either of these is selected, cookies are on. If you see Block all cookies, that's the problem — click that option and change it to Allow all cookies.

Close the settings tab. Cookies are now on. Go back to the website that asked you to enable them and refresh the page.

Check if cookies are already on in Firefox

Firefox also turns cookies on by default. To check: open Firefox and click the three horizontal lines in the top right corner. Select Settings.

On the left side, click Privacy & Security. Scroll down to the section called Cookies and Site Data. You should see a checkbox next to Accept cookies and site data from websites. If that box is checked, cookies are on. If it's unchecked, click it to turn cookies on.

Close the settings tab and go back to the website. Refresh the page and the site should now work.

Check if cookies are already on in Safari

Safari turns cookies on by default. To check on a Mac: click Safari in the top menu bar, then select Settings (or Preferences on older versions). Click the Privacy tab.

Look for the section labeled Cookies and website data. You should see an option that says Always allow or Allow from websites I visit. Either of these means cookies are on. If you see Never allow, click that option and change it to Always allow.

On an iPad or iPhone, open Settings, scroll down and tap Safari, then scroll to Privacy & Security. Make sure Prevent cross-site tracking is on, but Block All Cookies should be off. If Block All Cookies is on (the toggle is green), tap it to turn it off.

Check if cookies are already on in Microsoft Edge

Edge turns cookies on by default. To check: open Edge and click the three dots in the top right corner. Select Settings.

On the left side, click Privacy, search, and services. Scroll down to Cookies and other site data. You should see an option selected that says Allow all cookies or Block only third-party cookies. Either means cookies are on. If Block all cookies is selected, click that option and change it to Allow all cookies.

Close settings and go back to the website. Refresh the page.

What to do if a website still doesn't work after enabling cookies

If you've turned cookies on but the website still says they're disabled, the problem might be that your browser is in a private or incognito mode. Private browsing blocks cookies by default on most browsers, even if you've turned them on in regular settings.

Close the website and open it again in a regular (non-private) browser window. If you were in Chrome Incognito, Firefox Private, Safari Private, or Edge InPrivate, switch to a normal window instead. The website should now work.

If the website still doesn't work, try clearing your browser's cache and cookies, then turn cookies back on. In most browsers, you can do this by pressing Ctrl+Shift+Delete (Windows) or Command+Shift+Delete (Mac), selecting the time range All time, checking Cookies, and clicking Clear. Then refresh the website.

Frequently Asked Questions

Is it safe to turn cookies on?

Yes. Cookies are text files, not programs. They can't install software or steal passwords. A website can only read cookies it created itself. You can delete all cookies anytime by clearing your browser history, and most websites let you control which cookies you accept.

Will turning on cookies slow down my browser?

No. Cookies are tiny files — usually just a few kilobytes. They don't affect your browser's speed or performance. Your computer stores thousands of them without any noticeable impact.

What's the difference between cookies and tracking?

Cookies are just files. Tracking is what some websites do with those files — they use cookies to follow where you go online and build a profile of your interests. You can turn on cookies for websites to work while still blocking third-party tracking cookies, which most browsers let you do in settings.

Do I need to enable cookies on every website?

No. When you turn cookies on in your browser settings, it applies to all websites. You don't need to enable them individually. Some websites show a popup asking you to accept cookies anyway — you can usually just close that popup or click "Accept" and move on.