Restore Old Firefox Data After Reset
In this article
Yes, you can restore old Firefox data after a reset by retrieving files from your previous profile folder, provided you backed it up or the old data wasn’t fully deleted. This guide shows how to recover bookmarks, history, passwords, and settings by manually restoring profile data from the default Firefox profile directory.
What You'll Need
- Access to your computer’s file system (Windows, macOS, or Linux)
- Knowledge of your Firefox profile folder location
- A backup of your old Firefox profile (optional but recommended)
- File explorer or Finder with permission to view hidden folders
- Firefox browser installed and recently reset
Step-by-Step
- Close Firefox completely. Right-click the taskbar (Windows) or use the menu bar (macOS) to ensure the browser is not running in the background.
- Open your file browser and navigate to the Firefox profile folder. The default paths are:
- Windows:
C:\Users\[YourUsername]\AppData\Roaming\Mozilla\Firefox\Profiles\ - macOS:
/Users/[YourUsername]/Library/Application Support/Firefox/Profiles/ - Linux:
/home/[YourUsername]/.mozilla/firefox/
AppDataandLibraryfolders are hidden by default. Enable viewing of hidden files or use the Go to Folder option (macOS) or Run dialog (Windows: Win+R). - Windows:
- Look for folders ending in
.default,.default-release, or.default-esr. If you reset Firefox recently, your old profile may be labeled with.bak,.old, or include a timestamp. These are likely your pre-reset profiles. - Identify the correct old profile folder by checking the
profile.inifile in the main Firefox directory (Profilesfolder). Open it with a text editor. Look for lines likePath=xxxx.defaultandDefault=xxxx.default. The folder matching thePathbefore reset is your old one. - Open the old profile folder and verify it contains key files like
places.sqlite(bookmarks and history),logins.json(saved passwords),prefs.js(settings), andkey4.db(encryption key for passwords). - Launch Firefox and create a new profile or use the current reset one. Then close Firefox again to prevent file conflicts.
- Navigate to your current active profile folder (found the same way as in Step 2). Rename it temporarily (e.g., add
.backup) to preserve it in case of errors. - Copy the entire old profile folder (or its contents) and paste it into the Profiles directory. If replacing the current profile, rename the old folder to match the name in
profile.ini(e.g.,xxxx.default). - Open
profile.iniand ensure theDefaultandPathvalues point to your old profile folder name. - Reopen Firefox. Your bookmarks, history, passwords, and settings should now be restored. Test by checking Library > Bookmarks and Settings > Privacy & Security > Logins.
Common Mistakes
- Not closing Firefox before file operations: This can cause file locks or corruption. Always fully quit the browser.
- Overwriting the wrong profile: Accidentally replacing the current profile without backup can result in permanent data loss.
- Ignoring key files: Restoring only bookmarks but not
key4.dbmeans passwords won’t work. All related files must be consistent. - Using outdated
profile.ini: If the INI file still points to a deleted or incorrect path, Firefox will create a new blank profile. - Missing hidden folders: On macOS and Linux, failing to show hidden directories prevents access to the profile folder.
Tips
- Before resetting Firefox, manually copy your entire profile folder to an external drive or cloud storage for safekeeping.
- Use Firefox Sync if available—sign in to your Firefox account to restore data across devices without manual file recovery.
- If only bookmarks are missing, use the built-in bookmark restore: Open Library > Bookmarks > Restore > Choose File, then select a JSON backup from the
bookmarkbackupsfolder. - Name backup folders with dates (e.g.,
firefox-profile-backup-2025-03-20) to easily identify the correct version. - On Windows, use the Run dialog (Win+R) and type
%APPDATA%\Mozilla\Firefox\Profiles\for quick access.
Troubleshooting
If Firefox fails to start or data doesn’t appear:
- Firefox opens with blank data: Check
profile.inito confirm theDefaultandPathentries point to the correct folder. Correct the path and restart. - Passwords not working: Ensure both
logins.jsonandkey4.dbare from the same backup. Mixing files from different times or profiles breaks decryption. - Profile folder not found: Enable hidden files in your OS. On macOS, use Finder > Go > Go to Folder. On Windows, show hidden items in View settings.
- Firefox crashes on launch: The old profile may be corrupted. Try creating a new profile via
firefox -Pin Command Prompt or Terminal, then import data selectively. - Sync not restoring everything: Sync may not include all data like form history or custom settings. Manual profile recovery is more complete.
Frequently Asked Questions
Can I restore Firefox data without a backup?
Yes, if Firefox reset but didn’t delete old files, they may remain in the Profiles folder with .old or .bak extensions. Look there first.
Does resetting Firefox delete everything permanently?
No, reset moves old data to a backup folder within Profiles. Files aren’t immediately erased, allowing recovery within days or weeks.
Why won’t my saved passwords show up after restore?
Passwords require both logins.json and key4.db. If either is missing or mismatched, Firefox can’t decrypt them.
Can I restore only bookmarks and not other data?
Yes. Use Library > Bookmarks > Restore > Choose File and select a JSON file from the bookmarkbackups subfolder in your old profile.
Will this method work on Mac and Linux too?
Yes, the process is the same across platforms. Only the file paths differ slightly. Ensure you can view hidden directories.
What if I already deleted the old profile folder?
Recovery is unlikely unless you have a system backup or cloud copy. Use file recovery software cautiously, but success isn’t guaranteed.