Guides

How to sign out of Mail on a Mac, or remove an email account

Mail has no Sign Out or Log Out button. Turning an account off keeps everything; removing it deletes the Mac’s copy. What each does to your mail, plus POP, iCloud, accounts that come back and shared Macs.

A card titled Mail, Settings, Accounts: a Gmail account switched on, an Outlook account switched off, and a Remove account row marked Deletes the Mac’s copy.

Mail on a Mac has no Sign Out or Log Out button. To sign out of Mail on a Mac you either turn the account off or remove it. To turn it off, choose Mail › Settings › Accounts, select the account and untick “Enable this account.” Its mail is hidden until you tick the box again. To remove it, select it in the same list and click the Remove button (–). That deletes the Mac’s copy of the account’s mail, and the copy on the mail server stays.

The steps follow Apple’s Mail User Guide for macOS 27, read on 22 November 2026. The Tahoe 26 page is word for word the same, and Sequoia 15 has the same pane and buttons. On Monterey 12 and earlier, Settings is called Preferences. I make Roost, another Mac mail app; how it removes an inbox is near the end.

The short version

  • Log out but keep the account: Mail › Settings › Accounts, select it, untick “Enable this account.”
  • Remove it: same pane, select it, click –. The messages leave the Mac; the server keeps its copies.
  • If Contacts or Calendar use the account too, Mail sends you to System Settings › Internet Accounts. Turn Mail off there, or click Delete Account.
  • POP mail and mailboxes under On My Mac may be the only copy. Save them first with Mailbox › Export Mailbox.
  • iCloud Mail is turned off under System Settings › your name › iCloud › Mail. Signing out of your Apple Account stops it too.

Turn an account off and keep it

This is as close to logging out as Mail gets. Apple’s description: when you untick the box, “the account is disabled and taken offline—its mailboxes and messages don’t appear in Mail.”

  1. Open Mail and choose Mail › Settings.
  2. Click Accounts, then select the account.
  3. Untick “Enable this account.”

Tick it again when you want the account back. Nothing changes on the server, so this suits a vacation or an address you check once a month.

System Settings › Internet Accounts has a second switch: click the account and turn Mail off, and Contacts and Calendars keep working. Apple warns that this “can remove data stored in your apps,” which “may be restored” when you turn it back on. Mail’s own checkbox carries no such warning, so I’d use that one for a break.

Remove an email account from Mail

  1. Choose Mail › Settings, then click Accounts.
  2. Select the account and click the Remove button (–) under the list.
  3. If other apps on the Mac use the account, Mail asks you to remove it in Internet Accounts instead. There, select it and turn Mail off to drop it from Mail only, or click Delete Account, then OK, to take it out of every app on this Mac.

Apple says exactly what happens: “When you remove an email account, the account’s messages are removed from your Mac. Copies of messages remain on the account’s mail server and are still available (from webmail, for example).” Delete Account also turns off all the account’s features, Contacts and Calendars included.

Neither one closes the address. It keeps receiving mail on the server. And if you want Mail itself gone rather than one account, that’s a separate question.

Mail that may only be on your Mac

With iCloud, Gmail, Outlook.com, Yahoo and other IMAP accounts, and with Exchange, the server holds the mailbox and Mail shows a copy. As Six Colors put it in January, “IMAP treats the server as the source of ‘truth.’” Removing one of those deletes only the copy.

POP works the other way around. In Microsoft’s words, POP downloads your new messages, and “once they are downloaded onto your PC or Mac, they are deleted from the email service.” Sent mail is “stored locally on your PC or Mac, not on the email server.” Mail’s POP settings can leave messages on the server, but if you don’t know how yours was set, treat the Mac’s copy as the only one.

Mailboxes under On My Mac live only on the Mac, which is why Apple tells you to copy mail you aren’t sure the server has into one of them before removing the account. For a copy outside Mail, export it:

  1. Select one or more mailboxes in the sidebar.
  2. Choose Mailbox › Export Mailbox.
  3. Pick a folder, then click Choose.

Mail saves each mailbox as an .mbox package, and File › Import Mailboxes brings it back later.

What each option does

Five ways to stop seeing an account in Mail. Everything in the table comes from Apple’s Mail, Mac and iCloud guides.

What you doMail on this MacMail on the serverOther apps on this Mac
Untick “Enable this account” in MailHidden until you tick it againUnchangedUnchanged
Turn Mail off in Internet AccountsNot shown; Apple says app data can be removed and may come back when you turn it onUnchangedContacts, Calendars and the rest keep working
Remove (–) in MailDeleted. On My Mac mailboxes stayUnchanged; webmail still has itIf they use the account, Mail sends you to Internet Accounts
Delete Account in Internet AccountsDeletedUnchangedThe account is turned off in every app
Sign out of your Apple AccountiCloud Mail stops on this Mac. Export first if you want a copyUnchanged; iCloud.com and your other devices still have itiCloud stops syncing on this Mac; you choose whether to keep copies of some iCloud data

