Launch offer: Lifetime for $79 instead of $199, for the next 100 customers only. · next 100 only Claim yours →
  1. Home
  2. Email settings
  3. Microsoft 365 settings
Email settings

Microsoft 365 IMAP and SMTP settings

The servers, ports and password you need to add Microsoft 365 to any mail app, checked against Microsoft 365's own help pages.

Updated October 18, 2026

Work and school mailboxes on Microsoft 365 (Exchange Online) use these IMAP and SMTP servers. Most organizations have turned off password sign-in, so the mail app must support modern authentication.

Microsoft 365 IMAP and SMTP settings

SettingMicrosoft 365
IMAP (incoming) serveroutlook.office365.com
IMAP (incoming) port993
IMAP (incoming) encryptionSSL/TLS
SMTP (outgoing) serversmtp.office365.com
SMTP (outgoing) port587
SMTP (outgoing) encryptionSTARTTLS
UsernameYour full work or school email address
PasswordNone in the app: you sign in on Microsoft's page
AuthenticationModern authentication (OAuth2)

Use Microsoft 365 in GotEmail

You don't need these settings in GotEmail. Choose Add Account, pick Outlook and sign in on Microsoft's own page. No password goes into GotEmail, and there are no servers to type.

Good to know

  • IMAP is on by default in Exchange Online, but an administrator can turn it off for a user, and it is off automatically when the organization uses security defaults.
  • Microsoft asks organizations to disable Basic authentication, which blocks password-only IMAP; apps that sign in with Microsoft keep working.
  • Your organization may need to allow a new app before you can sign in. If you see an approval message, ask your IT team.

Checked against Microsoft 365's own help pages: POP3 and IMAP4 in Exchange Online.

Questions

What is the IMAP server for Microsoft 365?

Microsoft 365's IMAP server is outlook.office365.com, port 993, with SSL/TLS encryption.

What is the SMTP server for Microsoft 365?

Microsoft 365's SMTP server is smtp.office365.com, port 587 with STARTTLS.

Why can't I sign in with my work password?

Most Microsoft 365 organizations have Basic authentication turned off. Use a mail app that signs in with Microsoft.

My IT team turned IMAP off. Can I still use another app?

Not over IMAP. Ask your administrator to enable IMAP access for your mailbox.

Skip the settings.

GotEmail fills in Microsoft 365's servers for you, and keeps every account in one fast, private Mac app.