This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Cuireadh an snáithe seo sa chartlann. Cuir ceist nua má tá cabhair uait.

I cannot delete browsing history that is 5+ years old

  • 2 fhreagra
  • 1 leis an bhfadhb seo
  • 16 views
  • Freagra is déanaí ó cor-el

more options

Selected: "Clear All History" Selected Time Range: "Everything" Checked: "Browsing & Download History" and "Form & Search History" Selected: "Clear Now"

It thought it cleared everything. But when I search history using terms like "com" or "net," a lot of entries that are over 5 years old appear. Is there anyway to delete those hidden items too - or do I need to start fresh with a new Identity?

Selected: "Clear All History" Selected Time Range: "Everything" Checked: "Browsing & Download History" and "Form & Search History" Selected: "Clear Now" It thought it cleared everything. But when I search history using terms like "com" or "net," a lot of entries that are over 5 years old appear. Is there anyway to delete those hidden items too - or do I need to start fresh with a new Identity?

All Replies (2)

more options

Firefox keeps several tables of "history":

When you clear history, the first two categories are erased (except for URLs that are also bookmarked) but the third category is not. Is that whre you notice this problem?

In fact, I'm not aware of a built-in way to clear that table (moz_hosts). There are a couple of somewhat difficult ways to do it described in this thread:

Unable to remove suggestion from address bar

Alternately, you could hide the database file to force Firefox to create a fresh one. Firefox should restore your last automatic bookmark backup as part of that process, but I suggest making a couple safety backups first.

(1) Create an extra bookmark backup using the steps in this article: Restore bookmarks from backup or move them to another computer.

And for good measure, an HTML-format export: Export Firefox bookmarks to an HTML file to back up or transfer bookmarks

(2) Open your current Firefox settings (AKA Firefox profile) folder using either

  • "3-bar" menu button > "?" button > Troubleshooting Information
  • (menu bar) Help > Troubleshooting Information
  • type or paste about:support in the address bar and press Enter/Return

In the first table on the page, click the "Show in Finder" button. This should launch a new window listing various files and folders.

Leaving that window open, switch back to Firefox and Exit, either:

  • "3-bar" menu button > "power" button
  • (menu bar) File > Exit

(3) Pause while Firefox finishes its cleanup -- give it a good 15-30 seconds -- then rename places.sqlite to something like places.old. The reason for renaming rather than deleting is in case Firefox is not able to restore your bookmark backup.

If you see other similarly named files like places.sqlite-shm and/or places.sqlite-wal, you can delete those.

(4) Start Firefox back up again. When it fails to find places.sqlite, Firefox should create a new one and restore your bookmarks from your last automatic backup.

Are the bookmarks complete? If not, you can restore your manual backup using the steps in the above article.

more options