Can I search the Trash in Gmail?
Last reviewed: October 8, 2026 · Markdown version
Yes, but not from the ordinary search box as it stands. Google's search page is explicit: "By default, emails in Spam and Trash aren’t included in a standard search." You have to ask for Trash, either with a setting in the search options on a computer or by typing in:anywhere in the app (Search in Gmail, read 8 October 2026). That one default explains most searches that come up empty right after a delete.
On a computer
Google's steps, from the "Search for emails in Spam & Trash" section of that page:
- In Gmail, at the top, in the search box, click Show search options.
- Next to "Search", open the dropdown that reads "All Mail" and choose Mail & Spam & Trash.
- Enter what you remember about the message. If you are not sure of the details, Google says to "leave the fields blank."
- Click Search.
The same dropdown can be narrowed instead of widened. Google's description of the search options says the Search field reaches "other areas of Gmail", and lists custom labels, Spam and Trash among them, so choosing Trash on its own searches only what is waiting to be deleted. That is the closest thing to a search box inside the Trash folder.
In the Gmail app
The Android and iPhone versions of the page skip the options panel. Their step is: "At the top, in the search box, enter in:anywhere", then add what is in the email and search (the Search in Gmail page, Android and iPhone & iPad versions, read 8 October 2026). For example, in:anywhere from:airline@example.com. Google's operator list describes in:anywhere as finding "emails across Gmail. This includes emails in Spam and Trash." (Refine searches in Gmail, read 8 October 2026). Any other operator can sit beside it; the useful ones are on Gmail search operators.
One limit on the app pages applies here too: "If you don’t have an internet connection, you can only search for emails synced with your device." A message deleted weeks ago may not be on the phone, so search with a connection.
What about in:trash?
People often type it. Google's operator list (the Refine searches in Gmail page above) gives in:anywhere, in:archive and in:snoozed, and does not list in:trash at all. We have not relied on it for this page; the two documented routes above are the ones Google stands behind.
The search only reaches back 30 days
Trash is not an archive. Google's page on missing mail says: "Emails in your trash or spam are permanently deleted after 30 days or when you manually empty your trash or spam." (Gmail messages are missing, read 8 October 2026). So when a search that includes Trash finds nothing, and you are sure of the sender or the words, the likely reasons are that the message was deleted more than 30 days ago or that Trash was emptied. Recovering mail after Trash is emptied covers the first two; how the 30-day clock runs is on how often Gmail empties Trash.
Found it: taking it out of Trash
Searching does not restore anything. Google's steps for moving a message back (Delete messages in Gmail, read 8 October 2026): on a computer, open Trash, tick the message, click Move to and choose where it goes. In the Android app, tap Menu, then Trash, touch and hold the message, then tap More and Move to; the iPhone app labels the last step Move. The message then shows up in ordinary searches again.
Related: Recovering mail after Trash is emptied · How often Gmail empties Trash · Gmail search operators · What All Mail is