Gmail account keeps coming back after delete

So I'm just trying to remove a Google Gmail account from my iMac Pro, MacBook Air and iMac… I remove it from my internet accounts in system prefs, but it keeps coming back. Is anyone aware of this problem and knows how to remove this account for good? I have no idea why it keeps coming back – a few seconds after removing the account I just get a notification that the account has been added, so I'm just unable to remove this account.

iMac Pro, macOS 11.4

Posted on Jul 3, 2021 8:45 AM

Reply
Question marked as Top-ranking reply

Posted on Nov 7, 2021 12:01 PM

I managed to fix this issue today. Here is what I did:


  1. Turn off keychain sync on all of my Apple devices (in the iCloud preferences). This included 2 Macs, an iPad and iPhone.
  2. On each device I removed the accounts I no longer wanted
  3. Then I turned keychain sync back on


This worked and all of my old/duplicate accounts are now gone.

18 replies
Question marked as Top-ranking reply

Nov 7, 2021 12:01 PM in response to AmpiP

I managed to fix this issue today. Here is what I did:


  1. Turn off keychain sync on all of my Apple devices (in the iCloud preferences). This included 2 Macs, an iPad and iPhone.
  2. On each device I removed the accounts I no longer wanted
  3. Then I turned keychain sync back on


This worked and all of my old/duplicate accounts are now gone.

Nov 1, 2021 10:23 AM in response to caffeineben

I managed to resolve it finally across my three MacBooks. I turned 2 of them offline, removed accounts on the one still online.

Turned it offline, took the second MacBook online, did the same: removed the accounts on that. Put it offline again and took the third Mac online, removed the accounts.


Then put all three back online and the accounts doesn't come back (it seems still)

Jan 11, 2022 8:18 AM in response to benekk

I might have a more convenient solution to the one below.


  1. Turn all Macs off, except one. (Maybe worth disconnecting from the internet and deleting Google first..?)
  2. On the on-Mac, go to Keychain Access in Applications.
    1. From the Keychain Access Menu, choose 'Show Invisibles'
    2. You should see a file called 'com.apple.account.Google.accountsync', which is what causes the sync.
  3. Go to System Preferences/Internet Accounts and delete Google. This should make the 'com.apple.account.Google.accountsync' file disappear from KeyChain Access, which should make Google stay deleted because it will sync to iCloud without being re-added by the other Macs, which are off.
  4. Turn on your other Macs.


Notes:

I have the same problem with a zombie Gmail account. It's been deleted, confirmed as deleted from Google. It appears inactive on macOS on all my Macs. Deleting from System Preferences/Internet Accounts works for a minute then Google returns, which happens on all Macs. iOS is fine.


I can't confirm the process right now because I can't get to one of my Macs (it's in another city); but this process is what support recommended by phone. I'm pretty sure that this must be right because if you stop KeyChain from syncing across iCloud in System Preferences, you can delete Google from that machine. As soon as you turn KeyChain iCloud sync back on, Google is back. Therefore, it's not something on the Mac, it's to do with iCloud.


I assume it's something like iCloud needs a little more time to sync the deletion but, usually, the addition is synced from another Mac before this has a chance. That's the only thing that makes sense to me, anyway.

Jul 4, 2021 8:32 AM in response to benekk

Hi there benekk,


Thanks for reaching out to Apple Support Communities. We understand you're having some difficulties removing an email account from the Mail app. Can you tell us if this is happening across all your devices, or just on one of your computers? Also, can you confirm that your operating system is completely up to date on the devices you're trying to remove this account from? The article below will help walk you through those steps if needed.


How to update the software on your Mac 


We can also have you try to remove the Gmail account while your Mac is booted into safe mode. Safe mode prevents the Mac from loading up certain software or login items so this will tell us if one of those items is interfering with the removal process. The steps to boot your Mac info safe mode are found in the resource below.


How to use safe mode on your Mac 


Let us know if this helps.


Jul 4, 2021 12:02 PM in response to Lanny

Hey, thanks for the suggestions, but when I attempt to remove an account via the mail app, it just takes me to the Internet Accounts preferences pane. This is happening across my 3 Macs, all of which are running the latest Big Sur 11.4. This must be something to do with the Keychain being shared across my iCloud. I noticed that Keychain sharing was unchecked in the iCloud Internet Account on one of my Macs so I switched it on, and lo and behold the Google account was automatically added to that Mac too. I also noticed another account that was inactive, so I tried to removed that one too. I get a message asking if I want to remove from all my devices and I click Remove All, but they all keep coming back.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Gmail account keeps coming back after delete

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.