TechBuzzPro

Where is Firefox Data Stored on Windows, Mac & Linux

· 4 min read · Apps & Browsers

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

Firefox stores all user data—bookmarks, passwords, history, extensions, and settings—in a dedicated profile folder located within your operating system's application data directory. The exact path depends on whether you are using Windows, macOS, or Linux.

What You'll Need

  • A computer running Windows 10/11, macOS, or a Linux distribution.
  • Access to your file explorer (File Explorer on Windows, Finder on Mac, or your file manager on Linux).
  • Basic understanding of navigating hidden folders.

Step-by-Step

  1. Close Firefox Completely: Before accessing the files, ensure Firefox is not running. If it remains open in the background, changes may be overwritten or files may be locked. Check your system tray (Windows) or Force Quit menu (Mac) to confirm.
  2. Open the Firefox Profile Manager: This is the safest way to find the exact location without guessing paths. Type about:profiles into the address bar of a new Firefox window and press Enter. Alternatively, run Firefox with the -P flag from your command line or start menu.
  3. Locate the Folder Path: On the about:profiles page, look for the row labeled "Root Directory." Click the button that says "Open Folder" (Windows/Linux) or "Show in Finder" (macOS). This action will immediately open the correct directory in your file system.
  4. Navigate Manually (If Needed): If you prefer to browse manually, use the standard paths below. Note that labels can differ slightly by version, device, or region, but the structure remains consistent.

Windows Paths

The default location is usually:

C:\Users\[YourUsername]\AppData\Roaming\Mozilla\Firefox\Profiles\

Inside this folder, you will see one or more subfolders with names like xxxxxxxx.default-release. This is your active profile.

macOS Paths

The data is stored in the Library folder, which is hidden by default. To access it:

1. Open Finder.
2. Click Go in the menu bar.
3. Hold down the Option key. Library will appear in the list.
4. Navigate to: ~/Library/Application Support/Firefox/Profiles/

Linux Paths

For most distributions, the path is:

~/.mozilla/firefox/

Press Ctrl+H in your file manager to show hidden files (those starting with a dot) if you cannot see the .mozilla folder.

Identifying Key Files

Once inside the profile folder, you will see many files. The most critical ones include:

  • places.sqlite: Contains bookmarks and browsing history.
  • logins.json and key4.db: Store saved passwords and login credentials.
  • prefs.js: Contains your browser preferences and settings.
  • extensions.json: Lists installed add-ons.

Common Mistakes

  • Editing Files While Firefox is Open: Never modify files in the profile folder while the browser is running. This can corrupt your database files, leading to lost bookmarks or broken profiles.
  • Deleting the Wrong Folder: Ensure you are editing the correct profile folder. If you have multiple profiles, only touch the one you intend to manage.
  • Ignoring Hidden Folders: On macOS and Linux, the Application Support or .mozilla directories are hidden by default. Users often miss them because they do not know how to reveal hidden items.

Tips

  • Backup Regularly: Copy the entire profile folder to an external drive or cloud storage before making significant changes. This allows you to restore your data if something goes wrong.
  • Use Sync Instead of Manual Edits: For syncing data between devices, enable Firefox Sync. It is safer and more reliable than manually copying files between computers.
  • Create Shortcuts: If you frequently need to access this folder, create a shortcut or bookmark to the path for quick access.

Troubleshooting

If you cannot find the folder or encounter errors:

  • Folder Not Found: Verify that you are looking in the correct user account. If you have multiple users on the computer, each has their own separate Firefox profile folder.
  • Permission Denied: On Linux and macOS, you may need administrative privileges to view certain system folders. Right-click the folder and select Properties or Get Info to check permissions.
  • Corrupted Profile: If Firefox fails to start or behaves strangely, try creating a new profile via about:profiles and migrating your data manually if possible.

Frequently Asked Questions

Can I move my Firefox profile to another drive?

Yes. You can change the profile folder location via about:profiles by clicking "Change Directory." However, this requires careful configuration to ensure Firefox points to the new location correctly.

Is my password data encrypted?

Yes. Passwords are stored in logins.json and protected by key4.db, which uses your operating system's security features. They are not stored as plain text.

How do I clear specific data without deleting the whole profile?

Use Firefox's built-in settings. Go to Settings > Privacy & Security to clear cookies, history, or cache. Do not delete individual files manually unless you know exactly what you are doing.

Does Firefox store data in the cloud?

Only if you enable Firefox Sync. Otherwise, all data remains local on your device in the profile folder described above.

What happens if I delete the profile folder?

You will lose all bookmarks, passwords, history, and settings associated with that profile. Firefox will start fresh upon next launch, as if it were newly installed.