This guide shows you how to locate emails with the largest attachments in your Gmail account and delete them to free up storage space. You’ll use Gmail’s built-in search operators to identify these messages, then remove the attachments directly from the email thread. This works on the free version of Gmail and with Google Workspace accounts.
What You’ll Need
- A Gmail account (free or Workspace).
- Access to Gmail in a web browser (Chrome, Firefox, Safari, Edge). The steps also work in the Gmail mobile app, though the menus differ slightly.
- Your Gmail storage quota details: check how much space you’re using by going to Google Account → Storage.
Step-by-Step
- Open Gmail in your browser and sign in to the account you want to clean up.
- Click the search bar at the top of the page. This is the same box you use to search for emails.
- Type the size filter. To find emails with attachments larger than a specific size, use the operator
size:followed by the number of bytes. For example:size:5Mfinds emails larger than 5 megabytes.size:10Mfinds emails larger than 10 megabytes.size:20Mfinds emails larger than 20 megabytes.
You can also use
larger:10Mwhich does the same thing. Start with a higher threshold likesize:20Mto see the biggest offenders first. - Add the
has:attachmentoperator (optional but recommended) to ensure you only see messages with files attached. Your full search query becomes:has:attachment size:20M - Press Enter to run the search. Gmail displays a list of all emails matching that size and attachment criteria.
- Sort by newest or oldest using the “Sort” dropdown at the top of the message list if you want to see the most recent large emails first.
- Open each email that you want to clean up. You don’t need to delete the whole email—just the attachment.
- Hover your mouse over the attachment at the bottom of the email. A small trash can icon appears on the right side of the attachment’s name.
- Click the trash can icon to remove the attachment. Gmail will ask you to confirm. Click Delete.
- Repeat for other large emails. If you have many, you can also use the
from:operator to target a specific sender, e.g.,from:newsletter@example.com has:attachment size:5M. - Check your storage progress. Go to Google Account → Storage to see how much space you’ve freed. It may take a few minutes for the number to update.
- Empty the trash. Deleted attachments go to your Gmail Trash (and the email’s original copy remains). To permanently free the space, go to Trash on the left sidebar, then click Empty Trash now. This is permanent and cannot be undone.
Common Mistakes
- Using the wrong size units. Gmail’s
size:operator uses megabytes (M) and gigabytes (G). 1M = 1,048,576 bytes. Don’t confusesize:10Mwith 10 megabytes vs. 10 million bytes—Gmail interprets M as megabytes. - Only deleting the email, not the attachment. If you delete the entire email, the attachment goes with it, but you lose the message text too. If you only want to remove the file, use the trash icon on the attachment itself.
- Forgetting to empty the Trash. Deleted attachments stay in Trash for 30 days by default and still count against your storage until permanently deleted. Always empty the Trash after a cleanup session.
- Searching with a space in the size.
size: 20M(with a space) won’t work. The operator must be written assize:20Mwith no space. - Not checking Google Drive and Photos. Gmail storage is shared with Google Drive and Google Photos. If you’re still over quota after cleaning Gmail, check those services too.
Tips
- Use the
before:andafter:date filters. Combine them with size to target old emails. For example,has:attachment size:10M before:2020/01/01finds large attachments from before 2020, which are likely less important. - Search by sender. If you know a specific sender (like a shipping notification service) sends large PDFs, use
from:tracking@example.com has:attachment size:5M. - Create a filter for future large attachments. You can set up a filter that automatically labels or archives emails with large attachments, so they don’t clutter your inbox. Go to Settings → Filters and Blocked Addresses → Create a new filter.
- Use the “Manage your Google Storage” page. It shows a breakdown of what’s using space (Gmail, Drive, Photos) and lets you buy more storage if needed.
- Download important attachments first. Before deleting, save the file to your computer or Google Drive if you might need it later.
Troubleshooting
- My search returns no results. Try lowering the size threshold. If
size:20Mfinds nothing, trysize:5M. Also make sure you’re not accidentally including a space in the operator. - The trash can icon doesn’t appear. This only works on regular email attachments, not on files that were shared via Google Drive links. If the attachment is a Drive file, you need to delete it from Google Drive itself, not from Gmail.
- Storage didn’t decrease after deleting. Check that you emptied the Trash. Also, Gmail’s storage count can take up to 24 hours to update. Wait a day and check again.
- I can’t find the Trash folder. It’s in the left sidebar, usually under “Spam”. If you don’t see it, click “More” at the bottom of the sidebar to expand the list.
- Deleting a large attachment from an email thread doesn’t free space. If the same attachment was sent to you multiple times (e.g., in a long conversation), you need to delete the attachment from each copy of the email that contains it. Search for
has:attachment size:10Mand check each message in the thread.
Frequently Asked Questions
Q: What is the maximum attachment size Gmail allows?
A: Gmail allows you to send emails with attachments up to 25 MB total. However, you can receive emails with larger attachments (up to 50 MB) from other providers, and those can still be stored in your Gmail.
Q: Will deleting an attachment from an email delete the email itself?
A: No. Removing the attachment keeps the email message text, subject, and sender information intact. Only the file is removed.
Q: Does deleting attachments from Gmail affect Google Drive storage?
A: No. Gmail attachments are stored in Gmail’s portion of your Google Account storage. Deleting them frees up that specific space. Files in Google Drive are separate, unless they were sent as Drive links in the email.
Q: Can I recover a deleted attachment?
A: If you delete an attachment, it goes to Gmail’s Trash along with the email. You can restore it within 30 days by going to Trash, opening the email, and clicking “Move to Inbox” or “Restore”. After 30 days or after emptying the Trash, it’s permanently gone.
Q: How do I find attachments larger than 25 MB?
A: Use the search has:attachment size:25M. This will find emails with attachments larger than 25 MB. Gmail can receive these, but they count heavily against your storage.
Q: Is there a way to see the total size of all attachments at once?
A: Gmail doesn’t show a total size for search results. You’ll need to check each email individually, or use the Google Account Storage page to see the overall Gmail usage.
Related
General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.
More in this bed
- How to Enable or Disable Exit Focus Mode in Windows Terminal
- Detect Ransomware on Palo Alto VPN
- Cross Browser Testing in Chrome: Step-by-Step
- Arc Browser Little Arc: What It Is & How to Set It Up
- I2C HID Touchpad Failure Error: Fixes
- Fix Mouse Lag on Windows 11: Top Ways