You can delete all your Gmail messages at once, but Gmail doesn't have a true "delete inbox" button — you have to select messages and move them to trash
Gmail keeps your inbox as a label, not a separate storage space. When you delete messages from your inbox, they go to your Trash folder and stay there for 30 days before Gmail permanently removes them. If you want to clear your inbox completely, you select all your messages, delete them, and then empty your trash if you want them gone for good.
The process takes about five minutes. The main decision you'll face is whether you want to keep those messages somewhere (like an archive or a folder) or let them disappear entirely after 30 days.
Key Takeaways
- Gmail's "Select all" button only picks messages on the current page, not your entire inbox — you need to click the prompt that appears to select all messages across all pages.
- Deleted messages sit in Trash for 30 days before Gmail removes them permanently, so you have time to change your mind.
- Archiving messages removes them from your inbox view without deleting them, which is useful if you want a clean inbox but need to keep the messages.
- You can search for and delete only certain types of messages — like old emails from a specific sender or emails older than a certain date — instead of deleting everything.
How to delete all messages from your inbox at once
Open Gmail in a web browser (the mobile app works differently and is slower for this task). At the top left of your inbox, you'll see a checkbox. Click it.
A bar will appear that says "All 50 conversations on this page are selected" or a similar number. Ignore that number. Look for text that says "Select all conversations that match this search" — it usually appears as a link or button near that bar. Click it. This tells Gmail to select every message in your inbox, not just the ones you can see on the screen.
Once all messages are selected, look for the delete button — it looks like a trash can icon in the toolbar above your message list. Click it. Gmail moves all your messages to Trash.
What happens after you delete: the 30-day window
Your messages don't vanish when ready. They move to your Trash folder, where Gmail keeps them for 30 days. During that time, you can recover them if you change your mind. Open your Trash folder (you'll find it in the left sidebar under "More"), find the messages you want back, click the checkbox next to them, and click the "Move to" button to send them back to your inbox or another folder.
After 30 days, Gmail permanently deletes the messages. You cannot recover them after that point. If you're certain you want messages gone when ready, you can empty your Trash manually: open Trash, click "Delete all permanently" at the top, and confirm.
Archive instead of delete if you want to keep messages but clear your inbox
Deleting is permanent (after 30 days). Archiving is reversible and keeps your messages searchable. When you archive a message, it leaves your inbox but stays in your Gmail account under the "All Mail" label. You can search for it anytime and move it back to your inbox if you need it.
To archive instead of delete: select all your messages the same way (click the checkbox, then "Select all conversations that match this search"), but instead of clicking delete, click the archive button — it looks like a box with an arrow pointing down. Your inbox becomes empty, but your messages are still there if you search for them.
How to delete only certain messages, not your whole inbox
If you want to keep some messages but delete others, use Gmail's search to narrow down what you're deleting. For example, you can delete all messages from a specific sender, all messages older than a certain date, or all messages with a certain word in the subject line.
Click the search box at the top of Gmail. Use search terms like from:sender@example.com to find messages from one person, or before:2023/01/01 to find messages older than January 1, 2023. Gmail shows you only the messages that match. Then select all of them (using the checkbox and "Select all conversations" method), delete them, and your inbox keeps everything else.
This is especially useful if you're trying to clean up without losing important messages. You can delete old newsletters, old notifications, or messages from people you no longer need to hear from, while keeping messages from your bank, your doctor, or people you contact regularly.
Prevent your inbox from filling up again
After you've cleared your inbox, you can set up filters so new messages don't pile up the same way. Filters automatically sort incoming mail into folders or labels, or delete it, based on rules you create.
Go to Gmail Settings (click the gear icon, then "See all settings"). Click the "Filters and Blocked Addresses" tab. Click "Create a new filter". Type in a search term — for example, from:newsletter@company.com if you want to filter messages from a specific sender. Click "Create filter". Choose what you want to happen to messages that match: archive them, label them, delete them, or mark them as read. Click "Create filter" to save.
Common filters people create: send all promotional emails to a "Promotions" label so they don't clutter your main inbox, automatically delete emails from a specific sender, or mark all messages from a certain address as read so they don't show as new.
Recovering messages if you deleted them by accident
If you deleted messages and realized you need them back, open your Trash folder when ready. Look for the messages you want. Click the checkbox next to each one (or select all of them). Click "Move to" and choose "Inbox" or another folder. The messages return to your account.
This works anytime within the 30-day window. After 30 days, Gmail permanently deletes messages from Trash, and you cannot recover them. If you're worried you might delete something important, archive instead of delete — archiving is always reversible.
Frequently Asked Questions
Does deleting my inbox delete my entire Gmail account?
No. Deleting messages from your inbox only removes those messages. Your Gmail account, your contacts, your settings, and any other folders or labels stay intact. You can create a new inbox by receiving new messages or moving messages back from other folders.
Can I delete my inbox on my phone?
Yes, but it's slower. Open the Gmail app, tap and hold a message to select it, then tap the trash icon. You'll have to do this for multiple messages or use the web version on a computer to select all at once. The web version (accessed through a phone browser) is faster for deleting large numbers of messages.
What's the difference between delete and archive?
Delete moves messages to Trash, where they stay for 30 days before Gmail removes them permanently. Archive removes messages from your inbox but keeps them in "All Mail" forever — they're searchable and recoverable anytime. Archive is safer if you're not sure you want messages gone.
If I delete messages, can other people still see them?
No. When you delete a message from your inbox, it's gone from your account. The person who sent it still has their copy in their account, but they cannot see that you deleted it from yours. If you sent a message to someone else, deleting it from your "Sent" folder doesn't remove it from their inbox.
Can I undo a delete if I already emptied my trash?
No. Once you empty your Trash folder, Gmail permanently deletes those messages and you cannot recover them. If you haven't emptied Trash yet, you have 30 days to recover messages from there. After that, they're gone.