Apple Mail Account Keeps Going Offline: Causes and Fixes

The short answer
An Apple Mail account that keeps going offline usually has one of three causes: the provider rejecting your password, a VPN, firewall or outage blocking the connection, or a damaged local mailbox. Open Window > Connection Doctor, read the Details column, fix that cause, then choose Mailbox > Take All Accounts Online.
Apple Mail account keeps going offline? Read Connection Doctor, fix a rejected password, rule out VPN or outages, then rebuild the mailbox if needed.
On this page
- 01What does it mean when an Apple Mail account goes offline?
- 02What causes an Apple Mail account to keep going offline?
- 03Fix 1: How do you fix a rejected password that takes the account offline?
- 04Fix 2: How do you rule out the network, the provider and storage limits?
- 05What else on the provider side can take an account offline?
- 06Fix 3: When do you rebuild the mailbox or re-add the account?
- 07How do you tell which cause you have?
- 08What do the ports in Connection Doctor mean?
- 09How do you keep an Apple Mail account from going offline again?
- 10What if Mail is the problem and the account is fine?
You click the lightning bolt, the account comes back, and an hour later it is greyed out again. If your Apple Mail account keeps going offline, Take All Accounts Online is treating the symptom. It only asks Mail to try again, and says nothing about why the last attempt failed.
This guide treats Connection Doctor as a diagnostic instrument instead of a button. We read what it reports, match it to a cause, and apply the matching fix. Everything is checked against Apple's support pages as of October 2026, and where wording differs between macOS versions, we say so.
What does it mean when an Apple Mail account goes offline?#
Apple describes an offline account simply: a lightning bolt icon appears next to the account's mailboxes in the Mail sidebar and at the end of the Favorites bar. A warning icon can appear in the same places. Clicking either one tries to take the account online, or shows status information.
There are two ways to be offline. You can go offline on purpose, for example before a flight, using Mailbox > Take All Accounts Offline. Or Mail can fail to connect and drop the account on its own. The second kind keeps coming back.
Apple's current troubleshooting article gives the first split. If Mail reports that the network is offline or that it is unable to connect to the server, look at VPN and other network software. If it reports that login failed, check the account setup with your provider and look for an outage.
What causes an Apple Mail account to keep going offline?#
Most repeat offenders fall into six buckets. The table maps each one to the evidence you can collect in a couple of minutes and to the fix. Work down the list from the top, because the cheap checks come first.
| Cause | How to confirm | Fix |
|---|---|---|
| Provider rejects your password | Mail keeps prompting for a password, or Connection Doctor points at a login problem. Webmail with the same password fails too. | Correct the password in Internet Accounts, or use an app-specific password if the provider requires one (Fix 1). |
| VPN, firewall or security software in the way | The account stays offline on your usual network but works on another network or with the software off. | Turn off the software's network features to test, then adjust it (Fix 2). |
| Provider outage or suspended service | The provider's status page shows a problem, or webmail shows a notice about updated terms. | Wait, or accept the terms on the provider's site (Fix 2). |
| Mailbox over its quota | Get Account Info shows the mailboxes using the full storage allowance. | Free space or move messages to an On My Mac mailbox (Fix 2). |
| Damaged local mailbox | Credentials and network are fine, webmail works, but one mailbox is empty, garbled or will not sync. | Select the mailbox and choose Mailbox > Rebuild (Fix 3). |
| Stale account setup or changed authentication | Nothing above explains it, and the provider recently changed how sign-in works. | Remove the account and add it back (Fix 3). |
Fix 1: How do you fix a rejected password that takes the account offline?#
Apple's page on Mail repeatedly asking for a password makes one point that explains a lot of offline accounts. Mail asks for your password when it can reach your provider but the provider is not accepting the password. Your internet is fine. The credential is the problem.
Apple lists the usual reasons: you changed the password on another device, your provider wants a reset, Gmail with two-step verification needs an app-specific password, or the account was suspended or changed its authentication method. The prompt is easy to dismiss, and what you notice instead is an account that will not stay online.
- 1
Test the password in webmail
Sign in to your provider's website with the same password. For iCloud Mail that is iCloud.com. If it fails there too, the password is wrong or the account has a problem, and you need your provider rather than Mail.
- 2
Quit Mail
If it will not quit normally, force it to quit. You want Mail closed while you change the stored credential.
- 3
Open Internet Accounts
From the Apple menu, choose System Settings (or System Preferences), then click Internet Accounts and select the mail account.
- 4
Replace the password
Click Details if the button is present. If you see a password field, delete the stored password and type the correct one. Apple notes that not every account type shows this field.
- 5
Reopen Mail and check the account
Open Mail, take the account online, and leave it for a while. If it still prompts, the password is probably still wrong, and your provider can verify the settings.
Fix 2: How do you rule out the network, the provider and storage limits?#
When the credential is fine, the next suspect is whatever sits between Mail and the server. Apple says VPN and other software that monitors network connections can block some of them, and lists VPN, firewall, antivirus, parental-control and content-blocker apps as the types to look for.
The test is simple. Turn off the app's features and see whether the account stays online. Apple also suggests checking the date, time and time zone, installing the latest macOS updates, and restarting the Mac, modem and router. If the account behaves on a different network, the first network is the issue.
Connection Doctor earns its keep here. Choose Window > Connection Doctor, follow the instructions in the Details column, and double-click that text to jump to the account in Mail's settings. To watch a retry, click Show Detail, then Check Again.
Version caveat on Connection Doctor
What else on the provider side can take an account offline?#
Three provider-side causes are easy to miss because nothing on the Mac changed. Each one appears in Apple's troubleshooting article for accounts that will not send or receive.
- An outage. Apple's system status page shows iCloud Mail, and Gmail and Outlook have their own status pages. Apple adds that some brief outages might not appear on any of them.
- Updated terms and conditions. Some providers suspend service until you agree. Sign in on the provider's website and look for a notice. For iCloud Mail, check System Settings notifications for your Apple Account.
- A full mailbox. Control-click the account's mailbox in the sidebar and choose Get Account Info to see storage use. If you are at the limit, delete messages and choose Mailbox > Erase Deleted Items, or move messages to an On My Mac mailbox.
Fix 3: When do you rebuild the mailbox or re-add the account?#
If the credentials, network and provider all check out, suspect Mail's local copy. Apple documents a mailbox-level repair: select the mailbox in the sidebar and choose Mailbox > Rebuild. It is meant for cases such as missing or garbled messages.
Rebuild is a heavy tool. For IMAP and Exchange accounts, Apple says the messages and attachments stored on your Mac are discarded and downloaded again from the server, and the mailbox looks empty until the download finishes. Apple scopes that description to IMAP and Exchange, so check your account type first. Export any messages that exist only on this Mac.
- 1
Confirm the account is online and the password works
Rebuilding a mailbox for an account that cannot log in only produces an empty mailbox. Finish Fix 1 and Fix 2 first.
- 2
Select the affected mailbox
Click it in the Mail sidebar. Start with the one that looks wrong.
- 3
Choose Mailbox > Rebuild
Leave Mail open and wait. A large mailbox takes a while to download again.
- 4
Last resort: remove the account and add it back
Apple's troubleshooting article offers this when nothing else works. When you add the account again, choose the correct email service provider for your address. Move or export anything stored only on this Mac before you remove it.
Do not rebuild a mailbox you cannot reconnect
How do you tell which cause you have?#
Read the symptom, not the toggle. This table pairs what you see with the likely cause and where to start. It is a triage order, not a guarantee, and some accounts have two problems at once.

