Blog & Guide » Backup » How to Backup Gmail Emails

How to Backup Gmail Emails

  author
Leena Taylor Paul   
Updated: Backup • 10 Min Read

Backup Gmail emails using Google Takeout, IMAP, or a Gmail backup tool

Summary: To back up Gmail emails, use Google Takeout for a free full-mailbox export as MBOX files, sync to Outlook or Thunderbird over IMAP for a live local copy, enable Gmail Offline in Chrome for short-term offline access, or run a dedicated Gmail backup tool to export to PST, EML, MBOX, or PDF with folder-level filters.

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.

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

Google Takeout homepage to start Gmail backup

  • 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.

select Gmail labels in Takeout

  • 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.

Takeout delivery method options

  • 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.

Takeout archive size

  • 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.

See all settings in Gmail

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

enable IMAP in Gmail

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.

Step 3: Configure Outlook, Thunderbird, or Apple Mail

In Outlook desktop, go to File > Add Account. Enter your Gmail address.

Add Gmail account in Outlook

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.

Gmail account added successfully in Outlook

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.

Save Gmail offline settings

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.