You can export Gmail messages in two ways: download them to your computer as files, or forward them to another email account
The method you choose depends on what you want to do with your emails. If you need a backup copy stored on your computer, or you want to import messages into a different email program like Outlook or Apple Mail, you'll use Google Takeout — Google's tool for downloading your data. If you just want to move messages to another Gmail account or a different email service, forwarding or using IMAP is faster and keeps everything in the cloud.
Both methods are free and take less than an hour to set up, though the actual download or transfer can take longer depending on how many emails you have. This guide covers the most common scenario: backing up your Gmail to your computer.
Key Takeaways
- Google Takeout lets you download all your Gmail messages as files to your computer, which works best if you want a backup or plan to import into Outlook or Apple Mail.
- The download process can take anywhere from minutes to several hours depending on the size of your mailbox, and Google will email you a link when it's ready.
- You'll receive your emails in MBOX format, a standard file type that most email programs can read, though you may need to import them manually.
- If you're moving to a different email provider, enabling IMAP in Gmail and connecting it to your new account is often simpler than exporting files.
Export Gmail using Google Takeout (the most common method)
Google Takeout is the official way to download your Gmail messages. It creates a compressed file containing all your emails, and Google handles the heavy lifting on their servers before sending you the file to download.
Start by going to takeout.google.com in your web browser and signing in with your Gmail account. You'll see a list of all Google services connected to your account — Gmail, Drive, Photos, Calendar, and others. By default, all of them are selected. Click Deselect all at the top, then scroll down and check only the box next to Mail. This prevents you from downloading data you don't need and keeps the file size smaller.
Scroll to the bottom and click Next step. On the next screen, you'll choose how you want to receive the file. The default option is Send download link via email, which is the easiest choice — Google will email you when the export is ready, usually within a few hours. If your mailbox is very large (over 50 GB), Google may split it into multiple files. Leave the file type as ZIP and the frequency as One-time export, then click Create export.
Google will start processing your request. You can close the browser tab and check your email later. When the export is ready, you'll receive an email from Google with a download link. The link stays active for seven days, so you have a week to download the file. Click the link, and your browser will download a ZIP file to your computer — usually to your Downloads folder.
Extract the ZIP file and find your emails
Once the ZIP file finishes downloading, you need to open it. On Windows, right-click the file and select Extract All. On Mac, double-click the file and it will extract automatically. This creates a folder containing your Gmail data.
Inside the folder, you'll see a structure organized by labels — All Mail, Sent Mail, Drafts, and any custom labels you created. Each label folder contains files in MBOX format, which is a standard email format that most programs recognize. The files have names like [Gmail]/All Mail.mbox. These are your actual emails, stored in a format you can open in other email programs.
Do not try to open MBOX files directly by double-clicking them — they won't display properly in a text editor. Instead, keep them in this folder structure until you're ready to import them into another email program, or use them as a backup.
Import your emails into Outlook or Apple Mail
If you want to read your exported Gmail messages in a different email program, you'll need to import the MBOX files. The process differs slightly depending on which program you use.
For Outlook on Windows: Open Outlook and go to File > Open & Export > Import/Export. Select Import from another program or file and click Next. Choose Outlook Data File (.pst) and click Next. You'll need to browse to your extracted Gmail folder and select the MBOX file you want to import. Outlook will convert it and add the messages to your mailbox. Repeat this for each label folder if you want to import everything.
For Apple Mail on Mac: Open Apple Mail and go to File > Import Mailboxes. Select Files in mbox format and click Continue. Navigate to your extracted Gmail folder and select the MBOX file. Apple Mail will import the messages into a new mailbox with the same name as the file. You can then move these messages into your existing mailbox folders if you want to organize them.
The import process can take several minutes if you have thousands of emails. Your email program will show a progress bar. Do not close the program until the import finishes.
Use IMAP if you're switching email providers
If you're moving to a different email service like Outlook.com, Yahoo Mail, or another Gmail account, exporting files is unnecessary. Instead, you can use IMAP, a protocol that lets you access the same emails from multiple programs at once. This is faster than exporting and keeps your emails synced automatically.
First, enable IMAP in your Gmail account. Go to mail.google.com, click the gear icon in the top right, and select See all settings. Click the Forwarding and POP/IMAP tab. Under IMAP Access, select Enable IMAP and click Save Changes.
Next, add your Gmail account to your new email program using IMAP settings. In Outlook, Apple Mail, or your new email service, go to Add Account or Settings and choose IMAP as the account type. Enter your Gmail address and password. For the incoming mail server, use imap.gmail.com with port 993. For the outgoing mail server, use smtp.gmail.com with port 587. Your new program will download all your Gmail messages automatically.
The advantage of IMAP is that you don't have to wait for an export or manage files — everything syncs in real time. The disadvantage is that if you delete an email in one program, it deletes everywhere. If you want a permanent backup that won't change, exporting with Google Takeout is the safer choice.
Troubleshoot common export problems
If your Google Takeout export takes longer than expected, check your email spam folder — sometimes the notification email lands there by mistake. If you don't see it after 24 hours, go back to takeout.google.com and check the status of your export. Google shows a list of all your past exports and whether they're still available for download.
If the ZIP file won't extract, your download may have been interrupted. Delete the incomplete file and download it again using the link in your email. If the link has expired (more than seven days have passed), you'll need to create a new export through Google Takeout.
If you're importing MBOX files into Outlook and the messages don't appear, make sure you're using Outlook for Windows, not Outlook for Mac — the Mac version doesn't support direct MBOX import. On Mac, use Apple Mail instead, or convert the MBOX files using a free tool like Thunderbird before importing into Outlook.
Keep your exported emails organized and backed up
Once you've downloaded your Gmail export, treat it like any other important file on your computer. Store it in a folder you'll remember, like Documents > Email Backups. If you have a large mailbox, the ZIP file could be several gigabytes, so make sure you have enough free space.
Consider keeping a copy on an external hard drive or cloud storage like Google Drive, OneDrive, or Dropbox. This protects you if your computer fails. External drives are inexpensive and reliable for long-term storage. If you use cloud storage, remember that uploading a large file can take hours depending on your internet speed.
You don't need to export your Gmail regularly unless you're concerned about losing access to your account. Gmail is backed up by Google's servers, so your emails are safe there. Export only when you're switching email providers, archiving old messages, or creating a one-time backup for peace of mind.
Frequently Asked Questions
How long does it take to export Gmail?
Small mailboxes (under 1 GB) usually export within a few minutes. Larger mailboxes can take several hours. Google will email you when the export is ready, so you don't have to wait and watch. Check your email periodically, and the download link will be there when it's done.
Can I export just certain emails or labels?
Google Takeout exports your entire Gmail mailbox — you can't select individual emails or labels before the export. However, once you download the ZIP file, you can choose which label folders to import into another program and ignore the rest.
What if I have two-factor authentication enabled on my Gmail account?
You can still use Google Takeout normally — just sign in as usual. If you're setting up IMAP in another email program, you'll need to create an app password instead of using your regular Gmail password. Go to myaccount.google.com, click Security, and follow the steps to generate a one-time app password for your email program.
Will exporting delete my emails from Gmail?
No. Exporting creates a copy of your emails on your computer. Your original emails stay in Gmail exactly as they are. You can export as many times as you want without affecting your Gmail account.
Can I export Gmail on my phone?
Google Takeout works on phones, but downloading and extracting large ZIP files is difficult on mobile devices. Use a computer instead. If you need to access your emails on your phone, add your Gmail account to your phone's email app using IMAP instead of exporting.