Microsoft 365 / Outlook.com IMAP, POP3 and SMTP settings

To set up Microsoft 365 / Outlook.com in a mail app, use IMAP server outlook.office365.com on port 993 with SSL/TLS, and SMTP server smtp.office365.com on port 587 (STARTTLS).

ProtocolServerPortSecurity
IMAPoutlook.office365.com993SSL/TLS
POP3outlook.office365.com995SSL/TLS
SMTPsmtp.office365.com587STARTTLS

Sign-in

Full email address with Microsoft sign-in (OAuth). Password logins over IMAP are turned off.

IMAP must be enabled per mailbox in the Exchange admin center.

Questions

What is the Microsoft 365 / Outlook.com IMAP server?

outlook.office365.com, port 993, SSL/TLS.

What is the Microsoft 365 / Outlook.com SMTP server?

smtp.office365.com:587 (STARTTLS)

Which password do I use?

Full email address with Microsoft sign-in (OAuth). Password logins over IMAP are turned off.

Moving mail to or from Microsoft 365 / Outlook.com? Copy every folder server to server.See migration guides

Settings can change: if a connection fails, check the provider's help pages or run the IMAP connection test.