How to Change Your Profile in Mozilla Firefox
In this article
Changing your profile in Mozilla Firefox allows you to separate browsing data—like bookmarks, passwords, and history—between different identities or use cases, such as work and personal browsing. This is useful for maintaining privacy, testing websites, or managing multiple accounts without logging in and out. Firefox supports multiple profiles, each acting as a completely independent browser environment. You can switch between them quickly or launch Firefox with a specific profile. This guide walks you through creating, switching, and managing Firefox profiles safely and efficiently.
What You'll Need
- Mozilla Firefox installed on your computer (Windows, macOS, or Linux)
- Administrator or user-level access to your system
- At least 100 MB of free disk space per profile (more if storing many bookmarks or extensions)
Step-by-Step
- Close Firefox completely. Ensure all Firefox windows are closed. Check your system tray or dock to confirm no background processes are running. On Windows, open Task Manager and end any
firefox.exeprocesses if necessary. - Open the Firefox Profile Manager. Press
Win + Ron Windows (or open Terminal on macOS/Linux), then type or paste the following command:
firefox -P
Press Enter. On macOS, you may need to use the full path:/Applications/Firefox.app/Contents/MacOS/firefox -P. On Linux, use your installed binary, typicallyfirefox -P. - Launch the Profile Manager. The Firefox Profile Manager window will appear. If prompted, uncheck “Use the selected profile without asking at startup” if you want to choose a profile each time Firefox starts. This setting is optional but recommended for frequent switchers.
- Create a new profile. Click the “Create Profile” button. A setup wizard opens. Click “Next” to proceed.
- Name your new profile. Enter a descriptive name (e.g., “Work”, “Personal”, “Testing”). Avoid special characters. Click “Next”.
- Choose a profile folder (optional). Firefox will suggest a folder location. You can accept the default or click “Choose Folder” to set a custom path. Ensure the location is secure and backed up if needed. Click “Finish”.
- Select the profile to use. Back in the Profile Manager, you’ll now see your new profile listed. Select it and click “Start Firefox” to launch the browser with that profile.
- Customize your new profile. Once Firefox starts, set up bookmarks, extensions, and preferences as desired. Each profile maintains its own settings independently.
- Switch profiles later. To switch, close Firefox and repeat Step 2. In the Profile Manager, select a different profile and click “Start Firefox”.
- Set a default profile (optional). In the Profile Manager, check “Use the selected profile without asking at startup” if you want Firefox to always open with one profile unless manually overridden.
Common Mistakes
- Not closing Firefox fully before launching the Profile Manager. If Firefox is running, the Profile Manager may not open, or changes won’t apply. Always close all instances first.
- Using the same profile for different purposes. This defeats the purpose of separation. Keep work and personal data in distinct profiles.
- Creating too many profiles without naming them clearly. Unnamed or generically named profiles (e.g., “Profile1”) make switching confusing. Use descriptive names.
- Storing profile folders in temporary or shared locations. This risks data loss or unauthorized access. Keep profiles in user-accessible, secure directories.
Tips
- Use batch scripts or shortcuts to launch specific profiles. On Windows, create a desktop shortcut with the target:
"C:\Program Files\Mozilla Firefox\firefox.exe" -P \"Work\" -no-remote. This lets you open a specific profile directly. - Back up profile folders regularly. Copy the entire profile directory (found in
AppData\Roaming\Mozilla\Firefox\Profiles\on Windows,~/Library/Application Support/Firefox/Profiles/on macOS, or~/.mozilla/firefox/on Linux) to an external drive or cloud storage. - Use the -no-remote flag when opening multiple profiles. This allows multiple Firefox instances with different profiles to run simultaneously. Without it, Firefox may just open a new window in the current profile.
- Test extensions in a separate profile. Use a “Testing” profile to install and evaluate new add-ons without affecting your main browsing experience.
Troubleshooting
If the Profile Manager does not open, ensure Firefox is completely closed. On some systems, background processes persist. Use Task Manager (Windows) or Activity Monitor (macOS) to force quit all Firefox processes. If the -P flag still fails, try running Firefox from an administrator command prompt or terminal.
If Firefox starts with the wrong profile, check the “Use the selected profile without asking at startup” setting in the Profile Manager. Disable it if you want to choose manually each time.
If a profile appears corrupted (e.g., missing bookmarks or crashing), restore from a backup. You can also create a new profile and selectively copy data from the old one, such as the places.sqlite file for bookmarks.
If you receive an error about profile lock files, delete the parent.lock or .parentlock file in the profile directory (only when Firefox is closed). This often resolves false “profile in use” messages.
Frequently Asked Questions
Can I use multiple Firefox profiles at the same time?
Yes, but you must launch each with the -no-remote flag. For example: firefox -P \"Work\" -no-remote.
Where are Firefox profiles stored?
On Windows: C:\Users\[Username]\AppData\Roaming\Mozilla\Firefox\Profiles\. On macOS: ~/Library/Application Support/Firefox/Profiles/. On Linux: ~/.mozilla/firefox/.
Will changing profiles delete my bookmarks or history?
No. Each profile maintains its own data. Switching profiles only changes which set of data is loaded.
Can I rename a Firefox profile?
Not directly in the Profile Manager. However, you can rename the profile folder and update the profiles.ini file in the Firefox directory to reflect the change.
Is it safe to move a profile folder to another computer?
Yes. Copy the entire folder and place it in the Profiles directory on the new system. Then update profiles.ini to register it.
Does syncing work across profiles?
No. Firefox Sync is tied to the account in each profile. You must sign in separately in each profile to sync its data.