Gmail login and authentication problems with Apple Mail? Try these tips! (2024)

Google and Apple: Two titans of technology that come together to serve up my emails. It isn’t news to say they don’t always place nicely together. But recently there have been a lot more problems than usual as Gmail keeps failing to authenticate in Apple Mail.

And I’m not the only one this has happened to. Ask any of the 2000+ other users who discussed the problem in this Apple thread.

Everyone has been experiencing the same problem. Apple Mail keeps asking you to log in and authenticate your Google account using Safari. After you do it, Apple Mail asks again and you’re stuck in an endless login authentication loop.

Enter the password for the account “(null)”

Google requires completing authentication in Safari

So, what exactly is going on here? Well…it could be one of two things.

Plenty of users experience “generic” Apple Mail authentication errors all the time. But there’s also a surge of new users getting the issue due to a bug in Apple’s release of macOS 10.14.4.

Whatever is causing the issue for you, we’ve got the fix for it below!

Contents

  • Quick Tips
      • Use these quick tips — explained in more detail below — to resolve most problems with Apple Mail and Gmail:
  • Problems with Apple Mail and Gmail authentication in macOS
    • 1. Update your Mac to the next software update
      • Update your Mac to the latest software:
    • 2. Disable two-step authentication and enable “less secure apps”
    • 3. Manually add Gmail using “Other Mail Account” in Apple Mail
    • 4. Replace your mail client with a third-party alternative
    • 5. Fix Gmail and Mail authentication problems using Charles
  • What do I do if Gmail failed to log in to Apple Mail on my Mac?
    • 1. Check you can sign in on the Gmail website
    • 2. Close Apple Mail and restart your Mac
      • How do I close Apple Mail and restart my Mac?
    • 3. Deactivate Gmail on your Mac, then activate it again
      • How do I deactivate and reactivate Gmail on my Mac?
    • 4. Remove Gmail from your Mac, then add it again
      • How do I remove and re-add Gmail on my Mac?
    • Don’t let Mail check for new messages too often
      • How do I change how often Mail looks for new messages?
    • 5. Remove Gmail from Keychain and enter your password manually
      • How do I remove my Gmail password from Keychain?
    • 6. Turn off two-step authentication for your Google account
      • How do I turn off two-step authentication for Google?
    • 7. Enable access for “less secure apps” in your Google account
      • How do I enable access for less secure apps on Google?
    • 8. Add Gmail manually using “Other Mail Account” in Apple Mail
      • How do I enable IMAP for my Gmail account?
      • How do I add Gmail to Apple Mail manually?
  • Reader Tips

Quick Tips

Gmail login and authentication problems with Apple Mail? Try these tips! (1)Use these quick tips — explained in more detail below — to resolve most problems with Apple Mail and Gmail:

  1. Check you can sign in on the Gmail website.
  2. Close Apple Mail and restart your Mac.
  3. Deactivate Gmail on your Mac, then activate it again.
  4. Remove Gmail from your Mac, then add it again.
  5. Remove Gmail from Keychain and enter your password manually.
  6. Turn off two-step authentication for your Google account.
  7. Enable access for “less secure apps” in your Google account.
  8. Add Gmail manually using “Other Mail Account” in Apple Mail.

Related:

  • Mail not working after macOS Mojave upgrade, how to fix
  • How to fix macOS Mail issues after upgrading to two-factor authentication
  • The best ways to use Gmail on your Mac
  • A fix for Gmail password error

Problems with Apple Mail and Gmail authentication in macOS

Gmail login and authentication problems with Apple Mail? Try these tips! (2)

One of Apple’s latest software releases brought with it a frustrating bug for Apple Mail and Gmail users. This bug created a login authentication loop between Mac’s Apple Mail and Gmail.

Apple Mail prompts users to log in and authenticate their account using Safari. Google seems to accept the password and authentication, but then Apple Mail gives the same prompt again. And again and again…

Enter the password for the account “(null)”

Google requires completing authentication in Safari

Gmail login and authentication problems with Apple Mail? Try these tips! (3)

Although this proved to be a difficult error to fix, a few users have found some clever workarounds for it. We’ve outlined them below, but you can also read our full troubleshooting guide for Gmail problems further down in the post.

1. Update your Mac to the next software update

This issue first arose with macOS 10.14.4 and has continued sporadically since with later macOS updates.

And although Apple made no mention of the Mail and Gmail problems, newer update appear to resolve these types of problems for most! So please update your macOS, if possible!

Update your Mac to the latest software:

  1. From the menu bar, go to Apple > System Preferences… > Software Update.
  2. Wait for your Mac to check for new software updates.
  3. Download and install any updates it finds.
