How to Increase Thunderbird IMAP Connection Timeout for Outlook.com
Question details
Users need to increase the IMAP connection timeout period in Thunderbird to resolve connection failures with Outlook.com servers.

- 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.
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.
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.
Launch Thunderbird, click on 'Tools' in the top menu bar, and select 'Options'.
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.
In the search bar at the top of the Config Editor, type 'mailnews.tcptimeout' to filter the preferences list.
Double-click the 'mailnews.tcptimeout' entry and change its integer value to '2000' (or higher). Click 'OK' to save the changes.
Close the Config Editor and Options window. Restart Thunderbird, then attempt to access your Outlook.com inbox again.

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. Download the Installer: Visit the official WPS Office website and download the free installer package for your operating system.
- 2. Run Setup: Launch the downloaded installation file and follow the simple on-screen instructions.
- 3. Open and Edit: Open WPS Office and instantly start editing your existing .docx, .xlsx, or .pptx files.

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.




