Reset Firefox

Many Firefox crashes or bugs are caused by add-ons or changed settings. Resetting Firefox (officially called "refreshing") will fix most of these problems. You can restore some of your lost information with a little extra work, or change your preferred settings manually.

Steps

Resetting Firefox

  1. Visit your Firefox troubleshooting page. Open a new Firefox tab and enter about:support in the address bar. You should reach a page titled Troubleshooting information.
    • You can also reach this page by clicking (usually in the top right) → ? (lower right) → Troubleshooting information.
    • If this doesn't work, click this link, then click Solution 1.
  2. Click the Refresh Firefox button. Look for the Refresh Firefox... button in the upper right.
  3. Confirm. Click Refresh Firefox again in the popup window, then Finish in the second popup window. This will quit and reopen Firefox, with the following changes:[1]
    • All your extensions, themes, and added search engines will be deleted.
    • All settings will be restored to their original state. This includes button placement and plugin preferences.
    • Your download history will be cleared, so make sure you know where to find your downloaded files.
  4. Delete your old data. Mozilla recommends that you delete the folder on your desktop called "Old Firefox Data."[1] If you want to try to restore some of your settings, see the instructions below first.

Resetting Firefox When It Won't Open

  1. Open Firefox in Safe Mode. This will let you reset Firefox even if it won't open without crashing:[2]
    • Windows: Hold down Shift while opening Firefox. If this doesn't work, search your computer for a "Mozilla Firefox (Safe Mode)" shortcut.
    • Mac: Hold down Option while opening Firefox.
    • Linux: Run /path/to/firefox/firefox -safe-mode from Terminal.
  2. Hold the same key while you choose a profile. If a list of profiles appears, hold down the same key while clicking your profile. This will only happen if you have more than one profile.
  3. Select Refresh Firefox. Before the Firefox browser window appears, a popup with two items should appear. Select Refresh Firefox to reset your settings and delete all add-ons. This is a permanent change.
    • Alternatively, select Start in Safe Mode to see if that solves the problem for this session. If it does, try disabling some add-ons and restarting Firefox normally. If it doesn't, start again in safe mode and reset Firefox.

Restoring Data after a Reset

  1. Check for missing data. You can use this method to restore search engines, website-specific settings, and download preferences, which do not usually cause bugs. Your saved passwords, bookmarks, browsing history, and cookies should be restored automatically. If these are missing, you may still be able to retrieve them using these instructions.
    • If you want to restore your add-ons or settings, change them manually instead of using this method. Restoring them from the backup will most likely recreate your old bugs.
  2. Open your troubleshooting page. Enter about:support in the address bar, or click ?Troubleshooting information.
  3. Open your profile data. You can find the folder containing your profile data by clicking a button near the top of the page. Look for the following words, depending on your system and Firefox version:[3]
    • Windows: Show Folder
    • Mac: Show in Finder
    • Linux: Open Directory
    • Firefox 13 or earlier (any OS): Open Containing Folder
  4. Find your old data. Your old data from before the reset should be saved in a folder on your desktop. If you can't find it, search your computer for a folder called "Old Firefox Data."[1]
    • On Windows, you may need to Show-Hidden-Files.
  5. Quit Firefox. You should always close Firefox before you change its profile settings.
  6. Copy files into your current profile. Open "Old Firefox Data" and choose a file you wish to transfer. (See below for how to identify them.) Right-click the file and select Copy. Open your new profile folder. Right-click on any blank space inside the folder and select Paste.[4]
    • On a Mac, hold down Ctrl and click the file to "right-click."
    • If prompted, choose to replace or overwrite existing files.
  7. Choose which files to transfer. It's best to move as few files as possible, since one of them could be responsible for the bug. Here are some suggested files to transfer:[4]
    • search.json — your added search engines
    • permissions.sqlite — preferences for which websites are allowed to store cookies, open popup windows, etc.
    • mimeTypes.rdf — preferences for handling downloaded files (which program opens which file type)
    • Firefox attempts to restore the items below automatically. You do not need to restore them yourself unless an error occurred during the reset.
    • places.sqlite — bookmarks and browsing history
    • key3.db and logins.json — saved passwords
    • formhistory.sqlite — autofill information for online forms



Tips

  • If ads are appearing all over your Firefox, try removing malware from your computer.

Related Articles

Sources and Citations