(cache) Cookies - Google Chrome Help
Sign in

Cookies

This article applies to the Google Chrome browser on Windows, Mac, Linux, and Chromebooks.

You have complete 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.

It's important to be aware of your cookie settings because cookies can allow sites to track your navigation during your visit to those sites.

Adjust cookie permissions

  1. Click the wrench icon tools menu on the browser toolbar.
  2. Select Options (Preferences on Mac and Linux; Settings on a Chromebook).
  3. Click the Under the Hood tab.
  4. Click Content settings in the "Privacy" section.
  5. Click the Cookies tab in the Content Settings dialog that appears:

    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 browser windows, select the "Clear cookies and other site data when I close 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.

    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).
      • 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 Session only, its cookies are deleted every time you close your browser.

    You can also edit or remove exceptions using this dialog.

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

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.
  • Allow cookies from a domain during your browsing session: Select the site from the list at the bottom and click Allow for session only. 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.