Manage tabs

Firefox Tabs: Settings, Shortcuts, and Groups Explained

Nafiul Hasan 12 min read How we write
Firefox Tabs: Settings, Shortcuts, and Groups Explained: Firefox browser window showing multiple open tabs organized into a named, colored tab group.

The short answer

Firefox tabs open with Ctrl+T and reopen (once closed) with Ctrl+Shift+T, close with Ctrl+W, and group together by dragging one tab onto another. Firefox Sync carries open tabs between devices through a Mozilla account, and Firefox View shows recent and synced tabs. None of that protects Private Browsing tabs or a session lost to a crash, which is where a saved session helps.

Key takeaways

  • Ctrl+Shift+T reopens your last closed tab and Ctrl+Shift+N reopens your last closed window, but both need Firefox's history setting turned on.
  • Tab groups have been built into Firefox for all desktop users since Firefox 141: drag a tab onto another, or right-click and choose Add Tab to New Group.
  • Firefox Sync carries bookmarks, passwords, and open tabs between devices through a Mozilla account, but Mozilla is explicit that Sync "does not provide a true backup service."
  • Private Browsing windows are never restored once closed, by design, no matter what your other settings say.
  • BelayTab saves any window as a named session and snapshots your tabs automatically, covering exactly the gaps Firefox's own tab tools leave open.
On this page
  1. What Can Firefox Tabs Actually Do?
  2. How Do I Open and Close Tabs in Firefox?
  3. How Do I Reopen a Closed Tab in Firefox?
  4. How Do I Use Tab Groups in Firefox?
  5. How Do I Switch Between Firefox Tabs Quickly?
  6. How Do I Free Up Memory From Too Many Firefox Tabs?
  7. How Do I Restore My Firefox Tabs After Closing or Crashing?
  8. How Do I Close All My Firefox Tabs at Once?
  9. Does Firefox Sync My Tabs Across Devices?
  10. How Do I Keep My Firefox Tabs Safe for Good?
  11. FAQ

Firefox tabs look simple until you actually try to manage forty of them, remember which shortcut reopens what you just closed, or figure out why a window you swore you saved is nowhere to be found. Firefox has built out real tab tools over the past couple of years: tab groups, a memory-saving unload feature, Firefox View, and sync across devices. Most people use maybe two of them. This guide covers how Firefox tabs work today, the shortcuts worth memorizing, and where Firefox’s own tools stop protecting your tabs, so you know when to reach for something else.

What Can Firefox Tabs Actually Do?

Firefox tabs support grouping, syncing across devices, automatic memory management, and a same-session restore after closing or crashing, but each of these has a real limit worth knowing up front. The table below is the fast version; the rest of this guide covers each row in detail.

Situation What handles it Limit to know
Closed one tab by accident Ctrl+Shift+T Needs history enabled
Want to organize open tabs Tab groups Only inside the current window
Need tabs on another device Firefox Sync Not a backup, per Mozilla
Too many tabs, browser feels slow Unload tabs / about:unloads Frees memory, doesn’t reduce tab count
Closed a Private Browsing window Nothing Deleted permanently, by design
Firefox crashed Session Restore Only if auto-restore was on, or the crash page appears

Every feature in that table solves a specific, narrow problem. None of them, on their own, is a general answer to “what if I lose my tabs.” That distinction matters more than it sounds, and it’s worth keeping in mind as you read through the rest of this.

How Do I Open and Close Tabs in Firefox?

Open a new tab with Ctrl+T (Cmd+T on Mac) and close the current one with Ctrl+W (Cmd+W on Mac). These are the two shortcuts worth having in muscle memory before anything else on this page, since they’re the ones you’ll use dozens of times a day.

Beyond those two, Firefox has a full set of official tab shortcuts covering windows, private browsing, and navigation between tabs.

Task Windows/Linux Mac
New Tab Ctrl+T Cmd+T
Close Tab Ctrl+W Cmd+W
Reopen closed tab/window Ctrl+Shift+T Cmd+Shift+T
New Window Ctrl+N Cmd+N
New Private Window Ctrl+Shift+P Cmd+Shift+P
Close Window Ctrl+Shift+W Cmd+Shift+W
Reopen closed window Ctrl+Shift+N Cmd+Shift+N
Switch tabs (recently used order) Ctrl+Tab Ctrl+Tab
Go to Tab 1–8 / Last Tab Ctrl+1…8 / Ctrl+9 Cmd+1…8 / Cmd+9

