Why Google picks the wrong account
When you're signed in to more than one Google account in the same browser, Google numbers them in the order you signed in. The first one is /u/0/, your default account. The next is /u/1/, and so on.
A link without a number opens in account 0. A link with a number, such as docs.google.com/document/u/1/d/…, opens in that account number on your computer. That number came from the sender's browser, so it can point at any of your accounts.
That's why the same link opens in the right account one day and the wrong one the next: it depends on which account you signed in to first. It's a common complaint on Reddit, from Slack users whose teammates' Docs links open in their personal account to people whose work Chrome profile also holds an admin account.
Fix 1: make your work account the default
Account 0 is the one you signed in to first. To change it:
- Click your profile picture in Gmail or Docs and choose Sign out of all accounts.
- Sign in to the account you want as the default first.
- Then add your other accounts.
Links without a number now open in that account. Links with a number still go wherever the number points, and the order resets each time you sign out.
Fix 2: put your email in the link
Google also accepts an email address in place of the number. Add authuser with the account you want:
https://docs.google.com/document/d/1AbC…/edit?authuser=sam@acme.com
In Gmail, put the email where the number goes: mail.google.com/mail/u/sam@acme.com/. This always opens the right account, but you have to edit each link by hand.
Fix 3: one Chrome profile per Google account
The fix that lasts is a separate browser profile for each account: sign in to your work account only in a Work profile, and your personal account only in a Personal profile. Each profile then has one account, and every Google link opens in it.
The catch: a link you click in Slack, Mail or another app opens in the profile you used last, not the one with the right account. Chrome doesn't choose for you. See how to open links in a specific Chrome profile.
Let each Google link find its account
Profile Porter does both parts. It's a link router: you make it your default browser. Each link you click then opens in the profile where you use that site, which it reads from your browsers on your computer.
For Google links it also fixes the account number. Before a Gmail, Docs, Drive, Calendar or Meet link opens in a Chrome profile, it points the link at the Google account that profile is signed in to Chrome with, by email, as in Fix 2. A sender's /u/1/ no longer matters.
- Works in Chrome profiles that are signed in to Chrome with a Google account, on Mac and Windows.
- Sign-in pages such as accounts.google.com are left as they are.
- In a private window, nothing is changed: nobody is signed in there.
Get Profile Porter for €12, once.
Everything included, no account, and a full refund within 14 days if it isn't for you. macOS 14 or later; on Windows 10 and 11, get it from the Microsoft Store.