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

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 in to sites that you were logged in to before you closed Firefox. For more information, see Privacy issues.

Table of Contents

  • 1 When session restore occurs
    • 1.1 When you select Restore Previous Session from the Firefox menu
    • 1.2 After a Firefox update
    • 1.3 After restarting Firefox in Troubleshoot Mode
    • 1.4 After a crash
    • 1.5 When you've set Firefox to restore the previous session at startup
  • 2 Configuring session restore
  • 3 Privacy issues
  • 4 Troubleshooting
    • 4.1 Previous session not correctly closed
    • 4.2 Settings may be incorrect

When session restore occurs

Here's how to get your tabs and windows from a previous session back using the Firefox menu:

  1. Click the menu button Fx57menu on the right side of your toolbar.
  2. Click and then select .
    Sessionrestore89

After a Firefox update

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

Fx70aboutFirefox-Restart about-Fx59-restart Firefox 70 MacOS Restart to update

After restarting Firefox in Troubleshoot Mode

When you restart in Troubleshoot Mode to diagnose Firefox problems, your tabs and windows will be reopened.

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 page will appear when you next launch Firefox.

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

When you've set Firefox to restore the previous session at startup

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

When Firefox starts, a single window is opened by default, displaying your specified home page. If you wish, you can configure Firefox to open the windows and tabs from your previous session:

Privacy issues

Session Restore may keep you logged in to sites that you were logged in to 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:

Warning: Changing advanced preferences can affect Firefox's stability and security. This is recommended for advanced users only.

  1. Type about:config in the address bar and press Enter Return .
    A warning page may appear. Click Accept the Risk and Continue to go to the about:config page.
  2. In the Search box at the top, type browser.sessionstore.resume_from_crash.
  3. In the resulting grid, double-click click the Toggle Fx71aboutconfig-ToggleButton button next to 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 . Click the Firefox menu at the top of the screen and select . Click the Firefox menu Fx89menuButton and select . 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 incorrect

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 and select . Click the menu button Fx89menuButton and select .
  2. Select the panel.
  3. In the History section, make sure that the Firefox will drop-down menu is set to either or .
    • If Firefox will is set to then make sure that Always use Private Browsing mode is not selected.
    • If Firefox will is set to and Clear history when Firefox closes is selected, then click the Settings button and make sure that Browsing & Download History is not selected.
  4. Close the about:preferences page. Any changes you've made will automatically be saved.

These fine people helped write this article:

AliceWyman, Bo102010, Underpass, novica, Tonnes, Michael Verdi, scoobidiver, Swarnava Sengupta, ideato, Wesley Branton, Lan, pollti, Joni, Fabi, Michael D

Illustration of hands

Volunteer

Grow and share your expertise with others. Answer questions and improve our knowledge base.

Learn More