These only work if your operating system or window manager hasn’t already claimed the same combination for something else. If a shortcut doesn’t respond, that’s the first thing to check before assuming Firefox is broken. Our full Firefox shortcuts guide covers the rest of the official list, including bookmarks, history, and zoom.

How Do I Reopen a Closed Tab in Firefox?

Press Ctrl+Shift+T (Cmd+Shift+T on Mac) to bring back your most recently closed tab, and press it again to keep working backward through the ones before that. If you need a specific tab rather than the last one, the History menu gives you a browsable list instead of a blind guess.

  1. Open the menu button. It’s the icon in the top-right corner of the toolbar.
  2. Go to History. You’ll see two relevant options: Recently Closed Tabs and Recently Closed Windows.
  3. Pick the one you need. Recently Closed Tabs lists individual tabs; Recently Closed Windows brings back an entire window at once, including everything that was open in it.

Both the shortcut and the History menu depend on Firefox’s history being enabled. If it’s set to “Never remember history” under Settings > Privacy & Security, these options either won’t work or won’t show anything useful, because there’s no record for Firefox to pull from.

This does not cover Private Browsing. Reopening a closed tab only works for tabs from a regular window. A Private Browsing window is permanently deleted the moment it closes, by design, and none of the tools on this page bring it back. Our Firefox private browsing guide explains why that’s intentional and what it does and doesn’t protect you from.

How Do I Use Tab Groups in Firefox?

Drag one tab on top of another to create a tab group, or right-click a tab and choose Add Tab to New Group. This has been available to every desktop Firefox user since Firefox 141, after being tested more narrowly in earlier versions.

Once created, you can name the group and give it a color, and clicking the group’s label collapses or expands every tab inside it. This is genuinely useful for keeping a project’s tabs visually separate from everything else in the same window, especially if you tend to have more than one thing going on at once, like research for a work project sitting next to a handful of tabs about dinner plans.

  • One project, one group. Drag related tabs together and name the group after what it’s for, so it reads at a glance instead of blending into the rest of your tabs.
  • Collapse what you’re not using. Click a group’s label to fold it out of the way without closing anything, which keeps your tab bar readable when you’ve got several going at once.
  • Groups aren’t backups. A tab group organizes tabs inside the current window. Close the window, and the group closes with it, same as any other tab.

That last point is the one people miss. A tab group feels like it should be safer than an ordinary tab, since it’s organized and named, but Firefox treats it the same as any other tab when the window closes. If you want a group of tabs to survive past the current session, you need to save it somewhere, not just group it.

How Do I Switch Between Firefox Tabs Quickly?

Press Ctrl+Tab to cycle through your tabs in the order you most recently used them, which is faster than clicking across a crowded tab bar once you have more than a handful open. For jumping straight to a specific tab, Ctrl+1 through Ctrl+8 takes you to that tab’s position, and Ctrl+9 always jumps to your last tab regardless of how many you have open.

Firefox View adds a different kind of switching: instead of cycling within the current window, it’s a dedicated tab showing tabs open on your other synced devices, your browsing history organized by date or site, and your recently closed tabs, all in one place. It isn’t available inside Private Browsing windows, consistent with Private Browsing not keeping any record of what you did.

Firefox tab bar with numbered tabs and a tab group collapsed to one labeled tab
Firefox tab groups collapse related tabs behind one labeled entry.

Between the two, Ctrl+Tab is what you reach for constantly, and Firefox View is what you reach for occasionally, usually when you’re trying to remember what you were doing on your other computer. Neither replaces a saved list of tabs you can search or reopen later; they’re both about navigating what’s currently open, not preserving it.

How Do I Free Up Memory From Too Many Firefox Tabs?

Firefox’s unload tabs feature, added in Firefox 140, frees memory and CPU from tabs you aren’t actively using while keeping them available to revisit later. It’s the built-in answer to a tab bar that’s grown too large to feel responsive, and it works automatically: Firefox also unloads tabs on its own when your system is low on memory, while specifically avoiding tabs that are playing media, sitting in Picture-in-Picture, or on a call through WebRTC.

You can see exactly what’s happening, and control it directly, by opening about:unloads in the address bar. It lists your open tabs ranked by unload priority, along with each one’s last access time and current memory use, with an Unload button next to every entry.

