If your Outlook inbox fills up with repeated messages from the same sender — like daily status reports, system alerts, or newsletter digests — you want to keep only the newest one and delete the rest. Outlook Sweep rules let you automatically clean these redundant emails without manual sorting. The rule works by evaluating all emails from a specific sender and removing older copies while preserving the most recent message. This article explains how to create a Sweep rule in Outlook for Windows and Outlook on the web that keeps only the latest email from a sender.
Key Takeaways: Creating a Sweep Rule That Retains the Latest Email
- Sweep > Keep the latest one: Moves all older emails from a sender to Deleted Items while leaving the most recent message in the Inbox.
- Home > Sweep > Create Rule: Opens the Sweep rule builder where you set the sender, action, and optional exceptions.
- Outlook on the web > Sweep > Keep the latest one: Same function available in the browser version with identical behavior.
How the Sweep Rule Works
The Sweep rule in Outlook is a server-side rule that runs on Exchange Online or Microsoft 365 mailboxes. When you create a Sweep rule for a specific sender, Outlook scans your Inbox (and optionally subfolders) and identifies all messages from that sender. The rule then moves every email older than the most recent one to the Deleted Items folder. The newest email remains untouched in the Inbox. This rule runs automatically each time a new message from that sender arrives. No manual triggering is needed after setup. The rule applies to all existing messages in the folder at the moment of creation and to all future messages. You must be using a Microsoft Exchange, Exchange Online, or Microsoft 365 account. POP and IMAP accounts do not support Sweep rules.
Steps to Create a Sweep Rule That Keeps Only the Latest Email
The following steps work in Outlook for Microsoft 365, Outlook 2021, Outlook 2019, and Outlook on the web. The interface looks slightly different between desktop and web, but the logic is identical.
- Select an email from the sender
Open your Inbox and click any message from the sender whose emails you want to clean. This selects the sender as the target for the Sweep rule. If you have no messages from that sender yet, the Sweep option will not be available. - Open the Sweep menu
On the Home tab of the ribbon, locate the Sweep button in the Move group. Click Sweep to open the drop-down menu. In Outlook on the web, click the Sweep button at the top of the message list. - Choose Keep the latest one
From the Sweep menu, select Keep the latest one. Outlook displays a confirmation dialog that describes the action: all messages from this sender except the newest one will be moved to Deleted Items. - Check the rule configuration
The dialog shows the sender email address and the folder where the rule will apply (usually the Inbox). You can optionally check the box labeled Also sweep items in subfolders if you want the rule to clean messages from that sender in any subfolder of the Inbox. - Confirm and create the rule
Click OK to create the rule. Outlook immediately runs the rule on all existing messages. A progress bar appears briefly while the rule processes. After completion, only the most recent email from that sender remains in your Inbox. All older messages move to Deleted Items. - Verify the rule in Manage Rules
To confirm the rule exists, go to File > Manage Rules & Alerts. In the Rules and Alerts dialog, look for a rule named Sweep — [sender name]. You can edit, disable, or delete this rule from this window.
Common Mistakes and Limitations
Sweep rule does not appear in the list
If you do not see the Sweep button or the rule fails to create, your mailbox may be on a POP or IMAP account. Sweep rules require an Exchange, Exchange Online, or Microsoft 365 mailbox. Check your account type in File > Account Settings > Account Settings. If the account type reads POP3 or IMAP, Sweep is not available.
Rule deletes all messages including the latest one
This happens if you select Delete all instead of Keep the latest one. The Sweep menu has two similar options: Delete all and Keep the latest one. Always choose Keep the latest one. If you accidentally created a Delete all rule, go to File > Manage Rules & Alerts, select the rule, and click Delete to remove it.
Rule only runs on new messages
The Sweep rule runs on existing messages at the moment of creation. If you add the rule after you already have ten messages from a sender, those ten messages are processed immediately. For future messages, the rule runs each time a new message arrives. No additional action is required.
Sweep rule does not work on messages in other folders
By default, the rule applies only to the Inbox. If you store emails from that sender in a different folder, the rule will not clean them unless you check Also sweep items in subfolders during creation. You can also create a separate rule for each folder.
Deleted items are not permanently removed
The Sweep rule moves older messages to the Deleted Items folder. It does not permanently delete them. To automatically empty Deleted Items, go to File > Options > Mail and under Clean Out, check Empty the Deleted Items folder upon exiting. This setting purges all deleted items each time you close Outlook.
Sweep Rule vs Manual Cleanup: Key Differences
| Item | Sweep Rule | Manual Cleanup |
|---|---|---|
| Automation | Runs automatically on arrival of new messages | Requires you to manually select and delete emails |
| Scope | Applies to all messages from one sender in Inbox or subfolders | Applies only to the messages you select |
| Recovery | Moved items go to Deleted Items and can be restored | Deleted items go to Deleted Items unless Shift+Delete is used |
| Setup time | One-time configuration per sender | Repeated every time you want to clean |
| Account requirement | Exchange, Exchange Online, or Microsoft 365 only | Works with any account type |
The Sweep rule saves time if you regularly receive multiple messages from the same sender. Manual cleanup gives you more control over which individual messages to keep. Use Sweep for predictable, repetitive senders and manual cleanup for one-off situations.
You can now create a Sweep rule in Outlook that keeps only the latest email from any sender. Start by selecting a message from that sender and choosing Keep the latest one from the Sweep menu. For an advanced workflow, combine Sweep with a Quick Step that moves the kept email to a specific folder after the rule runs. This two-step process keeps your Inbox clean and organizes the single kept message into a project or archive folder automatically.