Easy Tech Tuts
Gmail

How to Use Gmail With Thunderbird (IMAP Setup Guide) Easily 2026

By Impran M NLast checked against official docs

Thunderbird gives you a desktop email client with more control than Gmail's web interface: offline access, custom filters, and one inbox for multiple accounts. It only works well once IMAP is configured correctly on both ends.

Skip a setting on Gmail's side or get the authentication step wrong in Thunderbird and you'll end up with a client that won't connect, silently fails to sync, or shows duplicate folders that make the whole thing feel more broken than it is. This guide covers the setup in the order that matters: enabling IMAP in Gmail first, adding the account in Thunderbird, signing in the way Google now requires, and fixing the things most likely to go wrong.

Before you start

  • A Gmail account you can sign into directly, since Thunderbird authenticates through a Google sign-in window, not a typed password

01Turn on IMAP access in your Gmail settings

Before Thunderbird can do anything, Gmail needs to allow IMAP connections at all. In Gmail, open Settings, go to the Forwarding and POP/IMAP tab, and make sure IMAP access is enabled; it's off by default on some accounts.

Confirm this before touching anything in Thunderbird, since it's the single most common reason a first connection attempt fails outright. If you manage a Google Workspace account instead of a personal Gmail address, your organization's admin may also need to allow IMAP access at the domain level before your own toggle has any effect.

02Add your Gmail account to Thunderbird

Open Thunderbird and use the built-in account setup wizard instead of entering server details by hand on the first attempt. Enter your name, your full Gmail address, and let Thunderbird auto-detect the correct IMAP and SMTP settings; it recognizes Gmail's servers in most cases.

If auto-detection doesn't complete, or you want to check its work, go to Account Settings > Server Settings and confirm the incoming server is imap.gmail.com on port 993 with SSL/TLS, and the outgoing server is smtp.gmail.com on port 587 with STARTTLS or port 465 with SSL/TLS. A mismatch between the port and the encryption setting is the most common cause of a connection that times out.

03Authenticate through Google's sign-in window, not a typed password

When Thunderbird asks you to sign in, it opens a Google sign-in window, not a password field inside Thunderbird itself. This isn't optional for most accounts: Google discontinued plain username-and-password sign-in for third-party mail apps in 2022, so typing your normal Gmail password when prompted will be rejected regardless of whether two-factor authentication is turned on.

Complete the sign-in popup and grant Thunderbird the permissions it requests. An app password generated from your Google Account's security settings, which requires 2-Step Verification to be on, is the fallback for setups that need basic authentication instead. Google occasionally re-prompts for this authorization months later as a routine security check, which is worth remembering so it doesn't look like Thunderbird suddenly broke.

04Let the initial sync finish before making changes

Once connected, Thunderbird starts pulling down your existing Gmail folders, labels and messages. Depending on the size of your mailbox, this first sync can take anywhere from a couple of minutes to over an hour. Avoid creating folders or moving messages around in either Gmail or Thunderbird while it's running, since changes made mid-sync are more likely to cause duplicated or missing folders afterward.

05Confirm labels and folders are mapping correctly

Gmail's labels appear as folders in Thunderbird, including system ones like Sent, Drafts and All Mail, so check these are showing up where expected, not as duplicate or oddly nested folders. If a label isn't appearing, go back to Gmail's Settings, open the Labels tab, and make sure Show in IMAP is checked for that specific label. Labels hidden from IMAP won't sync to Thunderbird at all.

06Troubleshoot a stalled or incomplete sync

If syncing stalls partway through or new emails stop appearing, the fix is usually one of three things: recheck that IMAP is still enabled in Gmail, since it can get toggled off during a security review; re-authenticate through Google's sign-in if your session expired; or right-click the account in Thunderbird and choose Subscribe to confirm every folder you want is selected for syncing, not hidden.

When it doesn't work

Thunderbird rejects the password you type in, over and over

Why: Google discontinued plain username-and-password sign-in for third-party mail apps in 2022. A typed Gmail password will not work here anymore, with or without two-factor authentication.

Fix: Let Thunderbird open the Google sign-in window and authenticate there, or generate an app password from your Google Account's security settings (requires 2-Step Verification) if your setup needs basic authentication.

The connection times out, or Thunderbird reports a generic failure with no specific field flagged

Why: A mismatched port and encryption pairing, most often SMTP set to SSL/TLS on port 587 instead of STARTTLS, or STARTTLS on port 465 instead of SSL/TLS.

Fix: In Account Settings > Server Settings, use imap.gmail.com on port 993 with SSL/TLS for incoming, and smtp.gmail.com on either port 587 with STARTTLS or port 465 with SSL/TLS for outgoing.

A label from Gmail never shows up as a folder in Thunderbird

Why: The label has Show in IMAP turned off in Gmail's own Labels settings.

Fix: In Gmail, go to Settings > Labels, enable Show in IMAP for that label, and let Thunderbird resync.

Sync stalls or new mail stops arriving after working fine for a while

Why: IMAP access got toggled off during a Google account security review, or the OAuth session simply expired.

Fix: Recheck Gmail's Forwarding and POP/IMAP tab, and re-authenticate the account in Thunderbird if it prompts you to.

FAQ

Frequently asked questions

Why use Thunderbird instead of Gmail's web interface?

Thunderbird offers a desktop email client with more control, offline access, custom filtering, and the ability to manage multiple accounts in one window.

Do I need to enable IMAP before connecting Thunderbird?

Yes. IMAP has to be turned on in Gmail's Forwarding and POP/IMAP settings before Thunderbird can connect. This is the most common reason a first setup attempt fails.

Why is Thunderbird asking me to sign in through a Google window instead of letting me type my password?

Google stopped accepting plain username-and-password logins from third-party mail apps in 2022. The Google sign-in window (OAuth) is now the standard way Thunderbird authenticates with Gmail, whether or not you have two-factor authentication on.

Can I still use an app password instead of the Google sign-in window?

Yes, if you turn on 2-Step Verification and generate one from your Google Account's security settings. It's a fallback for setups that need basic authentication instead of the default path.

Can I manage multiple Gmail accounts in Thunderbird?

Yes. Add each account through the same setup wizard, and Thunderbird keeps them in separate folder trees while showing everything in one window.

What should I do if my emails aren't syncing correctly?

Recheck that IMAP is still enabled in Gmail, confirm the server settings match imap.gmail.com:993 and smtp.gmail.com:587 or 465, and check that the labels you need have Show in IMAP turned on.

Sources and last check

Step order and screen descriptions come from the original walkthrough. The authentication step was re-checked against Google's official documentation on the 2022 retirement of password-only sign-in for third-party apps in September 2026. That check corrected the earlier version, which implied a typed Gmail password might still work for accounts without two-factor authentication; it doesn't, for any personal Gmail account, and the Google sign-in window (or an app password) is required.

About the author

Impran M N
Written by

Impran M N

I've been hooked on technology for as long as I can remember — especially the new tools and AI apps that seem to land every other week. Easy Tech Tuts is where I write up whatever I've just worked out: I do the task in the real product, record the screen, and turn it into the guide I wish I'd found first.