Gmail login and authentication problems with Apple Mail? Try these tips! (4)

2. Disable two-step authentication and enable “less secure apps”

A solution proposed by many users — but not effective for all of them — is to disable two-step authentication within Google and enable “less secure apps.” Who would’ve thought Apple Mail qualified as a less secure app!?

We’ve detailed how to do each of these things in our general troubleshooting tips below:

  • Click here to jump to the section about disabling two-step authentication.
  • Click here to jump to the section about enabling “less secure apps.”

3. Manually add Gmail using “Other Mail Account” in Apple Mail

Gmail login and authentication problems with Apple Mail? Try these tips! (5)

Once again, this solution appears to be effective for a large portion of users — but not all of them.

It involves removing Gmail from your Mac entirely. Then adding it manually to the Mail app using the “Other Mail Account” option. When you do this, you need to input IMAP settings yourself, rather than have them filled in by Mail.

We explained how to do this in our basic troubleshooting steps below as well. Click here to jump to that section of the post for full instructions.

4. Replace your mail client with a third-party alternative

Gmail login and authentication problems with Apple Mail? Try these tips! (6)

Not much of a solution, but a perfectly effective workaround: stop using Apple Mail. The issue appears to be a problem with Apple Mail itself, and not with Google or your Gmail account.

This means you can have a working mail client — and possibly one with a far richer feature set — by replacing Apple Mail with a third-party alternative.

I like Spark, personally. But we’ve written about a range of other mail clients before, such as:

Do a bit of research yourself to find one you like the sound of, then try it out — they’re all free! Or you could always resort to accessing your mail through the Gmail website.

5. Fix Gmail and Mail authentication problems using Charles

Gmail login and authentication problems with Apple Mail? Try these tips! (7)

A slightly more technical solution I’ve seen a few times is to use a web debugging proxy application called Charles.

I haven’t tested this method myself. But other users say they used Charles to repair Apple Mail and Gmail authentication issues. Follow the instructions given in these comments if you wish to try using Charles.

You can also try our troubleshooting steps below, designed to resolve common problems with Gmail and Apple Mail.

What do I do if Gmail failed to log in to Apple Mail on my Mac?

The steps below are effective at routing out and resolving almost any problem you might have with Gmail and Mail on your Mac. Follow the steps in the order provided and remember to keep testing your account.

You can stop following the guide when Gmail logs into Mail without authentication failing or any other problems. But please remember to let us know in the comments what steps did and didn’t work for you so we can keep this post up to date!

1. Check you can sign in on the Gmail website

The first thing to do is try signing in to your Gmail account on Google’s website.

This confirms two important things about your Gmail account:

  1. Your password is correct.
  2. The account is currently active.
Gmail login and authentication problems with Apple Mail? Try these tips! (8)

Not only that but signing in alerts you to any security warnings for your account. Perhaps Google put a temporary block on Apple Mail and you need to re-enable it for authentication to stop failing.

Signing in online allows you to do that.

If you can’t access your Gmail account through the website, the problem is with Google. Reach out to Google support for further assistance.

2. Close Apple Mail and restart your Mac

Gmail login and authentication problems with Apple Mail? Try these tips! (9)

It’s an old favorite and I wonder if I’ve ever written a troubleshooting post without this suggestion. But you should restart your Mac.

This sounds basic, I know, but it’s effective. If Apple Mail or background processes have become corrupt, a simple restart is usually all you need to resolve it.

How do I close Apple Mail and restart my Mac?

  1. Switch to the Apple Mail app by clicking it from the Dock or using command+tab.
  2. With Apple Mail selected, from the menu bar go to Mail > Quit Mail.
  3. If Mail won’t quit:
    1. Press command+option+escape.
    2. Select Mail in the window that appears and click Force Quit.
  4. Once Mail is closed, go to Apple > Shut Down from the menu bar.
  5. Confirm you want to Shut Down your Mac.
  6. Wait at least two minutes before you use the power button to restart your Mac.
Gmail login and authentication problems with Apple Mail? Try these tips! (10)

3. Deactivate Gmail on your Mac, then activate it again

You can deactivate Gmail through the Internet Accounts page in System Preferences. This doesn’t remove anything from your Mac but stops Gmail from receiving new messages until you reactivate it.

When you reactivate Gmail, it attempts to log in and authenticate with Google. This often irons out any issues with Apple Mail in the process.

