Blog/ Gmail how-tos

How to Find Large Attachments in Gmail and Clear Space

Nafiul HasanNafiul Hasan· 11 min read
Illustration showing Gmail search operators filtering emails by attachment size, with large files identified and cleared to free Google storage quota

The short answer

Type has:attachment larger:10m in the Gmail search bar to list every message with an attachment over 10 MB. Lower to larger:5m for a broader sweep of mid-size files. Once you have found the offenders, delete the messages and empty Trash to reclaim the storage — saving to Drive alone does not free Gmail space.

Find large attachments in Gmail using the has:attachment larger:10m search operator, then delete or save to Drive to reclaim Google storage.

On this page
  1. 01The short answer: the search operators that surface large attachments
  2. 02Before you start: confirm Gmail is actually the problem
  3. 03How to find and clear large attachments in Gmail
  4. 04What you can do from each platform
  5. 05What to do when it does not work as expected
  6. 06A faster way to handle attachment-heavy email

A small number of emails are responsible for most of what fills a Gmail account. Plain-text messages from years of correspondence weigh almost nothing — a decade of them barely touches a gigabyte. What eats storage is the 40 MB slide deck a colleague forwarded, the video someone shared in a thread, the PDF invoice archive from two years ago. Gmail gives every free account 15 GB shared across Gmail, Drive, and Google Photos. When large attachments accumulate, that quota fills faster than most people expect.

How to find large attachments in Gmail is one question. How to actually reclaim the storage once you have found them is the other. This guide covers both, using Gmail's built-in search operators — no extensions or third-party tools required.

The short answer: the search operators that surface large attachments#

Gmail's size search operator filters messages by the presence of an attachment above a threshold. The operator most people need is `has:attachment larger:10m` — type it in the Gmail search bar and press Enter. Gmail returns every message in your account, including Sent, archived mail, and Trash, that carries an attachment larger than 10 MB.

Adjust the threshold to match what you are looking for. `larger:25m` finds only the very largest files first. `larger:5m` casts a wider net and captures mid-size attachments that add up over time. You can also stack operators: `has:attachment larger:5m older_than:2y` finds attachment-heavy mail from more than two years ago, which is usually the safest place to delete freely because the files are rarely still needed.

Search operatorWhat it findsWhen to use it
has:attachment larger:10mMessages with any attachment over 10 MBFirst sweep — catches the biggest offenders quickly
has:attachment larger:5mMessages with any attachment over 5 MBBroader sweep after the first round clears the largest files
has:attachment larger:25mMessages with any attachment over 25 MBWhen you only want to touch the very largest files
has:attachment larger:5m older_than:2yAttachment-heavy messages older than two yearsSafest deletions — old files are rarely still needed
larger:10mMessages where total size (body + attachments) exceeds 10 MBCatches large inline images and base64-encoded content the attachment filter may miss
has:attachment larger:5m from:[email protected]Attachment-heavy mail from a specific senderUseful for recurring senders who regularly forward large files

Before you start: confirm Gmail is actually the problem#

Gmail, Google Drive, and Google Photos share a single 15 GB pool on every free Google account. Before you spend time cleaning Gmail, spend 60 seconds confirming it is actually where the storage is going. Open storage.google.com while signed in — it shows a real-time breakdown across all three services with separate figures for each.

If Google Photos is consuming 12 of your 15 GB, no amount of email deletion will meaningfully change the total. The steps in this guide are specific to Gmail. If Drive or Photos is the main consumer, those services have their own cleanup flows that will have a larger impact on your quota.

If Gmail is the culprit, continue — the search operators below will surface the messages responsible.

How to find and clear large attachments in Gmail#

Work through these steps in order from a desktop browser. The Gmail mobile app runs the same search queries, but some actions — particularly saving attachments to Drive and removing them from an email — are more reliable on the web.

  1. 1

    Run the size search from the Gmail web interface

    Open gmail.com in a desktop browser. In the search bar at the top, type `has:attachment larger:10m` and press Enter. Gmail returns every message in your account — including Sent, archived mail, and Trash — that carries an attachment above the 10 MB threshold. If the result list is short, lower the threshold to `larger:5m` and re-run. If it is very long, raise it to `larger:25m` to deal with the largest files first.

  2. 2

    Work from the largest files downward

    Gmail's default search results are sorted by relevance, not size. To work efficiently from largest to smallest, run the search at a high threshold first — `larger:25m` — clear those results, then step the threshold down to `larger:10m`, clear again, and finally `larger:5m`. This staged approach processes the files that consume the most storage first and gives you a clear sense of progress. A handful of very large messages often accounts for the majority of wasted space.

  3. 3

    Open each message and decide what to keep

    For each message in the results, decide whether you need the attachment, the email thread, both, or neither. In most cases the thread itself has little value — it is the delivery vehicle for the file, not the file itself. If you have already received and used the file, deleting the whole message is the fastest option. If you need to preserve the thread, save the attachment to Drive first, then delete the original message.

  4. 4

    Save attachments to Drive before deleting (when you need the file)

    Hover over the attachment thumbnail in the Gmail web view. A Google Drive icon appears — click it to save a copy to your Drive. The file is now stored at a stable Drive link. Note that saving to Drive does not automatically free Gmail storage: the original attachment stays in the Gmail message and still counts toward your quota. The next step — deleting the source email — is what actually frees the space. Save to Drive first to protect the file, then delete the Gmail message.

  5. 5

    Delete messages and empty Trash to reclaim storage immediately

    Select the messages you want to remove and click Delete. Deleted messages move to Trash, where they still count against your 15 GB quota for up to 30 days. To reclaim the space right away, go to the Trash folder and click 'Empty Trash now.' The storage is freed as soon as Trash is emptied. For large batches, use the checkbox at the top of the search results page to select all matched results and delete them in one action — Gmail applies the deletion to every matched message, not just those visible on screen.

  6. 6

    Verify the space is reclaimed

    After emptying Trash, return to storage.google.com and refresh the page. The Gmail figure should have dropped. If it has not updated immediately, wait up to an hour — Google's storage accounting can lag behind recent large deletions. Re-run `has:attachment larger:5m` to confirm no large attachments remain that were missed.

