Backup Gmail Emails to PC – Simple Step‑by‑Step Guide
In this article
Yes, you can back up Gmail emails to your computer by exporting them with Google Takeout or by syncing them to a desktop email client and saving the local data files.
What You'll Need
- A computer with an internet connection
- A Google account that holds the Gmail messages you want to back up
- Enough free disk space for the export (a typical mailbox of 5 GB needs at least 6 GB of space)
- Optional: an email client such as Mozilla Thunderbird, Microsoft Outlook, or Apple Mail if you prefer a client‑based backup
- Optional: A zip utility (Windows Explorer, macOS Archive Utility, or 7‑Zip) to extract the downloaded archive
Step‑by‑Step
- Sign in to Google Takeout. Open a web browser and go to takeout.google.com. Log in with the Gmail address whose messages you want to back up. The Takeout page lists all Google services that can be exported.
- Deselect everything except Mail. Click Deselect all at the top of the list, then scroll down to Mail and tick the checkbox. If you have multiple Gmail aliases, the checkbox will include all of them.
-
Choose the export format. Click the All Mail data included button to open the options dialog. Keep the default Include all messages in Mail unless you want to back up only specific labels. Leave the file type as
.zipand the archive size as2 GB(or a larger size if you prefer fewer split files). - Start the export. Scroll to the bottom of the page and press Create export. Google will begin gathering your messages; this can take from a few minutes to several hours depending on mailbox size. You will see a progress bar and an estimate of completion time.
- Receive the download link. When the export is ready, Google sends an email to the same account with a link. Click the link, or return to the Takeout page and press Download next to the completed export.
-
Save the archive to your computer. Choose a folder with ample free space (e.g.,
C:\GmailBackupon Windows or/Users/YourName/GmailBackupon macOS). Do not open the file while it is still downloading. -
Extract the archive. Double‑click the
.zipfile to open it with the built‑in extractor or right‑click and select Extract All. Inside you will find a single.mboxfile (or a folder of.mboxfiles if you chose multiple archives). -
Verify the backup. Open the
.mboxfile with a text editor or import it into a compatible email client (Thunderbird can open .mbox directly). Browse a few messages to confirm they are intact and readable. -
(Optional) Use an email client for a searchable local copy. If you want a more user‑friendly way to browse, install Thunderbird (free) or Outlook (paid). Enable IMAP in Gmail settings (Settings > See all settings > Forwarding and POP/IMAP > Enable IMAP). Then add the Gmail account to the client using the standard IMAP server
imap.gmail.comand your credentials. -
Synchronize all messages. After the account appears in the client, allow it to download every message. This may take time; you can monitor progress in the client’s status bar. Once syncing finishes, the local store (e.g.,
Thunderbird/Profiles/xxxx.default/ImapMail) contains a copy of every email. - Export from the client (if desired). In Thunderbird, right‑click the account folder, choose ImportExportTools NG (add‑on) and select Export folder as .mbox file. In Outlook, go to File > Open & Export > Import/Export, choose Export to a file, select Outlook Data File (.pst), and follow the prompts to create a PST backup.
-
Store the backup safely. Copy the resulting
.mboxor.pstfile to an external hard drive, USB stick, or a cloud storage service that you trust. Label the backup with the date (e.g.,GmailBackup_2024‑12‑02.mbox) for future reference.
Common Mistakes
- Skipping the step to enable IMAP before adding Gmail to a client – the client will not be able to download messages without IMAP turned on.
- Downloading the zip file to a folder that runs out of space – the extraction will fail and you may lose part of the archive.
- Assuming the .mbox file can be opened directly in Outlook – Outlook requires PST format, so you must either import the .mbox via a conversion tool or use Thunderbird for direct viewing.
- Leaving the export process unattended for days without checking email – Google may delete the export link after a limited time (usually 7 days).
Tips
- Schedule a regular backup (quarterly or yearly) by repeating the Takeout process; you can keep multiple archives to track changes over time.
- If your mailbox exceeds 2 GB, choose a larger archive size (e.g., 4 GB) to avoid many split files, which are harder to manage.
- For faster downloads, use a wired Ethernet connection rather than Wi‑Fi, especially when handling large archives.
- When using Thunderbird, enable the Local Folders view and copy the Gmail folder hierarchy there; this creates a completely offline copy that does not rely on the server.
- Encrypt the backup file with a strong password if you store it on a shared computer or external drive.
Troubleshooting
- Export never finishes or stalls. Refresh the Takeout page, sign out and back in, then click Refresh next to the pending export. If the problem persists, clear browser cookies or try a different browser.
- Download link says "expired". Google removes the link after the retention period. Return to Takeout and start a new export; note the expiration date in the confirmation email.
- Extraction fails with "file is corrupted". Verify the zip file size matches the size shown on the download page. If it is smaller, re‑download. If the size matches, run the zip utility's repair function or use a third‑party tool like 7‑Zip to attempt recovery.
- Client does not sync all messages. In Gmail settings, ensure "All Mail" is selected for IMAP sync (Settings > Forwarding and POP/IMAP > IMAP Access > Folder size limits). Also, check the client’s synchronization settings – Thunderbird’s Synchronization & Storage panel should have "Keep messages for this account on this computer" enabled.
- Exported .mbox file is empty. Confirm you selected the correct mailbox in the Takeout options. If you chose specific labels, make sure those labels contain messages. Re‑run the export with "All Mail" selected.
- Outlook cannot import the .mbox file. Outlook does not support .mbox natively. Use Thunderbird to open the .mbox, then export to PST via Outlook’s import feature, or use a dedicated conversion utility.
Frequently Asked Questions
Can I back up only selected labels?
Yes. In the Takeout dialog, click the All Mail data included button and uncheck the labels you do not want. The export will contain only the chosen folders.
Is there a limit to how many times I can use Google Takeout?
Google imposes a daily quota of one export per account. If you need another export the same day, wait until the next 24‑hour window.
Will the backup include attachments?
Attachments are stored inside the .mbox file exactly as they appear in the original messages, so they are fully preserved.
Do I need to keep my Gmail account active after backing up?
No. The backup is a static snapshot. However, if you plan to use the client‑based method, the account must stay active while the client downloads the messages.
Can I automate the backup process?
Google does not provide an official API for scheduled Takeout exports, but you can script the client‑based method using Thunderbird’s command‑line options and a scheduled task to copy the local profile folder regularly.
Is the .mbox format readable on all operating systems?
The .mbox format is plain‑text and can be opened on Windows, macOS, and Linux with compatible email clients or simple text editors.