iCloud Mail and your Apple Account

iCloud shows up in Internet Accounts, but it’s set up through your Apple Account, and Apple says you can change its settings in either place. To stop iCloud Mail on this Mac and keep the rest of iCloud:

  1. Open System Settings and click your name at the top of the sidebar.
  2. Click iCloud, then click Mail under Saved to iCloud.
  3. Turn off “Sync this Mac.”

Signing out of your Apple Account (System Settings › your name › Sign Out) signs you out of iCloud Mail too. Apple’s iCloud guide says that if you aren’t signed in, “you won’t be able to send or receive email from your iCloud Mail address on the device.” On the way out, macOS offers to keep copies of iCloud Drive files and Contacts, Calendar, Reminders and Messages data. Mail isn’t on that list; Apple points you to Export Mailbox instead. Your iCloud mail stays on iCloud.com and your other devices.

When a removed account comes back

If an account you removed shows up in Mail again, look in two places.

First, System Settings › Internet Accounts. When other apps use an account, removing it from Mail only turns its Mail switch off, and the account stays there for Contacts and Calendars. If it’s listed, click it and choose Delete Account.

Second, your other Macs. Apple says iCloud Keychain “also stores account settings,” so internet accounts you use with Mail “can be added automatically” to another Mac when you sign in to your Apple Account there. An account still set up on an old MacBook can turn up on the new one, so remove it on each Mac.

Apple doesn’t say whether removing an account deletes its saved password from the keychain, and I couldn’t confirm it. If Mail keeps asking for a password, see Apple Mail keeps asking for your password.

Removing an account on the Mac doesn’t tell your provider either. A Gmail app password keeps working until you remove it on Google’s App passwords page; then, Google says, “the app can’t access your Google Account again.” If you signed in on Google’s page instead, Google’s help on linked apps shows how to remove access.

Log into a different account, or share a Mac

Mail doesn’t swap one login for another the way a website does. It shows every account you add at once, so logging into a different account means adding it: Mail › Add Account, type the address, click Continue and follow the steps (the Gmail version). Then turn off or remove the old one.

If the worry is someone else on your Mac reading your mail, signing out of Mail is the wrong tool. Apple’s advice for a Mac with several users: “you should set up an account for each person so each can personalize settings and options without affecting the others.” Add one in System Settings › Users & Groups › Add User. When you step away, choose Apple menu › Log Out, and the next person logs in to their own account.

On an iPhone, and in Outlook for Mac

The iPhone does have a Sign Out button. In iOS 27: Settings › Apps › Mail › Mail Accounts, tap the account, then Sign Out or Delete Account. Apple notes that this “doesn’t cancel the email account; it just removes it from your iPhone.” To pause the account instead, turn off Mail on that screen (“Use on this iPhone” for iCloud).

Outlook for Mac has one too: Tools › Accounts, select the account, Manage › Remove Account (in legacy Outlook, the – button, then Sign Out).

Removing an inbox in Roost

Roost is the app I make, for people with several inboxes in one list. To remove one, choose Roost › Settings…, pick the inbox under Inboxes and click Remove Inbox…. The question says what goes: “Your mail stays on the server. Roost deletes its copy on this Mac, its saved drafts and the saved password.”

The password (for Outlook, the Microsoft sign-in) comes out of your login Keychain. Scheduled mail and mail waiting to send from that inbox go too, and the question counts them first. Nothing changes on the server, including drafts already saved to its Drafts folder. The app password you made for Roost stays valid until you delete it at your provider; the setup pages say where. Roost has no pause switch like “Enable this account.” To quiet an inbox, untick its notifications.

Questions

How do I log out from Mail on a Mac?

Mail has no Log Out button. To stop using an account and keep it, choose Mail › Settings › Accounts, select it and untick “Enable this account.” To take it off the Mac, select it and click the Remove button (–).

Why can’t I log out of my email account?

Mail has no log-out step, so you turn the account off or remove it. If the – button sends you to System Settings, other apps use the account: delete it under Internet Accounts. For iCloud, turn off Mail in iCloud settings.

How do I remove my email account from my MacBook Air?

As on any Mac: Mail › Settings › Accounts, select the account, click –. Or use Delete Account in System Settings › Internet Accounts. The server keeps its copies.

How do I log into a different account on Apple Mail?

Add it with Mail › Add Account. Mail shows all your accounts side by side, so turn off or remove the old one if you don’t want it.

How do I delete an email account and reinstall it on my Mac?

Remove it in Mail › Settings › Accounts, then add it again with Mail › Add Account. IMAP and Exchange mail comes back from the server. Export POP mail first.

Can I remove an IMAP account without losing mail?

Yes, for everything on the server: Apple says copies remain there. Copy anything you’re unsure about to a mailbox under On My Mac, or export it, first.

How do I sign out of the Mail app on iPhone?

In iOS 27: Settings › Apps › Mail › Mail Accounts, tap the account, then Sign Out or Delete Account.

Sources