TechBuzzPro

IMAP Not Connecting? Fix Email Sync Errors

· 5 min read · Apps & Browsers

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

If your email app shows "IMAP not connecting" or keeps timing out, the quickest fix is to verify the server name, port, and SSL/TLS settings for your provider, then re-enter your password. Most IMAP failures come from a wrong port (993 for SSL, 143 for STARTTLS), a typo in the server address, or an app password being required instead of your normal login. Work through the checks below in order, and you will usually have mail syncing again within a few minutes.

What You'll Need

  • Your full email address and current password (or app-specific password if your provider requires one).
  • The correct IMAP server name and port for your provider — check their help pages, as these differ between Gmail, Outlook, Yahoo, and custom domains.
  • Access to your email account's security settings (to enable IMAP or generate an app password).
  • A stable internet connection and, if possible, a second device to test the same account.

Step-by-Step

  1. Confirm IMAP is enabled on the account. Many providers disable IMAP by default. Sign in to the webmail interface, open the settings area (often under "Forwarding and POP/IMAP" or "Mail" settings), and make sure IMAP access is turned on. Save changes.
  2. Check the server name and port. In your email app's account settings, find the incoming mail server field. For most providers using SSL, the IMAP server is something like imap.gmail.com, outlook.office365.com, or imap.mail.yahoo.com, and the port is 993. If you are using STARTTLS instead, the port is usually 143. A single wrong character in the server name will cause a connection failure.
  3. Set the security type correctly. Match the encryption to the port: SSL/TLS for 993, STARTTLS for 143. Do not select "None" unless your provider explicitly says so — most reject unencrypted IMAP connections.
  4. Re-enter your password. Delete the saved password and type it again carefully. If your provider offers two-factor authentication, your normal password will not work for IMAP; you need an app password generated in the account's security settings. Create one and use it in place of your regular password.
  5. Verify the username format. Some servers expect the full email address as the username, while others want just the part before the @. Check your provider's IMAP setup instructions for the exact format.
  6. Restart the email app and your device. Close the app completely (not just minimize it) and reopen it. If the problem persists, restart your phone or computer to clear any stuck network connections.
  7. Test on another network. Switch from Wi-Fi to mobile data, or try a different Wi-Fi network. Some office, school, or public networks block the IMAP ports (993 and 143). If mail works on mobile data but not Wi-Fi, the network is the culprit — contact its administrator.
  8. Try a different email client. Set up the same account in another app (for example, the built-in Mail app on your phone or a desktop client). If it connects there, the problem is with the original app's settings or installation; if it fails everywhere, the issue is with the account or provider.

Common Mistakes

  • Using the wrong port with the wrong encryption. Port 993 requires SSL/TLS; port 143 requires STARTTLS. Mixing them up is the most frequent cause of "cannot connect" errors.
  • Typing the password instead of an app password. If two-factor authentication is on, regular passwords are rejected for IMAP. Generate an app password.
  • Leaving a space or hidden character in the server name. Copy and paste the server address from your provider's help page rather than typing it from memory.
  • Assuming IMAP is on. New accounts sometimes have IMAP disabled until you enable it in webmail settings.
  • Ignoring provider-side blocks. Some providers lock IMAP after suspicious login attempts; check your account's security dashboard for alerts or temporary blocks.

Tips

  • Keep a note of your provider's exact IMAP settings (server, port, encryption, username format) so you can re-enter them quickly after an app update.
  • If you use a custom domain, confirm with your hosting provider whether IMAP is included and what the server name is — it is often mail.yourdomain.com.
  • Update your email app to the latest version from the official app store; older versions may use outdated security protocols that the server no longer accepts.
  • When changing settings, change one field at a time and test after each change, so you know which fix worked.

Troubleshooting

If the steps above did not get you connected, work through these checks:

  • Check the provider's service status. Visit their status page or social media for known outages. If IMAP is down on their end, no setting change will help — wait and retry.
  • Look for exact error messages. "Authentication failed" points to a password or app-password problem. "Connection timed out" suggests a network or port block. "SSL certificate error" means the server name or encryption setting is wrong.
  • Disable VPN or proxy temporarily. Some VPNs and corporate proxies interfere with IMAP connections. Turn them off, retry, and turn them back on if not the cause.
  • Clear the app's cache (Android) or reinstall the app. Clearing app data will remove saved accounts and settings — you will need to set up the account again. On iPhone, deleting and reinstalling the app also removes local data.
  • Contact your email provider's support. Provide the exact error message and the server settings you are using. They can confirm whether IMAP is enabled and whether your IP or account is blocked.

Frequently Asked Questions

Why does IMAP fail when SMTP (sending) works?

Incoming and outgoing servers are separate. SMTP uses different ports (usually 465 or 587), so a working send does not prove IMAP is configured correctly. Recheck the incoming server name and port.

Do I need an app password for IMAP?

Only if your provider requires it — typically when two-factor authentication is enabled. Check the security settings of your email account; if app passwords are listed, create one and use it for IMAP.

Can a firewall block IMAP?

Yes. Many workplace, school, and public networks block ports 993 and 143. Test on a different network, such as mobile data, to confirm.

What port should I use for IMAP?

Use 993 with SSL/TLS for secure connections. Port 143 with STARTTLS is an alternative, but 993 is the standard for most providers.

Why does IMAP work on my phone but not my computer?

The computer's email app likely has different settings, an outdated version, or a firewall/VPN blocking the connection. Compare the server, port, and encryption fields between the two devices.

Will deleting and re-adding the account fix it?

It can, because it forces you to re-enter every setting. Note that removing the account deletes locally stored mail and drafts on that device — make sure anything important is saved elsewhere first.