Adding an email account to Outlook looks simple, until setup fails, the password keeps getting rejected or Outlook refuses to open. This one guide covers the full setup the right way - account types, ports, profiles and data files.
Most Outlook problems are born on day one: the wrong account type, a wrong port, or a profile created in a hurry. Fix the foundation and half the famous Outlook errors never appear. This master guide walks through a clean Outlook installation and configuration - choosing IMAP or POP honestly, entering server settings that actually work, creating a proper profile, and understanding the PST and OST data files that everything else depends on.
This one decision decides where your email lives, so choose before you click anything:
| Type | How it works | Best for |
|---|---|---|
| IMAP | Mail stays on the server; Outlook keeps a synced copy in an OST file. Every device sees the same folders. | Almost everyone - Gmail, Yahoo, custom domain mail, multi-device use |
| POP | Mail is downloaded into a local PST file, traditionally removed from the server afterwards. | One single PC, offline archive, or a provider that offers POP only |
| Exchange / Microsoft 365 | Full sync of mail, calendar and contacts with the office server. | Company email given by your office IT |
Switching type later is not a settings change - it means removing the account and adding it again, usually in a new profile. Choose once, choose right.
For Microsoft 365, Outlook.com, Gmail and most big providers, automatic setup genuinely works - try it before going manual:
Custom domain email and many office providers still need manual entry. Tick Advanced options > Let me set up my account manually, choose IMAP or POP, and use these standard secure ports:
993, encryption SSL/TLS995, encryption SSL/TLS587 with STARTTLS (or 465 with SSL/TLS)For Gmail the servers are imap.gmail.com and smtp.gmail.com; for Outlook.com they are outlook.office365.com and smtp.office365.com. Your hosting provider publishes its own names - use exactly what they give.
Everything Outlook shows you lives in a data file, and knowing which one you have explains most errors:
C:\Users\YourName\AppData\Local\Microsoft\Outlook. It can be rebuilt safely because the original mail is on the server.C:\Users\YourName\Documents\Outlook Files. For POP, this file is your mailbox - back it up like gold.The Outlook profile holds accounts, data files and settings together. A damaged profile is behind a shocking number of errors, and a fresh profile fixes them without touching your mail:
Two habits prevent almost every Outlook disaster:
C:\Program Files\Microsoft Office\root\Office16\SCANPST.EXE fixes a corrupted PST; always tick its backup option before repairingAccount setup, IMAP and POP settings, profiles, ScanPST - the full Outlook guide with live demo, step by step.
▶️ Watch Full VideoChoose IMAP in almost every case. It keeps mail on the server, syncs every folder across phone and PC, and lets you rebuild Outlook without losing anything. Choose POP only for a single-PC offline archive or when the provider supports nothing else - and if you do, enable the option to leave a copy of messages on the server.
Because the provider wants an app password, not your normal password. When two-step verification is on, Gmail, Yahoo and iCloud block regular passwords in apps like Outlook. Generate a 16-digit app password in your account security settings and use that in Outlook instead.
IMAP and Microsoft 365 accounts keep a synced OST copy in the AppData Local Microsoft Outlook folder, while POP accounts store everything in a PST file, usually inside Documents and Outlook Files. For POP that PST is the only copy of your mail, so back it up regularly.