Clear, enable, and manage cookies in Chrome

All cookies are allowed by default, but you can adjust this setting and clear cookies for all sites or for certain pages.

What cookies are

Cookies are files created by websites you've visited. Cookies store browsing information, like your site preferences or profile information. There are two types of cookies:

  • First-party cookies are set by the site shown in the address bar.
  • Third-party cookies come from other sites that have things like ads or images embedded on the page you're visiting.

Not all cookies are bad. For example, cookies help the website remember your preferred settings so it can reload them when you revisit the site next week. Cookies can also help a website remember your location, so it can provide you with locally relevant content, like weather.

Delete specific cookies or clear all cookies

You can remove first-party and third-party cookie information and data from your devices. If you remove cookies, things like saved preferences on websites might get deleted.

Computer
  1. On your computer, open Google Chrome.
  2. In the top right, click the Menu Chrome menu.
  3. Click Settings > Show advanced settings.
  4. In the "Privacy" section, click Content settings.
  5. Under "Cookies," click All cookies and site data.
Android phone or tablet
  1. Open the Chrome app Chrome logo.
  2. Tap the Menu .
  3. Tap Settings > Privacy > Clear browsing data.
  4. Check only Cookies, site data to delete all cookies.
iPhone and iPad
  1. Open the Chrome app Chrome logo.
  2. Tap the Menu .
  3. Tap Settings > Privacy > Clear browsing data.
  4. Check only Cookies, site data to delete all cookies.

Allow or don't allow cookies

You can enable or disable cookies saved by websites.

Computer
  1. On your computer, open Google Chrome.
  2. In the top right, click the Menu Chrome menu.
  3. Click Settings > Show advanced settings.
  4. In the "Privacy" section, click Content settings.
  5. Use the "Cookies" section to change your settings:
    • To block all cookies, click Block sites from setting any data. When you use this setting, most sites that require you to sign in won't work.
    • To allow only first-party cookies and block all third-party cookies, check Block third-party cookies and site data. This setting will prevent third-party cookies from being accepted, even if you've added a site to the exceptions list and have chosen to allow its cookies.
    • To allow both first-party and third-party cookies, click Allow local data to be set.

Check that your settings were saved

If you go to a site and a cookie is blocked, in the address bar you'll see a blocked cookie icon 

Android phone or tablet
  1. Open the Chrome app Chrome logo.
  2. Tap the menu icon > Settings > Site settings.
  3. Tap Cookies.
  4. Tap the slider to turn cookies on or off.
  5. Optional: To allow only first-party cookies and block all third-party cookies, uncheck Allow third-party cookies. This setting will prevent third-party cookies from being accepted, even if you've added a site to the exceptions list and have chosen to allow its cookies.

Note: If you don't allow sites to save cookies, most sites that require you to sign in won't work.

Manage other cookie data and information

You have control over your cookie information when using Chrome on your computer. Learn how to manage your settings.

Keep cookies and site data by default until you quit your browser

Chrome allows sites to keep information that includes first-party and third-party cookies while you're browsing, but erase them when you quit Chrome.

  1. On your computer, open Google Chrome.
  2. In the top right, click the Menu Chrome menu.
  3. Click Settings > Show advanced settings.
  4. In the "Privacy" section, click Content settings.
  5. Under "Cookies," select Keep local data only until you quit your browser.

You can't clear some cookies and site data associated with apps you've added to Chrome from the Chrome Web Store. Learn how to clear hosted app data deleting your cache and other browsing data.

Make exceptions for certain websites or domains

You can block most cookies while still allowing them from certain sites:

  1. On your computer, open Google Chrome.
  2. In the top right, click the Menu Chrome menu.
  3. Click Settings > Show advanced settings.
  4. In the "Privacy" section, click Content settings.
  5. Under "Cookies," click Manage exceptions.
  6. Enter the site name you want to allow cookies for.
    • To allow cookies from an entire domain, insert [*.] before the domain name. For example, [*.]google.com. This creates an exception for drive.google.com and calendar.google.com.
    • You can also put an IP address or a web address that doesn't begin with "http."
  7. Use the menu to choose whether the site can set cookies. If you select Clear on exit, its cookies are deleted every time you close your browser.

You can also edit or remove exceptions using this box. Hover over the site or domain and click the , then click Done.

If you're using a Chromebook at work or school, your network administrator might configure cookies for you, in which case you can't change these settings yourself. Learn about using a managed Chromebook.

Change cookie permissions for the page you're viewing

If you've added cookies exceptions for specific domains, the address bar will show if cookies are blocked 

You can adjust cookie permissions for the page you're on.

  1. Open Chrome and go to the page you want to manage cookies for.
  2. Click the connection icon in the address bar, which might look like a lock Lock or a page Blank page icon.
  3. Click the [number] from this site link.
  4. Adjust the cookies:
    • Re-block allowed cookies: In the "Allowed" tab, select the site from the list at the top and click Block.
    • Allow cookies from a domain: In the "Blocked" tab, select the site from the list at the top and click Allow.
    • Allow cookies from a domain until you exit or quit Chrome: In the "Blocked" tab, select the site from the list at the top and click Clear on exit. The cookies are deleted every time you close your browser.

You might need to reload the page for the changes to take effect. Even if you've allowed a site's cookies, its third-party cookies won't be accepted if you've checked "Block third-party cookies and site data."

Related articles

Laura is a Google Chrome expert and author of this help page. Leave her feedback about the page.

Was this article helpful?
Watch video tutorials

To get the latest tips, tricks, and how-to's, subscribe to our YouTube Channel.