Unload frees memory, it doesn’t reduce your tab count. An unloaded tab is still open, still counts toward however many tabs you have, and still needs to be reopened somewhere if Firefox closes. If your actual goal is fewer tabs cluttering your browser, saving a batch as a session and closing them does more than unloading ever will. Our guide on handling too many tabs covers that distinction in more depth.

Unloading is a genuinely good default to leave on, since it costs nothing and helps automatically. Just don’t mistake it for tab management. It’s closer to a pressure release valve than an organizing system, and it doesn’t touch the underlying habit of never closing anything.

How Do I Restore My Firefox Tabs After Closing or Crashing?

Turn on “Open previous windows and tabs” under Settings > General > Startup, and Firefox will restore your tabs and windows automatically every time it launches, including after a crash. If that setting is off, you can still restore manually through the menu button, under History, by choosing Restore Previous Session, though that option disappears once auto-restore is turned on, since Firefox handles it automatically instead.

After a crash specifically, if the automatic restore fails, Firefox shows a dedicated Restore Session page letting you choose which tabs to bring back. This page should only appear after a failed auto-recovery, not during a normal restart, unless a hidden preference has been changed.

  1. Check your Startup setting. Settings > General > Startup > “Open previous windows and tabs.” If it’s on, your tabs come back automatically on next launch.
  2. If it’s off, use History. Menu button > History > Restore Previous Session brings back your last window manually.
  3. After a crash, watch for the Restore Session page. Pick the tabs you want back; this only shows up when automatic restore couldn’t run on its own.

Worth noting: Session Restore can keep you logged into sites from before you closed Firefox, which is convenient day-to-day but worth thinking about on a shared or public computer. And as covered above, none of this touches Private Browsing, which is deleted permanently on close no matter what your Startup setting says.

How Do I Close All My Firefox Tabs at Once?

Press Ctrl+Shift+W (Cmd+Shift+W on Mac) to close the current window and every tab in it in one move. If you only want to close some of your tabs rather than the whole window, right-click any tab and use Close Multiple Tabs, which gives you Close Tabs to the Right, Close Tabs to the Left, and Close Other Tabs as separate options.

That right-click menu is more useful day to day than the full window-close shortcut, since it lets you keep the tabs you need while clearing out everything else around them. It’s a small feature, added in changes to Firefox’s tab context menu, but it’s one of those things that’s genuinely annoying to not have once you’re used to it.

This is the exact moment where a lot of tab loss happens. Someone closes a window meaning to reopen it later, gets distracted, and only remembers three days on that they needed one of those tabs. Ctrl+Shift+T covers you for a single accidental close, but it gets less reliable the more browsing you do in between, since history-based restore works best soon after the fact.

Does Firefox Sync My Tabs Across Devices?

Yes, Firefox Sync carries your open tabs, along with bookmarks, passwords, history, and more, between any devices signed into the same Mozilla account. Turning it on just requires clicking Sign in from the toolbar or menu, which opens accounts.firefox.com; entering an email either logs you into an existing account or starts a new one, and new accounts need a confirmation code sent by email before Sync is fully active.

You control exactly what syncs under Settings, in the Sync section, where Bookmarks, Passwords, Open tabs, History, Payment methods, Add-ons, and Settings can each be toggled independently. Once it’s running, Firefox View is where you see tabs open on your other devices, and disconnecting a device is a simple sign-out that lets you choose whether to keep or delete that device’s synced data.

What Firefox Sync does What it doesn’t do
Carries open tabs between signed-in devices Isn’t described by Mozilla as a backup
Updates continuously as you browse Doesn’t keep version history of your tabs
Covers bookmarks, passwords, history too Doesn’t cover Private Browsing tabs

Mozilla is direct about the backup point: because Sync updates continuously, it “does not provide a true backup service, nor is it intended to be used as one.” That’s worth sitting with. Sync is built to mirror your current state across devices, not to preserve a past state you can go back to. If you accidentally close a tab on one device, Sync propagates that closure everywhere else too, it doesn’t protect against it. Our Firefox Sync guide covers setup and troubleshooting in more detail if you’re setting it up for the first time.

How Do I Keep My Firefox Tabs Safe for Good?