| What you see | Most likely cause | Start with |
|---|---|---|
| Mail asks for the password, then the account goes offline again | Provider rejecting the credential | Fix 1 |
| Mail says the network is offline, but websites load | VPN, firewall or security software | Fix 2 |
| Every account on the Mac drops at once | Network or software on the Mac, not one provider | Fix 2 |
| Only one provider drops, and webmail also misbehaves | Provider outage, terms or quota | Fix 2 |
| Online and signed in, but one mailbox is empty or will not update | Damaged local mailbox | Fix 3 |
| Only the account on this Mac fails; other devices are fine | Stale setup on this Mac | Fix 1, then Fix 3 |
What do the ports in Connection Doctor mean?#
Show Detail may list the servers and ports Mail is trying. RFC 8314 sets port 993 for IMAP over TLS and port 465 for SMTP submission over TLS, and notes that STARTTLS on port 587 is widely deployed for submission.
A firewall that blocks one of those ports can break receiving or sending and leave the other working. Your provider's documentation says which ports to expect.
How do you keep an Apple Mail account from going offline again?#
Prevention is housekeeping around the three causes, and it is cheaper than a mid-meeting disconnect.
- When you reset a password on one device, update Internet Accounts on the Mac straight away.
- Know which accounts need an app-specific password, such as Gmail with two-step verification, and keep it somewhere findable.
- Check the provider's status page before you spend an hour on your own settings.
- Watch your storage allowance. A full mailbox causes failures that look like connection problems.
- Test new VPN or security software against Mail the day you install it.
- Install macOS updates, which Apple lists as a first step for network trouble.
What if Mail is the problem and the account is fine?#
A rejected credential is something the server decides, so any client that signs in to the same account meets the same answer. That makes a second client a cheap diagnostic. If the account works in webmail or another client but not in Mail, the fault sits in Mail's local state and Fix 3 is where you should be.
We build AI Emaily, and it is one option for that second client. It connects to iCloud, Gmail, Outlook and other IMAP accounts (see how to connect iCloud), and the 7-day free trial is long enough to find out. To be straight about scope: Apple Mail is free and native, the AI Emaily Mac app is an Electron shell around our web interface, it is Apple Silicon only, and it is not in the Mac App Store. Start from the AI Emaily homepage if you want to see what it does before you commit.
Frequently asked
See it in AI Emaily
Keep reading
Sources
- Apple Support: If you can't send or receive email on Mac
- Apple Support: If Mail on your Mac keeps asking for your password
- Apple Support: Check for VPN and other third-party security software
- Apple Support: Use Connection Doctor in Mail on Mac (macOS Monterey)
- Apple Support: If a mailbox is offline in Mail on Mac (macOS Ventura)
- Apple Support: Rebuild mailboxes in Mail on Mac
- Apple Support: Mail User Guide for Mac
- RFC 8314: Use of TLS for Email Submission and Access

Written by
Nafiul HasanNafiul Hasan is an entrepreneur and AI automation system builder with 10+ years of experience turning messy, manual workflows into reliable automated systems. He designs and ships AI enterprise solutions end-to-end — the agent logic, the data plumbing, and the product people actually use — and founded AI Emaily to give busy professionals their attention back. He writes here from the builder's seat: what works, what breaks, and how to put AI to work without giving up control.