To create an Outlook rule that deletes recurring spam, open Settings > Mail > Rules in new Outlook or Outlook on the web, choose Add new rule, set a specific condition such as the sender’s email address, and choose Delete as the action. In classic Outlook for Windows, use Home > Rules > Manage Rules & Alerts > New Rule. Start with a narrow match and test it before applying it broadly; an overinclusive rule can delete legitimate messages.
What Outlook rules do
An Outlook rule is an instruction that acts on messages matching conditions you choose. A rule can identify mail using details such as who sent it, words in its subject, or other message properties, then take an action such as deleting it, moving it to a folder, or flagging it. Rules are useful when unwanted messages share a dependable feature—for example, repeated mail from one known address or a subject line used by a particular mailing campaign.
Rules are not a substitute for Outlook’s junk-mail filtering. A rule follows the conditions you specify; it does not independently determine whether a message is fraudulent. Spammers can change addresses, imitate display names, or use ordinary-looking subject lines. Conversely, legitimate newsletters or business messages may share words with spam. Treat a rule as a targeted mail-management instruction, not as a complete spam shield.
In most cases, a rule affects messages arriving after it is created. Some Outlook versions and rule-creation flows offer an option to run a rule against messages already in a folder. If you do not see that option, do not assume the rule has cleaned up existing mail; select and handle those messages separately.
Create a rule in new Outlook or Outlook on the web
The menus are similar in new Outlook for Windows and Outlook on the web, though wording and layout can change as Microsoft updates the interface. Make sure you are working in the correct mailbox if you have more than one account. Then:
- Select the Settings gear, then go to Mail > Rules.
- Select Add new rule and enter a clear name, such as “Delete repeat messages from example sender.”
- Choose a condition. For a recurring sender, select the sender condition and enter or select the address, not just the person’s display name.
- Under the action, choose Delete. If the interface offers additional options, review them rather than assuming the defaults.
- Save the rule. If possible, watch the next matching messages or use a temporary folder action first to confirm the condition behaves as intended.
For example, if unwanted messages repeatedly come from offers@example.invalid, a rule matching that exact address is usually safer than one that deletes every message with “offer” in its subject. The example address is illustrative; use the full address shown in the actual message details. If the sender frequently changes addresses, a sender-based rule may stop catching the mail, and a broad subject rule may create more false positives.
Create a rule in classic Outlook for Windows
Classic Outlook has a Rules Wizard that presents conditions and actions in sequence. Open Home > Rules > Manage Rules & Alerts, choose New Rule, and select a suitable starting point. For a rule applied to incoming mail, choose the option to apply a rule to messages you receive, then select Next. Pick the condition or conditions that describe the unwanted messages, fill in the underlined values in the lower part of the wizard, and continue.
On the actions screen, select the delete action. Classic Outlook may also offer a separate permanent-delete action. Read the wording carefully: ordinary deletion generally sends a message to Deleted Items, while permanent deletion bypasses that folder and may be harder or impossible to recover, depending on the account and its retention settings. For a new rule, ordinary deletion is the safer choice. Continue through the wizard, review any exceptions, give the rule a recognizable name, and finish. The wizard may offer an option to run the rule now on messages already in the current folder; select it only if you intend to process existing mail too.
Outlook for Mac uses a different interface. In current Outlook for Mac, look under Outlook > Settings > Rules; older or legacy versions may expose rules under Tools > Rules. Labels and available actions can differ by version and account type, so check the displayed options before saving. The Windows Rules Wizard steps above should not be assumed to match Mac exactly.
Choose conditions that are specific enough
The most important decision is what the rule matches. Use the strongest reliable signal available, and avoid a condition that describes ordinary mail as well as spam. Useful approaches include:
- Exact sender address: Best when the same address sends repeated unwanted messages. It can miss future messages if the sender rotates addresses.
- Distinctive subject phrase: Useful when a sender’s campaign uses a stable, unusual phrase. Avoid generic terms such as “invoice,” “sale,” or “account,” which may appear in legitimate mail.
- Multiple conditions: Combining a sender with a distinctive subject can narrow the match. Check how the selected Outlook interface combines conditions; typically, selected conditions must all be satisfied, but individual condition fields may allow several values.
- Exception: Where the interface supports exceptions, use one only when you can identify legitimate messages that otherwise meet the rule. Exceptions add complexity, so verify them with realistic examples.
Do not make decisions based only on the sender’s display name. Names such as “Delivery Service” or a familiar company can be copied, while the underlying address may be unrelated. Also be cautious about rules based on words in message content: spam text is easy to vary, and broad words can appear in ordinary correspondence.
Delete, move to Junk, or report spam?
These choices serve different purposes. A rule’s Delete action is for automatic handling of messages that match your custom criteria. Depending on the Outlook version and account, ordinary deletion typically places mail in Deleted Items. A Junk Email folder is intended for mail identified or handled as junk, and Outlook’s built-in junk controls may let you block or trust senders. Reporting a message as junk or phishing can also provide feedback to the mail service; the exact reporting options depend on the account and organization.
If a message is clearly unsolicited but the sender or wording changes often, reporting it as junk is generally more appropriate than building a rule for every variation. Use the phishing-report option for messages attempting to steal credentials, payment details, or other sensitive information. Do not click links or open attachments just to investigate a suspicious message. For a recurring, low-risk nuisance with a consistent sender or pattern, a narrow rule can supplement those controls.
Deleting is not the same as blocking. A delete rule acts when a message satisfies its conditions, while a blocked-sender or junk setting is a separate control. Neither guarantees that future messages from a changing or forged sender will be stopped. In a work or school Microsoft 365 account, your administrator may also manage spam filtering or restrict available controls.
Use a safe test before automatic deletion
A rule that sends messages to a review folder gives you a chance to spot mistakes. Instead of choosing Delete immediately, create the same condition with an action that moves messages into a folder such as “Review—possible spam.” Let it collect a few matching messages, then check both the folder and your regular inbox. If only the unwanted mail matches, edit the action to delete. If legitimate mail appears there, narrow the condition or remove the rule.
This test is especially helpful when the condition uses a subject phrase, a domain, or more than one value. Search results can help you inspect past examples, but an older message is not necessarily representative of future mail. A sender may change its wording, and a message that looks suspicious may still be a receipt or a service notice you need. Keep the rule name descriptive so you can find it quickly if something goes missing.
Before enabling permanent deletion, consider whether you have a genuine need for it. Deleted Items is a useful recovery buffer, but it is not guaranteed to retain mail forever: accounts may have retention policies, folders may be emptied, or deleted mail may become unrecoverable. If a legitimate message is deleted, check Deleted Items and any recovery option offered by your account promptly. Workplace retention and recovery rules may be controlled by an administrator.
Common problems and how to fix them
- The rule does nothing: Confirm that it is enabled, belongs to the mailbox receiving the message, and matches the actual sender or subject. A sender that looks familiar may have a different underlying address. Also check whether another rule or account-level filter is involved.
- Legitimate messages disappear: Look in Deleted Items and inspect the rule conditions. Change a broad match to a more distinctive phrase or combine it with a sender condition. Temporarily move matches to a review folder instead of deleting them.
- The same spam keeps arriving: The messages may come from changing addresses or fail to match the precise condition. Report them as junk, review built-in junk settings, and avoid expanding the rule so far that it catches unrelated mail.
- A rule behaves differently across devices: Some rules depend on the app or actions supported by a particular Outlook version. Rules that require a desktop-only action may not run when that desktop app is closed, whereas supported server-side rules can run on the mail service. If results vary, check the rule list in the mailbox and test with Outlook closed where appropriate.
- You cannot find a menu or option: New Outlook, classic Outlook, Outlook for Mac, Outlook on the web, and organization-managed accounts do not always expose identical controls. Confirm which Outlook app and account type you are using before following a path for another version.
Review and maintain your rules
Rules can accumulate as addresses and subscriptions change. Review Settings > Mail > Rules in new Outlook or Outlook on the web, or Home > Rules > Manage Rules & Alerts in classic Outlook for Windows. Remove rules you no longer need, check for overlapping conditions, and keep names that explain both the match and the action. If an important message is unexpectedly missing, temporarily disable likely rules while investigating rather than adding another broad exception in a hurry.
Remember that rules are mailbox automation, not a security guarantee. Never treat a message as safe merely because it was not caught by a rule, and do not use a delete rule to handle targeted threats or suspicious links. For workplace mail, follow your organization’s reporting process; a company security team may need the original message to investigate it.
Frequently Asked Questions
Can I make Outlook automatically delete emails from one sender?
Yes. Create a rule for the sender’s email address and choose the Delete action. Check that the address is the actual sender address, and consider testing by moving matches to a folder first.
Does an Outlook delete rule permanently erase messages?
Not necessarily. The ordinary Delete action generally moves mail to Deleted Items. Permanent deletion is a different action in versions that offer it, and recovery depends on the account and its retention settings.
Will the rule delete spam that is already in my inbox?
Usually, rules are created for messages arriving later. Some versions offer an option to run a rule on existing messages during setup; otherwise, handle older messages separately.
Can Outlook rules stop every spam email?
No. Rules only match the conditions you define, and senders can change addresses or wording. Use Outlook’s junk and phishing-reporting controls as well, and keep custom rules narrow.
Do Outlook rules work when my computer is off?
Rules supported by the mail service can run without the Outlook desktop app open. Rules relying on client-only actions may need Outlook running. Behavior depends on the rule, app, and account, so check the rule’s status and test it.
Related
- Excel Time Format Over 24 Hours: Display Elapsed Time Correctly
- Excel Time Format Without Seconds: How to Set It
- Excel Time Format: Show Hours and Minutes Only Correctly
Try it: the Date Difference Calculator: days, months, years and weekdays between two dates, with the DATEDIF formulas.
More in How-to basics
- How to Use SUMIF in Google Sheets for Quick TotalsTo total values that match one condition in Google Sheets, enter =SUMIF(A2:A7,"Travel",B2:B7) in an empty cell, assuming categories…
- Create a Page Break in Excel: Steps and Print TipsTo create a page break in Excel for Microsoft 365 on Windows, select the cell below and to…
- How to Change Attachment View in OutlookTo change how you view an attachment in Outlook, open the message and select the attachment to preview…
- Excel Find and Replace Shortcut: Ctrl+H ExplainedIn Excel for Microsoft 365 on Windows, press Ctrl+H to open Find and Replace directly on the Replace…
- View All Conditional Formatting Rules in Google SheetsTo view conditional formatting rules in Google Sheets, open the sheet in a web browser and choose Format…
- Excel Shortcut Keys: Essential Windows and Mac TipsExcel shortcut keys are keyboard combinations that let you edit cells, format data, navigate a worksheet, and manage…
Sources: Function behaviour and menu paths: Microsoft Support documentation for Excel. Method & sources
Spotted an error in this guide? Let us know.