A website can get stuck using an old sign-in session or saved preference. Clearing its cookies in desktop Firefox lets the site start a new session the next time you load the page.

Firefox clears cookies together with site data. Clearing them can sign you out, empty a shopping cart, or remove data a site saved for offline use. You can sign back in to start a fresh session, but Firefox cannot restore the deleted data.

Open tabs can still show an account page after its session cookie is gone. Reloading asks the site for a fresh page so you can see whether it still recognizes your session.

Steps to clear cookies in Firefox:

Clear one site when only that site is having trouble. The all-sites option clears cookies across the current Firefox profile and can sign you out of multiple sites.

Clear cookies for one site

Start on an account page of the site where you are already signed in.

  1. Click the shield to the left of the address bar on the site whose cookies you want to clear.

    In Firefox versions with a separate padlock, the site information panel opens from the padlock.

  2. Select Clear cookies and site data in the site panel.

    Firefox removes cookies, site data and temporary cached files and pages for the base domain shown in the confirmation, such as example.com for shop.example.com. This includes its other subdomains, such as mail.example.com. If the named base domain is outside the scope you intend to clear, click Cancel.

  3. Click Clear in the confirmation panel for the displayed site.

    The padlock route uses Remove in the separate Removing Cookies and Site Data dialog.

  4. Reload the cleared site's page using the toolbar's reload button.
  5. Check that the site's account page asks you to sign in again.

    For a site you use without signing in, start on a page that shows a non-default cookie-backed preference such as your language choice. The preference should return to its default after you reload.

  6. Switch to an open tab for a site on a different base domain where you were signed in.

    This comparison is optional if you have no other signed-in site open.

  7. Reload the other site's page.
  8. Verify that the other site's account page still shows you signed in.

Clear cookies for all sites

Start with two separate tabs, each on a website with a different base domain where you're already signed in.

  1. Press Ctrl + Shift + Delete to open Delete browsing data.

    On macOS, the shortcut is Command + Shift + Delete.

  2. Set When to Everything.
  3. Select Cookies and site data if it is unchecked.
  4. Clear the other checked boxes.

    Firefox can remember earlier selections for Browsing & download history, Temporary cached files and pages, Saved form info, and Site settings. Anything left checked will also be deleted.

  5. Click Delete to clear cookies and site data in this Firefox profile.
  6. Reload an open account page where you were signed in before the deletion.
  7. Verify that the reloaded account page asks you to sign in again.
  8. Switch to the second site's tab.
  9. Reload the second site's account page.
  10. Check that the second site also asks you to sign in again.
Share this guide