How to Enable IMAP in Gmail
Since January 2025, it's not necessary to enable IMAP for your Gmail account, as IMAP access is enabled by default for all Gmail accounts.
This also means that you cannot disable IMAP for your account. Gmail has removed the option completely from the Gmail settings and IMAP access cannot be disabled anymore.
You can, however, enable / disable IMAP for individual labels.
What does this mean when using an email client?
If you wish to add your Gmail account to your email client (e.g. Thunderbird or Apple Mail), you can simply add your account using IMAP. Since IMAP is enabled by default, you don't need to change any Gmail settings. This also applies if you have already added your Gmail account to your email client: No changes are required.
How to Enable IMAP for Google Workspace Accounts
Since May 2025, Google Workspace does not allow access to user accounts using IMAP authentication via username and password or app password anymore. The option formerly called "less secure app access" is no longer available and your software or email client needs to support OAuth to access Google Workspace accounts.
What does this mean for my email client / email software?
This means that you need to add your email account to your software using the "sign in with Google" option. IMAP authentication via app password or user credentials no longer works. Unfortunately, this also means that you cannot use email clients or apps that don't support OAuth.
The good news is that most popular email clients have adapted to this change and implemented OAuth login for Google Workspace accounts. For mobile device usage, Google recommends using its own Gmail app.
MailJerry has implemented OAuth authentication so you can securely migrate your emails from or to Gmail or Google Workspace
How to Enable / Disable IMAP for Individual Labels
Sometimes, it can be handy to enable or disable IMAP for individual Gmail labels. Fortunately, this option is still available in the Gmail settings. For example, you might want to disable certain labels so that they are not included in an email migration from Gmail to another provider.
Here's how to enable or disable IMAP for individual labels:
Open your Gmail account and click on "Manage labels" in the left sidebar.
How to Change Gmail IMAP Settings
Even though you can't disable IMAP for your account, Gmail allows you to manage a few IMAP settings.
Here's how to change the default Gmail IMAP settings:
Go to your Gmail account and click on the gear icon in the upper right corner.
On the settings page, select the tab "Forwarding and POP/IMAP".
Available IMAP Options & What They Do
Auto-Expunge Settings:
This option controls the time at which deleted emails are permanently removed from the Gmail servers: Either instantly when you delete the message ("Auto-Expunge on") or later when your email client syncs changes with your Gmail account ("Auto-Expunge off").
Final Deletion Action:
With this setting, you can control what happens after an email is fully deleted. It can be moved to the archive, sent to the trash, or get permanently removed from the server right away.
IMAP Folder Max. Message Size:
This setting controls the maximum number of messages that are visible via IMAP per folder. If you are using an email migration tool and some messages are missing, try setting this option to "do not limit".
FAQs
No, IMAP is enabled by default for all Gmail accounts and can no longer be turned off.
Google removed the option in 2025, so IMAP is always active and no longer appears as a toggle in the Gmail settings.
Yes, you can connect your Gmail account via IMAP without changing any settings, as it's already enabled by default. For Google Workspace accounts, you need to use OAuth (sign in with Google) instead of IMAP.