How do I deactivate and reactivate Gmail on my Mac?

  1. From the menu bar, go to Apple > System Preferences… > Internet Accounts.
  2. Select your Google account from the sidebar, you may have given it a custom name.
  3. Uncheck all the available options: Mail, Contacts, Calendars, Notes.
  4. Close System Preferences and use the instructions above to restart your Mac.
  5. When your Mac restarts, return to Internet Accounts.
  6. Check the box for Mail and any other services you want to use.
Gmail login and authentication problems with Apple Mail? Try these tips! (11)

4. Remove Gmail from your Mac, then add it again

When you remove Gmail, your Google emails, contacts, calendars, and notes are also removed from your Mac. This data is still stored on Google’s server and available when you log in to Google’s website.

It also returns to your Mac when you add Gmail to your Mac again. Although that might be easier said than done considering the reason you’re reading this.

Much like the step above, removing and re-adding Gmail on your Mac forces Apple to re-authenticate your account. It could force any issues to the surface or bypass them entirely.

How do I remove and re-add Gmail on my Mac?

  1. From the menu bar, go to Apple > System Preferences… > Internet Accounts.
  2. Select your Google account from the sidebar, you may have given it a custom name.
  3. Click the Minus (–) button at the bottom of the sidebar, then click OK to confirm you want to remove the account.
  4. Close System Preferences and use the instructions above to restart your Mac.
  5. When your Mac restarts, return to Internet Accounts.
  6. Click the Plus (+) button at the bottom of the sidebar.
  7. Select Google and enter your Google username and password.
  8. Agree to Open Safari to authenticate Google, then enter your login details.
Gmail login and authentication problems with Apple Mail? Try these tips! (12)

Don’t let Mail check for new messages too often

Google warns that if your Mail client checks for new messages more than once every 10 minutes, it might get blocked as a security precaution.

How do I change how often Mail looks for new messages?

  1. Open Mail on your Mac.
  2. From the menu bar, go to Mail > Preferences… > General.
  3. Pick one of these options under the Check for new messages: drop-down menu:Every 15 minutes,Every 30 minutes,Every hour, orManually.
Gmail login and authentication problems with Apple Mail? Try these tips! (13)

5. Remove Gmail from Keychain and enter your password manually

Keychain securely saves your username and password for all the accounts you use on your Mac. This streamlines signing for apps and websites you visit. It also lets Mail check for emails without needing your password every time.

You should remove your Gmail password from Keychain and enter it again manually. This ensures it isn’t incorrect or corrupted.

How do I remove my Gmail password from Keychain?

  1. Close Mail by going to Mail > Quit Mail from the menu bar or pressing command+Q.
  2. Open the Keychain Access application from your Utilities folder in Finder or using Spotlight.
  3. In the Category sidebar on the left, click Passwords.
  4. Now search for Gmail in the search bar near the top right.
  5. Click on Kind to sort your results and scroll to find any Internet Password kind of entries.
  6. Select all Gmail Internet Password results.
  7. Delete them by pressing Delete on the keyboard or using Control-Click > Delete Item.
  8. Confirm you want to Delete the selected item.
  9. Open Mail and try to sign in to Gmail again when prompted.

6. Turn off two-step authentication for your Google account

Two-step authentication is an excellent, and well-advised, security measure to add to your Google account. After all, there’s a lot of personal information on that account. You don’t want it falling into the wrong hands.

That said, this added complication could be why Gmail fails to authenticate with Apple Mail on your Mac. Temporarily deactivate two-step authentication and attempt to sign in to Gmail on Apple Mail again.

How do I turn off two-step authentication for Google?

  1. Sign into your account on Google’s website.
  2. Click Security from the options on the left of the page.
  3. Under the Signing into Google section, click 2-Step Verification.
  4. Enter your Google password again, if prompted.
  5. Click Turn Off at the top of the page.
  6. Confirm that you want to Turn Off two-step verification.
  7. Open Mail and try to sign in to Gmail again when prompted.
Gmail login and authentication problems with Apple Mail? Try these tips! (14)

7. Enable access for “less secure apps” in your Google account

It’s unclear why, but sometimes Apple Mail gets tagged as an insecure app by your Google account. When this happens, Google refuses to let Apple Mail authenticate your Gmail account.

Fortunately, you can disable this feature in the settings. Although doing so can impede the security of your account.

How do I enable access for less secure apps on Google?

  1. Sign into your account on Google’s website.
  2. Click Security from the options on the left of the page.
  3. Scroll down to the Less secure app access section.
  4. Click Turn on access (not recommended).
  5. Turn on the switch to Allow less secure apps.
  6. Open Mail and try to sign in to Gmail again when prompted.

If this resolves your problems with Apple Mail and Gmail, turn off access to less secure apps again. But try creating an App Password to use with Apple Mail from Google. There are instructions to do this on Google’s website.

