Accessing Gmail via IMAP Using App Passwords
TLDR
- IMAP is enabled by default for all Gmail accounts; there is no need to manually enable it in settings.
- To access Gmail via IMAP, you must first enable "2-Step Verification".
- You must use an "App Password" instead of your original Gmail login password.
- The App Password is a 16-character code that is displayed only once upon creation; please save it securely.
- IMAP connection settings: Server
imap.gmail.com, Port993, EncryptionSSL/TLS.
IMAP Service Status
When you might encounter this issue: When you are trying to set up Gmail in a third-party email client and cannot find the option to enable IMAP.
According to official Google documentation, as of January 2025, IMAP access is enabled by default for all Gmail accounts. The system no longer provides an "Enable" or "Disable" option, and users do not need to perform any additional configuration.
Enabling 2-Step Verification
When you might encounter this issue: When you need to generate an App Password but have not yet set up security verification for your Google account.
Before creating an App Password, you must complete the 2-Step Verification setup for your Google account:
- Go to Google Account / Security.
- Enable "2-Step Verification" in the "How you sign in to Google" section.
- Choose a suitable verification method (e.g., Google Prompt, Authenticator, phone number, or passkey).
Creating an App Password
When you might encounter this issue: When you are using a third-party application to connect to Gmail via IMAP and are unable to log in with your original password due to security restrictions.
- Go to the App Passwords page to configure it.
- The system will require 2-Step Verification to confirm your identity.
- Enter a custom name for the app in the input field (for identification purposes only).
- Click "Create", and the system will generate a 16-character password.
- Note: This password is displayed only once. Please be sure to copy and save it securely immediately, as you will use this password instead of your original Gmail password for subsequent connections.
Gmail IMAP Connection Parameters
When you might encounter this issue: When you need the correct server connection information while setting up a third-party email client.
Please use the following parameters for configuration:
- IMAP Server: imap.gmail.com
- Port: 993
- Encryption: SSL/TLS
- Username: Your full Gmail address (e.g., [email protected])
- Password: The 16-character App Password generated above
Change Log
- 2025-03-05 Initial version created.