How to use Chrome

Privacy and security settings

A faster way to browse the web. Install Google Chrome

Manage your cookies and site data

You have control when it comes to cookie permissions in Google Chrome. All cookies are allowed by default, but you can adjust this setting. If cookies have been set or blocked on the page you’re viewing, an icon appears at the end of the address bar.

What are cookies? Cookies are files created by websites you've visited that store browsing information, such as your site preferences or profile information. There are two types of cookies: First-party cookies are set by the site domain listed in the address bar. Third-party cookies come from other domain sources that have items, such as ads or images, embedded on the page.

Adjust cookie and site data permissions

  1. Click the Chrome menu Chrome menu on the browser toolbar.
  2. Select Settings.
  3. Click Show advanced settings.
  4. In the "Privacy" section, click the Content settings button.
  5. In the "Cookies" section, you can change the following cookies settings:

    Delete cookies

    Click All cookies and site data to open the Cookies and Other Data dialog.
    • To delete all cookies, click Remove all at the bottom of the dialog.
    • To delete a specific cookie, select the site that issued the cookie, then the cookie, and click Remove.

    You can also choose to remove all cookies created during a specific time period, using the Clear Browsing Data dialog.

    If you want Google Chrome to automatically delete cookies when you close all your browser windows, select the "Keep local data only until I quit my browser" checkbox in the Content Settings dialog. You can also make exceptions so that specific sites’ cookies are deleted whenever you close your browser.

    Block cookies by default

    • Block all cookies: Select "Block sites from setting any data." Keep in mind that selecting this setting will prevent most sites that require you to sign in from working. You'll see blocked cookie in the address bar whenever a cookie has been blocked.
    • Block only third-party cookies: Select the "Ignore exceptions and block third-party cookies from being set" checkbox. Even if you've added a site to the Exceptions list and have chosen to allow its cookies, the site's third-party cookies won't be accepted if this checkbox is selected.

    Allow cookies by default

    Make sure "Allow local data to be set" is selected to allow both first-party and third-party cookies. If you only want to accept first-party cookies, select the "Block all third-party cookies without exception" checkbox.

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

    Chrome will allow sites to keep local data including first-party and third-party cookies and erase them when you exit or quit Chrome.

    Certain cookies and other data associated with hosted apps can't be cleared through Content settings. Learn how to clear hosted app data by deleting your cache and other browsing data

    Make exceptions for cookies from specific websites or domains

    To control how cookies should be handled for a few specific sites or domains, click Manage exceptions. To add a rule in the Cookie and Site Data Exceptions dialog that appears, follow these steps:

    1. Click the "Add a new exception pattern" field and enter the domain name for which you want to create an exception.
      • To create exceptions for an entire domain, insert [*.] before the domain name (e.g. [*.]google.com. This will match drive.google.com and calendar.google.com).
      • You can also specify an IP address, an IPv6 address, or a non-http URL.
    2. 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 dialog.

Using a Chrome device 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 Chrome device

See cookie information for the page you're viewing

Icons may appear in the address bar to alert you about blocked or set cookies:

  • The blocked cookies icon appears whenever a cookie has been blocked on the page you’re viewing, even if you’ve allowed all local data by default, due to exceptions you’ve made for specific domains.
  • The allowed cookies icon appears whenever cookies have been set on the page you’re viewing, even though you’ve blocked all cookies by default, due to exceptions you’ve made for specific domains.

To see the cookies that have been set or blocked, just click the icon, then click Show cookies and site data. You can then make the following exceptions:

  • Re-block allowed cookies: Select the site from the list at the top and click Block. These domains will be added to your exceptions list.
  • Allow cookies from a domain: Select the site from the list at the bottom and click Allow. These domains will be added to your exceptions list.

    If you select “Continue where I left off” as your browser startup option, your session cookies will be stored when you exit; this will keep you logged into a site, e.g. Gmail.

  • Allow cookies from a domain until you exit or quit Chrome: Select the site from the list at the bottom and click Clear on exit. The cookies are deleted every time you close your browser.

You may need to reload the page for the changes to take effect. Even if you've chosen to allow a site’s cookies, its third-party cookies won't be accepted if the "Block all third-party cookies without exception" checkbox is selected.

 

Tell us how we're doing - Answer five short questions about your help center experience