Firefox containers vs profiles for multiple accounts
Use a Firefox container when you want two logins of the same site side by side and the site may know both accounts are yours. Use a separate profile when the accounts should not share saved passwords, history, extensions or, by default, an IP. Neither changes the computer the site sees. That matches how containers are used: of 81 posts on Privacy Guides and Hacker News where someone said what they use containers for, 31 were about several accounts on one site, and 28 of those came from Hacker News, mostly developers juggling AWS, Google and client logins.
Updated 21 November 2026 · 7 min read
Contents
Containers are one of several browser options; the full ladder is in profiles, containers, separate browsers or VMs.
How Firefox containers work, and what they keep apart
A container is a separate cookie jar inside one Firefox profile. Mozilla's page for the feature lists what it splits: cookies, localStorage, indexedDB, the HTTP data cache and the image cache. It also lists what stays shared: history and bookmarks, and, on purpose, saved passwords, saved form data and HSTS flags (Mozilla wiki, Containers). Extensions, settings, the browser version and the machine are the same in every container, and so is the IP unless you set a proxy per container.
Two things catch people out. Closing a container tab deletes nothing: its cookies and storage stay until you clear them, and cookie-cleaning extensions miss indexedDB. And a container belongs to the tab, not the site, so a link you follow from account A's tab opens in account A's container, logged in.
Container tabs used to be hidden behind a setting or Mozilla's add-on. Mozilla turned them on for everyone in Firefox 153, released in July 2026, and plans to move more of the add-on's features into the browser (Mozilla bug 2053060). Until it does, the Multi-Account Containers add-on is the fuller version, and the setup at the end uses it.
Container or profile
A profile is a separate folder with everything the browser stores. Mozilla rebuilt profile switching in October 2025; each profile has "its own bookmarks, logins, history, extensions and themes" (Mozilla blog). The new switcher does not pick up profiles made with the old about:profiles manager, so check that yours appear before you rely on it.
| Container | Firefox profile | |
|---|---|---|
| Cookies and site storage | Separate | Separate |
| History and bookmarks | Shared | Separate |
| Saved passwords and form data | Shared | Separate |
| Extensions and settings | Shared | Separate |
| Proxy | Per container, through the add-on | Per profile, in network settings |
| The computer underneath | Same | Same |
| Daily use | Both accounts as tabs in one window | One window per profile |
The shared password store is the row that bites. In a container, autofill offers account A's password inside account B's tab, and a profile does not. What two profiles on one computer still share, and how to compare them yourself, is in whether sites can link browser profiles; everything said there about the hardware applies to containers too, since they all run in one profile.
So pick by what the platform may know. Work and personal Google accounts, a personal and a business page on one network, three AWS accounts at one employer: the site may know they are one person, you want the logins apart, and a container is the lightest way. Accounts that should not look like one household need a profile each with its own IP, see one IP per account.
What people use containers for
We read all 510 posts and labelled the 81 where the writer said what they use containers for themselves; questions, advice to others and posts about Docker or encrypted-volume containers were set aside. The two forums are not alike: most Hacker News posts sit in six threads about the Multi-Account Containers add-on from 2017 to 2023, while the Privacy Guides posts are recent and come from people building a private setup.
| Use | Posts | Hacker News | Privacy Guides |
|---|---|---|---|
| Several accounts on one site: work and personal Google, several AWS or Datadog accounts, client consoles, test users of an app | 31 | 28 | 3 |
| Keeping sites apart: one container for Google, one for Facebook, one for the bank | 38 | 12 | 26 |
| A throwaway container for every new tab | 8 | 3 | 5 |
| Its own IP or VPN exit per container | 4 | 2 | 2 |
These are developers and privacy users, not people whose seller or ad accounts were reviewed.
The split says what containers are good for now. Keeping sites apart was their privacy job, and Firefox took most of it over in February 2021 with Total Cookie Protection, which gives every website "a separate cookie jar" (Mozilla Security Blog). Privacy Guides answers say the same: since then, containers matter when you need several logins on one site. Another old reason is gone too. Until Firefox 154 in August 2026, a site you exempted from "delete cookies on close" also lost its Total Cookie Protection partition, and Privacy Guides members disagreed on whether a container made up for it; Mozilla has since split the two settings. One use remains beside the logins: a brightly coloured container for your bank makes a phishing link stand out, because the fake site opens in a plain tab.
Where containers go wrong
We labelled 58 posts in the same pool that described a problem with containers, 51 of them from Hacker News between 2017 and 2023:
| Problem | Posts |
|---|---|
| Containers and site rules did not carry over to another computer, or sync duplicated them | 19 |
| The add-on forgot its setup, kept prompting or looped, and the person gave up | 7 |
| A login through another domain or app broke: YouTube through google.com, a PayPal checkout, Teams tenants, AWS sign-in pages | 6 |
| A new tab or shortcut opened in the default container, not the current one | 5 |
| History, bookmarks, extensions or the sync account were shared when they wanted them apart | 6 |
| No containers on the phone | 4 |
| A site opened in the wrong container by mistake, or the writer feared it would | 3 |
The rest were one or two posts each: a container proxy that sent DNS lookups outside the proxy, clearing site data that cleared every container, site rules that match a whole domain and so cannot send two accounts of one site to two containers, a back button that made one person drop the add-on. In 2 posts the writer said accounts were blocked, or could not be created, while they used containers; neither showed that the containers were the cause.
The sync complaint is not only history: in October 2025 a Privacy Guides member wrote that setting containers up again on a new computer took hours. Most of the others are about mistakes, not leaks: the wrong account opens and you post or buy as someone else.
Containers in Brave, Chrome, Safari and on phones
Brave added containers in version 1.92 in July 2026, on Windows, macOS and Linux. Brave calls the feature "best understood as a convenience feature", since it already partitions storage per site (Brave blog). In July 2026 it had no rule for always opening a site in a given container, and in September 2026 it still could not lock a container to one site, so tabs are set by hand.
Chrome and other Chromium browsers separate accounts by profile. In April 2026 Privacy Guides members looking for a maintained Chromium fork with containers found none.
Safari has profiles, not containers. Each profile keeps its own history and website data, but passwords in iCloud Keychain "are available in any profile you create" (Apple).
On phones there is no real equivalent. The Multi-Account Containers add-on is desktop only and Brave's containers are too. On Android, people use a separate browser per account, or a separate Android user or work profile, which phone profiles for accounts covers. On iPhone, Safari profiles are the built-in option.
Set up containers for two accounts
- Make one container per account, and only for sites where you need two logins at once. Leave everything else in the default container.
- Install Mozilla's Multi-Account Containers add-on and assign each account's site to its container, so typing the address opens the right one.
- Log in once in each container and check which account you land in. If the site logs in through another domain, such as google.com for YouTube, let that domain open in the same container.
- Turn off password autofill for these sites, or keep the two logins in separate password manager folders, since a container shares saved passwords.
- Check the coloured line on the tab before you post, pay or send. Address bar suggestions can open a site in the wrong container.
- Give each container its own proxy if the accounts should not share an IP; how, and what leaks, is in a proxy per browser profile.
- Export or write down your containers and site rules. On a new computer you may have to set them up again by hand.
Sources. This page draws on 510 posts that mention browser containers, 274 on Privacy Guides from 2022 to November 2026 and 236 on Hacker News, nearly all from 2017 to 2023, plus Mozilla's, Brave's and Apple's documentation and Mozilla's bug tracker.
Running several accounts on a Mac? BrowserPilot keeps each one in its own profile, 10 of them free. See how it works