Also, try turning off access to less secure apps and unlocking your Google account by entering a captcha. Click on this link and follow the prompts to enter a captcha. Then try signing in from Apple Mail again within the next 10 minutes.

8. Add Gmail manually using “Other Mail Account” in Apple Mail

Gmail login and authentication problems with Apple Mail? Try these tips! (15)

Add Gmail as a new mail account within the Apple Mail app. And this time, choose the “Other Mail Account” option instead of selecting “Google”.

This means you need to enable your Gmail account to IMAP forwarding and enter the incoming and outgoing servers. Google provides good instructions for this, but we’ve explained exactly how to do it all below.

It also means you can’t add your contacts or calendars from Google — unfortunately. But it should get your emails coming in and going out, so that’s something of a victory!

How do I enable IMAP for my Gmail account?

  1. Go to Gmail’s website and sign in to your account.
  2. Near the top right, click the Cog Icon and go to Settings.
  3. Go to the Forwarding and POP/IMAP tab.
  4. Under the IMAP Access: section, click Enable IMAP.
  5. Scroll to the bottom and click Save Changes.

How do I add Gmail to Apple Mail manually?

  1. Open Mail on your Mac.
  2. From the menu bar, go to Mail > Preferences… > Accounts.
  3. Click the Plus (+) button at the bottom of the sidebar.
  4. Choose Other Mail Account… at the bottom of the list and click Continue.
  5. Enter your Name, Email Address, and Password for Google, then click Sign In.
  6. It Mail is unable to verify your account, enter the following settings:
    1. Username: Your Gmail email address.
    2. Account type: IMAP
    3. Incoming Mail Server: imap.gmail.com
    4. Outgoing Mail Server: smtp.gmail.com
  7. Click Sign In.
Gmail login and authentication problems with Apple Mail? Try these tips! (16)

That’s all we’ve got, hopefully, it helped! Let us know if you’re still struggling to login or authenticate Gmail using Apple Mail on your Mac. If you’re totally fed up, check out this post about other clients you can use instead of Apple Mail.

Reader Tips Gmail login and authentication problems with Apple Mail? Try these tips! (17)

  • For folks with workplace Gmail accounts, try to access your G Suite Admin or ask your company’s email administrator to access it. Go to the Users. Then, click on your username or the user who is having the problem. Under User Information >User Details > Contact Information, delete the secondary email address and save the changes. Now try to set up your Gmail account’s email on your Mac Mail or iPhone’s Mail app.
  • I reviewed console errors and saw that the sandbox permissions prevented Internet Accounts from exchanging information. If you feel comfortable using Terminal, reboot into recovery mode and open Terminal. Then run the command csrutil disable. This disabled your Mac’s SIP (System Integrity Protection)–SIP exists to keep malware from accessing your system files on your Mac. After disabling SIP, reboot your Mac and then open System Preferences > Internet Accounts. Remove the accounts giving you issues and then add them back in. Then check that your accounts work in Mail. If so, reboot again into Recovery Mode and re-enable SIP using the Terminal command csrutil enable

Related Posts:

  • How to Subscribe and Use Apple News+
  • How to stop receiving notifications from group email…
  • How to Fix Apple Music Not Working on iPhone / iPad
  • How to Disable the Login Password on Mac
  • 21 Apple Mail tips and tricks you may not have known…
  • iOS 16 Tips and Tricks: The Definitive List
  • Watch live news on Apple TV and never miss a beat
  • How to Fix iCloud Backup Error: An Unknown Error…
  • How To Pick A Repair Shop For Apple Devices

Gmail login and authentication problems with Apple Mail? Try these tips! (27)

Dan Helyer

Dan writes tutorials and troubleshooting guides to help people make the most of their technology. Before becoming a writer, he earned a BSc in Sound Technology, supervised repairs at an Apple Store, and even taught English in China.

Gmail login and authentication problems with Apple Mail? Try these tips! (2024)

References

Top Articles
Latest Posts
Article information

Author: Arielle Torp

Last Updated:

Views: 6198

Rating: 4 / 5 (61 voted)

Reviews: 92% of readers found this page helpful

Author information

Name: Arielle Torp

Birthday: 1997-09-20

Address: 87313 Erdman Vista, North Dustinborough, WA 37563

Phone: +97216742823598

Job: Central Technology Officer

Hobby: Taekwondo, Macrame, Foreign language learning, Kite flying, Cooking, Skiing, Computer programming

Introduction: My name is Arielle Torp, I am a comfortable, kind, zealous, lovely, jolly, colorful, adventurous person who loves writing and wants to share my knowledge and understanding with you.