There is a fairly common issue in Firefox on Windows 11 or 10 where, after a crash, a Windows restart or the browser simply being closed the wrong way, Firefox opens with none of your previous windows and tabs, and when you go to the History menu to get them back, “Restore Previous Session” is greyed out or not there at all.
Sometimes that just means Firefox already restored the session by itself, but it can also mean the session was never saved properly. The good news is that Firefox keeps a few backup copies of your session, so you can often still get your tabs back. This guide will show you how to check each cause and recover your lost tabs from those backups.
Also see: How to Reopen Closed Window or Tab in Mozilla Firefox

Why is “Restore Previous Session” greyed out in Firefox?
The History menu item only works when Firefox has a saved session it hasn’t used yet. These are the usual reasons it doesn’t:
- Firefox already restored the session at startup, for example when “Open previous windows and tabs” is on, or it has nothing saved to restore. The classic History menu (press Alt to show the menu bar) then shows the item greyed out, while the History panel under the menu button (three lines) doesn’t list it at all, which looks like it’s missing.
- Firefox isn’t remembering history. With “Never remember history” or “Always use private browsing mode“, every window acts like a private window, and private windows are never saved or restored.
- A policy is blocking it. Some antivirus or company tools add Firefox policies, and one of them can lock session restore.
- The session file wasn’t saved properly. If Firefox crashed, was ended from Task Manager or the PC lost power, the latest session file may be missing or may not have your tabs.

Whatever the reason, don’t keep opening and closing Firefox while you try to get the tabs back. Every new start can replace an older session file, and that older file may be the one that still has your tabs.
Check “Recently Closed Windows” first
If only one of your windows came back, or the window was closed rather than the whole browser, it may still be in Firefox’s list of closed windows. Reopening it from there brings back the whole window with all of its tabs at once.
- Click the menu button (three lines) at the top-right of Firefox and select History.
- Click Recently Closed Windows and pick the window you lost. Ctrl + Shift + N reopens the last closed window too.

By default, Firefox keeps only your last 5 closed windows in this list, so check it before you close any more windows. If Recently Closed Windows is greyed out as well, there’s nothing in it, so go on to the backup files below.
Make sure Firefox is set to remember history
If Firefox is set not to keep history, it doesn’t save your session at all, so “Restore Previous Session” and the “Open previous windows and tabs” setting both stay greyed out.
- Open Firefox’s Settings (or type “about:preferences” in the address bar and press Enter).
- Go to Privacy and security and scroll down to History.
- Select “Remember history“. If you use “Customize history” instead, click “Choose what you want Firefox to remember” and make sure “Always use private browsing mode” is unticked.

- Restart Firefox if it asks you to.
After that, browse for a bit, close Firefox normally and open it again to see if your tabs come back by themselves or History > Restore Previous Session works.
Check for a policy blocking session restore
If your history settings already look right, type “about:policies” in the address bar. When it lists active policies you didn’t set yourself, one of them may be blocking session restore, for example from an antivirus or a work or school setup.
Turn on “Open previous windows and tabs”
With this setting on, Firefox reopens your last session every time it starts, so you don’t have to depend on the History menu item at all.
- Open Firefox’s Settings and go to Home and startup.
- Under Startup, tick “Open previous windows and tabs“.

From the next start on, your windows and tabs should come back by themselves, as long as Firefox was able to save them. With this on, “Restore Previous Session” stays greyed out or hidden because there’s nothing left to restore. That’s normal, not a sign that something is wrong.
Pro tip: How to Restart Firefox Browser Without Losing Tabs
Restore your tabs from a session backup file
Firefox keeps your last few saved sessions in a “sessionstore-backups” folder inside your profile, and you can put one of them back in place by hand. The files in it are:
recovery.jsonlz4is the latest state Firefox saved while it was running, andrecovery.baklz4is the one before it.previous.jsonlz4is the session from the last time Firefox was closed normally.upgrade.jsonlz4-followed by a long number is saved when Firefox updates.
To restore one of them:
- Type “about:support” in the address bar and press Enter.
- Next to Profile Folder, click Open Folder.

- Close Firefox completely. Check Task Manager to make sure no Firefox process is left running. The
sessionstore.jsonlz4file you’ll replace only exists while Firefox is closed. - In the profile folder, open “sessionstore-backups“.

- Copy the whole folder to your desktop first, so you have a safe copy whatever happens next.
- Look at the Date modified of each file and pick the newest one from before your tabs went missing. If one file is much smaller than the others, it’s probably mostly empty, so use a bigger one.
- Go back up one level to the profile folder itself (not inside sessionstore-backups). If there’s a file called
sessionstore.jsonlz4, rename it to something likesessionstore-old.jsonlz4. - Copy the backup file you picked into the profile folder and rename the copy to exactly
sessionstore.jsonlz4. The name has to be exact, so if File Explorer hides file extensions on your PC, turn them on first.
- Start Firefox. With “Open previous windows and tabs” on, your tabs should open by themselves. Otherwise, go to History > Restore Previous Session.
If the tabs still don’t come back, try the next older file. A file saved by a newer Firefox version, for example, may not load in an older one.
Might be useful: How to Show Hidden File Name Extensions in Windows 10 File Explorer
Pull the links out with Session History Scrounger
If no backup file restores properly, you can still pull the list of tabs out of one of them. Session History Scrounger is a free web page made by a long-time Firefox support volunteer that reads Firefox’s session files and lists the tabs of each window as links. The file is only read inside the page and isn’t sent anywhere.
- Go to
https://www.jeffersonscher.com/ffu/scrounger.htmlin Firefox. - Click Browse… and open a copy of the backup file (from the folder you copied to the desktop), then click Scrounge URLs.
- Scroll down to the list of windows and tabs it found, and reopen the ones you need or click Save List to keep them as a page.

Check that crash restore isn’t turned off
A setting in about:config called browser.sessionstore.resume_from_crash decides whether Firefox offers to restore your windows after a crash. It’s on (true) by default, and while it’s set to false, Firefox won’t offer anything after a crash.
- Type “about:config” in the address bar and press Enter.
- Click Accept the Risk and Continue.
- Search for
browser.sessionstore.resume_from_crash. - If it says false, click the toggle button at the end of the row to set it back to true.

Keep a backup of your tabs from now on
Many lost sessions come from Firefox not closing properly, so close it normally instead of ending it in Task Manager. When Firefox closes the normal way, it finishes saving your session first.
If you keep a lot of tabs open for weeks, an extension such as Tab Session Manager can save your windows and tabs every few minutes, so a crash costs you a few minutes at most. Tabs you really can’t lose are safer as bookmarks, which you can save for a whole window at once: How to Bookmark All Tabs in Firefox, Chrome or Edge.







