How to Backup Gmail Emails
Table of Contents
- Why Back Up Gmail Emails?
- Which Gmail Backup Method Should You Use?
- Method 1: Back Up Gmail with Google Takeout (Free)
- Method 2: Sync Gmail to a Desktop Client over IMAP
- Method 3: Enable Gmail Offline in Chrome
- Method 4: Use a Dedicated Gmail Backup Tool
- Common Errors and Fixes
- Frequently Asked Questions
Why Back Up Gmail Emails?
Gmail keeps deleted messages in Trash for only 30 days. After that, Google removes them permanently and you cannot restore them. If you have years of mail still on the server, learn how to export old emails from Gmail before they reach that risk window. Google does not give you a long-term personal archive outside that window.
A lost message is gone for good unless you keep your own copy. A local backup also protects you during a Google outage, when you leave Gmail for another provider, or when you must meet legal retention rules.
Common reasons to back up Gmail emails:
- Ransomware or account takeover: a compromised account can lose messages before you regain control. You may also need to extract specific emails from Gmail for legal hold or audit reasons.
- Accidental deletion: the 30-day Trash window is short if you don’t notice the loss quickly.
- Google outages: rare but disruptive. A local Gmail backup keeps critical mail accessible.
- Account migration: moving to Microsoft 365, Outlook, or a Workspace replacement needs a portable copy of your mail.
- Compliance and audits: some industries require multi-year retention beyond Gmail’s defaults.
Which Gmail Backup Method Should You Use?
Match the method to your goal. Then pick the format and destination that fit your storage and recovery plan. If you’re switching from another provider, you may want to import Yahoo Mail to Gmail before you back it up so everything sits in one mailbox. Admins coming from on-premises servers can follow our guide to migrate MDaemon to Gmail in the same way.
- Free, official, full mailbox export: Method 1 (Google Takeout).
- Live sync to a desktop client: Method 2 (IMAP with App Password).
- Quick offline reading in the browser: Method 3 (Gmail Offline in Chrome) or download Gmail emails for offline view.
- Selective backup to PST, EML, PDF with filters (also useful to transfer certain email folders from Gmail): Method 4 (dedicated Gmail backup tool).
Read Related GuidesHow to Backup Google Workspace Emails
Thunderbird to Microsoft 365 Migration Guide
Import PST Files into Microsoft 365
DBX Files to Gmail Import Guide
Roundcube to Gmail: Migration Guide
Method 1: Back Up Gmail with Google Takeout (Free, Official)
Google Takeout is Google’s native export tool. It packages your Gmail data as MBOX files and delivers the archive as a download link, or pushes it to Google Drive, OneDrive, Dropbox, or Box.
Use Takeout when you want a one-time or scheduled full Gmail backup at no cost.
What Google Takeout Backs Up
Takeout exports every email in your mailbox in MBOX format. This includes Inbox, Sent, Drafts, Spam, Trash, and all labels. It also exports attachments inside the messages.
However, Takeout doesn’t back up Google Contacts or Calendar by default. You must add those services in the export step if you need them.
Step-by-Step: Export Your Gmail with Google Takeout
- Sign in to your Google account and go to takeout.google.com.

- Click Deselect all, scroll to Mail, and check the box. By default all folders are included. Click All Mail data included if you want to pick specific labels.

- Click Next step. Choose a delivery method: Send download link via email, Add to Drive, Add to Dropbox, Add to OneDrive, or Add to Box.

- Choose Export once for a single backup. Or pick Export every 2 months for 1 year for six scheduled exports.
- Pick the file type (.zip or .tgz) and the maximum archive size (1 GB to 50 GB). Larger mailboxes are split into multiple files.

- Click Create export. Google emails you when the archive is ready. The wait can run from a few minutes to several hours depending on mailbox size.
Google Takeout for Google Workspace (Admin Export)
Individual Workspace users can run Takeout on their own mailbox the same way personal Gmail users do. This works as long as the admin has enabled the service.
For a domain-wide export covering every user, an admin must use the Data Export tool from the Admin console. This option appears for accounts older than 30 days with fewer than 1,000 users.
- Sign in to admin.google.com/ac/customertakeout.
- Click Start export. Google sends a completion notice when the archive is ready. Typically 72 hours, up to 14 days for large tenants.
For more detail on Workspace exports, see our guide on how to backup Google Workspace emails.
Method 2: Sync Gmail to a Desktop Client over IMAP
IMAP keeps a continuous copy of your mailbox in a desktop client like Outlook, Thunderbird, or Apple Mail. The same protocol also lets you migrate email from Gmail to cPanel or any other hosting account when you move providers. Every new message lands on your computer as soon as it arrives in Gmail.
Don’t get me wrong: IMAP also mirrors deletions. So if you delete a message in Gmail, the client removes it too. To keep an independent archive, copy the synced folders to a local PST or MBOX file on a schedule.
Step 1: Enable IMAP in Gmail
Open Gmail in a browser. Click the gear icon in the top right and choose See all settings.

