# How to search emails with attachments in Gmail on Mac: step by step in your browser

> How to search emails with attachments in Gmail on Mac: type has:attachment in the search bar, then narrow results by file type, size, or folder.

URL: https://www.lazur.app/how-to/search-emails-with-attachments-in-gmail
Updated: 2026-11-07

In Gmail on a Mac, open mail.google.com in Safari or Chrome, click the search bar, type has:attachment, and press Return to list every message with a file attached. In Apple Mail, click the search field, type attachment, and choose Message with attachments.

## Quick answer

- Gmail on a Mac runs in your browser. Search at mail.google.com in Safari or Chrome.
- Type has:attachment in the search bar and press Return. Add filename:pdf or larger:10M to narrow it.
- Open Show search options to filter by sender, date, and folder. Spam and Trash are left out by default.
- Gmail replaces attachments over 25 MB on personal accounts with Drive links, so search for the link.
- In Apple Mail, use the search field or View > Filter, then pick the attachments option.

Applies to: Gmail in Safari or Chrome on macOS, and Apple Mail on macOS. Time: 4 min. Difficulty: Easy.

## What you need

- A Mac with Safari or Chrome installed
- Access to the Gmail account at mail.google.com
- Apple Mail set up with the Gmail account, if you search in Mail
- Keyboard shortcuts turned on in Gmail, if you want the / key

## How to Find emails with attachments in Gmail on Mac in Gmail on a Mac

1. **Open Gmail in your browser.** Open Safari or Chrome and go to mail.google.com. Sign in to the account that holds the emails you want. Google's help pages describe Gmail in the browser, so this is where the search happens. The search bar sits at the top of the page. Tip: In Chrome, an install icon at the top right of the address bar can install Gmail as a web app.
2. **Click the search bar.** Shortcut: /. Click the search bar at the top of the Gmail page. A cursor appears inside the box. If keyboard shortcuts are on, press / instead, and the cursor moves there for you. Tip: The / key only works when Gmail's keyboard shortcuts are turned on.
3. **Type has:attachment and press Return.** Shortcut: Return. Type has:attachment with no space after the colon. Press Return. Gmail lists every message that has a file attached.
4. **Add a file type or name.** Type filename:pdf after the operator so the search reads has:attachment filename:pdf. To find one exact name, type filename: followed by the name, such as filename:homework.txt. Press Return again to run the new search. Tip: Use a distinctive name. A common word returns more matches than you can check.
5. **Add a size limit.** Type larger:10M to find messages over 10 MB. A combined search looks like has:attachment larger:10M. Press Return to run it. Lower the number if you are not sure how big the file is. Tip: Delete larger:10M and press Return to widen the search again.
6. **Open Show search options.** Click the Show search options icon at the right end of the search bar. The advanced panel opens with fields for From, To, Subject, Has the words, Doesn't have, Size, and Date within. Tip: If you cannot see the icon, widen the window and look at the right end of the search bar.
7. **Fill only the fields you need.** Put a sender address in From, a word in Has the words, or a range in Date within. Empty fields are ignored. Keep the panel open while you try a few combinations before you search.
8. **Choose folders with the Search dropdown.** Open the Search dropdown in the panel. Choose the option that covers Mail, Spam, and Trash together when the file could be in either folder. Standard searches leave Spam and Trash out, so this step matters for missing mail. Tip: Use this dropdown before you conclude that an attachment is gone.
9. **Click Search and sort the results.** Click Search at the bottom of the panel. Gmail runs the search and shows the matches. Use the sort control above the results to switch between Most relevant and Most recent. Tip: Open the message to see the attachment inside it.