Save your tabs as a named session with a dedicated tool, since none of Firefox’s built-in features are designed to keep a durable, browsable archive of your tabs over time. Tab groups organize what’s open now. Session Restore covers accidental closes and most crashes, but not Private Browsing, and it’s tied to the same profile it’s running in. Sync mirrors your current tabs elsewhere, but explicitly isn’t a backup. Each one solves a real problem; none of them solves “I want to look back at what I had open last month, or last Tuesday, and get exactly that back.”

That’s the gap BelayTab is built for. It’s a free browser extension, with no account needed, that saves your open tabs as a named session with one click or with Ctrl+Shift+S (Cmd+Shift+S on Mac), and it keeps working even when Firefox’s own tools stop:

  1. It snapshots automatically. Every open window gets backed up every five minutes, and again the moment you close a window, so you’re covered even if you forget to save manually.
  2. It keeps tab groups intact. Group names, colors, pinned tabs, and tab order are all preserved when you save and restore a session.
  3. It never overwrites. Restoring a session adds a new version instead of erasing the last one, and the free plan keeps the last 20 versions of every session, plus a 30-day trash for anything deleted.

If you’re currently using a different tool to keep tabs, BelayTab imports directly from OneTab, Session Buddy, Tab Session Manager, and Tablerone, and exports to JSON, CSV, a plain URL list, or HTML bookmarks, so nothing is locked in either direction. It runs on Chrome, Edge, Brave, Opera, Vivaldi, Arc, Firefox, and Safari on Mac, and since it has no permission to read what’s on the pages you visit, nothing leaves your computer unless you turn on the optional paid Sync feature yourself. For a broader look at how it stacks up against other options, our tab manager comparison and pricing page cover the details.

One Recovery screen for everything. BelayTab’s Recovery screen pulls together automatic snapshots, deleted sessions still in the 30-day trash, and Firefox’s own recently closed windows, in one place. When you can’t remember which tool a tab went missing from, that’s where to look first.

Firefox’s built-in tab tools have genuinely gotten better over the past couple of years, and using Ctrl+Shift+T, tab groups, and Firefox View well will solve most day-to-day tab problems on their own. The gap is specifically around durability: tabs you want to find again next month, not just tabs you want back in the next five minutes. Treat the shortcuts in this guide as your daily driver, and treat a saved session as the thing that makes sure none of it depends on Firefox never crashing, never being closed by accident, and never running a Private Browsing window at the wrong moment.

Frequently Asked Questions

How do I reopen a closed tab in Firefox?

Press Ctrl+Shift+T (Cmd+Shift+T on Mac) to reopen your most recently closed tab, or open the menu button and go to History > Recently Closed Tabs to pick a specific one. This requires Firefox's history to be turned on under Settings > Privacy & Security.

How do I close all my Firefox tabs at once?

Press Ctrl+Shift+W (Cmd+Shift+W on Mac) to close the entire current window and every tab in it. To close a batch instead of everything, right-click a tab and use Close Multiple Tabs, which offers Close Tabs to the Right, Close Tabs to the Left, and Close Other Tabs.

How do I make tab groups in Firefox?

Drag one tab on top of another to create a group automatically, or right-click a tab and choose Add Tab to New Group. Name and color the group, then click its label to collapse or expand it. This has been built into Firefox for all desktop users since Firefox 141.

Does Firefox sync open tabs across devices?

Yes, Firefox Sync carries open tabs, along with bookmarks and passwords, between any devices signed into the same Mozilla account. You choose exactly what syncs under Settings, and Firefox View shows tabs open on your other synced devices.

Why don't my Firefox tabs come back after using Private Browsing?

Private Browsing windows are never restored once closed, by design. Mozilla treats that session as permanently deleted the moment the window closes, which is the entire point of Private Browsing.

What is the shortcut to switch between Firefox tabs?

Ctrl+Tab cycles through tabs in the order you most recently used them, and Ctrl+1 through Ctrl+8 jumps straight to a specific tab position, with Ctrl+9 jumping to your last tab. These are the same on Mac using Cmd instead of Ctrl.

How many tabs can Firefox handle before it slows down?

Mozilla doesn't publish a hard tab limit, since it depends on your device's memory and what each tab is doing. Firefox's unload tabs feature reduces the impact of a large tab count by freeing memory from tabs you aren't using, without closing them.

Keep Reading

Close the Tabs. Keep the Work.

Free, private and automatic. BelayTab is launching soon: get an email the day it’s in your browser’s store.