Back up your Firefox installation folder

Firefox Firefox Last updated:

Here’s how to back up your Firefox installation folder on different operating systems, if you need to do so:

Note: Backing up your Firefox installation folder is normally not necessary, since your user data and settings are stored in a separate profile folder location.

Windows

  1. Locate your Firefox installation folder. The default location is usually one of the following:
    • C:\Program Files\Mozilla Firefox\
      for 32-bit Firefox on 32-bit Windows or 64-bit Firefox on 64-bit Windows
    • C:\Program Files (x86)\Mozilla Firefox\
      for 32-bit Firefox on 64-bit Windows
  2. Copy your installation folder:
    • Ensure Firefox is closed to avoid any file conflicts.
    • Navigate to the installation folder.
    • Right-click the Mozilla Firefox folder, and select Copy.
    • Paste the folder to a safe location, such as an external drive or cloud storage.

macOS

  1. Locate your Firefox installation folder:
    • Open the Applications folder.
    • Locate the Firefox.app file.
  2. Copy your installation folder:
    • Ensure Firefox is closed.
    • Hold the Option key, click and drag Firefox.app to your backup location (for example, an external drive or another folder). Holding Option ensures the app is copied and not moved.

Linux

  1. Locate your Firefox installation folder:
    • The installation directory can typically be found in /usr/lib/firefox/ or /opt/firefox/. Use the terminal command whereis firefox to confirm the exact location.
  2. Copy your installation folder:
    • Ensure Firefox is closed.
    • Use the command line or a file manager with superuser privileges to copy the directory:
    sudo cp -r /usr/lib/firefox /path/to/backup/location/
    • Replace /usr/lib/firefox with the actual path if it differs on your system and /path/to/backup/location/ with your desired backup location.
This method will back up the installation files of Firefox, but it won’t include your user profile data, which is stored separately. If you want to restore your exact browser setup – including bookmarks, settings, extensions and other personal data – you’ll also need to back up your Firefox profiles. Refer to this article for instructions on backing up your Firefox profile.

Related articles

Was this article helpful?

Please wait...

These fine people helped write this article:

Illustration of hands

Volunteer

Grow and share your expertise with others. Answer questions and improve our knowledge base.

Learn More