How to Enable Gmail Via IMAP in Your Email Program

Businesswoman Holding Cup Of Tea
BLOOM image/Getty Images

Setting up a Gmail account via IMAP in an email program lets you access all emails and folders. It allows you to:

  • Access your Gmail account not only via the web but also in just about any email program or perhaps a mobile device
  • Not only download new messages but freely open every email archived in your Gmail account
  • See all your labels as folders and apply tags by copying messages to folders
  • Change email programs on the fly

Gmail's IMAP access does indeed work in most email programs, and it provides seamless access to all your folders and labels (unless you hide them). It's only the contacts that you'll have to synchronize manually.

Access Gmail via IMAP in Your Email Program or Mobile Device

To access a Gmail account in your email program or mobile device via the IMAP interface:

Set Up Your Email Client for Gmail IMAP Access

Now set up a new IMAP account in your email client:

If your email program is not listed above, try these generic settings:

  • IMAP server:
  • Port: 993
  • Require SSL: Yes
  • Username: your Gmail account name
    • The account name is what precedes "" in your Gmail address. If your Gmail address is "", for example, the corresponding account name is "qwer.qwer".
  • Password: your Gmail password
  • SMTP server:
  • Port: 465
  • Require SSL/STARTTLS: Yes
  • Require SMTP authentication: Yes
  • Username: your Gmail account name
  • Password: your Gmail password
    • With 2-step authentication set up: an app password for Gmail

If your email program does not support IMAP or if you prefer to just download newly arriving messages to your computer: Gmail also offers POP access.