![Person at a Mac laptop learning how to search emails with attachments in Gmail on Mac](https://images.lazur.app/content-images/howto/search-emails-with-attachments-in-gmail/how-to-search-emails-with-attachments-in-1-70c782.jpg)

## Where to search Gmail on your Mac

Google's help pages describe Gmail in a web browser, so this page follows that route. Open mail.google.com in Safari or Chrome and sign in to the account you want to search. The search steps are the same in both browsers. Only the menus differ when you install or pin the page.

In Chrome, you can install Gmail as a web app. On some sites, an install icon appears at the top right of the address bar. If you do not see it, open the More menu, choose Cast, save, and share, then Install page as app. Chrome then adds Gmail as a separate app. The search steps do not change.

If you read mail in Apple Mail instead, the steps are different. They have their own section below. Pick the section that matches the app you open most.

Time spent hunting for information adds up. A Cottrill Research compilation cites an IDC figure that knowledge workers spend about 2.5 hours a day searching for information. That figure covers all information, not only attachments, so treat it as background rather than a measure of email search.

## The fastest search: has:attachment

Click the search bar at the top of Gmail. Type has:attachment and press Return. Gmail lists every message that has a file attached. You do not need to set anything up first.

has: is a search operator. Google's operator reference gives has:attachment as the way to find emails with attachments. Write it as one word with no space after the colon, the same way the help pages show it.

You can mix the operator with ordinary words. has:attachment invoice finds messages with a file attached that also contain the word invoice. Gmail reads the operator and the words as one search.

After the results load, check the sort control above the list. Most relevant puts the best matches first. Most recent puts the newest messages first. Switch between them when the email you want is buried.

## Find PDFs and large files with filename and size

filename: searches attachments by name or file type. Google's examples are filename:pdf and filename:homework.txt. Put it after has:attachment so the results only show messages with a matching file.

| Search term | What it finds | Example to type |
| --- | --- | --- |
| has:attachment | Any message with a file attached | has:attachment budget |
| filename:pdf | Messages with a PDF attached | has:attachment filename:pdf |
| filename:homework.txt | A file with that exact name | filename:homework.txt |
| larger:10M | Messages larger than 10 MB | has:attachment larger:10M |
| from: | Messages from one sender | has:attachment from:jane@example.com |

_Attachment search terms from Gmail's operator reference._

larger:10M finds messages larger than 10 MB. Google uses 10M as its example. Lower the number if you are not sure how big the file was.

Partial names work well. Try one distinctive word from the file name, such as a project code or an invoice number. A common word such as report returns many matches and buries the file you need.

## Use the Show search options panel

If you prefer a form, open the advanced panel. Click Show search options, the icon at the right end of the search bar. Its fields are From, To, Subject, Has the words, Doesn't have, Size, and Date within. A Search dropdown sits at the bottom of the panel.

Fill in only the fields you need. Put an address in From, add a word in Subject, and set Date within to a range you remember. When the panel is ready, click Search at the bottom. Gmail runs one search with every field you filled in.

Older guides describe a Has attachment checkbox in this panel. Google's current help page does not list one there. It describes a Has attachment chip under the search box instead. If you see neither on your screen, type the operator.

- **25 MB** Attachment limit on personal Gmail accounts. Larger files become Google Drive links. ([source](https://support.google.com/mail/answer/6584?hl=en))
- **2.5 hours** Hours a day knowledge workers spend searching for information, an IDC figure from 2013 cited by Cottrill Research ([source](https://cottrillresearch.com/various-survey-statistics-workers-spend-too-much-time-searching-for-information/))

## Filter results with the Has attachment chip

Run a search first, then look under the search box. Gmail Help lists chips such as Has attachment:, From:, To:, Any time:, Is unread:, and Exclude calendar updates:. Click Has attachment: to narrow the list you already have.

Chips help when you searched for a sender or a phrase and now want only messages with files. You can add the attachment condition without retyping the rest of the search.

## Worked example: find a PDF quote from last spring

Say a contractor emailed you a PDF quote last spring. You remember the contractor's name, and you think the file was a PDF. You do not know the exact file name.

Type has:attachment filename:pdf in the search bar and press Return. Gmail now lists only messages with a PDF. Next, add the sender with from:contractor@example.com and press Return again.

Still too many results? Open Show search options and fill in Date within for the months you remember. Click Search at the bottom of the panel. Gmail combines every field you filled in.

If the list is empty, the quote may be in Spam or Trash. Open the Search dropdown in the panel and include those folders, as described below. Then click Search again.

Open the newest match first. Use Most recent in the sort control if the list is long. Open the message and check the attachment before you download it, so you know it is the right quote.

## Search attachments in Apple Mail on Mac

Apple Mail has its own search, and it does not use Gmail's search box. Apple's Mail guide describes two routes for attachments. The wording below follows that guide, so match the labels on your own screen.

![Mac laptop on a desk, ready for searching emails with attachments in Apple Mail](https://images.lazur.app/content-images/howto/search-emails-with-attachments-in-gmail/how-to-search-emails-with-attachments-in-2-c126eb.jpg)

### Route one: the search field

Click the search field in the toolbar. If the toolbar hides it, click the Search button. Type attachment, then choose the suggestion Message with attachments. Mail lists the messages that match.

### Route two: the attachments filter

Choose View > Filter, or click and hold the Filter button above the message list. Pick the attachments filter. A checkmark marks the active filter. Apple's figure caption calls the option Only Mail with Attachments, so look for that wording.

Extra criteria you add after a filter must all match. If you filter for attachments and then type a sender, Mail shows only messages that meet both conditions. That is useful, and it is also why a list can look shorter than you expect.

To turn the filter off, choose View > Filter > Enable Message Filter. Use this when a filter hides mail you expect to see. Turn it back on the same way.

Apple's guide has a version menu that lists macOS 27 Golden Gate and earlier releases. The page does not say the attachment steps change between versions. Check the menu names if yours look different.

I could not confirm whether Mail accepts Gmail operators such as has:attachment. Use Mail's own search wording inside Mail, and use the operator in the browser.

## Check Spam and Trash when results are missing

Gmail leaves Spam and Trash out of standard searches. An email that landed in Spam, or one you deleted, will not show up. This often explains a search that looks broken.

Open Show search options. Use the dropdown next to Search and pick the option that covers Mail, Spam, and Trash together. Then click Search. The results now include all three folders.

The research I checked also points to in:anywhere, which searches every folder. Type has:attachment in:anywhere in the search bar. Gmail's search help page does not list that term in the sections I opened, so compare its results with the dropdown.

## Why a large attachment is missing from Gmail

On personal accounts, Gmail caps attachments at 25 MB. When an email goes over that limit, Gmail removes the attachment and adds a Google Drive link in the email. A has:attachment search does not match that message, because the file is no longer attached.

Work and school accounts use limits that the Google Workspace administrator sets. The number can differ from 25 MB. Ask your IT team if a file you know you sent does not show up.

To find the file, search for the Drive link rather than the attachment. Try the word drive, the file name, or a phrase from the subject line. The message itself stays in your mailbox, so a search for its sender or subject still finds it.

## Keyboard shortcuts for Gmail search on Mac

Gmail has keyboard shortcuts for search. On a Mac, use the Command key (⌘) where Windows uses Ctrl. Press / to move the cursor into the search box.

Shortcuts work only when they are turned on. If / does nothing, open Gmail's settings and look for the keyboard shortcuts option. The exact label may differ on your screen. I did not confirm the menu path on a live Mac session.

## Common mistakes when searching Gmail attachments

- Putting a space after the colon in has:attachment.
- Forgetting that Spam and Trash are left out of standard searches.
- Searching for a file that Gmail swapped for a Drive link.
- Looking for a Has attachment checkbox that current Gmail help does not describe.
- Expecting a common word such as report to find one file quickly.
- Assuming Apple Mail reads the same search terms as Gmail in the browser.

Most of these come down to one habit. Search with the operator first, then widen the folders and size if nothing shows up.

## What to do next

Once a search works, save the terms in a note so you can reuse them. If you want Gmail to act on matching mail automatically, our [creating a filter in Gmail on Mac](https://www.lazur.app/how-to/create-a-filter-in-gmail) page has the browser steps.

If you want help finding these controls on screen, see our [Gmail page for Mac](https://www.lazur.app/apps/gmail).

Test one search today with a file you know was sent. If it shows up, the method works for your mailbox.

![Office worker reviewing email attachments on a laptop at a desk](https://images.lazur.app/content-images/howto/search-emails-with-attachments-in-gmail/how-to-search-emails-with-attachments-in-3-999377.jpg)

## Shortcuts

- Move the cursor into Gmail's search box: /
- Use Command where Windows uses Ctrl: ⌘

## If it does not work

- **The search returns nothing, but you know the email exists** Open Show search options and set the Search dropdown to cover Mail, Spam, and Trash. Standard searches leave Spam and Trash out. Then click Search again.
- **A large attachment does not appear in results** Gmail may have replaced it with a Google Drive link because it passed 25 MB on a personal account. Search for the word drive or the file name instead of has:attachment.
- **The / key does nothing in Gmail** Keyboard shortcuts are probably off. Gmail's help says the shortcuts only work when they are turned on. Find the keyboard shortcuts option in Gmail's settings and turn it on.
- **has:drive returns no results** The Gmail help pages I opened do not list has:drive, so I cannot confirm that it works. Search for the file name, a phrase from the message, or the sender instead.
- **Apple Mail hides messages you expect to see** A filter is probably on. Choose View > Filter > Enable Message Filter to turn filtering off. A checkmark shows which filter is active.

## With Lazur

Lazur is a voice assistant for the Mac that lives in the notch. Hold ⌥ ⌘ and ask; it sees your screen, answers out loud, points at buttons and walks you through apps. Hold fn to dictate. Free for 3 days, then $18/month: https://www.lazur.app/download

- “Where's the Show search options button?”: Lazur circles the Show search options icon at the right end of the Gmail search bar and labels it on your screen. (Points at it)

## FAQ

### Is there an official Gmail app for Mac?

Google's help pages describe Gmail in a browser, and Chrome can install Gmail as a web app. I did not find a Google page that says whether a Mac app exists, so the steps here use the browser. They work the same in Safari and Chrome.

### Why does has:attachment miss a file I sent?

On personal accounts, Gmail removes attachments over 25 MB and adds a Google Drive link. A has:attachment search does not match that message. Search for the Drive link, the file name, or the sender instead.

### Where is the Has attachment button in Gmail?

Gmail shows a Has attachment: chip under the search box after you run a search. Older guides describe a checkbox inside the advanced panel, but Google's current help page does not list one. Typing has:attachment gives the same result.

### Why are my Spam and Trash emails not in the results?

Gmail excludes Spam and Trash from standard searches. Open Show search options, use the Search dropdown to include Mail, Spam, and Trash together, then click Search.

### Does Gmail search the text inside PDF attachments?

I did not confirm this in Google's help pages. Test it with a phrase you know is inside a file. Search for that phrase with has:attachment and check whether the email appears.

### Can Lazur show me where the search options button is?

Yes. Hold Option and Command, then ask where the Show search options button is. Lazur draws a circle and a label around it on your screen and can explain the fields out loud. You still click the button yourself.

### Does this work on Windows?

The steps here cover Gmail in Mac browsers only. Lazur runs on macOS, and a Windows version is planned but not available yet.

## Sources

1. [Refine searches in Gmail | Gmail Help](https://support.google.com/mail/answer/7190?hl=en), Google, checked 2026-11-07
2. [Search in Gmail | Gmail Help](https://support.google.com/mail/answer/6593?hl=en), Google, checked 2026-11-07
3. [Keyboard shortcuts for Gmail | Computer | Gmail Help](https://support.google.com/mail/answer/6594?hl=en&co=GENIE.Platform%3DDesktop), Google, checked 2026-11-07
4. [Attachment size limits | Gmail Help](https://support.google.com/mail/answer/6584?hl=en), Google, checked 2026-11-07
5. [Install web apps | Chrome Help](https://support.google.com/chrome/answer/9658361?hl=en), Google, checked 2026-11-07
6. [Search for emails in Mail on Mac | Apple Support](https://support.apple.com/guide/mail/search-for-emails-mlhlp1003/mac), Apple, checked 2026-11-07
7. [Various Survey Statistics: Workers Spend Too Much Time Searching for Information | Cottrill Research](https://cottrillresearch.com/various-survey-statistics-workers-spend-too-much-time-searching-for-information/), Cottrill Research, checked 2026-11-07
