The Archive button is in the toolbar above your inbox, or you can use the keyboard shortcut E

Gmail's Archive feature moves messages out of your inbox without deleting them. When you archive an email, it disappears from your inbox view but stays in your account under the All Mail label, where you can search for it later. The fastest way to archive is to select a message and press the E key on your keyboard. If you prefer clicking, open any email and look for the archive icon — it looks like a box with a downward arrow — in the toolbar at the top of the message.

You can also archive multiple messages at once. In your inbox list, check the boxes next to the emails you want to archive, then click the archive icon in the toolbar above the message list. This works the same way whether you have two messages selected or fifty.

Key Takeaways

  • The archive icon appears in the toolbar above your inbox and inside each open email, and looks like a box with a downward arrow.
  • Pressing E on your keyboard archives the current message instantly without opening any menus.
  • Archived messages stay in your account under All Mail and show up in search results, so they are not lost.
  • You can select multiple messages and archive them together by checking their boxes and clicking the archive button.
  • Archiving is different from deleting — archived mail stays in your account, while deleted mail goes to Trash and is removed after 30 days.

Where the Archive button appears on desktop

On a computer, the archive icon sits in the toolbar directly above your message list in the inbox. It is the second icon from the left, after the checkbox for selecting all messages. The icon shows a box with a downward arrow inside it. Hover your mouse over it and Gmail will show the label "Archive" to confirm you are looking at the right button.

When you open a single email to read it, the archive icon moves to the top toolbar of that message, alongside the delete button and the label menu. The icon stays in the same position — a box with a downward arrow — so it is easy to spot once you know what to look for.

How to archive messages on your phone

On the Gmail app for iPhone or Android, swipe left on any message in your inbox list. A menu appears with options including Archive. Tap Archive and the message disappears from your inbox immediately. If you want to undo an archive right away, a notification appears at the bottom of the screen with an Undo button — tap it within a few seconds to bring the message back.

You can also open a message and tap the three-dot menu icon at the top right, then select Archive from the dropdown. This method works the same way as swiping, but takes an extra step. Most people find swiping faster once they get used to it.

Finding archived messages later

Archived messages do not disappear from Gmail — they move to a label called All Mail. To find an archived message, use the search box at the top of Gmail and type a word from the message, the sender's name, or the subject line. Gmail searches through all your mail, including archived messages, and shows you the results in seconds.

You can also navigate to All Mail directly by clicking the More label in the left sidebar, then selecting All Mail from the list. This shows every message in your account except those in Trash and Spam. Scroll through or search within this view to find what you need. If you archive messages regularly, All Mail can get very long, so searching is usually faster than browsing.

The difference between Archive, Delete, and Spam

Archive removes a message from your inbox but keeps it in your account. You can search for it, and it stays there until you delete it. Delete moves a message to Trash, where it sits for 30 days before Gmail removes it permanently. Spam marks a message as unwanted and trains Gmail to catch similar messages in the future.

Use Archive when you want to clear your inbox but might need the message later. Use Delete when you are sure you will never need it again. Use Spam only for unwanted mail, because marking legitimate messages as spam can cause problems — for example, if you mark a friend's email as spam, their future messages may not reach your inbox.

Creating filters to archive messages automatically

If you receive messages from a sender or with certain words in the subject line that you want to archive automatically, Gmail can do this for you. Open any message from that sender or with those words, click the three-dot menu at the top right, and select Create filter. A window opens where you can set the conditions — for example, "from: sender@example.com" or "subject: newsletter".

In the filter window, check the box next to Skip the Inbox (Archive), then click Create Filter. From that point on, every message matching those conditions will bypass your inbox and go straight to All Mail. You can still search for these messages and find them, but they will not clutter your inbox. This is useful for newsletters, notifications, or any regular mail you want to keep but do not need to see immediately.

Recovering archived messages you did not mean to archive

If you archive a message by accident, you have two options. The fastest is to look for the undo notification that appears at the bottom of your screen right after you archive — it usually lasts a few seconds. Tap or click Undo and the message goes back to your inbox.

If the undo notification is gone, search for the message using the search box at the top of Gmail. Once you find it in the search results, open it and click the Move to Inbox button (it looks like an inbox icon with an upward arrow) in the toolbar. The message returns to your inbox immediately. You can also select the message in search results, then use the Labels menu to add the Inbox label back to it.

Frequently Asked Questions

Does archiving a message delete it?

No. Archiving moves a message out of your inbox but keeps it in your account under All Mail. You can search for it anytime and bring it back to your inbox. Deleting is different — deleted messages go to Trash and are removed permanently after 30 days.

Can I archive messages from a specific sender automatically?

Yes. Open a message from that sender, click the three-dot menu, select Create filter, and check Skip the Inbox (Archive). Every future message from that sender will go straight to All Mail. You can still search for these messages and read them whenever you want.

What happens to archived messages if I delete my Gmail account?

Archived messages are deleted along with the rest of your account. If you think you might need messages later, do not archive them — keep them in your inbox or in a label you create. Once your account is deleted, there is no way to recover archived mail.

Can I archive messages on my phone the same way as on a computer?

The method is different but the result is the same. On your phone, swipe left on a message to archive it. On a computer, click the archive icon in the toolbar. Both move the message to All Mail, and you can search for it the same way on either device.