Multi-Account Containers

Firefox Multi-Account Containers lets you keep parts of your online life separated into color-coded tabs that preserve your privacy. Cookies are separated by container, allowing you to use the web with multiple identities or accounts simultaneously, as well as integrating Mozilla VPN for an extra layer of privacy.

What are Containers?

Multi-Account Containers is a Firefox add-on that lets you separate your work, shopping, or personal browsing without having to clear your history, log in and out, or use multiple browsers. It's an improved version of the Containers feature built into Firefox and available to advanced users by setting certain preferences (see below).

Privacy in Firefox Multi-Account Containers

The Firefox Multi-Account Containers extension does not send any information to Mozilla.

How to install and use Multi-Account Containers

  1. Visit Firefox Multi-Account Containers.
  2. Click the Add to Firefox button.
  3. Click Add if you agree with the permissions requested.
  4. To open Containers, click the Containers ContainersIcon icon in the Firefox toolbar and follow the prompts to get started.
  5. Select the container you want to open.
Tip: Right-clickHold down the control key while you click on the new tab button to bring up the Containers menu.
Containers are disabled in Private Browsing windows and when Never Remember History is selected in your privacy settings.

You can open new Container tabs and each one will keep separate browser storage (such as cookies or localStorage) from other Containers. Your normal tabs are the default container and will still look and act as you'd expect them to before enabling containers.


How to edit, add or remove Containers

You can change the color or icon associated with a container or change the container name from the menu. To do this, click on the Containers icon in the toolbar and then click Manage Containers to open the containers settings panel.

Manage containers icons and colors Fx89

You can also add, remove or edit containers from the about:preferences#containers settings panel for Container Tabs:

Containers settings Fx89

You can open the Container Tabs settings panel as follows:

  1. In the Menu bar at the top of the screen, click Firefox and select Preferences.Click the menu button Fx89menuButton and select Settings.
  2. In the General panel, go to the Tabs section.
  3. Click the Settings… button next to Enable Container Tabs.

Open links in new tabs and containers

You can open links in a new or different container. Right-click on any link, select Open link in New Container Tab, and then select the desired container.

container right-click menu

If the current page is in a container, the Open link in New Tab item changes to Open link in New ContainerName Tab. Click on it to open a new tab within the same container as the previous tab.

What you can do with Multi-Account Containers

  1. Log in to multiple accounts on a single website at the same time. For example, if you have a personal Gmail account and a work Gmail account, you can log in to both accounts in separate containers.
  2. Protect your browsing activity in individual Containers using Mozilla VPN, so you can shop while traveling abroad but check your bank account from a server in your home country (see below).
  3. Protect yourself against tracking without having to log out of websites while you browse. Websites in one container can't track your activity in other containers.
  4. Protect yourself against Web security attacks. Any harmful clicks will be kept within that website's container, so attackers won't be able to hijack your information in other containers.
  5. Assign a website to a container, so that a specific website will always open in a specific container. This helps protect from accidents, stopping you from accidentally visiting a shopping site in your banking container, for example.
  6. Hide and Show: If you use your browser for both Work and Personal tasks and don’t want to be thinking about “Work” when you come home, you can “Hide” your Work tabs and proceed with your Personal tasks. Then the next day, when you are back at work, you can “Hide” your Personal tabs and “Show” your Work tabs.
  7. Sort: The Container Menu has a “Sort Tabs” option and a “Move tabs to a new window” option. Sort Tabs will put all your tabs of the same container type next to each other in a given browser window. So if you have “Work” and “Personal” tabs interleaved within each other, you can easily sort them to help organize your tasks (as seen below). “Move tabs to a new window” will take all the container tabs in your current window and move them to a fresh window.
  8. The sync feature will align Multi-Account Containers on different computers. The add-on carries over Container names, colors, icons, and site assignments on to any other machines with the same Firefox account.
  9. Avoid leaving social-network footprints all over the web (for example, you could use a Container tab for signing in to a social network, and use a different tab for visiting online news sites, keeping your social identity separate from tracking scripts on news sites).

For more background information about Containers, see the Containers project page. To learn more about how to use Multi-Account Containers with some quick tips and shortcuts, see this blog post.

For advanced users

Warning: Changing advanced preferences can affect Firefox's stability and security. This is recommended for advanced users only.
You can also enable Containers without the Multi-Account Containers extension, by changing some preferences in the Configuration Editor (about:config page). Note that you will get a better user experience by installing the extension but, if you choose not to, you can set privacy.userContext.enabled to true and privacy.userContext.ui.enabled to true in about:config. You can open the Container menu via a right-click or via a long left-click on the New Tab sign + button. See also privacy.userContext.newTabContainerOnLeftClick.enabled in about:config to set the left-click behavior whether to open the Container menu or a New Tab.

Protect your containers with Mozilla VPN

You can keep your browsing data separate and stay protected with Multi-Account Containers. Additionally, you can integrate Mozilla VPN into each container to add an extra layer of protection to your container tabs. This way you can have all the data from the containers pass through an encrypted tunnel using one of our servers. MACLocations


How does this compare to the Facebook Container extension?

Facebook Container specifically isolates Facebook and works automatically. The Firefox Multi-Account Containers is a more general extension that allows you to create containers and determine which sites open in each container. This extension can be customized to suit your needs for multiple sites and multiple logins, but takes more time to set up than Facebook Container.

You can use Multi-Account Containers to manually create a custom container for Facebook and assign to it. Multi-Account Containers will then make sure to only open in the Facebook Container. However, unlike Facebook Container, Multi-Account Containers doesn’t prevent you from opening non-Facebook sites in this custom container. So users of Multi-Account Containers need to take a bit extra care to make sure they leave the custom Facebook container when navigating to other sites. In addition, Facebook Container assigns some Facebook-owned sites like Instagram and Messenger to the its container. With Multi-Account Containers, you will have to assign these in addition to

Facebook Container also deletes Facebook cookies from your other containers on install and when you restart the browser, to clean up any potential Facebook trackers. Multi-Account Containers does not do that for you.

Can I use both Multi-Account Containers and Facebook Container?

Yes, but you need to be a little careful. Don't use Multi-Account Container to assign to a container, and then try installing Facebook Container. If you a Multi-Account Containers user and want to use both addons, unassign,, and first, then install Facebook Container.

Was this article helpful?

Please wait...

These fine people helped write this article:

Illustration of hands


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

Learn More