How to delete all unread emails in Gmail at once, even 100,000
Gmail only selects 50 messages at a time, but one link selects every unread email in your account. Here is how to delete, archive or mark them all as read safely, on a computer and on a phone, and how to keep the pile from coming back.
By Mateus RapiniUpdated 6 min read
You can delete all unread emails in Gmail at once, whether you have 500 or 100,000, in about two minutes on a computer. The catch is that Gmail only selects the 50 messages on the current page, and the link that selects the rest is easy to miss. This guide shows that link, the searches that protect the mail you want to keep, what to do on a phone, and how to keep the unread count from climbing back.
If you are here because the counter says 38,412, you are in good company. Most people I talk to have a pile like that. It is rarely a sign of disorganisation: it is what happens when opening each piece of obvious junk costs more effort than it is worth.
Before you delete: pick the right action
Deleting is not the only way to clear the counter, and it is not always the best one. Three actions, and what each leaves behind:
| Action | The unread counter | The messages | Can you undo it? |
|---|---|---|---|
| Mark as read | Goes to zero | Stay in the inbox, searchable | Yes, any time |
| Archive | Goes to zero | Leave the inbox, stay in All Mail and search | Yes, any time |
| Delete | Goes to zero | Go to Trash, removed for good after 30 days | For 30 days, from Trash |
If you only want the number gone, mark as read or archive. Nothing is lost, and a receipt you need in March is still one search away. Delete when you also want the storage back, or when you are sure the pile is worthless.
Delete all unread emails in Gmail on a computer
These steps work in Gmail in any desktop browser.
- Search for unread mail. Type
is:unread in:inboxin the search bar and press Enter. Leave outin:inboxif you also want unread mail that was archived or labelled. - Select the first page. Click the empty checkbox at the top left, above the list. Gmail selects the 50 conversations on this page.
- Select everything that matches. A line appears above the list: "All 50 conversations on this page are selected. Select all conversations that match this search". Click the second part. Now every unread conversation is selected, not only the first 50.
- Choose the action. Click the trash icon to delete, the archive icon to archive, or the open-envelope icon to mark as read.
- Confirm. Gmail asks you to confirm a bulk action. Click OK.
With a very large pile, Gmail works through it in the background and the counter can take a few minutes to catch up. Refresh the page after a while. If some messages remain, run the same steps again.
A note on "conversations": with conversation view on (the default), Gmail selects whole threads. A thread counts as unread when any message in it is unread, so deleting it deletes the read replies in it too. If that matters, archive instead of deleting, or turn conversation view off in Settings first.
Safer searches: delete the junk, keep the rest
The search in step 1 decides what gets selected. You can make it much safer by excluding what you care about. Some useful building blocks:
older_than:6monly matches mail older than six months. The recent pile is the one most likely to hold something you still need.-is:starred -is:importantleaves out starred mail and the mail Gmail marked as important.category:promotionsorcategory:sociallimits the search to one tab, where most of the junk usually sits.-from:(yourbank.com)excludes a sender or a whole domain. Add one for your bank, your employer and your family.has:attachmentfinds mail with attachments, if you want to review those first.
A search that suits most people as a first pass:
is:unread in:inbox older_than:3m -is:starred -is:important
Run it, look at the first page to check nothing important is in there,
then follow steps 2 to 5. Afterwards, run is:unread in:inbox again and
look at what is left. It is usually small enough to go through by hand.
On a phone
The Gmail app for Android and iPhone has no "select all conversations that match this search" link. You can long-press to select messages one by one, which does not help with thousands.
The practical options:
- Use a computer once. This is the fastest route by far, and the cleanup only needs to happen once.
- Use the browser on your phone. Open gmail.com in Safari or Chrome, switch the page to the desktop version from the browser menu, and follow the computer steps. It is fiddly on a small screen, but it works.
In Outlook
If your pile is in Outlook.com or Hotmail rather than Gmail, the idea is the same. In Outlook on the web, use the filter menu above the message list to show unread mail only, tick the checkbox that selects all messages, and choose Delete, Archive or Mark as read. For recurring senders, Outlook's "Sweep" can delete everything from one sender and keep deleting future mail from them. If junk keeps reaching your Outlook inbox, the guide to the Outlook spam filter not working covers the settings to check.
Free up the storage too
Deleted mail sits in Trash for 30 days and still counts against your Google storage until then. If storage is the reason you are cleaning, open Trash in the left-hand menu and click "Empty Trash now". This cannot be undone, so do it after you are sure.
Why the pile comes back, and how to stop it
A clean inbox refills at the same rate it filled the first time. The same stores, apps, newsletters and notification systems keep sending, and new ones join every time you buy something or sign up for a tool. The free ways to slow it down are:
- Unsubscribe from legitimate senders you no longer read, using the link Gmail shows next to the sender name. Never use unsubscribe links inside obvious scams. The guide on how to stop promotional emails in Gmail covers this and the Promotions tab in detail.
- Create a filter for each steady pattern, for example one store's marketing domain, with the action "Mark as read" or "Skip the Inbox".
- Report real spam instead of deleting it, so Gmail learns.
The guide on why the Gmail spam filter seems not to be working explains why so much of this mail gets past Gmail in the first place, and how to set those filters up.
These steps work, but they are a chore that never finishes, which is how most piles got there. This is the part I built QuietMail for. You describe what counts as noise in plain words, such as "sales pitches", "newsletters I never open" or "app notifications, unless they are about a payment", and an AI model reads a copy of each new message and decides whether it matches. If it does, plain code marks it as read, moves it to Spam or moves it to Trash, whichever you chose, and the activity log shows each decision with an Undo.
To be clear about what it does not do: QuietMail is not a tool for the one-off purge of years of old mail. When you connect an inbox, it goes through the unread mail from the last 35 days, not the whole history. For older unread mail it can do one thing: mark it all as read, in every folder, and keep doing so as mail ages. It never deletes it, so if you want the old pile gone, that is still a job for the steps above. If you want a tool built for bulk cleanup by sender, Clean Email is strong at that, and the Clean Email alternative page compares the two honestly. Many people use a bulk cleaner once and something like QuietMail from then on.
QuietMail works with Gmail and Google Workspace, Outlook.com and Hotmail, and Zoho Mail. The free plan covers one inbox with no card and 80 AI calls a month, and paid plans start at $4.99 a month. The pricing page has the details.
Quick answers
Is there a way to delete all unread emails in Gmail on the app? Not directly. The app cannot select everything that matches a search. Use a computer, or gmail.com in your phone's browser switched to the desktop version.
Will deleting unread emails delete read ones too? Only if they are in the same conversation as an unread message and conversation view is on. Archive instead, or turn conversation view off first.
Can I get them back? Deleted mail stays in Trash for 30 days, unless you empty the Trash. Archived and marked-as-read mail never goes anywhere.
How long does it take? Selecting takes seconds. Gmail then processes a very large pile in the background, which can take several minutes.
Try it
Let the noise go quiet on one inbox, free
QuietMail is an AI anti-spam for Gmail, Outlook and Zoho Mail. The free plan covers one inbox with no card and 80 AI calls a month. Paid plans start at $4.99 a month.
Compare
Weighing your options?
- SaneBox alternative · how QuietMail compares
- Clean Email alternative · how QuietMail compares
- AI Gmail filter · how QuietMail compares
- Security · what the AI can and cannot do to your mailbox
Keep reading
- How to stop promotional emails in Gmail, and keep the ones you want
Unsubscribe the right way, let the Promotions tab and a few filters do the sorting, silence the notifications on your phone, and know what to do when new stores keep finding you. Free steps first, on a computer and in the Gmail app.
- Gmail spam filter not working? Why junk still reaches your inbox
Gmail's spam filter is not broken. It was built for scams, not for the sales mail, newsletters and notifications that pile up unread. Here is how to tell which problem you have, the free fixes that work, and where an AI anti-spam fits.
- Email prompt injection: how one email can hijack your AI assistant
An email you never open can carry hidden instructions for the AI assistant that reads your inbox. How email prompt injection works, the real cases so far, what you can do today, and how a mailbox-side guard can stop it before your assistant sees it.