Restart Firefox with All Tabs Open: Easy Fix
In this article
To restart Mozilla Firefox with all your opened tabs, simply close the browser and reopen it—Firefox’s default session restore feature will bring back your tabs automatically. If that doesn’t work, you can manually set Firefox to restore the previous session every time it starts, or use the built-in “Restore Previous Session” option from the menu.
Why Firefox Loses Tabs on Restart
Firefox is designed to remember your open tabs, but several factors can interrupt that behavior. The most common culprit is a crash or a forced shutdown (e.g., power outage, system update, or killing the process via Task Manager). In these cases, Firefox may not save the session data properly. Another frequent cause is clearing browsing data—specifically the “Browsing History” checkbox—which also wipes the session history that stores your open tabs. Additionally, if you have “Open previous windows and tabs” set to “Never” in settings, Firefox will always start with a fresh window, ignoring your last session.
How Firefox’s Session Restore Works
Firefox stores your open tabs, window positions, and form data in a special file called sessionstore.jsonlz4 (or sessionstore-backups in older versions). This file is updated periodically as you browse, usually every 15 seconds by default, and also when you close the browser normally. When you restart, Firefox reads this file to restore your session. The feature is called “Session Restore” and it’s enabled by default. However, if you’re using Private Browsing, tabs are never saved by design—closing a private window discards everything.
How to Manually Restore Your Last Session
If Firefox opened without your tabs, you can often bring them back without changing any settings. Here’s how:
- Click the menu button (three horizontal lines) in the top-right corner.
- Go to History.
- Select Restore Previous Session from the drop-down menu.
This will reopen the tabs from your last browsing session. If that option is grayed out, it means Firefox has no saved session data—likely because you cleared history or the session file was corrupted. In that case, you’ll need to rely on your browser history (Ctrl+H) to manually reopen each tab, or use the built-in “Recently Closed Tabs” list under the same History menu.
How to Make Firefox Always Restore Tabs on Startup
To ensure Firefox always brings back your tabs every time you open it, change the startup setting:
- Click the menu button and select Settings (or Options on some versions).
- In the General panel, find the Startup section.
- Next to “When Firefox starts,” select Restore previous session from the drop-down menu.
With this setting, Firefox will automatically reopen all windows and tabs from your last session every time you launch it. Note that this also restores the window layout (e.g., if you had multiple windows, they’ll all come back).
What to Do If Session Restore Fails
Sometimes even the manual restore doesn’t work because the session file is corrupted or outdated. Here are practical steps to troubleshoot:
- Check for a backup: Firefox keeps a few backup copies in the
sessionstore-backupsfolder. You can access it by typingabout:supportin the address bar, then clicking the “Open Folder” button next to “Profile Folder.” Look for files namedprevious.jsonlz4orrecovery.jsonlz4. Rename one tosessionstore.jsonlz4and place it in the main profile folder, then restart Firefox. - Disable conflicting extensions: Some add-ons, especially tab managers or privacy tools, can interfere with session restore. Try restarting Firefox in Troubleshoot Mode (Help → Restart with Add-ons Disabled) to see if tabs return.
- Use the History menu: If all else fails, go to History → Recently Closed Tabs to reopen individual tabs you had open. This list may contain dozens of entries.
Common Misconceptions About Tab Restore
One common myth is that pressing Ctrl+Shift+T will restore all tabs from the last session—it actually only reopens the most recently closed tab, one at a time. Another misconception is that clearing “Cookies and Site Data” will affect session restore; it doesn’t, but clearing “Browsing History” does. Also, some users think that using “Clear history on shutdown” is safe—it’s not if you want tabs restored, because that setting wipes the session history. Finally, note that Firefox’s session restore does not save tabs from Private Browsing windows, and it does not save tabs if you close the browser using the “Quit” command from the menu (that’s actually a normal close, so it should save—but if you use “Clear history on shutdown,” it won’t).
Alternative Ways to Save Your Tabs
If you want a more robust solution than the built-in session restore, consider these alternatives:
- Bookmark all tabs: Right-click on a tab and select “Bookmark All Tabs” (or press Ctrl+Shift+D). This creates a bookmark folder you can reopen later.
- Send tabs to another device: Use Firefox Sync to send open tabs to your phone or another computer. Right-click a tab and choose “Send Tab to Device.”
- Use a tab manager extension: Add-ons like OneTab or Session Buddy let you save and restore entire tab sets manually, even after a crash. These are free and widely used.
- Pin important tabs: Pinned tabs are always restored when you reopen Firefox, even if you don’t have session restore enabled. Right-click a tab and select “Pin Tab.”
Frequently Asked Questions
Will Firefox restore tabs after a power outage?
Usually yes, but only if the browser was running normally before the outage. Firefox saves session data every 15 seconds, so if the power cuts, it will restore the tabs from the last save point. However, if the outage happens during a crash, it may only restore the last saved state, which could be a few seconds behind.
Does clearing history delete my open tabs?
Yes, clearing “Browsing History” in Firefox’s Clear Recent History dialog (Ctrl+Shift+Del) will remove the session history that stores your open tabs. To avoid this, uncheck “Browsing History” when clearing data.
Why does Firefox open with a blank page instead of my tabs?
This usually happens if the startup setting is set to “Show a blank page” or “Show your home page.” Check Settings → General → Startup and change it to “Restore previous session.” It can also happen if you’re using a new profile or if the session file is corrupted.
Can I restore tabs from a specific date?
No, Firefox’s session restore only keeps the most recent session. However, you can use the History sidebar (Ctrl+H) to find and reopen individual tabs from any date, but you’ll have to do it manually.
Does Firefox restore tabs on mobile?
Yes, the Firefox for Android and iOS apps have a similar feature. On Android, tap the menu (three dots) and look for “Recent tabs” or “History.” On iOS, tap the tabs icon and then “Private” or “Recent.” The behavior is similar to desktop but with less granular control.