IMAP is the system that lets your email app talk to the server where your messages live
IMAP stands for Internet Message Access Protocol. It is the set of rules that your email app — whether that is Gmail, Outlook, Apple Mail, or Thunderbird — uses to connect to your email provider's server and read your messages. When you open your email app and see your inbox, IMAP is what made that happen.
The key difference between IMAP and its older cousin SMTP (which sends mail) is that IMAP keeps your messages on the server. Your email app downloads a copy to show you, but the original stays where it is. This means you can check your email from your phone, your laptop, and your desktop computer, and all three will see the same messages in the same folders.
Your email provider gives you an IMAP server address — something like imap.gmail.com or imap.outlook.com — and a port number, usually 993. When you set up your email account in an app, you enter these details so the app knows where to find your mail.
Key Takeaways
- IMAP is the connection method that lets your email app retrieve messages from your provider's server.
- Messages stay on the server when you use IMAP, so the same inbox appears on all your devices.
- You need your provider's IMAP server address and port number to set up email in an app.
- IMAP works alongside SMTP, which handles sending mail rather than receiving it.
- If you delete a message in one place, it deletes everywhere because all devices are reading the same server copy.
How IMAP differs from POP3, the older email method
Before IMAP became standard, most people used POP3 (Post Office Protocol version 3). POP3 downloads your messages to one device and removes them from the server. Once they are on your computer, they stay there — your phone will not see them unless you download them again to the phone.
This created a real problem: if you checked email on your work computer in the morning and your phone in the afternoon, the two devices would have different messages. You might reply to something on your phone and forget you already replied on your computer. Files would scatter across devices instead of staying in one place.
IMAP solved this by keeping everything on the server. Your phone, laptop, and desktop all read from the same source, so they all stay in sync. If you mark a message as read on your phone, it shows as read on your laptop too. If you move something to a folder, it moves everywhere at once.
What happens when you connect via IMAP
When you open your email app and it connects using IMAP, several things happen in order. First, the app sends your username and password to the IMAP server address your provider gave you. The server checks that you are who you say you are.
Once you are logged in, the app asks the server for a list of your folders — your inbox, sent mail, drafts, and any custom folders you created. The server sends back the names and how many messages are in each one. Your app then downloads the message headers (the sender, subject line, and date) so you can see your inbox without waiting for the full text of every message to load.
When you click on a message to read it, your app downloads the full message body from the server. When you delete a message, your app tells the server to mark it for deletion. When you move a message to a folder, the server moves it. Everything stays synchronized because the server is the source of truth.
Why IMAP matters for setting up email on multiple devices
If you use your email on more than one device, IMAP is what makes that work smoothly. Without it, you would have to choose: either use POP3 and accept that your devices will have different messages, or use webmail (checking email in a browser) every time.
IMAP lets you set up the same account on your phone, tablet, and computer, and they all show the same inbox. You can start reading an email on your phone during your commute, finish it on your laptop at work, and reply from your desktop at home — and the whole conversation stays in one place.
This also means your email provider can offer you more storage without worrying that you will download everything and lose it. Because messages stay on the server, the provider can keep backups and protect your mail from loss.
The IMAP server address and port number you need
Every email provider publishes its IMAP server address and port number. These are not secrets — they are the information you need to enter when you set up email in an app. Common examples include:
- Gmail: imap.gmail.com, port 993
- Outlook or Hotmail: imap-mail.outlook.com, port 993
- Yahoo: imap.mail.yahoo.com, port 993
- Apple iCloud: imap.mail.me.com, port 993
Port 993 is the standard secure IMAP port. Some providers offer port 143 (unsecured IMAP), but you should use 993 whenever it is available because it encrypts your password and messages in transit.
If you cannot find your provider's IMAP details, search for "[your email provider] IMAP settings" or check the provider's support page. Most providers have a help article listing exactly what to enter.
What to do if IMAP is not working on your device
If your email app cannot connect using IMAP, the problem is usually one of a few things. First, double-check that you entered the server address and port number correctly — a single typo will block the connection. Copy and paste from your provider's official page rather than typing it by hand.
Second, confirm that your password is correct. If you recently changed your password, you need to update it in your email app too. Some providers require you to use an app-specific password instead of your regular password for security reasons — Gmail and Yahoo both do this if you have two-factor authentication turned on.
Third, check whether your email provider has blocked the connection. Some providers limit how many apps can connect at once, or they block connections from unfamiliar devices for security. If this is the case, your provider's website will usually have a message explaining what happened and how to fix it.
If none of that works, try removing the account from your app and adding it again from scratch. Sometimes the app's stored settings get corrupted, and starting fresh fixes it.
IMAP versus webmail: when to use each one
You do not have to choose between IMAP and webmail — you can use both with the same account. Webmail means checking your email in a browser by going to gmail.com or outlook.com. IMAP means using an app on your device.
Webmail works anywhere you have a browser and internet, and you do not have to set anything up. IMAP works offline (you can read messages you already downloaded), loads faster once it is set up, and gives you more control over how your email is organized. Many people use webmail as a backup and IMAP as their main way to check mail.
If you use both at the same time, they stay in sync because they both connect to the same server. A message you read in the app will show as read in webmail, and vice versa.
Frequently Asked Questions
Do I have to use IMAP, or can I use POP3 instead?
You can use POP3 if your provider still offers it, but IMAP is better if you check email on multiple devices. POP3 downloads messages to one device and removes them from the server, so your phone and computer will have different messages. IMAP keeps everything on the server, so all your devices stay in sync.
Will using IMAP use more data on my phone?
IMAP uses less data than you might think because your app only downloads message headers at first, not the full message. When you click to read a message, then it downloads the body. If you are on a slow connection, you can usually set your app to download only headers until you tap a message.
What is the difference between IMAP and SMTP?
IMAP receives and reads your mail. SMTP sends it. When you set up email in an app, you usually enter both an IMAP server (to receive) and an SMTP server (to send). IMAP handles everything you see in your inbox; SMTP handles the outgoing mail.
If I delete an email on my phone, will it delete on my computer too?
Yes. Because IMAP keeps messages on the server, deleting a message anywhere deletes it everywhere. Your phone, laptop, and webmail all read from the same server, so they all see the deletion immediately.
Can I use IMAP with a work email account?
Usually yes, but check with your IT department first. Some companies restrict IMAP connections for security reasons or require you to use their own email app. Your IT team can tell you the IMAP server address and whether it is allowed.