What you can do from each platform#

The full workflow above works best from a desktop browser. The Gmail mobile app and other surfaces have a narrower range of available actions.

Diagram showing a ranked list of Gmail messages ordered from largest to smallest attachment size, with the top entries selected for deletion to maximise storage recovered per action
Working from the largest files downward is the most efficient approach — the top few results typically account for the majority of attachment storage consumed.
PlatformRun size searchSave attachment to DriveSelect all results and deleteEmpty Trash
Gmail web (desktop browser)Yes — full operator support including has:attachment, larger:, older_than:, from:Yes — Drive icon appears on hover over each attachment thumbnailYes — select-all checkbox applies to all matched results, not just visible onesYes — 'Empty Trash now' link at the top of the Trash folder
Gmail mobile app (iOS / Android)Yes — search operators run correctly, but results cannot be sorted by size within the appPartial — the Drive save icon appears on some file types but is not consistently available across all attachment formatsPartial — 'select all' only covers messages visible on screen, not all search resultsYes — open Trash, tap the three-dot menu in the folder header, then select Empty Trash
storage.google.comNo — shows a breakdown by service but does not run Gmail search queriesNoNoNo — links through to Gmail for cleanup actions
Google One appNoNoNoNo — shows quota totals and links to individual services to take action

What to do when it does not work as expected#

A few situations where the expected result does not happen, and how to resolve each.

SymptomLikely causeFix
Search returns no results even though large attachments existGmail's search index can lag behind recently arrived mail, or the message may be in Spam or TrashWait a few minutes and re-run. Search all locations with `has:attachment larger:10m in:anywhere` to include Spam and Trash in results
Deleted messages but storage number has not changedDeleted messages remain in Trash for 30 days and count toward quota until Trash is manually emptiedOpen Trash and click 'Empty Trash now' — storage reclaims immediately after this step
Emptied Trash but storage.google.com still shows the same numberGoogle's storage accounting can take up to one hour to update after large deletionsWait up to one hour and refresh. If still unchanged, use the 'Free up space' tool at storage.google.com which forces a re-scan
Search results include messages you thought you already deletedThose messages are in Trash and still indexed as part of the mailbox in searchAdd `-in:trash` to the query to exclude Trash: `has:attachment larger:10m -in:trash`. Or empty Trash first — those messages then disappear from search results
Saved attachment to Drive but Gmail storage did not decreaseSaving creates a Drive copy; the original attachment remains in Gmail and still countsDelete the Gmail message after saving to Drive, then empty Trash. The Drive save preserves the file; the deletion frees the Gmail storage

Saving to Drive does not free Gmail storage

This is the most common mistake in the process. Clicking the Drive icon on an attachment creates a copy in Drive while the original stays in Gmail — both now count against your shared 15 GB quota, so the total can briefly increase. To actually reclaim space, delete the Gmail message after saving, then empty Trash. The save protects the file; the deletion is what frees the storage.

A faster way to handle attachment-heavy email#

Running a manual search every few months, reviewing results page by page, and emptying Trash is a working process — but it is also a recurring task. Large attachments keep arriving, and the storage bar keeps creeping back up toward the limit.

We build AI Emaily, an AI-native email client that connects Gmail, Outlook, and IMAP accounts. Its smart search runs the same operator-style queries across your full mailbox and lets you act on entire batches in one step — find, select, and clear a sweep of attachment-heavy threads rather than working through them one by one. You can also set rules to automatically file or archive recurring senders who regularly forward large files, so those attachments never pile up in the first place. There is a 7-day free trial — see the AI Emaily pricing page for current plan details, or visit the homepage to learn more.

Frequently asked

Nafiul Hasan

Written by

Nafiul Hasan

Nafiul Hasan is an entrepreneur and AI automation system builder with 10+ years of experience turning messy, manual workflows into reliable automated systems. He designs and ships AI enterprise solutions end-to-end — the agent logic, the data plumbing, and the product people actually use — and founded AI Emaily to give busy professionals their attention back. He writes here from the builder's seat: what works, what breaks, and how to put AI to work without giving up control.

EntrepreneurAI Automation System BuilderAI EnthusiastBuilds AI Enterprise Solutions10+ years experience
More from Nafiul
Ready when you are

Stop running quarterly attachment cleanups.

AI Emaily's smart search finds attachment-heavy threads in seconds. Set rules to file recurring bulk senders before they pile up. 7-day free trial, no commitment.

  • 7-day free trial
  • Cancel anytime
  • Every provider