Roost Download free
All IMAP settings

IMAP and SMTP settingsWork and paid mail

Microsoft 365 IMAP and SMTP settings

For work and school mailboxes on Exchange Online. The servers are public; whether an app may use them is your organization's call.

By Telman, who makes Roost · Checked 19 November 2026

For a work or school mailbox on Microsoft 365 (Exchange Online), the IMAP server is outlook.office365.com on port 993 with SSL/TLS, and the SMTP server is smtp.office365.com on port 587 with STARTTLS. Those settings are the same for every organization. Whether your app may use them is up to your organization, and a typed password never works.

SettingMicrosoft 365 (Exchange Online)
Incoming server (IMAP)outlook.office365.com
IMAP port993, SSL/TLS
Outgoing server (SMTP)smtp.office365.com
SMTP port587, STARTTLS
UsernameYour work or school address
Sign-inOAuth 2.0 only: the app opens Microsoft's sign-in page
POPoutlook.office365.com, port 995, SSL/TLS

What your organization decides

Passwords are gone for good

Microsoft removed Basic authentication (a username and password sent with every request) from Exchange Online for IMAP, POP, Exchange ActiveSync, EWS and the rest. It started with unused tenants in 2021, set 1 October 2022 as the date for everyone, and since the end of 2022 says nobody, not even Microsoft support, can turn it back on. It adds that this "also prevents the use of app passwords" with apps that don't support two-step verification. An IMAP app only gets in if it signs in with Microsoft.

IMAP and POP can be off

They're on by default for every new mailbox, but an administrator can turn them off per mailbox in the Exchange admin center. If your organization uses Microsoft's security defaults, IMAP and POP are off automatically.

SMTP AUTH is often off

An app that reads over IMAP sends over SMTP AUTH, and Microsoft "highly recommends" that organizations disable it and allow it only for mailboxes that still need it. It also disabled SMTP AUTH in tenants where nobody used it, and security defaults turn it off too. So mail comes in and nothing goes out. When Roost still sent over SMTP, the refusal it got from a Microsoft 365 mailbox was 535 5.7.139, and that error's link (aka.ms/smtp_auth_disabled) lands on Microsoft's SMTP AUTH page.

Password logins over SMTP AUTH still work where SMTP AUTH is on, but not for long. Microsoft's Exchange team says that behavior stays unchanged until the end of December 2026, when it becomes off by default for existing tenants (admins can turn it back on), unavailable by default for new tenants, with a final removal date to be announced in the second half of 2027.

On a Mac

Apple's list of providers says Exchange-based accounts, and any @onmicrosoft.com address, go into Mail as Microsoft Exchange. That option signs in on Microsoft's page instead of asking you for servers. When Exchange in Apple Mail stops syncing, that's another page: Exchange not syncing in Apple Mail.

In Roost

Roost doesn't use IMAP or SMTP for Microsoft 365 either. It signs in with Microsoft in your browser and reads and sends through Microsoft Graph (permissions Mail.ReadWrite and Mail.Send), so a mailbox with IMAP or SMTP AUTH turned off still works.

What can still stop it is consent. By default Microsoft lets people approve an app that reads their own mailbox, but an organization can limit that or switch it off, and Microsoft recommends limiting it. Then Microsoft shows "Need admin approval", and Roost offers Copy a note for your IT team: the app's name and ID, what it asks for, Microsoft's error code and the admin consent link, ready to paste into an email. Once they approve it, sign in again.

Schools and companies often put a mail filter such as Proofpoint or Mimecast in front of Microsoft 365, so their MX records never say Microsoft. Roost checks the domain's autodiscover record and asks Microsoft's sign-in whether it knows the domain (only the domain is sent), and goes to Microsoft when the answer is yes. Step by step: Add Outlook or Microsoft 365 to Roost.

Questions

What are the Office 365 IMAP settings?

outlook.office365.com, port 993, SSL/TLS for IMAP; smtp.office365.com, port 587, STARTTLS for SMTP; POP on outlook.office365.com port 995. Office 365 and Microsoft 365 are the same service here.

Can I use an app password with Microsoft 365?

Not for IMAP or POP. Microsoft says the end of Basic authentication also prevents app passwords with apps that don't support two-step verification.

Why can my app receive Microsoft 365 mail but not send it?

Most likely SMTP AUTH is off for your organization or your mailbox. Only an administrator can turn it on, per mailbox or for everyone. Apps that send through Microsoft Graph or Exchange don't need it.

When does SMTP AUTH with a password end in Exchange Online?

Microsoft's Exchange team says it becomes off by default for existing tenants at the end of December 2026, and that the final removal date will be announced in the second half of 2027.

Is GoDaddy's Microsoft 365 the same?

Yes, same servers and the same rules. GoDaddy's other email product has different settings: GoDaddy IMAP settings.

Sources

  1. Microsoft Learn, POP3 and IMAP4 in Exchange Online, read 19 November 2026.
  2. Microsoft Learn, Enable or disable email apps for user mailboxes in Exchange Online, read 19 November 2026.
  3. Microsoft Learn, Deprecation of Basic authentication in Exchange Online, read 19 November 2026.
  4. Microsoft Learn, Enable or disable authenticated client SMTP submission (SMTP AUTH) in Exchange Online, read 19 November 2026.
  5. Microsoft Exchange Team Blog, Updated Exchange Online SMTP AUTH Basic Authentication deprecation timeline (27 January 2026, updated 29 January 2026), read 19 November 2026.
  6. Microsoft Learn, Configure how users consent to applications, read 19 November 2026.
  7. Apple Support, Choose the correct email provider when adding an account to Mail, read 19 November 2026.