Set up your Outlook.com email in a flash
Microsoft retired basic authentication for Outlook.com, so the service no longer accepts a password login of any kind. A password, including an app password, will never authenticate an IMAP, POP3, or SMTP connection again. The account has to sign in through Microsoft instead, because the provider rejects every stored credential that a client presents.
What you need
You need the full address, such as [email protected], or a hotmail.com, live.com, or msn.com address, because all of them belong to the same mailbox family. You also need a mail client that supports Microsoft sign-in, which the industry calls modern authentication or OAuth. Outlook, Apple Mail, and recent Thunderbird all support that sign-in method, so you can use any of them.
Add the account as Outlook.com, not as IMAP
In most clients, the working route is the automatic one, because that option lets the software discover the servers for you. You pick "Add account" and choose Outlook.com, or "Microsoft 365"/"Exchange" depending on the client, rather than "manual IMAP". After the Microsoft sign-in window opens, the client writes the server settings itself without any help from you.
Manual IMAP configuration is what most "login failed" reports here have in common, because a hand-entered password cannot satisfy a sign-in prompt. If you must enter settings by hand, because some clients insist on it, then these are the values that will work.
An IMAP client reaches outlook.office365.com on port 993, and SSL/TLS protects that session from the first byte. A POP3 client uses the identical host outlook.office365.com with port 995, and it relies on SSL/TLS as well. An SMTP client submits through smtp-mail.outlook.com on port 587, and STARTTLS upgrades the connection before any mail travels.
The username is the full address, and the password field is usually where the setup goes wrong. For a Microsoft consumer account, modern authentication is the only mechanism that the provider accepts on these connections.
The old advice, and why it no longer works
Older guides still tell you to "create an app password when two-factor is on". That advice is out of date for consumer accounts, because app passwords belonged to the basic-authentication world that Microsoft has retired for IMAP and POP.
- You should never disable two-factor authentication, because that step will not restore password login and it weakens the account.
- Re-adding the account with Microsoft sign-in is the right repair, given that the stored credential has expired or been revoked.
- The client should say "Outlook.com" rather than "IMAP", because that label is the correct choice now and not a shortcut.
IMAP or POP3?
Neither protocol is the right answer in practice, because both of them sit behind the same Microsoft sign-in. If a client offers a choice between the two, you should prefer IMAP, because it keeps folders and read state in step across devices. IMAP is also what a later migration can read from, so it preserves more of your mailbox.
If you are moving the mailbox instead
Setting up a client is not a migration, so you should treat these as two different jobs with different tools. To copy the mailbox out of Outlook.com, or to bring one in, you use MailMigrata over IMAP with the Microsoft sign-in. You can start with Run your first migration, which walks through every setup step in the right order. For the sign-in failures specifically, see Fix IMAP login failed errors for the detailed checklist.