Go to the Forwarding and POP/IMAP tab. Under IMAP access, select Enable IMAP and click Save changes.

Step 2: Generate an App Password (Required Since 2022)
Important: Google blocked Less Secure Apps in 2022. You must enable 2-step verification and generate an App Password to sign in from Outlook, Thunderbird, or Apple Mail.
- Go to myaccount.google.com/security. Enable 2-Step Verification if it’s not already on.
- Open myaccount.google.com/apppasswords. Enter an app name and click Create.
- Copy the 16-character password Google generates. Use this in place of your Gmail password when you configure the desktop client.
Step 3: Configure Outlook, Thunderbird, or Apple Mail
In Outlook desktop, go to File > Add Account. Enter your Gmail address.

When prompted for the password, paste the App Password, not your Gmail password. Outlook auto-detects IMAP settings (imap.gmail.com, port 993, SSL; smtp.gmail.com, port 587, STARTTLS). Click Done.

Thunderbird and Apple Mail follow the same pattern. Add a new account, enter the Gmail address, paste the App Password, and let IMAP populate the local folders.
Method 3: Enable Gmail Offline in Google Chrome
Gmail Offline is a Chrome-only feature. It caches recent messages so you can read, search, and write mail without an internet connection.
Here’s the thing: it’s not a true Gmail backup. You still need an online sync to recover lost messages. Treat it as a convenience layer, not a long-term archive.
- Open Gmail in Chrome. Click the gear icon and choose See all settings.
- Go to the Offline tab and check Enable offline mail.
- Choose how many days of mail to sync (7, 30, or 90). Also choose whether to include attachments, and how to handle cached data on logout.
- Click Save changes. Chrome caches the selected window of mail on disk.

To use offline mode later, open mail.google.com in Chrome while disconnected. Only the messages cached during the last online session are available.
Method 4: Use a Dedicated Gmail Backup Tool
A dedicated tool gives you the most control. You can pick file formats, filter messages, and back up to any local or network location. Most tools also support direct migration to other mailboxes.
Email Bakup is one such tool. It runs on Windows, supports OAuth and App Password sign-in, and writes to PST, EML, MBOX, PDF, HTML, CSV, or TXT.
Email Bakup tool highlights:
- Export Gmail to PST, EML, MBOX, PDF, HTML, CSV, or TXT.
- Direct migration to Microsoft 365, another Gmail mailbox, or any IMAP server (Yahoo, Outlook.com, iCloud, AOL, GoDaddy, and more).
- Filter by sender, subject, keyword, or date range before backup.
- Selective folder backup (Inbox only, Sent only, custom labels).
- Preview every message and attachment before export.
- Extract only attachments, only email addresses, or only phone numbers if needed.
Back Up Your Gmail Emails NowExport to PST, EML, MBOX, PDF and more. No credit card required.
Free trial · No credit card required
Common Gmail Backup Errors and Fixes
Username and password not accepted
This usually means you used your Gmail password instead of the App Password. To fix it, generate a new App Password and paste the 16-character string into your client.
IMAP sync is slow
Gmail throttles IMAP at high request rates. Limit Outlook to one connection and let large mailboxes sync overnight.
Takeout MBOX file too big to open
Use a free MBOX viewer or split the file with a converter. Most email clients accept MBOX over 5 GB only after a long import.
Frequently Asked Questions
Is Google Takeout free to back up Gmail?
Yes. Takeout is free for personal Gmail and Google Workspace accounts. There’s no per-GB fee. After the export, you can convert the Takeout archive to PDF documents if you want a readable copy.
Will backing up Gmail delete my emails from the cloud?
No. Google Takeout, Gmail Offline, and dedicated backup tools all copy messages without removing them from Gmail. IMAP clients can delete messages if you remove them locally, so disable that behavior in client settings.
How often should I back up Gmail emails?
For most users, a monthly Takeout export plus a continuous IMAP sync is enough. Regulated industries should run weekly or daily incremental backups with a dedicated tool.
Can I back up my Gmail account to an external hard drive?
Yes. Run Takeout with “Send download link via email” and save the resulting ZIP to an external drive. Backup tools can also write directly to an external drive path.
Does Gmail have built-in long-term archiving?
No. Gmail keeps deleted messages for 30 days in Trash and indefinite mail in All Mail. Google doesn’t offer a versioned long-term archive. You need a separate Gmail backup for true retention.
What’s the best format to back up Gmail emails?
It depends on what you need. PST works best for Outlook imports. MBOX is universal across most email clients. EML lets you open individual messages in any client. PDF is best for read-only archiving and legal holds.