We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

why is firefox logging me out of gmail?

  • 3 replies
  • 2 have this problem
  • 18 views
  • Last reply by cor-el

more options

For the last week or two, every time I close Firefox I get logged out of every website I've been logged into even when I check their individual options to keep me logged in. This includes gmail, youtube, amazon, facebook, etc... I want to know what settings I need to fix in order to stay logged in after I close the browser window.

For the last week or two, every time I close Firefox I get logged out of every website I've been logged into even when I check their individual options to keep me logged in. This includes gmail, youtube, amazon, facebook, etc... I want to know what settings I need to fix in order to stay logged in after I close the browser window.

All Replies (3)

more options

What keeps you logged in are special cookies.

Type about:preferences#privacy<enter> in the address bar. The button next to History, select Use Custom Settings.

At the bottom of the page, turn on Clear History When Firefox Closes. At the far right, press the Settings button. Turn on ONLY Cache and Form And Search History leaving the others off.

more options

I am currently set up to keep everything when I close Firefox.

more options

A detail like a website remembering you (log you in automatically) is stored in a cookie.

You can use these steps to make a website recognize and remember you:

  • you can create an "Allow" exception to keep specific cookies, especially in case of secure websites and when cookies expire when Firefox is closed.
  • Options/Preferences -> Privacy & Security -> Cached Web Content: "Clear Now": Exceptions

Let the cookies expire when Firefox is closed to make them session cookies instead of using "Clear history when Firefox closes" to clear the cookies.

  • Options/Preferences -> Privacy & Security -> "Use custom settings for history" -> Cookies: Keep until: "I close Firefox"

You can create an "Allow" exception to keep specific cookies.