User Agents

Firefox Profile Folder: Location & What's Inside

The Firefox profile folder is the directory on your computer where Firefox stores your personal data: bookmarks, history, passwords, cookies, extensions, settings, and more. Its exact location depends on your operating system and whether you use a standard or custom installation, but on Windows it typically sits under %APPDATA%\Mozilla\Firefox\Profiles\, on macOS under ~/Library/Application Support/Firefox/Profiles/, and on Linux under ~/.mozilla/firefox/.

What Exactly Is a Firefox Profile?

A profile is a complete, self-contained set of user data and configuration. Firefox creates a default profile the first time you run it, and you can create additional profiles for different purposes—work, personal, testing—each with its own bookmarks, extensions, and settings. Profiles are separate from the Firefox application itself; updating or reinstalling Firefox does not normally touch your profile, which is why your data survives upgrades.

Each profile lives in its own folder with a random-looking name like a1b2c3d4.default-release. The part after the dot indicates the profile type: default-release is the standard profile created on first run, while default may exist from older versions. Inside that folder you'll find key files such as places.sqlite (bookmarks and history), logins.json (saved passwords, encrypted), cookies.sqlite, prefs.js (preferences), and the extensions subfolder.

How to Find Your Firefox Profile Folder

The simplest method works on any platform and any recent version of Firefox:

  1. Open Firefox.
  2. Type about:support in the address bar and press Enter.
  3. Look for the “Profile Folder” row in the “Application Basics” section.
  4. Click the “Open Folder” button next to it. Your file manager will open directly at the profile directory.

Alternatively, you can use about:profiles to see all profiles, which one is active, and the root directory of each. This page also lets you create, rename, or remove profiles, and set a profile as default. Note that menu labels and page layouts can differ slightly between Firefox versions and localizations, but the core options remain.

If you prefer to navigate manually, the default paths are:

  • Windows: %APPDATA%\Mozilla\Firefox\Profiles\ (paste into File Explorer’s address bar).
  • macOS: ~/Library/Application Support/Firefox/Profiles/ (the Library folder is hidden by default; use Finder’s Go > Go to Folder).
  • Linux: ~/.mozilla/firefox/ (a hidden directory; enable “Show Hidden Files” in your file manager).

Flatpak and Snap installations on Linux may store profiles in a sandboxed location, such as ~/.var/app/org.mozilla.firefox/.mozilla/firefox/ for Flatpak. If you use a portable version of Firefox, the profile folder sits alongside the application executable.

What’s Inside the Profile Folder

The folder contains dozens of files, but a few are especially important to know:

  • places.sqlite – your bookmarks and browsing history. Backing this up preserves both.
  • logins.json and key4.db – saved passwords and the encryption key store. They are encrypted, but copying them without the primary password (if set) may still expose data on a compromised machine.
  • prefs.js – user preferences changed from defaults. Advanced users sometimes edit this, but Firefox overwrites it on exit, so changes should be made through about:config.
  • cookies.sqlite – cookies, including login sessions.
  • extensions folder – installed add-ons (though modern Firefox manages extensions differently; the folder may contain development or temporary add-ons).
  • sessionstore.jsonlz4 – your open tabs and windows from the last session.
  • cert9.db – security certificates.

There is also a storage folder for site data (IndexedDB, local storage), a cache folder (safe to delete; Firefox rebuilds it), and startupCache. Deleting random files can break your profile, so if you’re troubleshooting, prefer Firefox’s built-in tools or a clean profile.

Backing Up and Restoring a Profile

Because the profile holds everything, backing it up is a sensible precaution before major upgrades or when migrating to a new computer. The safest method is to use Firefox’s built-in backup: go to about:profiles and use the “Back Up” button (available in recent versions) to create a ZIP archive of the profile. Alternatively, close Firefox completely and copy the entire profile folder to an external drive.

To restore, close Firefox, replace the contents of the target profile folder with your backup, and restart. If you use a different profile name, you may need to create a new profile and point it to the copied folder via the Profile Manager (launch Firefox with the -P flag or use about:profiles).

Keep in mind that copying a profile to another computer with a different operating system can cause issues with paths and extensions, though bookmarks and passwords generally transfer fine.

Common Problems and Fixes

Corrupted profiles can cause symptoms like Firefox not starting, bookmarks disappearing, or settings not saving. A standard first step is to create a fresh profile and see if the problem persists—if it doesn’t, the old profile is likely damaged. You can then selectively copy back important files like places.sqlite and logins.json.

Another frequent issue is a “profile missing or inaccessible” error, often caused by moving the profile folder or a permissions problem. Check that the folder exists at the path shown in about:support and that your user account has read/write access. On Windows, antivirus software occasionally locks files; adding an exception for the Firefox profile folder can help.

If Firefox is using the wrong profile, open about:profiles and click “Set as default profile” for the one you want. Note that the “default” profile is not automatically the one used; Firefox remembers the last used profile.

Profiles vs. Firefox Accounts vs. Sync

A common misconception is that a Firefox Account or Sync replaces the local profile. It does not. Sync stores an encrypted copy of selected data (bookmarks, history, passwords, tabs, add-ons) on Mozilla’s servers, but your local profile remains the primary store. If you sign out or disable Sync, your local data stays. Conversely, deleting your profile removes local data even if Sync is enabled—though synced data may remain on the server until you delete your account.

Another point: private browsing windows do not create a separate profile; they use the same profile but discard history and cookies when closed. For true separation, use multiple profiles.

Frequently Asked Questions

Can I move my Firefox profile to another drive?

Yes. Close Firefox, move the profile folder to the new location, then create a new profile in about:profiles and set its root directory to the moved folder. Alternatively, use the Profile Manager with the -P flag. Be careful to update any shortcuts or scripts that reference the old path.

Does uninstalling Firefox delete my profile?

No. The uninstaller typically leaves the profile folder intact so you can reinstall and keep your data. However, some cleanup tools or manual deletions may remove it, so back up first if you plan to uninstall.

How do I create a new profile?

Open about:profiles and click “Create a New Profile.” Follow the wizard, give it a name, and choose a folder (or accept the default). You can then launch Firefox with that profile directly from the same page.

Why does my profile folder have a random name?

Firefox generates a unique folder name to avoid conflicts when multiple profiles exist. The suffix like .default-release indicates the profile type. You can rename the folder, but you must also update the profile registry (profiles.ini) or use about:profiles to point to the new path.

Is it safe to delete files inside the profile folder?

Only if you know what they do. Deleting places.sqlite erases bookmarks and history; deleting logins.json removes saved passwords. Cache and startup cache folders are safe to delete. When in doubt, back up the entire folder first.

Can two Firefox installations share one profile?

It’s possible but not recommended. Running different Firefox versions on the same profile can cause corruption, especially if one is older. Use separate profiles for each installation.