Firefox Containers for Separate Logins: Setup, Checks, and Recovery
Use Firefox containers to keep work and personal logins separate in one desktop profile. Covers prerequisites, assignment, checks, and what removal deletes.
23 Sept 2025, 20:11 UTC

If you need to be signed into the same website as two different identities at once, or you want work and personal browsing to stop sharing cookies, Firefox containers are the desktop feature to check first. The useful takeaway: containers give each named identity its own cookie jar and site storage inside one Firefox profile, but they are not a network-level privacy tool, and removing a container deletes its data.
What containers isolate, and what they do not
Firefox containers, also called contextual identities, separate cookies, site storage, cache, and some permissions per named container. That means the same site can be open in a Work container and a Personal container with separate login sessions. The tab and address bar usually show a container name, color, or icon so you can confirm the active context before typing credentials.
Containers do not prevent fingerprinting, hide your IP address, or stop network-level tracking across containers. They are also profile-specific: container definitions and their data do not sync across devices by default. For stronger separation, use separate Firefox profiles or separate operating system accounts.
Prerequisites and version assumptions
You need a desktop Firefox installation where containers are supported, a normal user profile, and the Multi-Account Containers extension if your build does not expose container management in the base UI. The extension is published by Mozilla; availability and exact menu labels can change between major Firefox releases. Mobile Firefox does not offer the same container workflow, so this guide is desktop-only.
On a managed device, enterprise policy can disable or restrict containers. Open about:policies in the address bar to review active policies. If containers are blocked, you need an administrator to change policy; do not assume a local workaround is supported.
Container configurations live in the Firefox profile. A profile reset, corruption, or manual deletion can lose container definitions. If the setup matters, back up the profile before major changes, and treat container removal as destructive.
Focused procedure
- Install or enable the container UI. In Firefox desktop, open
about:addonsor visit the Mozilla Add-ons site and add Multi-Account Containers. If it is already installed, open its toolbar icon. Normal browsing privileges are enough; managed devices may require policy approval. - Create named containers. Open the Containers panel and create one container per identity. Use distinct names and colors. A practical starting set is Work, Personal, and Finance.
- Assign sites to containers. Open the target site, then use the tab or page context menu to open it in a container or to always open that site in a chosen container. Depending on version, the label may read "Open in New Container Tab" or "Always Open in ...". You can also add site rules from the extension's settings panel.
- Confirm the active container before login. Check the container indicator on the tab or address bar. If it says No Container, the site is using the default context and may share cookies with other default-context tabs.
- Repeat for each identity. Use a different container for each account. Do not reuse the same container for two identities if you need separate sessions.
Example container plan. The domains below are placeholders; substitute services you can test with two accounts.
| Container | Purpose | Example site |
|---|---|---|
| Work | Work SSO and internal apps | https://app.example.com |
| Personal | Personal email and social | https://mail.example.com |
| Finance | Banking and tax | https://bank.example.com |
Expected checks
- Container indicator: Each tab shows the expected container name or color. If it does not, the site is not isolated as intended.
- Separate login state: Open the same login page in two different containers and sign in with two test accounts. Switch tabs and confirm each session remains separate.
- Persistence after restart: Close and reopen Firefox. Confirm container assignments and login sessions persist. If they do not, check that the extension is still enabled and that policy has not changed.
- Storage inspection: Open Settings > Privacy & Security > Cookies and Site Data > Manage Data. The list may not label entries by container in every version, so treat the container indicator and separate login state as the primary checks. For a deeper look, use the Developer Tools Storage Inspector on each tab if your version provides it; verify that cookies for the same host differ by container.
- Version and add-on status: Open
about:supportin the address bar. Confirm the Firefox version and check that Multi-Account Containers appears in the extensions list. Exact feature listing varies by release.
These checks are version-sensitive. If a menu path differs, search the current Firefox settings or extension panel rather than assuming the feature is missing.
Recovery and rollback
Containers change state, so plan recovery before you rely on them.
- Undo a site assignment: Open the site in No Container, or remove the automatic rule in the extension settings. This returns the site to the default context but does not delete other container data.
- Reset a site's permissions: Use Settings > Privacy & Security > Permissions or Cookies and Site Data to remove stored data for a site. Depending on version, this may clear data across containers; verify before using it as a targeted fix.
- Remove a container: Use the Containers panel to remove it. This deletes the cookies and site data associated with that container. There is no rollback for deleted container data. Export or copy anything you need first.
- Disable or uninstall the extension: This returns Firefox to unified browsing, but existing container data may remain in the profile until removed. It is not a way to recover a deleted container.
- Profile reset: A Firefox profile reset loses container configurations. Restore from a profile backup if you have one.
Limitations and practical verification
Containers are useful for account separation and basic cookie isolation, not for anonymity. They do not stop fingerprinting or network-level tracking, and automatic rules can be overridden by opening a link in another container or in No Container. Major Firefox updates can move or rename controls, and enterprise policy can disable the feature entirely.
Before depending on containers, run one practical check: create two containers, assign one test site to each, log in with two accounts, restart Firefox, and confirm the sessions remain separate. If that check fails, review about:policies, the extension status, and the container indicator before changing anything else. Because UI placement and policy behavior are version-sensitive, verify the current behavior in your Firefox build and mark any managed-device assumptions for administrator review.
0 replies
A thoughtful contribution can make all the difference. Be the first to share one.