Restore previous session - Configure when Firefox shows your most recent tabs and windows

Revision Information
  • Revision id: 14436
  • Created:
  • Creator: scoobidiver
  • Comment: canceled edit in crash section, renamed Incorrect Settings section
  • Reviewed: No
  • Ready for localization: No
Revision Source
Revision Content

Firefox can restore all windows and tabs that were open when it was last closed or terminated unexpectedly. This article describes the circumstances under which Firefox will restore your previous session and how you can configure it.

Note: Session Restore may keep you logged into sites that you were logged into before you closed Firefox. For more information, see Privacy issues.

When session restore occurs

When you tell Firefox to save your tabs on exit

Firefox normally asks, "Do you want Firefox to save your tabs for the next time it starts" when you exit Firefox. If you no longer see this prompt, see How do I restore my tabs from last time?.

When you select Restore Previous Session from the default home page

If you had tabs and windows open when you last closed Firefox, the default Firefox home page will have a Restore Previous Session button on it. To get your tabs and windows back, just click it. Restore Previous Session - Win1

Note: If you've set your home page to something other than the default Firefox home page, you can restore the default home page.

When you select Restore Previous Session from the History menu

Here's how to get your tabs and windows from a previous session back if you don't use the default Firefox home page:

At the top of the Firefox window, click the Firefox button, go over to History (History menu in Windows XP) and select Restore Previous Session.On the menu bar, click the History menu and select Restore Previous Session.At the top of the Firefox window, click the History menu and select Restore Previous Session.

After installing an add-on

When a new extension or theme is installed, you must restart Firefox to enable the new add-on. To restart, click Restart NowFirefox. All windows and tabs are re-opened when Firefox restarts and installs the new add-on.Restore Previous Session - Win3
50d69608d844b9c206ea8615c091cae1-1258706212-695-1.png

After a software update

To apply any updates to the Firefox application that have been downloaded, you must restart Firefox. To restart, click Restart FirefoxApply Update.
Update Win2

Update Mac2

Update Lin2

After restarting with add-ons disabled

Some problems may be caused by some extensions or themes. To troubleshoot them, you need to restart Firefox with add-ons disabled:

  1. At the top of the Firefox window, click the Firefox button, go over to Help (Help menu in Windows XP) and select Restart with Add-ons Disabled....On the menu bar, click the Help menu and select Restart with Add-ons Disabled....At the top of the Firefox window, click the Help menu and select Restart with Add-ons Disabled....
  2. In the Restart With Add-ons Disabled window, click OK.
  3. In the Firefox Safe Mode window, click Continue in Safe Mode to finish the restart.

After a crash

Due to unexpected issues such as problems with a website, software errors, or an accidental loss of power, Firefox may unexpectedly close. In these situations, Firefox can restore the pages that you were visiting when it is restarted. Firefox will automatically restore your previous session, the first time you launch it after a crash.

If Firefox crashes a second time, the Restore Session (i.e. "Well, this is embarrassing") page will appear when you next launch Firefox.
FxCrash-RestoreSession

  • To restore your previous session, select the windows or tabs you want to restore and click Restore.
  • If Firefox continues to experience errors when windows and tabs are re-opened, you can launch Firefox without restoring these items. Click Start New Session.

When you've set Firefox to show your windows and tabs from last time

You can set Firefox to always show your windows and tabs from your previous session each time you start Firefox. To change your Firefox startup settings, see Configuring session restore, below.


Configuring session restore

By default, when Firefox starts, a single window is opened, displaying your specified home page. If you wish, you can configure Firefox to open all windows and tabs from your previous session: Restore Previous Session - Win450d69608d844b9c206ea8615c091cae1-1258706212-695-2.png

  1. In the Menu bar at the top of the screen, click Firefox and then select Preferences or Settings, depending on your macOS version.Click the menu button Fx89menuButton and select Settings.
  2. Select the General panel (Main panel in Firefox 3.5).
  3. From the When Firefox starts drop-down, select Show my windows and tabs from last time.
  4. Close the Settings page. Any changes you've made will automatically be saved.


Privacy issues

Session Restore may keep you logged in to sites that you were logged into before you closed Firefox. If someone else used your computer after you, they could access your account on these sites. If this is a concern then you should not configure Firefox to open all windows and tabs from your previous session.

You may also wish to disable the Session Restore crash recovery feature which is enabled by default. This will prevent restoring a previous session when Firefox is opened after an unexpected close or software crash:

  1. Type about:config in the address bar and press EnterReturn.
    A warning page may appear. Click Accept the Risk and Continue to go to the about:config page.
  2. Find browser.sessionstore.resume_from_crash in the list
  3. Double-click on browser.sessionstore.resume_from_crash to set it to false.


Troubleshooting

Previous session not correctly closed

To get your tabs and windows back from a previous session, you should close Firefox from the menu: Click the Firefox menu Fx89menuButton and select Exit.Click the Firefox menu at the top of the screen and select Quit Firefox.Click the Firefox menu Fx89menuButton and select Quit. If you close each window or tab, only the tabs in the final window that you close are available when you restart Firefox.

Settings may be set incorrectly

For other session restore problems, you may need to make corrections to your Firefox settings:

  1. In the Menu bar at the top of the screen, click Firefox and then select Preferences or Settings, depending on your macOS version.Click the menu button Fx89menuButton and select Settings.
  2. Select the Privacy panel and make sure Firefox will: is set to either Remember history or Use custom settings for history.
    • If Firefox will: is set to Use custom settings for history then make sure that Automatically start Firefox in a private browsing sessionPermanent Private Browsing mode is not selected.
    • If Firefox will: is set to Use custom settings for history and Clear history when Firefox closes is selected, then click the Settings button and make sure that Browsing History is not selected.
  3. Close the Settings page. Any changes you've made will automatically be saved.




Based on information from Session Restore (mozillaZine KB)