Office 365 - Import Gmail to Outlook

Import Gmail to Outlook

Before you import email

Step 1: Allow Outlook to access Gmail

  1. Sign in to your Gmail account. Once signed in, in the upper right corner, choose the Google Apps button >My Account.

    In the upper right corner, choose the apps button and then My Account icon.

  2. Under Sign in and Security, choose Connected apps and sites.

    On the right side of the page, choose Connected Sites and Apps

  3. Set Allow less secure apps to ON. It's okay to allow Outlook access. Close the window.

    You need to go into Google Gmail to allow Outlook access

Step 2: Add your Gmail account to Outlook

When you're finished with this step, you'll see your existing Gmail messages in Outlook. You can use Outlook to receive, read, and send new messages from your Gmail account. You can also continue to use your Gmail account as before through the Gmail web site.

  1. Open Outlook on your desktop (Outlook 2013 or Outlook 2016). The top ribbon looks like this:

    This is what the Outlook desktop ribbon looks like.

    If your ribbon looks like the one below, you're using Outlook on the web. You can only import email using Outlook desktop. After your email is imported, you can access it using Outlook on the web.

    This is what the Outlook web ribbon looks like.

  2. In Outlook on your desktop, choose File > Add Account.

    To add a gmail account to Outlook, click the Add Account button

  3. On the Auto Account Setup page, enter your name, your Gmail address and your Gmail password, and then choose Next.

    Enter your gmail email address and your gmail account password

    If the configuration process doesn't finish and you instead get prompts to enter your user name and password for the imap.gmail.com server, choose Cancel and re-enter your password in case the first one had a typo. If you continue having problems, see Fixing problems with adding Gmail to Outlook.

  4. Click Finish. Outlook syncs with your Gmail account. The email in your Gmail account will appear in Outlook, right below your Office 365 mailbox.

    After you add your gmail account, you will see two accounts in Outlook

Did you have any problems with these steps? Please help us make them better by leaving a comment in the box at the bottom of this article.

Step 3: Copy your Gmail messages to your desktop

Mac users: If you are using Outlook for Mac 2011, there are other export and import instructions.

When you're finished with this step, a copy of your Gmail messages will be stored in a file that Outlook creates on your desktop. The file is called an Outlook Data File (.pst). If you receive more email to your Gmail account after you take this snapshot, those additional messages won't be copied to your .pst file, but you can always repeat these steps to copy them.

  1. In Outlook on your desktop (Outlook 2013 or Outlook 2016), choose File > Open & Export > Import/Export.

    To create your Outlook pst file, choose File, choose Open and Export, and then Import/Export

  2. Choose Export to a file, and then choose Next.

    Choose Export to a file

  3. Choose Outlook Data File (.pst), and then choose Next.

    Choose Outlook Data File (.pst) and then choose Next

  4. Select the account you want to export by choosing the name or email address of your Gmail account, and verify the Include subfolders box is checked (this ensures all your email is copied), and then choose Next.

    Choose the name of your gmail account you want to import

  5. Choose Browse to select where to save the Outlook Data File (.pst) and to enter a file name. By default, the name is "backup," so choose another name that's easy to remember, such as gmail. If you are exporting to an existing Outlook Data File (.pst), under Options, specify what to do when exporting items that already exist in the file. Choose Finish to continue.

    Browse to the location where you want to create the pst file that will store your Gmail messages, and type a name for the pst file.

  6. In the Add an optional password dialog box, add a password if you want. Choose OK to save the data fileeven if you leave the password boxes empty. Without further notice, Outlook begins exporting the data immediately. It doesn't give you a message when it's done, either.

    When you create a pst file, click Ok even if you don't want to assign a password to it

  7. Go to the location where you saved the .pst file to confirm it's there.

Did you have any problems with these steps? Please help us make them better by leaving a comment in the box at the bottom of this article.

Step 4: Copy your Gmail to your Office 365 mailbox

When you're finished with this step, the email in the .pst file will be available in your Office 365 mailbox.

  1. In Outlook on your desktop (Outlook 2013 or Outlook 2016), choose File > Open & Export > Import/Exportto start the Import and Export Wizard.

  2. Choose Import from another program or file > Next.

    Choose to import email from another program or file

  3. Choose Outlook Data File (.pst) > Next.

    Choose to import an Outlook Data File (.pst)

  4. Browse to the .pst file you created in Step 3 (in our example the file is named gmail.pst). Under Options, choose how you want to deal with duplicates. Choose Next.

    Select the pst file you created so you can import it.

  5. If you assigned a password to the Outlook Data File (.pst), enter the password > OK.

  6. Choose to import the email into your Office 365 mailbox (in the example, the Office 365 mailbox is named Jakob@onmicrosoft.com). Choose Finish.

    Choose Finish to import the Outlook pst file to your Office 365 mailbox.

  7. Outlook starts copying the information from the .pst file to your Office 365 mailbox. If you have lots of data, this may take hours. If you shut down Outlook or disconnect from the Internet before the import completes, it will continue the next time it's reconnected.

    When Outlook is finished, you'll see the snapshot of your Gmail, now stored in your Office 365 mailbox. Congratulations! Your old Gmail messages are now in your Office 365 mailbox!

    After you import the email to your Office 365 mailbox, it will appear in two places.

    Because your old Gmail is stored in your Office 365 mailbox, you can use the Outlook Web App to access those email messages from any device.

    After you import email from the pst file, it will appear in OWA too

Did you have any problems with these steps? Please help us make them better by leaving a comment in the box at the bottom of this article.

(Optional) Step 5: Remove your Gmail account from Outlook

When you're finished with this step, your Gmail account will still exist, but you won't see it in Outlook. If you receive any more emails at that Gmail account, you'll need to repeat the steps in this article if you want them in your Office 365 mailbox.

  1. In Outlook, choose File > Account Settings > Account Settings.

    To remove your Gmail account, choose File, Account Settings, Account Settings.

  2. In the Account Settings box, select your Gmail account, and then choose Remove.

    Choose the Gmail account you want to remove, and then choose Remove.

  3. In the dialog box about the offline cache being deleted, choose Yes.

    When you remove your gmail account from Outlook, click Yes at the warning about your offline cache being deleted.

    The Gmail messages that you imported to your Office 365 mailbox are still there, but your Gmail account no longer appears in Outlook.

Fixing problems with adding a Gmail account to Outlook

  1. If you get the following prompt, choose Cancel (it will take a couple of times), and then choose Cancel again at the Auto Account Setup page so the prompt stops appearing.

    If you get this dialog box, choose Cancel.

    This prompt occurs because Google thinks someone besides you has your password. It will display this prompt repeatedly, each time Outlook pings Google. This happens if:

    • You typed the wrong password. To fix, doublecheck your password.

    • Or, you're using a computer that you haven't used before to sign into your Gmail account.

    • Or, you haven't signed in to your Gmail account for a while.

    To fix, try this:

    1. Sign in to your Gmail account using the same computer you're going to use for the Add account process.

    2. Check that Allow less secure apps is set to On.

    3. Start Step 2: Add your Gmail account to Outlook again, starting at step 3, File > Add account.

  2. If, instead of seeing your Gmail messages in Outlook, you get an error message along the lines of "Your IMAP server wants to alert you to the following......" go to your Gmail account and check that Allow less secure settings has been set to ON, and then do the steps again to add your Gmail account to Outlook.

    If you get the error message "Your IMAP server wants to alert you to the following" check that you've set Gmail less secure settings to Turn on so Outlook can access your messages.

Details

Article ID: 181
Created
Fri 1/29/16 3:54 PM
Modified
Wed 7/31/19 3:33 PM