Exchange Connection Problems

How to Increase Thunderbird IMAP Connection Timeout for Outlook.com

Muhammad TalhaMuhammad Talha Oct 20, 2026 871 views

Question details

Users need to increase the IMAP connection timeout period in Thunderbird to resolve connection failures with Outlook.com servers.

How to Increase Thunderbird IMAP Connection Timeout for Outlook.com
Product
Mozilla Thunderbird
Device & OS
not provided
Scenario
Attempting to connect or sync an Outlook.com email account using IMAP within the Thunderbird desktop client.
Observed behavior
Thunderbird displays an error message stating that the connection to imap.mail.outlook.com has timed out before completing the sync.
Before you start

Verify your internet connection stability and ensure your IMAP server settings (imap-mail.outlook.com, Port 993, SSL/TLS) are correctly configured before modifying advanced system preferences.

Solution 1Recommended

Increase TCP Timeout via Thunderbird Config Editor

Access Thunderbird's advanced settings to manually extend the time the client waits for the Outlook.com server to respond.

By default, Thunderbird may drop a server connection if Outlook.com takes too long to respond. Modifying the 'mailnews.tcptimeout' value gives the server more time to establish the connection, which is especially useful on slower networks or when server loads are high.

1
Open Thunderbird Options

Launch Thunderbird, click on 'Tools' in the top menu bar, and select 'Options'.

2
Navigate to the Config Editor

Click on the 'Advanced' tab on the left, select the 'General' tab, and then click the 'Config Editor' button. Accept the prompt warning you about changing advanced settings.

3
Locate the Timeout Setting

In the search bar at the top of the Config Editor, type 'mailnews.tcptimeout' to filter the preferences list.

4
Modify the Timeout Value

Double-click the 'mailnews.tcptimeout' entry and change its integer value to '2000' (or higher). Click 'OK' to save the changes.

5
Restart and Test

Close the Config Editor and Options window. Restart Thunderbird, then attempt to access your Outlook.com inbox again.

Increase TCP Timeout via Thunderbird Config Editor
Timeout Value Applied: Increasing this value safely forces Thunderbird to wait longer during the IMAP handshake, significantly reducing connection timeout errors.
Free Microsoft Office alternative

Upgrade Your Productivity with WPS Office

While resolving third-party email client issues, consider streamlining your primary workflow. WPS Office provides a free, lightweight, and highly compatible alternative to Microsoft Office, ensuring seamless document management without expensive subscriptions.

  1. 1. Download the Installer: Visit the official WPS Office website and download the free installer package for your operating system.
  2. 2. Run Setup: Launch the downloaded installation file and follow the simple on-screen instructions.
  3. 3. Open and Edit: Open WPS Office and instantly start editing your existing .docx, .xlsx, or .pptx files.
Fully compatible with Microsoft Word, Excel, and PowerPoint file formats.Free, lightweight design that ensures smooth operation on older or budget devices.Familiar tabbed user interface for an effortless transition.Built-in PDF editor and advanced AI capabilities to accelerate your daily tasks.
microsoft office alternative - wps office

Frequently Asked Questions

Why does Thunderbird keep timing out with Outlook.com?

This happens when the Outlook IMAP server takes longer to respond than Thunderbird's default timeout threshold. It can be caused by network latency, large mailbox synchronization loads, or temporary server throttling.

What is the default value for mailnews.tcptimeout in Thunderbird?

The default value for the mailnews.tcptimeout preference is typically 100 seconds. Increasing it to a higher number like 2000 gives the client a much larger buffer window.

Will increasing the timeout fix authentication or password errors?

No. Increasing the IMAP timeout only helps if the server is taking too long to connect. If you are experiencing password or authentication errors, you will need to verify your app passwords or ensure OAuth2 authentication is enabled for Outlook.com.