Here’s the trick below to open multiple gmail accounts with the same version of firefox.

  1. Open the Run dialog. In linux, press Alt+F2. On Windows, press WinKey+R.
  2. In the dialog box, type “firefox -p -no-remote”. This will bring up firefox’s profiles dialog box.
  3. Click on “Create Profile” and follow the wizard. Lets assume you named the profile as “gmail2“.
  4. Now close the dialogs and return to desktop.

Now, open the Run dialog again. In the dialog box, type “firefox -p gmail2 -no-remote“.

“-no-remote” option is very important because it creates an isolated session that is different from the currently open firefox windows of other profiles. If -no-remote option is not given, then a new window of the currently running profile or the default profile is opened, where session sharing happens (which we don’t want).

Now, since sessions aren’t shared between different profiles, you can open two accounts and happily have them.

Suggested Improvement for Firefox:

Internet Explorer 8 has this amazing option in the File menu where you can open a completely new session of IE. Sessions are completly isolated and gives lot of relief. Its available at File->New Session. Hope this feature is brought into Firefox as well. Or if this feature is already available as a plugin, please let me know in the comments. Actually speaking, this feature was available in IE since IE 6 (AFAIK). In IE6/7, you can open a completely new session by clicking the IE icon on the desktop.

8 Responses to “How To: Open 2 Gmail accounts with the same Firefox Version”

  1. Sriram Murali Says:

    I actually have this problem with the -no-remote switch. The profile that is used by Firefox is locked up so swiftfox cannot use it. Which is kind of weird given that they are different browsers and *could possibly* use different user data locations like .mozilla/firefox and .mozilla/swiftfox (on *nix) cos I have a midbrowser installation on my Jaunty box which neatly creates a midbrowser folder inside .mozilla for config files. Know of any work arounds for this ? Could the path be specified somewhere in /usr/bin/*fox ? 🙂

  2. Balaji Sowmyanarayan Says:

    Hey Aswin,
    You can even use the technique to package small desktop applications that will work on all Windows, Linux, and Mac – any platform with Firefox on it.
    Check out the Just a Minute Firefox Extension at :
    BTW, I distribute Sim-OnDemand(’s ec2 launcher using this technique.

    -Balaji S.

  3. Aswin Anand Says:

    @Sriram: No clue about that 🙂

    @Balaji: Labsji, that’s pretty cool stuff.

  4. Hari Says:

    Machi… will this work for this situation… say i open my orkut account in firefox.. and similarly in another tab i open my gmail…. bt when i logout from my gmail .. it automatically logs out from orkut too… I tried what u said.. bt it doesn’t seems to work for this situation… anyways i knw for sure, u would be having gr8 reasons and solutions for it 🙂

  5. Aswin Anand Says:

    @Hari: Within a single browser window or within different windows of the same profile, sessions are shared. To solve this problem, you should create another firefox profile as shown above & login to orkut from there.

  6. Dot Says:

    This certainly helps 🙂

  7. The Facebook Funnel called the ‘Like’ button | Waves Says:

    […] be tracked without your explicit approval, I would suggest using Incognito browsing mode in Chrome, multiple profiles in Firefox or InPrivate browsing mode in Internet Explorer. All these modes will clear cookies and other […]

  8. loay Says:

    try using cookiepie an extension for firefox with each tab you open you can put the cookiepie on by right clicking on the tab and start a new account session for the same website goodluck
    just google it and youll find it