Since 2023, Google’s storage policy has a hard edge: accounts that exceed their quota for two consecutive years risk having Gmail messages, Drive files, and Photos deleted without recovery options for personal accounts. The 15 GB free tier has not grown since 2004, but the average inbox has grown enormously. The good news: most Gmail storage problems are caused by a few hundred heavy emails, not hundreds of thousands of small ones. The right search-select-all-empty-trash sequence clears the bulk in under five minutes. Here is the complete method.
Check What Is Actually Using Your Storage
Open one.google.com/storage in your browser. Google shows a per-service breakdown — Gmail, Drive, Photos — with exact gigabytes for each. Whichever is largest is where to clean first. Most people clean Gmail when Photos is the real culprit.
This is the single most important step most guides skip. The 15 GB shared quota is pooled across three services, and deleting emails accomplishes nothing if Drive or Photos accounts for 12 of the 15 GB.
Go to one.google.com/storage. Sign in with the account you want to clean. You’ll see three bars:
- Gmail: every email and its attachments
- Drive: every file you’ve uploaded, plus Google Docs, Sheets, and Slides are free and do not count
- Photos: every image and video backed up at original quality
Google also offers a “Free up account storage” wizard on that page. It surfaces your largest emails, Drive files sitting in Trash, duplicate photos, and blurry images — the lowest-effort way to recover several gigabytes before doing anything else.
If Gmail is the problem (and it often is, especially for accounts that have been active for 5+ years), keep reading. If Drive or Photos tops the list, the steps in our Gmail storage full guide cover those services in detail.
Delete Large Emails First (Biggest Impact)
In Gmail’s search bar, type has:attachment larger:10M to find every message over 10 MB. These are almost always video files, high-resolution photo sets, or scanned PDFs someone emailed you. Deleting the top 20 typically frees more storage than deleting 10,000 small messages.
This is the highest-return action. Most personal email is under 100 KB. A single screen recording or photo album sent over email can hit 50 MB. The math is unfavorable to small-message cleanup.
Useful search operators for large emails:
| Operator | What it finds |
|---|---|
larger:10M | Every message over 10 MB |
larger:25M | Only the heaviest items — fastest shortlist |
has:attachment larger:5M | Explicitly attachment-heavy messages |
larger:5M older_than:1y | Large mail that’s at least a year old — low regret risk |
size:10000000 | Same as larger:10M (bytes syntax) |
Full sequence:
- Open Gmail in a desktop browser (not the mobile app — the mobile app doesn’t offer the select-all-matching-search link).
- Type
has:attachment larger:10Min the search bar and press Enter. - Tick the master checkbox at the top-left of the message list. Gmail selects the visible 50 messages and shows: “All 50 conversations on this page are selected. Select all X conversations that match this search.”
- Click that blue “Select all X conversations…” link to expand the selection.
- Before deleting, scroll the list once. Look at senders and subjects. Exclude anything that looks like a contract, receipt for a major purchase, or medical document — you can right-click and “Remove from selection” for individual items.
- Click the trash icon. Confirm.
- Go to Trash and click “Empty Trash now” — covered in detail in the empty Trash section below.
When I ran this sequence on my own Gmail last year, the top 30 messages accounted for 6.3 GB. They were all video screen recordings and photo albums from 2019–2021 that had been sitting untouched. Saving the ones worth keeping to Drive first, then deleting the emails, recovered the space in under ten minutes.
Bulk Delete All Emails With Search Operators
Gmail’s search operators let you scope precisely what you delete — by age, category, sender, size, or any combination. The master pattern is: type the search, tick the checkbox, click “Select all X conversations that match this search,” then click the trash icon. Repeating this with different operators cleans years of accumulation methodically.
The key operators for bulk cleanup:
By age:
older_than:1y— everything older than one yearolder_than:2y— everything older than two yearsolder_than:6m— everything older than six months
By category (Gmail-auto-classified):
category:promotions— marketing and newsletter mailcategory:updates— transaction confirmations, alerts, and notificationscategory:social— social network notificationscategory:forums— mailing lists and group emails
By sender:
from:notifications@github.com— everything from one senderfrom:noreply older_than:1y— no-reply addresses older than a year
Combined — the safest bulk-delete queries:
older_than:2y category:promotions
Old promotional mail. Almost never regretted.
older_than:1y category:updates OR category:social
Year-old notification and social media emails. Safe to lose.
older_than:2y -is:starred -is:important
Two-year-old mail that you’ve never starred or flagged. Excludes anything Gmail or you explicitly marked as worth keeping.
from:noreply older_than:1y has:attachment
Auto-generated attachments (Zoom recordings, exported reports, calendar notifications with attached files) older than one year.
The full sequence for each query:
- Type the operator combination in Gmail’s search bar. Press Enter.
- Tick the master checkbox at the top-left.
- Click the blue “Select all X conversations that match this search” link.
- Click the trash icon. Confirm the dialog.
- Repeat with the next operator combination.
- When done with all deletions, open Trash and click “Empty Trash now.”
Important note on irreversibility. Once you empty Trash, messages are gone. Gmail support cannot recover permanently deleted messages on personal accounts. The Trash folder is your 30-day safety net — use it. Wait a day or two between deleting and emptying Trash the first time you run this, until you’re confident the right things were removed.
Empty Trash — The Step That Actually Frees Space
Deleting an email in Gmail moves it to Trash. It still counts against your 15 GB quota while it sits there. Gmail auto-purges Trash after 30 days, but emptying it manually reclaims the storage the same minute. This is the step most people skip, then wonder why their quota didn’t drop.
This is the most commonly missed step. I’ve seen people delete hundreds of emails, check their storage, see no change, and assume the process is broken. It’s not. The storage only drops when Trash is emptied.
Steps:
- In Gmail’s left sidebar, scroll down and click More to expand the folder list if needed.
- Click Trash.
- At the top of the Trash view, click “Empty Trash now.”
- Confirm the dialog.
Storage updates at one.google.com/storage within a few minutes. Refresh the page if it doesn’t update right away.
The 30-day safety buffer. Messages in Trash can be restored individually or in bulk for 30 days after deletion. Once you empty Trash manually, that option is gone for personal accounts. If you’re uncertain about a bulk delete, wait 24 hours before emptying Trash. Check the Trash folder for anything that looked important, restore it if needed, then empty.
What else counts toward your quota:
| Folder | Counts toward storage | Auto-purge |
|---|---|---|
| Inbox | Yes | Never |
| Sent | Yes | Never |
| Drafts | Yes (negligibly small) | Never |
| Spam | Yes | After 30 days |
| Trash | Yes | After 30 days |
| All Mail (Archives) | Yes | Never |
Archives (messages removed from inbox but not deleted) still count. If you’ve been archiving for years and wondering why storage won’t drop, the solution is to delete from All Mail, not just from the inbox.
Delete Spam and Hidden Storage Drains
Spam counts toward your storage quota until Gmail auto-purges it at 30 days. Emptying it manually recovers the space immediately. Similarly, messages archived to All Mail or sitting in any label folder all count — there is no “free” folder in Gmail except Google’s own system categories like Calendar.
Empty Spam:
- Click Spam in the left sidebar.
- Click “Delete all spam messages now.”
- Confirm.
Spam builds up fast on older accounts. Some inboxes I’ve checked had 2–4 GB locked in Spam alone, simply because the auto-purge hadn’t run yet and nobody had opened the folder in months.
Check All Mail for large archived threads. Gmail’s All Mail view shows every message regardless of folder, including ones you’ve archived. Running has:attachment larger:10M in:all surfaces large messages even if they’re not in the inbox. Delete them directly from All Mail results.
Drafts with attachments. Unlikely to be significant, but drafts with large file attachments count. Run has:attachment in:drafts and review.
What to Keep Before You Delete Everything
Before running any bulk delete operator, exclude categories that carry real-world consequences if lost: purchase receipts for items still under warranty, tax-related records, legal correspondence, and medical documents. A star-first pass takes three minutes and prevents permanent regret.
Safe to bulk-delete:
- Promotional mail older than 6 months (category:promotions)
- Social network notifications older than 1 year (category:social)
- Automated update emails — GitHub PR notifications, Trello card updates, Slack digests — older than 1 year
- Calendar invitation emails for events that have already passed
- OTP and two-factor authentication code emails — they expire in minutes
- Shipping confirmation and package-delivered notifications older than 1 year
- Newsletter digests and marketing bulletins you’ve never opened
Keep even when old:
- Purchase receipts for electronics, appliances, and large items — warranty periods run 2–5 years in many jurisdictions
- Tax-related emails. The IRS recommends keeping records for at least 3 years; longer for some situations. EU tax authorities vary by country but are generally similar
- Contracts, lease agreements, NDAs, signed documents of any kind
- Medical records, prescription confirmations, insurance correspondence
- Communications from banks, insurers, brokers, or government agencies — hold for 7+ years where local rules require it
- Family photos or documents sent by email — often irreplaceable if the sender no longer has access to their copy
The practical approach: before any major bulk delete, run is:unread older_than:2y to surface old unread messages. These are often newsletters you subscribed to but stopped reading — safe to delete. Then run is:starred to confirm your starred items are protected by your -is:starred exclusion operators.
Stop Gmail From Filling Up Again
A one-time cleanup buys time; stopping the inflow is the permanent fix. Most Gmail storage growth after a cleanup comes from three sources: recurring newsletter attachments, auto-uploaded phone photos (Drive or Photos), and large files from new senders. Addressing each source separately prevents the same cleanup from being necessary every quarter.
For newsletter and marketing email buildup:
The most effective intervention is unsubscribing at the source rather than deleting after the fact. RFC 8058 — the one-click unsubscribe standard that Google and Yahoo began enforcing in February 2024 for high-volume senders — means the List-Unsubscribe header on most marketing email is now actually functional. Hitting that endpoint removes you from the sender’s list, not just your Gmail view.
Running from:noreply older_than:6m category:promotions every six months and deleting the results takes about two minutes. Combining that with unsubscribing from the 10 heaviest newsletter senders removes the source.
For phone photo storage:
If Google Photos is backing up at original quality, every photo and video your phone takes goes straight against your quota. Switch to Storage saver mode (formerly High quality) under Photos Settings → Backup → Backup quality. Visually indistinguishable for most users, storage impact is dramatically lower.
For large email attachments going forward:
Create a Gmail filter: in the “Has the words” field, type has:attachment larger:10M, choose “Delete it” and check “Apply to matching conversations.” This auto-deletes very large incoming attachments from automated senders — calendar exports, system backups, bulk reports — before they accumulate. Use carefully: review what it catches for the first week to make sure you’re not auto-deleting wanted files.
Quarterly maintenance routine that works:
- Run
size:10min Gmail. Five minutes, delete what’s no longer needed. - Visit one.google.com/storage, walk through the “Free up account storage” wizard.
- Check Google Photos is still set to Storage saver mode.
- Review the top five newsletter senders by volume — unsubscribe from any you haven’t read in 3 months.
What This Guide Does Not Cover
A few cases sit outside the standard delete-all sequence:
- Google Workspace accounts (work or school): storage quota is administrator-managed and may be much larger than 15 GB. The deletion steps are identical; the upgrade path differs (admin-controlled, not Google One). Some Workspace accounts use Vault for compliance holds — deleting from Workspace Gmail may not physically remove the data from Vault.
- Shared Drives: files in Shared Drives count against the Drive owner’s quota, not contributors’. If your Drive shows nearly full but you only have “Shared with me” files, contact the file owner.
- Recovering deleted emails: once Trash is emptied, Gmail messages are permanently gone for personal accounts. Google Workspace admins have a 25-day recovery window via the Admin Console. If you accidentally emptied Trash, contact Google support immediately for a Workspace account; for personal accounts, recovery is not available.
- Third-party email migration: moving your Gmail archive to another provider (Outlook, ProtonMail, Fastmail) is outside the scope of this guide but is sometimes the right move for users who do not want to pay for more Google storage long-term.

