If you want to log out of the Mail app on your Mac, the direct answer is: you don’t log out of Mail itself—you remove your email account from the app, or sign out of the account through System Settings. This article covers the three reliable methods to sign out of Mail on a Mac, what each one does, and how to avoid common pitfalls.
Why There Is No “Log Out” Button in Mail
Unlike a web app or a social media client, the Mail app on macOS doesn’t have a dedicated “Sign Out” option in its menu bar. Mail is a mail client that stores your account credentials in the system’s Internet Accounts settings. When you add an account to Mail, it’s added to the whole operating system, not just to the app. This means logging out of Mail is really about managing your account at the system level.
Apple’s design intent is that you set up an account once and the system handles authentication for Mail, Calendar, Contacts, and other apps that use the same account. So when you want to “log out,” you are actually either disabling Mail for that account, deleting the account entirely, or signing out of the iCloud account that the mail is tied to.
Method 1: Remove the Account from System Settings (Full Log Out)
This is the closest thing to a true log out. It removes the account from Mail and from other apps that use it, and it deletes the locally cached mail messages for that account.
- Open System Settings (from the Apple menu or the Dock).
- Click Internet Accounts (in older macOS versions, it’s “Internet Accounts” in System Preferences).
- Select the email account you want to log out of (e.g., Gmail, Yahoo, Outlook, or your own IMAP account).
- Click Delete Account (or the “−” button).
- Confirm the deletion when prompted.
After this, the account is removed from Mail, and you will no longer receive new messages for it. If you re-add the account later, Mail will download messages again from the server (if the server still has them).
Important: This also removes the account from Calendar, Contacts, Reminders, and any other app that uses the same account. If you only want to stop Mail from using the account, use Method 2 instead.
Method 2: Disable Mail for the Account (Temporary Log Out)
If you want to keep the account on your Mac (so Calendar or Contacts still work) but stop Mail from fetching or sending messages, you can simply toggle Mail off for that account.
- Go to System Settings → Internet Accounts.
- Select the account.
- You’ll see a list of apps that can use the account (Mail, Contacts, Calendar, etc.).
- Turn off the toggle next to Mail.
This effectively logs you out of Mail for that account, but the account credentials remain stored on your Mac. You can turn Mail back on later without re-entering your password. This is the quickest way to “log out” if you just want to stop receiving mail for a while.
Method 3: Sign Out of iCloud (If Using iCloud Mail)
If you use iCloud Mail, signing out of iCloud on your Mac will log you out of Mail as well. However, this is a much broader action—it also disables iCloud Drive, Photos, Keychain, Find My Mac, and other iCloud features.
- Open System Settings.
- Click your name (Apple ID) at the top.
- Scroll down and click Sign Out.
- Choose whether to keep a copy of your iCloud data on the Mac.
After signing out, Mail will no longer show your iCloud mail. If you later sign back in, your mail will sync again from iCloud. This method is overkill if you only want to log out of Mail, but it’s the only way to fully sign out of an iCloud email account without deleting it from the system.
What Happens to Your Emails When You Log Out?
It depends on the type of account you have:
- IMAP accounts (Gmail, Yahoo, Outlook, iCloud, etc.): Your emails are stored on the server. Logging out or deleting the account from Mail does not delete the emails from the server. They will still be there when you log back in or access them from another device.
- POP accounts: Emails are often downloaded to the Mac and then removed from the server (depending on settings). If you delete the account, you may lose access to those downloaded emails unless you first export them or back up the Mail folder.
- Exchange accounts (work/school): Emails are stored on the server. Deleting the account from your Mac does not delete them from the server.
If you want to keep a copy of your emails before logging out, you can export them: In Mail, select the mailboxes, then go to Mailbox → Export Mailbox and choose a location. This creates an .mbox file that you can re-import later.
Common Problem: Mail Still Shows the Account After Deletion
Sometimes after deleting an account, Mail still shows the account’s mailboxes in the sidebar (grayed out). This usually happens because Mail hasn’t fully refreshed. Try these fixes:
- Quit Mail completely (Mail → Quit Mail, or press Cmd+Q).
- Reopen Mail. If the account still appears, restart your Mac.
- If it persists, go to ~/Library/Mail in Finder and look for a folder with the account’s name. You can move that folder to the Trash (but be careful—this deletes all locally cached messages for that account).
Another common issue is that the account is still active in the background because another app (like Calendar) is using it. Use Method 2 to disable Mail only, and that should clear the Mail sidebar.
Frequently Asked Questions
Does logging out of Mail delete my emails?
No, not for IMAP or Exchange accounts. Your emails remain on the server. If you delete the account from your Mac, you lose local copies, but you can re-add the account and the emails will download again. For POP accounts, check your server settings—if you chose “Delete messages from server after downloading,” the emails may already be gone from the server.
Can I log out of Mail without deleting the account?
Yes. Use Method 2: turn off the Mail toggle in System Settings → Internet Accounts. This keeps the account on your Mac but stops Mail from using it. You can turn it back on anytime.
How do I log out of Gmail in the Mail app on Mac?
Gmail is an IMAP account, so you log out by removing the Gmail account from System Settings → Internet Accounts, or by turning off the Mail toggle for that account. That signs you out of Gmail in Mail only, not in your web browser.
Why can’t I find the “Log Out” option in Mail?
Because Mail doesn’t have one. Apple expects you to manage accounts at the system level. The Mail app itself has no user authentication state separate from the system.
Will logging out of Mail stop notifications from that account?
Yes. Once the account is removed or Mail is disabled for it, you will no longer receive new mail notifications for that account. Notifications for other accounts remain unchanged.
What if I only want to log out of one email address in a combined account?
If you have multiple email addresses under one account (e.g., aliases), you cannot log out of just one alias. You must remove the entire account or disable Mail for the whole account. To use only one address, you can create a separate account for that address and remove the combined one.
Related
Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.
More cards in this drawer
- Phone Buttons: Clever Ways to Use Them
- Resonance Solstice Codes: What They Are
- Data Center Security: Encryption, Backups, Access
- Best Mini PCs for Gaming: Top Picks
- Blue Protocol Star Resonance: Best Graphics Settings for Smooth FPS
- Jack Daniel’s Ransomware: Data Stolen?