Outlook.com SMTP Settings
The outgoing mail server settings for Outlook.com, Hotmail and Live — and why your password may be refused no matter how carefully you type it.
Server settings
Outlook.com
- IMAP incoming SSL/TLS
- SMTP outgoing STARTTLS
- POP3 download SSL/TLS
outlook.office365.com
port 993
smtp-mail.outlook.com
port 587
outlook.office365.com
port 995
- Covers
- outlook.com, hotmail.com, live.com, msn.com addresses
- Authentication
- Microsoft is moving clients to OAuth; older apps using basic auth may be refused
- Work accounts
- Microsoft 365 business mail uses smtp.office365.com
SMTP is what your mail client uses to send. It is configured separately from the incoming connection, which is why an account can receive perfectly while every outgoing message sits in the outbox — only one half is wrong, and it is usually this one.
For Outlook.com there is a complication worth knowing before you start: the settings below are necessary but often not sufficient. How your client signs in matters more than what you type into it.
Outlook.com SMTP settings
Setting | Value |
|---|---|
Server | smtp-mail.outlook.com |
Port | 587 |
Encryption | STARTTLS |
Authentication | Required |
Username | Your full email address |
These apply to @outlook.com, @hotmail.com, @live.com and @msn.com addresses — all the same service.
If your client has an "outgoing server requires authentication" checkbox, tick it. Older software sometimes leaves it off by default, on the long-dead assumption that anyone on the network can be trusted.
For incoming mail, see our IMAP settings guide.
Start here: your password may not be the problem
This is the most common reason Outlook.com sending fails, and no amount of retyping will fix it.
Microsoft retired basic authentication for Outlook.com — the arrangement where an application connects with just a username and password. Clients must now sign in through Microsoft itself, which issues a limited token and never handles your password directly.
The symptoms are distinctive:
The error
535 5.7.139.A password prompt that reappears no matter how carefully you type.
Everything worked for years and then stopped without you changing anything.
The test is simple. When you add the account, a compatible client opens a Microsoft sign-in page in a browser window. One that just asks for your password in its own dialogue box is using the retired method and will be refused.
Current versions of Outlook, Apple Mail, Thunderbird and the major phone apps all handle this correctly. If yours does not, update it or move to one that does. Our Outlook security guide covers this in more depth, including what happened to app passwords.
Choosing the port
Port 587 with STARTTLS is the setting to use. The connection opens unencrypted and upgrades to TLS before any credentials are exchanged, so nothing sensitive crosses the network in the clear.
Port 465 with SSL/TLS encrypts from the first byte and is equally secure in principle, though 587 is the documented setting for Outlook.com.
Port 25 is not for mail clients. It exists for server-to-server delivery, and virtually every home broadband provider, mobile network and hotel connection blocks it to limit spam. Any guide still recommending port 25 for a desktop client is out of date.
Work and school accounts are different
If your address was issued by an employer or school, you are probably on Microsoft 365 rather than consumer Outlook.com. That uses smtp.office365.com, and your administrator may have configured or restricted it further.
The two services are frequently confused, and using consumer settings on a business account — or the reverse — produces authentication failures that look like credential problems. Check which you have before troubleshooting anything else.
When mail still will not send
Once you are confident the client signs in through Microsoft, work through these:
Check the port and encryption pairing. Port 587 expects STARTTLS. Mixing a port from one pairing with encryption from another fails with an error that reads like a network fault.
Try a mobile hotspot. If a message sends instantly on mobile data but times out on your office or hotel network, the network is blocking outbound mail ports — not your settings. On a corporate network, ask whoever runs it.
Check the attachment size. A message that will not leave the outbox is sometimes simply too large.
Check you are not blocked temporarily. Microsoft limits how much an account can send, to contain compromised accounts. Hitting a limit produces a temporary rejection that clears on its own.
Sending limits
Outlook.com caps daily message volume and recipients per message. The limits apply to mail sent through SMTP exactly as they do to mail sent from the website, and a new account is usually held to tighter limits until it has been used normally for a while.
If you regularly need to send in bulk — newsletters, notifications, anything automated — a personal mailbox is the wrong tool. A dedicated sending service is built for it, and will not put your personal account at risk of suspension.
Enquiries
Frequently asked questions
What is the SMTP server for Outlook.com?
smtp-mail.outlook.com on port 587 with STARTTLS. Sign in with your full email address.
Why won't Outlook.com accept my password for sending?
Microsoft retired basic authentication. A client that asks for your password in its own dialogue will be refused; it needs to sign in through Microsoft.
What does error 535 5.7.139 mean?
Authentication was rejected, almost always because the client is using the retired basic authentication method.
Is the SMTP server different for work accounts?
Yes. Microsoft 365 business accounts use smtp.office365.com, which is a separate service from consumer Outlook.com.
Next delivery
Keep reading
Outlook.com Troubleshooting
Outlook.com Not Working? Common Fixes
Why Outlook stops receiving mail, refuses to send, or hides messages you know arrived — including the storage rule that bounces mail back to senders permanently.
6 min read
Outlook.com Security
Outlook.com Security: 2FA and App Passwords
Turn on two-step verification for your Microsoft account, understand why your mail client stopped working, and why the app password screen may no longer help.
6 min read
Outlook.com Password Reset
How to Reset Your Outlook.com Password
Reset a forgotten Outlook, Hotmail or Live password — the standard route, the Sign-in Helper, the recovery form, and the one situation Microsoft says it cannot fix.
6 min read
Outlook.com Sign Up
How to Create a Outlook.com Account
Create a free Outlook.com address, and set up aliases so one account can hold several email addresses sharing a single inbox — plus the deletion trap to avoid.
6 min read
Outlook.com Login
How to Log In to Outlook.com
Sign in to Outlook, Hotmail or Live — including how to get past a passkey prompt when you do not have one, and what to do when the password option disappears.
6 min read
Outlook.com IMAP
Outlook.com IMAP Settings
Outlook.com's incoming server, port and encryption for any mail client — why the hostname looks wrong but isn't, and what happens to Focused Inbox.
5 min read