New: mailX now works inside ChatGPT. Try it →
Outlook.com SMTP Settings

Outlook SMTP Settings: smtp-mail.outlook.com, Ports and Sign-in

For Outlook.com, Hotmail and Live accounts, the outgoing server is smtp-mail.outlook.com on port 587 with STARTTLS. Pick Outlook in the list below to get the full settings, then test them.

Results

  • Settings from Microsoft Support
  • Outlook.com, Hotmail and Live
  • Free, no signup

Outlook.com SMTP, IMAP and POP settings at a glance

These settings are for personal Microsoft accounts: addresses ending in @outlook.com, @hotmail.com or @live.com. Your username is your full email address, and Microsoft requires modern authentication (OAuth2), so look for a "Sign in with Microsoft" option in your app.

SettingOutgoing (SMTP)Incoming (IMAP)Incoming (POP)
Serversmtp-mail.outlook.comoutlook.office365.comoutlook.office365.com
Port587993995
EncryptionSTARTTLSSSL/TLSSSL/TLS
Sign-inOAuth2 (modern auth)OAuth2 (modern auth)OAuth2 (modern auth)
UsernameYour full email addressYour full email addressYour full email address

Work or school account on Microsoft 365? The outgoing server is different: smtp.office365.com on port 587. See our Office 365 SMTP settings guide, which covers SMTP AUTH, connectors and the basic authentication retirement.

How it works

How to set up Outlook.com in another email app

Five steps for Thunderbird, Apple Mail, a phone app or any client that supports IMAP.

01

Turn on IMAP or POP access

In Outlook.com, go to Settings, Mail, Forwarding and IMAP. Turn on "Let devices and apps use IMAP" (or POP) and save. Microsoft disables both by default.

02

Choose IMAP rather than POP

IMAP keeps your mailbox in sync on every device. POP only downloads messages to one app.

03

Enter the servers and ports

Incoming: outlook.office365.com, port 993, SSL/TLS. Outgoing: smtp-mail.outlook.com, port 587, STARTTLS. Username: your full email address.

04

Sign in with Microsoft

Pick OAuth2 or "Sign in with Microsoft" if the app offers it. If your password is not recognized, Microsoft may require an app password for older apps and devices.

05

Test the connection

Run the mailX IMAP Checker and SMTP Test with the same settings to see whether the server answers and accepts your sign-in.

Outlook.com, Microsoft 365 or Exchange: which settings are yours?

Outlook.com, Hotmail and Live (personal)

Outgoing smtp-mail.outlook.com on 587, incoming outlook.office365.com on 993 (IMAP) or 995 (POP). This is the page you are on.

Microsoft 365 (work or school)

Outgoing smtp.office365.com on 587, or 25 through a connector. Port 465 is not supported. SMTP AUTH is off by default for organizations created after January 2020 and must be enabled per mailbox. Microsoft has announced that basic authentication for SMTP AUTH will be disabled by default for existing tenants at the end of December 2026, so plan for OAuth.

Exchange on your own server

The server names come from your IT team. Ask for the external IMAP and SMTP host names, or check your domain's MX records to see who receives your mail.

Test Outlook's servers from the command line

These commands check that the servers answer from your network. A reply starting with 220 (SMTP) or * OK (IMAP) means the port is reachable; the login itself still needs OAuth in your app.

SMTP on port 587 with STARTTLS (macOS, Linux, WSL):

openssl s_client -starttls smtp -connect smtp-mail.outlook.com:587 -crlf

IMAP on port 993:

openssl s_client -connect outlook.office365.com:993 -crlf

Windows (PowerShell):

Test-NetConnection smtp-mail.outlook.com -Port 587

Why Outlook SMTP or IMAP refuses to connect

The usual causes with Outlook.com accounts.

IMAP or POP access is off

Microsoft disables POP and IMAP by default. Turn them on in Settings, Mail, Forwarding and IMAP.

App without modern authentication

Outlook.com requires OAuth2. Old apps that only send a username and password get refused. Update the app or use one that supports Microsoft sign-in.

Wrong outgoing server

smtp.office365.com is for Microsoft 365 work accounts. Personal accounts use smtp-mail.outlook.com.

Port 465 configured

Outlook.com documents port 587 with STARTTLS for sending. Use 587.

Sign-in blocked as suspicious

Microsoft can block a new IMAP connection. Open account.live.com/activity, find the attempt and confirm it was you, then retry.

Several apps on the same mailbox

Microsoft notes connection errors when the account is set up as IMAP in many clients. Remove the ones you no longer use.

Sending from your own domain with Microsoft?

Microsoft 365 mail reaches the inbox when SPF, DKIM and DMARC are set up for your domain. Check all three in one free test.

Outlook SMTP Settings FAQ

Servers and ports

What is the Outlook SMTP server?
smtp-mail.outlook.com, port 587, STARTTLS, for Outlook.com, Hotmail and Live accounts. Microsoft 365 work accounts use smtp.office365.com.
What is the Outlook IMAP server?
outlook.office365.com, port 993, SSL/TLS. The same server handles POP on port 995.
Is the Hotmail SMTP server different?
No. Hotmail and Live addresses use the Outlook.com servers: smtp-mail.outlook.com for sending and outlook.office365.com for IMAP and POP.
Does Outlook.com support port 465?
Microsoft documents port 587 with STARTTLS for Outlook.com. Use 587.

Sign-in

Why does Outlook.com reject my password in another app?
Outlook.com requires modern authentication (OAuth2). Use an app that offers Microsoft sign-in. For older apps and devices, Microsoft may ask for an app password.
How do I turn on IMAP in Outlook.com?
Settings, Mail, Forwarding and IMAP, then turn on "Let devices and apps use IMAP" and save.

Microsoft 365

What are the Office 365 SMTP settings?
smtp.office365.com, port 587, STARTTLS with TLS 1.2 or 1.3, and the sign-in of a licensed mailbox with SMTP AUTH enabled. Port 465 is not supported.
Is Microsoft turning off SMTP AUTH?
Microsoft has announced that basic authentication for SMTP AUTH will be disabled by default for existing tenants at the end of December 2026, with OAuth as the supported method. A final removal date is expected in 2027.