To create a rule in Outlook for Microsoft 365 on Windows, select a message and choose Home > Rules > Create Rule, or open Home > Rules > Manage Rules & Alerts to build a more detailed rule. Set a condition, choose what Outlook should do, and save; the rule will usually handle matching messages as they arrive.
What Outlook rules do
A rule is an instruction that Outlook applies to messages that meet criteria you choose. It can sort mail into folders, mark messages as read, assign a category, flag items, delete or forward messages, or trigger other actions available in your version. For example, a rule can move messages from a project lead into a Project folder, or assign a category to mail with a particular phrase in its subject.
Rules are useful for automating repeatable decisions, not for understanding a message’s meaning. A condition such as “subject includes Invoice” looks for matching text; it does not determine whether the message is a legitimate bill. A rule also does not normally change messages already sitting in a folder when you first create it. It is primarily an incoming-mail tool, though classic Outlook for Windows can run rules manually on mail already in a selected folder.
Rules are associated with the account or mailbox selected when you create them. If you use several accounts, check that you are editing the intended one. A rule set for one work or personal mailbox does not automatically manage the others.
Before creating a rule
Decide what should qualify and what should happen to a matching message. The more narrowly you define the condition, the less likely the rule is to catch unrelated mail. If the action moves or deletes messages, consider trying a low-risk action first, such as assigning a category, so you can confirm that the condition behaves as expected.
- Identify a stable condition. A sender address, recipient, or distinctive subject phrase is often more dependable than a broad word such as “update.”
- Choose a destination first. If you plan to move messages, create and name the destination folder before setting the rule.
- Decide whether exceptions are needed. For instance, a rule for all mail from a supplier might exclude messages marked as high importance.
- Consider privacy and security. Automatically forwarding work mail outside your organization may be blocked by policy and can expose confidential information.
Rules can be combined with Outlook’s other organization tools. A folder keeps messages together, while a category lets a message remain in its current folder but gives it a color-coded label. A search folder or search can be more suitable when you want to view matching mail without moving it.
Create a basic rule in classic Outlook for Windows
In classic Outlook for Microsoft 365 on Windows, the quick method starts with an example message. This is convenient when the sender or subject gives you a clear template:
- Select a message that resembles the mail you want to manage.
- On the Home tab, choose Rules > Create Rule.
- In the Create Rule dialog, select one or more displayed conditions, such as the sender or words in the subject.
- Select the action, such as moving the message to a folder, then choose or create the folder if prompted.
- Choose OK. If Outlook asks whether to run the rule on messages already in the current folder, select that option only if you want to process existing mail too.
The quick dialog offers only a small set of conditions and actions. For more control, open Home > Rules > Manage Rules & Alerts, choose New Rule, and use the Rules Wizard. You can start from a template, such as moving messages from someone, or choose Apply rule on messages I receive to construct a rule from scratch. Select the underlined condition values in the wizard to specify people, words, or folders. Then choose actions, add exceptions if appropriate, name the rule, and finish the wizard.
Review the rule in the Rules and Alerts list and make sure its checkbox is selected. The list also lets you edit, delete, or reorder rules. If you want a rule to process mail already in a folder, use Manage Rules & Alerts > Run Rules Now, choose the rule and folder, and start the run. The precise dialog options can vary with the account type and Outlook build.
Create or manage rules in new Outlook and Outlook on the web
New Outlook for Windows and Outlook on the web use a settings-based rules screen rather than the classic Rules Wizard. Open the Settings gear, go to Mail > Rules, and choose Add new rule. Give the rule a name, select a condition, choose an action, and save. Depending on the available options, you can add another condition or an exception. To change or remove a rule later, return to the same Rules page.
In new Outlook, you can also select a message and look for Rules or Create rule on the Home ribbon or message menu. That shortcut uses the selected message to prefill some criteria. The exact command placement can change as Microsoft updates the interface, so Settings > Mail > Rules is the dependable place to inspect the full list.
Outlook for Mac has its own interface. In current Microsoft 365 versions, open Outlook > Settings > Rules and choose the relevant account to create or edit rules. Older Mac builds may place Rules under Tools, and available options can differ from Windows. If a control is missing, check whether Outlook is set to its new or legacy interface and consult the rules settings for that build. Rules created for a Microsoft-hosted mailbox may also be available in Outlook on the web, while rules that rely on actions performed only by the desktop app may not behave the same way there.
Choose conditions, actions, and exceptions carefully
A condition determines which messages qualify. Common choices include sender, recipient, words in the subject or message body, importance, and whether you are the only recipient. Available conditions vary by Outlook version and account. When you select multiple conditions in a rule, Outlook generally requires a message to meet all of them; adding several words within one condition may mean that any listed word is enough. Read the wording in the wizard or settings panel before saving.
Actions describe what happens to a match. Moving a message to a folder changes where it appears; categorizing it adds a label without moving it. Deleting or forwarding can have more serious consequences, so confirm the condition and destination carefully. Some versions offer an option to stop processing additional rules after a match. That setting matters when a later rule would otherwise act on the same message.
Exceptions are exclusions from an otherwise matching rule. Suppose a rule moves every message from a vendor into a Receipts folder, but you want urgent messages to stay in the inbox. An exception based on importance or a subject phrase can preserve those messages, if the relevant condition is available. Exceptions help keep a rule useful without making its main condition so complicated that it is hard to maintain.
Practical rule examples
- Sort project updates: Match mail from a project coordinator and move it to a Project Updates folder. If several projects share a sender, add a subject phrase or another condition to distinguish them.
- Label receipts: Match a known retailer’s address or a distinctive subject phrase, then assign a Receipts category. This is safer than automatically deleting or moving every message containing the broad word “order.”
- Keep newsletters out of the inbox: Match a newsletter sender and move the mail to a Reading folder. For newsletters from many senders, use a condition that reliably identifies the mailing list, if your version offers it.
- Flag a person’s messages: Match a sender and apply a flag or category, if those actions are available in your Outlook edition. This can make important mail easier to notice without hiding it in another folder.
These examples work best when the criteria are specific and periodically reviewed. If a sender changes its address or a subject format changes, the rule may stop matching. Conversely, a broad phrase may begin matching unrelated messages as new mail arrives.
Rule order, testing, and common problems
When more than one rule matches a message, order can affect the result. Outlook processes rules according to their listed order, and one action—such as moving a message—can affect what later rules do. In classic Outlook for Windows, use the move-up and move-down controls in Manage Rules & Alerts to change priority. If the wizard offers stop processing more rules, use it only when you want later rules not to run on that message.
If a rule appears not to work, check these points before rebuilding it:
- Confirm that the rule is enabled and belongs to the account receiving the message.
- Check whether the message truly meets every selected condition and whether an exception excludes it.
- Confirm that the destination folder still exists and that the rule order does not send the message somewhere else first.
- Look in the destination folder, Junk Email, and other likely locations; a move can make a message seem to have vanished.
- For an existing message, remember that a rule may need to be run manually in classic Outlook rather than simply saved.
If a rule works only while desktop Outlook is open, it may depend on a client-only action. Server-side rules can run on the mail service even when the desktop app is closed; client-only rules require Outlook to run in the relevant desktop environment. The Rules Wizard may identify a rule as client-only, and actions or conditions available vary by account and application. A rule that works on one device should not automatically be assumed to behave identically in every Outlook app.
Limits and safe use
Rule capabilities depend on whether the mailbox is hosted by Microsoft Exchange or Outlook.com, another mail provider, and which Outlook application you use. The number or total size of rules can also be subject to mailbox or administrator limits; there is no single limit that applies to every account. If Outlook reports that a rule cannot be saved, simplify it, remove unused rules, or ask the organization’s email administrator about the mailbox limit rather than assuming the rule is configured incorrectly.
Use extra care with forwarding and deletion. A forwarding rule can disclose messages beyond the intended recipients, and an organization may prevent automatic external forwarding. A broad delete rule can remove important mail before you see it. For a new rule with a consequential action, start with a narrow condition, test with a category or folder move, and inspect the results before making it more aggressive. Rules are not a substitute for spam filtering or security checks: a message that matches a rule can still be suspicious.
Frequently Asked Questions
Can Outlook rules apply to messages already in my inbox?
Saving a rule usually affects future incoming messages. In classic Outlook for Windows, use Manage Rules & Alerts > Run Rules Now to apply a selected rule to messages in a chosen folder. The ability to run a rule on existing mail is not presented the same way in every Outlook app.
Will an Outlook rule run when my computer is off?
Server-side rules can run at the mail service while your computer is off. A client-only rule needs the relevant Outlook desktop app to be running. The rule’s actions and conditions, as well as the mailbox provider, determine which kind it is.
Can I make a rule for mail from multiple people?
Yes, if the rule editor supports the condition you need. You can often add multiple names or addresses to a sender condition, or create separate rules. Check whether the editor treats multiple entries as alternatives; do not assume that adding conditions means any one of them will match.
Why did my rule move a message to the wrong folder?
Check the conditions, exceptions, and rule order. Another rule may also match the message, or the condition may be broader than intended. A move changes the message’s location, so begin by searching likely destination folders and reviewing the enabled rules in order.
How do I stop or remove a rule?
Open the rules list for the account. In classic Outlook for Windows, go to Home > Rules > Manage Rules & Alerts; clear a rule’s checkbox to disable it or select it and choose Delete to remove it. In new Outlook or on the web, use Settings > Mail > Rules to edit, turn off, or delete the rule.
Related
- Excel Data Model vs Power Query: How They Work Together
- Excel Data Analysis: Where to Click and How to Practice
- Excel Data Model: How to Group Dates in PivotTables
Try it: the Date Difference Calculator: days, months, years and weekdays between two dates, with the DATEDIF formulas.
More in How-to basics
- Excel Freeze Panes: Freeze More Than Just the Top RowNo—Excel’s Freeze Panes command is not limited to the top row. In Excel for Microsoft 365 on Windows,…
- How to Flip Column Order in Excel Without Moving RowsTo flip columns in Excel while keeping each column’s data together, add a temporary numbered row, select the…
- Excel Remove Duplicates Shortcut Key: What to PressIn Excel for Microsoft 365 on Windows, press Alt, then A, then M to open Remove Duplicates. These…
- How to Add a Watermark in Word on Windows 11To add a watermark in Word on Windows 11, open the document in the Word desktop app and…
- Excel Find and Replace Asterisk: Find * Literally in CellsTo find a literal asterisk in Excel, press Ctrl+H, enter ~* in Find what, and choose Find All…
- Batch Archive Emails in Outlook: Step-by-Step GuideTo batch archive emails in Outlook, open the folder or search results containing the messages, select the messages…
Sources: Function behaviour and menu paths: Microsoft Support documentation for Excel. Method & sources
Spotted an error in this guide? Let us know.