You are currently viewing a snapshot of taken on April 21, 2008. Most of this content is highly out of date (some pages haven't been updated since the project began in 1998) and exists for historical purposes only. If there are any pages on this archive site that you think should be added back to, please file a bug.

How To Manage Profiles

Mozilla Firefox stores all your personal settings, such as bookmarks, passwords and extensions, in a profile. The profile is stored on your hard drive in a profile folder.

Multiple profiles and profile management is an advanced feature, mainly intended for developers. Unless you are an extension developer or an advanced user, you should probably not be trying to use multiple profiles.


Locate your profile folder

Knowing where your profile folder is stored can be useful if, for example, you want to make a backup of your personal data.

  • On Windows Vista/XP/2000, the path is usually %AppData%\Mozilla\Firefox\Profiles\xxxxxxxx.default\, where xxxxxxxx is a random string of 8 characters. Just browse to C:\Documents and Settings\[User Name]\Application Data\Mozilla\Firefox\Profiles\ on Windows XP/2000 or C:\users\[User Name]\AppData\Roaming\Mozilla\Firefox\Profiles\ on Windows Vista, and the rest should be obvious.
  • On Windows 95/98/Me, the path is usually C:\WINDOWS\Application Data\Mozilla\Firefox\Profiles\xxxxxxxx.default\
  • On Linux, the path is usually ~/.mozilla/firefox/xxxxxxxx.default/
  • On Mac OS X, the path is usually ~/Library/Application Support/Firefox/Profiles/xxxxxxxx.default/

%AppData% is a shorthand for the Application Data path on Windows 2000/XP/Vista. To use it, click Start > Run... (use the search box on Vista), enter %AppData% and press Enter. You will be taken to the "real" folder, which is normally C:\Documents and Settings\[User Name]\Application Data on Windows XP/2000, C:\users\[User Name]\AppData\Roaming on Windows Vista.

Create a new profile

In order to create a new profile, you use the Profile Manager. To start the Profile Manager in Windows, follow these steps:

  1. Close Firefox completely (select File > Exit from the main menu of Firefox).
  2. Select Start > Run... from the Windows Start menu (use the search box on Vista).
  3. Enter firefox.exe -ProfileManager and press OK.

On Linux or Mac, start Firefox with the -ProfileManager switch, e.g. ./firefox -ProfileManager (this assumes that you're in the firefox directory).

You should now see the Profile Manager window, shown in the screenshot to the right.

From the Profile Manager you are also able to remove and rename profiles. Be very careful when deleting profiles; if you created the profile in an directory that already existed, the entire directory will be removed!

Click on the Create Profile... button to start the Create Profile Wizard. Click Next and enter the name of the profile, e.g. your name or something descriptive.

You can also choose where on the disk you want the profile to be stored, which is useful if you plan on exporting your settings to another computer or setup in the future. If you choose a custom location for the profile, always create a new/clean directory and select that directory.

Finally, click Finish to have Firefox create the new profile.

You should now be taken back to the Profile Manager and the newly created profile should be listed. Select it and click Start Firefox. That's it!

You are now running Firefox with the new profile, which means all settings are reset to default. If you want to switch back to your old profile, just start the Profile Manager again (instructions above) and select the old profile.

You can also have Firefox start a selected profile automatically, so you don't have to pick one each time the browser is launched. Do this by checking the Don't ask at startup option.

Backing up your profile

Backing up your profile folder in Firefox is easy. Just follow these steps (which assumes you know how to manage files on your computer):

  1. Optional: Empty the browser cache, to reduce the amount of data to backup. Go to Tools > Options... (Edit > Preferences... on Linux/Mac), select Privacy and click the Clear button next to the Cache item in the list.
  2. Shut down Firefox completely (File > Exit).
  3. Make a copy of your profile folder to, for example, a CD-RW disc or a separate hard disk for backup purposes.

Move an existing profile or restore a backed up profile

It's possible to move the location of a profile folder. This could be useful if you have a backed up profile folder somewhere on your hard drive and want to tell Firefox to use that as your profile. This section explains how to do this.

  1. Shut down Firefox completely (File > Exit).
  2. Move the profile folder to the desired location. For example, on Windows XP, move the profile from C:\Documents and Settings\[username]\Application Data\Mozilla\Firefox\Profiles\xxxxxxxx.default to D:\Stuff\MyProfile. If you are reading these instructions because you want to restore a previously backed up profile, this step isn't necessary. Just note the current location of the profile you want to restore.
  3. Open up profiles.ini in a text editor. The file is located in the application data folder for Firefox:
    • On Windows Vista/XP/2000, the path is %AppData%\Mozilla\Firefox\
    • On Windows 95/98/Me, the path is usually C:\WINDOWS\Application Data\Mozilla\Firefox\
    • On Linux, the path is ~/.mozilla/firefox/
    • On Mac OS X, the path is ~/Library/Application Support/Firefox/
  4. In profiles.ini, locate the entry for the profile you've just moved. Change the Path= line to the new location. If you are using a non-relative pathname, the direction of the slashes may be relevant (this is true for Windows XP).
  5. Change IsRelative=1 to IsRelative=0.
  6. Save profiles.ini and restart Firefox.
© 2002-2005 David Tenser.