Firefox bookmarks going missing is alarming when it happens, but the data is almost never actually gone. Firefox keeps multiple backup copies of your bookmarks, and recovery is usually straightforward once you know where to look. This fits into the wider topic we cover in our Google Chrome Errors.
Most common scenario: Firefox created a new profile after an update or installation issue, and your bookmarks are in the old profile rather than being deleted. The second most common: a browser sync conflict overwrote local bookmarks with an older version from another device.
Step 1: Recover from Firefox’s automatic backup
Firefox automatically saves daily JSON backups of your bookmarks for up to 15 days. This is the fastest path to recovery — no third-party tools needed.
- Click the bookmarks icon (☆) → Manage Bookmarks, or press Ctrl+Shift+O
- In the Library window: Import and Backup → Restore
- You’ll see a list of dated backup files — pick the most recent one that would have included your missing bookmarks
- Confirm when Firefox asks whether to replace current bookmarks
This replaces all current bookmarks with the selected backup. If you have any bookmarks currently that you want to keep, export them first (Import and Backup → Export Bookmarks to HTML) before restoring.
Step 2: Check for a different profile containing the bookmarks
If the backup doesn’t contain the missing bookmarks, your data may still exist in a different Firefox profile. This happens most often after a Firefox reinstall or after Firefox created a new “clean” profile because it couldn’t read the old one.
- Win+R → type
firefox.exe -ProfileManager→ Enter - The Profile Manager lists all Firefox profiles on this machine
- If you see more than one profile, click each one and “Start Firefox” to check whether it has your bookmarks
If you find your bookmarks in another profile: you can switch to that profile permanently, or export the bookmarks from the old profile (Ctrl+Shift+O → Import and Backup → Export) and import them into the current one.
Step 3: Find the bookmark backup files manually
Firefox stores bookmark backups as JSON files in a specific location. Navigate there and you can restore them even if the in-app restore option doesn’t show them:
- In Firefox: type
about:supportin the address bar → look for “Profile Directory” → click “Open Directory” - Inside the profile folder, open the bookmarkbackups subfolder
- You’ll find files named like
bookmarks-2026-03-15_180_xyz.jsonlz4— the date is in the filename - To restore: in Firefox, Ctrl+Shift+O → Import and Backup → Restore → Choose File → navigate to this folder and select the backup
Step 4: Restore from Firefox Sync
If you’re signed into a Firefox Account, your bookmarks are synced to Mozilla’s servers. This can work in your favour (recovering from cloud) or against you (sync pushing a state without your bookmarks from another device).
To restore from sync: disconnect sync, fix the local bookmarks first (using the backup methods above), then reconnect sync. Don’t force a sync immediately after reconnecting if you’re worried it’ll overwrite your restored bookmarks — wait for Firefox to merge rather than pushing immediately.
To disconnect sync: Firefox menu → Settings → Sync → click your account → Disconnect. After restoring bookmarks, reconnect and let Firefox merge.
Step 5: Import from an HTML backup
If you previously exported bookmarks to HTML (File → Import and Backup → Export Bookmarks to HTML) or backed up a bookmarks.html file: Ctrl+Shift+O → Import and Backup → Import Bookmarks from HTML → select the file.
This adds the HTML-exported bookmarks to your current collection rather than replacing everything. Useful if you have partial missing bookmarks and don’t want to wipe what currently exists.
Why Firefox bookmarks go missing
Understanding the cause helps prevent it from recurring:
- Firefox refresh: clicking “Refresh Firefox” creates a new profile and moves old data to a “Old Firefox Data” folder on the Desktop — your bookmarks are there in a folder called “Old Firefox Data”
- Reinstall without backing up: Firefox’s installer asks whether to create a new profile; if you selected that option, the old profile wasn’t deleted — use the Profile Manager (Step 2) to find it
- Profile corruption: Firefox created a new profile because it couldn’t read the old one — same solution as reinstall
- Sync conflict: a device with fewer bookmarks pushed its state and overwrote the server copy — use local JSON backups (Step 1) to recover
- Someone else using the same Windows account and running Refresh Firefox: check for the “Old Firefox Data” folder on the Desktop
The “Old Firefox Data” folder on the Desktop deserves special mention because it’s where Firefox puts everything after a Refresh — bookmarks, history, passwords. It’s left there intentionally for recovery. Open it → look for a folder with a date → inside is a complete profile you can extract bookmarks from.
For Firefox performance issues that might have led to using Refresh Firefox in the first place, our Firefox startup troubleshooting guide covers the profile corruption and extension conflicts that affect stability. For bookmarks that sync but appear in wrong order across devices, the Firefox sync and configuration guide covers the sync behaviour and conflict resolution. Mozilla’s bookmark recovery documentation covers the jsonlz4 format used in bookmark backups and how to decompress them manually if Firefox’s built-in restore fails.
Recovering from jsonlz4 backup files
Firefox’s bookmark backups use the jsonlz4 format — compressed JSON with a Mozilla-specific header. The in-app restore handles this automatically. But if you need to inspect or convert the backup file for another reason (checking what’s in it before restoring, or importing into another browser), you need a conversion step.
The easiest approach: use the lz4json tool or the Firefox-specific mozlz4 Python script. Alternatively, there are web-based tools that convert .jsonlz4 to readable JSON — search for “mozlz4 viewer online.” The converted JSON contains all bookmark data in a readable tree format.
This level of access is rarely needed — the in-app restore is almost always sufficient. But it’s useful to know that the data in the backup is fully intact and readable if you need to extract specific bookmarks without doing a full restore.
Bookmarks in the Unsorted Bookmarks folder
Sometimes bookmarks aren’t missing — they’ve been moved to the “Unsorted Bookmarks” folder, which doesn’t appear in the standard bookmarks sidebar or menu by default. In the Library (Ctrl+Shift+O), look at the left panel for “Unsorted Bookmarks” and check whether your missing items are there.
This often happens after a bookmark import from another browser or a sync where the source device had bookmarks not organised into named folders.
Tags vs bookmarks confusion
Firefox uses “tags” as an alternative organisation system. A bookmarked page with tags appears in tag searches but might not appear in the bookmark folder tree if you’re looking for it in the wrong place. Ctrl+Shift+O → Tags (in the left panel) to view all tagged bookmarks separately from folder-organised ones.
Backing up bookmarks going forward
After recovering your bookmarks, set up a regular backup routine:
- Firefox already creates automatic daily backups (up to 15 days) in the bookmarkbackups folder — these are your emergency fallback
- For longer-term backups: Ctrl+Shift+O → Import and Backup → Export Bookmarks to HTML → save the file to a cloud storage location like OneDrive or Google Drive. Do this monthly
- Firefox Sync provides cloud backup automatically if you create a Firefox Account and enable bookmark sync — it stores the current state on Mozilla’s servers
- For the most robust protection: all three approaches together (automatic JSON backups + monthly HTML exports + Firefox Sync) ensure bookmarks can be recovered from any point in time regardless of what happens
The HTML export is the most portable format — it can be imported into Chrome, Edge, or any other browser, which makes it preferable to JSON backups if you ever switch browsers.
What about the Places database?
Firefox stores bookmarks in an SQLite database called places.sqlite inside the profile folder. This database also contains your browsing history, so it’s critical to Firefox’s operation. When this database becomes corrupted:
- Firefox may recreate it as places.sqlite-shm or leave a corrupted version that won’t load bookmarks
- Signs of database corruption: bookmarks were there, then all disappeared at once, with no sync or refresh involved
Recovery from a corrupted places.sqlite: the JSON backups (in the bookmarkbackups folder) are separate from places.sqlite and remain intact even when the main database is corrupted. Using the in-app restore (Step 1) rebuilds the places.sqlite database from the backup file.
If the places.sqlite is too corrupted for Firefox to even load a backup from within the app: navigate to the profile folder → rename places.sqlite to places.sqlite.old → restart Firefox. It creates a new empty database. Then use Ctrl+Shift+O → Import and Backup → Restore to populate it from a backup file.
Recovering deleted specific bookmarks
Individual bookmarks deleted by mistake can often be recovered through sync (if sync is enabled and the deletion hasn’t propagated yet) or from a recent JSON backup. The challenge with recovering specific bookmarks rather than all bookmarks: restoring from a backup replaces everything, including any new bookmarks added since the backup was made.
Workaround for recovering specific bookmarks from a backup without losing recent additions:
- Export current bookmarks to HTML (preserves current state)
- Restore from the backup containing the deleted bookmark
- Export again as HTML (now includes the recovered bookmark)
- Restore from the current HTML export you saved in step 1 (or import both and deduplicate)
This is tedious but works when you need to recover specific items while preserving everything else.
Checking for bookmark database issues with Firefox’s maintenance
Firefox has a built-in maintenance task that detects and repairs bookmark database issues. Type about:config in the address bar → search for “places.maintenance” → double-click “browser.places.maintenance.daysBetweenRuns” → temporarily change it to 1 → restart Firefox. This forces a database maintenance run on next startup, which can repair minor corruption without requiring manual intervention.
Change the value back to the original (typically 14) after the maintenance has run. You’ll see a brief Firefox startup delay while maintenance completes — that’s normal.
Migrating Firefox bookmarks to a new machine
When setting up Firefox on a new computer, the cleanest bookmark migration path is Firefox Sync — sign in with your Firefox Account on the new machine and bookmarks sync automatically within minutes. If you’re not using Firefox Sync:
- On the old machine: Ctrl+Shift+O → Import and Backup → Export Bookmarks to HTML → save to a USB drive or cloud storage
- On the new machine: Ctrl+Shift+O → Import and Backup → Import Bookmarks from HTML → select the exported file
The HTML format preserves the folder structure and is more reliable across Firefox versions than copying the places.sqlite file directly, which can have version-specific formatting issues.
Firefox bookmarks data is remarkably recoverable — the automatic JSON backups, the Places database structure, and Firefox Sync all provide multiple paths back to your data. The steps in this guide cover every realistic scenario from simple missing bookmarks to full profile loss. In the vast majority of cases, Step 1 (restore from backup) or Step 2 (check other profiles) is all you need.
Firefox bookmark sync across devices — ordering and conflicts
Firefox Sync merges bookmarks from all synced devices rather than imposing one device’s state on all others. However, when the same bookmark folder exists on multiple devices with different contents, Firefox uses a “last-write-wins” strategy for resolving conflicts rather than a true merge. This can cause seemingly random bookmark disappearances when multiple devices are active.
To reduce sync conflicts: make bookmark changes on one device at a time and let them sync (wait for the sync icon to stop spinning) before making more changes on another device. For large reorganisations (sorting into folders, mass deletions), do all changes in one session on one device, then let sync propagate before doing anything else.
Alternative: recovering with a Firefox profile copy
If you have a backup of the entire Firefox profile folder (from Windows backup, Time Machine equivalent, or manual copy), you can recover bookmarks by copying just the places.sqlite and favicons.sqlite files from the backup into your current profile folder.
- Close Firefox completely
- Navigate to your current profile (about:support → Profile Directory)
- Copy places.sqlite from the backup profile to the current profile folder, replacing the existing file
- Restart Firefox — your bookmarks and history from the backup appear
This works because places.sqlite contains all bookmark data independently of Firefox’s JSON backups. It’s a direct database copy rather than a Firefox-managed restore process. Related: How to Fix Firefox Sync Not Working.
One thing worth noting: bookmark data that appears suddenly empty (not just a few missing items but everything gone at once) is almost always either a Refresh Firefox consequence (check the Desktop for “Old Firefox Data”) or a profile switch (check Profile Manager for other profiles). True data loss — where bookmarks are genuinely gone from all backups and profiles — is extremely rare given Firefox’s automatic 15-day backup system. Always check those backup files before concluding that anything is permanently lost. If this sounds familiar, Chrome Bookmarks Not Showing is worth a look.







