How to delete all emails in Gmail

To delete all emails in Gmail, use a computer: open All Mail, tick the Select box, click the link that selects every conversation, then click Delete. Everything moves to Trash, where Gmail erases it after 30 days, or at once if you click Empty Trash now. Back up with Google Takeout first.

Try free for 14 days

Then 27¢ a day. $0 today, card at sign-up.

Deleting everything is permanent once Trash is emptied, and Gmail's phone apps can only select 50 emails at a time. So the safe order is: export a copy, decide whether you need to delete everything or just the bulk, then delete from a web browser.

Step 1: Back up your email first

Once Trash is emptied, Google cannot restore your mail. Take a copy you can search later, even if you think you will never need it. Tax records, receipts and account recovery emails are easy to forget.

  1. Go to takeout.google.com while signed in to the Gmail account.
  2. Click Deselect all, then tick Mail.
  3. Click Next step, choose to get a download link by email, and pick Zip.
  4. Click Create export.

Google emails you when the archive is ready. That can take from a few minutes to a few days for a large mailbox, and the download link expires after about a week. Your mail comes as an MBOX file that most desktop mail apps can open, with each message's Gmail labels kept.

Step 2: Decide what "all" means

Most people who search for this want a fresh start, not an empty account. Consider which of these you need:

GoalWhere to delete from
Empty inbox, keep the historyArchive instead: select all in Inbox, click Archive
Free up storageDelete large and old mail only (see Step 4)
Remove every email in the accountAll Mail, then Trash and Spam
Remove one sender or labelSearch from: or label:, then delete the results

Archiving moves mail out of the inbox but keeps it searchable in All Mail. If your goal is inbox zero, archiving gets you there without losing anything.

Step 3: Delete all emails on a computer

  1. Open Gmail in a web browser.
  2. In the left menu, click More, then All Mail. (Choose Inbox instead to delete only what is in your inbox.)
  3. Tick the Select checkbox above the email list. Gmail selects the emails on the current page.
  4. A notice appears above the list, such as "Select all 2,000 conversations in All Mail". Click it.
  5. Click the Delete (trash can) icon.
  6. Confirm the bulk action when Gmail asks.

A very large mailbox can take several minutes. Keep the tab open until the list empties. If you spot a mistake at once, click Undo in the notice at the bottom left.

Step 4: Delete by search instead

A search lets you clear most of the clutter while keeping what matters. Type one of these in the search box, tick Select, click the link to select all conversations that match the search, then click Delete.

SearchWhat it deletes
older_than:2yEverything more than two years old
before:2024/01/01Everything before January 1, 2024
larger:10MEmails over 10 MB, the fastest storage win
category:promotions older_than:6mPromotions older than six months
category:socialSocial network notifications
is:unread older_than:1yUnread mail more than a year old
from:example.comEverything from one sender's domain

Add -is:starred to any search to protect starred emails, for example older_than:2y -is:starred. To build a search without remembering the syntax, use our free Gmail filter and search builder, no sign-in. For promotions specifically, see how to delete all promotions in Gmail.

Step 5: Delete emails on Android or iPhone

The Gmail app works in batches of 50:

  1. Open the Gmail app and go to the folder you want to clear.
  2. Touch and hold one email.
  3. Tap the box next to Select all at the top left. Gmail selects up to 50 emails.
  4. To add 50 more, scroll to the top and tap Select all again.
  5. Tap Delete.

This is fine for a few hundred emails. For a whole account, a computer takes minutes instead of an afternoon. If you do not have one, a phone's web browser set to the desktop version of Gmail is a workable fallback.

Step 6: Empty Trash and Spam

Deleted mail still counts against your 15 GB of Google storage, which Gmail shares with Drive and Photos, until it leaves Trash.

  1. In the left menu, click More, then Trash.
  2. Click Empty Trash now.
  3. Open Spam and click Delete all spam messages now.

On the Gmail app, tap Menu, then Trash, then Empty trash now.

Emptying Trash cannot be undone. Google notes that storage totals can take a couple of days to update after a large deletion. Without this step, Gmail permanently removes messages from Trash after 30 days on its own.

Changed your mind? You have 30 days

Until Trash is emptied, nothing is lost. Open Trash, select the emails, and click Move to, then Inbox. Search inside Trash with in:trash plus a sender or word to find specific messages. Drafts are the exception: Google says a deleted draft cannot be recovered from Trash.

Keep it from filling up again

A clean account fills back up within months unless new mail is handled as it arrives. Unsubscribe from senders you never read using Gmail's Manage subscriptions view (More, then Manage subscriptions), and set filters that archive newsletters. If you would rather not maintain filters, Inbox Hero sorts new mail into Later, Newsletters, Notifications, Shopping and Fraud folders automatically and checks every new email for scams. It costs 27¢ a day ($99 a year) after a 14-day free trial: $0 today, card at sign-up, cancel any time. Our Gmail cleanup guide has the full routine.

Frequently asked questions

How do I delete all emails in Gmail at once?

On a computer, open All Mail, tick the Select box above the list, click the link that selects every conversation, then click Delete. Everything moves to Trash. Empty Trash to remove it permanently, or Gmail does so after 30 days.

Can I delete all Gmail emails on my phone?

Not in one step. The Gmail app's Select all picks up to 50 emails at a time, so you repeat it. To clear thousands of emails, open Gmail in a web browser on a computer.

Can I get deleted Gmail emails back?

Yes, for 30 days. Open Trash, select the emails and move them back to the inbox. After 30 days, or after you click Empty Trash now, they are gone for good, so back up first.

Does deleting all my emails delete my Gmail account?

No. Your address, contacts, labels and filters stay, and new mail keeps arriving. Deleting the account itself is a separate step in your Google Account settings.

How do I back up Gmail before deleting everything?

Use Google Takeout at takeout.google.com: deselect everything, tick Mail, and create the export. Google emails you a download link when it is ready, which can take from minutes to a few days for a large mailbox.

Take back your inbox today

Connect Gmail or any mailbox in one click. Inbox Hero files the noise, drafts your replies, and quarantines phishing. Try it free for 14 days: $0 today, card at sign-up, cancel any time.

Try free for 14 days

Updated .Menu names as Gmail shows them in 2026.

Security and privacy

Reviewed by Google. Tested by an independent lab.

Before you connect Gmail, here is what keeps your inbox safe with us, in plain words.

Portrait of Mike Jones

Trusted by Mike Jones and Science Inc., the team behind Dollar Shave Club

“I built Inbox Hero for my own inbox and use it every day. I’d never ask you to trust it with yours if I didn’t.”

Mike Jones
Founder and CEO, Science Inc. Former CEO, Myspace.

Track record

  • Science Inc.Founder and CEO
  • Dollar Shave ClubBuilt at Science
  • Liquid DeathEarly investor
  • MyspaceFormer CEO

Science is the Los Angeles studio and venture firm behind Dollar Shave Club and an early investor in Liquid Death.

Available on the App Store for iPhone Read our privacy policy