Alexis Dollé, email expert for 10+ years. Founder of Email Tools. I test every email client and utility myself, then write about them the way I’d explain them to a friend — no marketing fluff, no sponsored rankings, every claim sourced.
LinkedInSources & references
- Google Support, “Search operators you can use with Gmail” — confirms
older_than:,larger:,has:attachment,category:,from:,is:starred,is:importantas supported operators. support.google.com/mail/answer/7190 - Google Support, “Delete or restore messages and threads in Gmail” — Trash 30-day retention, “Empty Trash now,” storage quota behavior of Trash and Spam. support.google.com/mail/answer/6558
- Google One Support, “Manage your Google storage” — 15 GB free-tier quota shared across Gmail, Drive, and Photos; per-service breakdown page. support.google.com/googleone/answer/9004502
- Google Support, “What happens if you reach your storage limit” — incoming email bounces when quota is exceeded, grace period behavior, upgrade options. support.google.com/googleone/answer/10657548
- Google Support, “Inactive Account and storage policies” — accounts exceeding quota for two consecutive years risk content deletion; personal accounts vs. Workspace recovery windows. support.google.com/accounts/answer/12418290
Frequently asked questions
Does deleting all emails in Gmail actually free up storage space?
Only after you empty Trash. Gmail moves deleted messages to Trash for 30 days before auto-purging. Until Trash is emptied, those messages still count against your 15 GB shared quota. To reclaim space immediately, open Trash and click “Empty Trash now.” Storage figures update at one.google.com/storage within a few minutes.
How do I select all emails in Gmail at once?
In Gmail on desktop, tick the master checkbox at the top-left of the message list. Gmail selects the visible 50 conversations and shows a blue link: “Select all X conversations that match this search” — click that to expand the selection to all matching messages. The Gmail mobile app does not offer this link; use the desktop browser or your mobile browser switched to desktop mode.
What is the fastest way to delete thousands of emails in Gmail?
Type a scoped operator like older_than:2y category:promotions in the search bar, tick the master checkbox, click “Select all X conversations that match this search,” then click the trash icon. Confirm. Then open Trash and click “Empty Trash now.” This handles thousands of emails in under two minutes on a desktop browser.
Will deleting emails free up Google Drive or Photos storage?
No. Gmail, Drive, and Photos share the same 15 GB pool, but each service must be cleaned separately. Deleting emails only affects the Gmail portion. Check the per-service breakdown at one.google.com/storage to see which service to clean first.
Can I delete all emails in Gmail without losing important ones?
Yes, with scoped operators. The safest approach: use older_than:2y category:promotions to target only old promotional mail, and add -is:starred -is:important to auto-exclude messages you’ve flagged. Star important emails before running any bulk delete, and use Trash as a 30-day safety net before emptying it.
How long does Gmail take to update storage after emptying Trash?
Usually within a few minutes. Storage figures at one.google.com/storage update shortly after you empty Trash. If the number hasn’t moved after 10 minutes, refresh the page — some accounts cache the figure briefly. Large deletions (tens of thousands of messages) may take slightly longer to fully reflect.
Related: Gmail storage full — what to do — covers Drive and Photos cleanup alongside Gmail. How to delete old emails in bulk — the date-range companion method. How to find and delete large emails — the size-based shortcut.