Skip to content
By ClearMyInbox · Updated

How to archive emails in Gmail

To archive emails in Gmail, tick the box next to a message and click Archive at the top, or press E once keyboard shortcuts are on. Archiving takes the email out of your inbox without deleting it. It stays under All Mail and in search, and it comes back to your inbox if someone replies.

Try ClearMyInbox free - bulk unsubscribe in one click, free to start.

How to archive an email in Gmail

Google's steps are the same idea on every device: pick the message, then Archive. You can archive one email or several at once.

On a computer

  1. Open Gmail.
  2. Check the box next to the message. Tick more boxes to archive several.
  3. At the top, click Archive.

With an email open, the keyboard shortcut E archives it in one key press. Shortcuts only work once you turn them on: click Settings, then See all settings, select Keyboard shortcuts on and click Save Changes.

In the Gmail app on Android or iPhone

  1. Open the Gmail app.
  2. Touch and hold a message, or several messages.
  3. At the top, tap Archive.

Archive with a swipe

The quickest way on a phone is to make a swipe archive the email. On Android: tap Menu at the top left, then Settings, General settings and Swipe actions. Next to Right swipe or Left swipe, tap Change, then Archive.

On iPhone and iPad: tap Menu, then Settings. Under Inbox, tap Inbox customizations, then Mail swipe actions. Tap Right swipe or Left swipe, choose Archive and tap Done.

Archive or delete: what each one does

So archive anything you might want again, such as receipts, bookings and old conversations, and delete only what you are sure about. If you are trying to get rid of thousands of emails, archiving is the wrong tool; for a bulk delete, start with how to delete all promotional emails in Gmail, and if you want Gmail mail to go to Trash once it is old, how to automatically delete emails in Gmail covers what Gmail can and cannot do on a timer.

Where can I find archived emails in Gmail?

In All Mail, which holds the email in your account, archived or not. On a computer, click More on the left, then All Mail. In the app, tap Menu at the top left, then All mail.

All Mail mixes archived email with everything in your inbox, so searching is faster. Type in:archive in the search bar to see only archived messages, and add a word or a sender to narrow it, as in in:archive from:bank. Google's own example is in:archive payment reminder.

My archived emails have disappeared

If an email is not in All Mail, it may be in Trash or Spam. Google suggests searching with Mail & Spam & Trash chosen in the drop-down of the search options, or typing in:anywhere before your search. Mail in Trash and Spam is deleted permanently after 30 days, so look soon.

How do I find emails from 10 years ago?

Use a date in the search. older_than:10y finds mail more than ten years old (d, m and y stand for days, months and years), and before:2016/12/31 finds mail received before a date. Add in:archive to look only at archived mail.

How to unarchive an email in Gmail

Unarchiving puts the email back in your inbox. On a computer, find the archived message (All Mail or in:archive), check the box next to it and click Move to Inbox at the top. In the app, touch and hold the message, tap More at the top right, then Move to Inbox.

You do not always have to: when someone replies to a message you archived, Gmail brings it back to your inbox by itself.

How to archive all emails in Gmail at once

Gmail selects one page of emails at a time, so archiving everything takes one extra click:

  1. On a computer, open the Inbox, or one tab such as Promotions.
  2. Check the Select box at the top left, above your messages. That selects the current page.
  3. Click the link that appears above your messages, such as "Select all 2,000 conversations in Inbox".
  4. Click Archive.

To archive only older email, search first. Type older_than:1y or before:2025/01/01, select all, use the same link to select every conversation that matches, then click Archive. Mail that was already archived stays where it was. Gmail also accepts in:inbox to limit a search to the inbox, although Google's list of search operators does not include it.

If old mail has piled up because new mail never stops, archiving is only half the job; cleaning up a Gmail inbox puts the steps in the order that keeps it from refilling.

Can Gmail archive emails automatically?

Only as they arrive. A Gmail filter can archive new email that matches it, so it never reaches your inbox:

  1. In the search box at the top, click Show search options.
  2. Enter who or what to match, such as a sender in From. Click Search to check it finds the right emails.
  3. At the bottom of the search window, click Create filter.
  4. Tick Skip the Inbox (Archive it). Tick Apply the label as well if you want to find the mail under a label later.
  5. Click Create filter.

When you create it, Gmail can also offer a tick to apply the filter to matching conversations already in your account; Google's help pages do not describe that tick. The full guide to filters is in how to create rules in Gmail.

What a filter cannot do is wait. Google documents no Gmail setting that archives an email once it is a week, a month or a year old, so the old mail in your inbox stays there until you archive it by hand with the search above.

How do I stop Gmail from automatically archiving emails?

When mail keeps leaving your inbox on its own, something is archiving it. Check these, in order:

Does archiving emails free up storage in Gmail?

No. Google counts Gmail messages and attachments towards your storage, including Spam and Trash, and an archived email is still a message in your account. Archiving tidies the inbox; it does not make space. To free storage you have to delete mail and empty Trash, and Google suggests starting with large attachments, such as has:attachment larger:10M. Google also warns that your storage total may need 48 to 72 hours to show a large clear-out.

Archive old Gmail automatically, by age

The gap a filter leaves is time: it can archive a newsletter as it lands, but not the one you have ignored for a week. ClearMyInbox fills it with templates you switch on:

You can also build your own: a rule with Older than N days and the action Archive, narrowed by sender, domain or subject if you like. Timing is per email: one that matches an age rule is archived within the hour it reaches the age. An age rule is not limited to new mail either. When you switch one on, it also works through what is already sitting in your inbox, so an old backlog clears without a search.

On Gmail, archive means the same as Gmail's own Archive button: the email leaves your inbox and stays in All Mail and in search. Nothing is deleted, and ClearMyInbox adds no Gmail filters to your account; the rules run on its own servers, so they keep working with your computer off. You connect Gmail by signing in with Google and granting permission to change your mail. To decide what to archive, ClearMyInbox looks at headers like the sender, the subject and the date; the body of an email is never read. You get these rules on a Casual, Professional or Lifetime plan; a Free account shows them locked.

If you are aiming for an empty inbox rather than a quieter one, the inbox zero method explains the habit that goes with archiving.