To create a custom rule in Outlook, open your mail rules settings, choose a condition such as who sent a message, select an action such as moving it to a folder, and save the rule. In Microsoft 365 Outlook for Windows, use Settings > Mail > Rules in new Outlook, or File > Manage Rules & Alerts in classic Outlook. Rules can sort, flag, categorize, forward, or delete matching email automatically.
What You’ll Need
- An Outlook account and access to its mailbox. Your work or school administrator may limit some rule actions.
- A clear idea of which messages should match the rule and what Outlook should do with them. If you plan to move messages, create the destination folder first.
- Access to Outlook on the web or the Outlook app. The labels and available options differ slightly between new Outlook, classic Outlook, and Mac.
Step-by-Step
- Decide on a specific condition and action. Write down what identifies the messages and the result you want. For example: messages from a particular supplier that arrive at a named address should go into a folder called Invoices. A rule can also match a subject phrase, importance level, recipient, or other listed condition. Being specific helps avoid moving unrelated messages.
- Create a destination folder if needed. In the folder list, use the option to create a new folder, give it a clear name, and confirm. You can also choose an existing folder when setting up the rule. If the folder is nested under another folder, expand the parent so you can select the correct destination.
- Open rules in new Outlook for Windows or Outlook on the web. Select the gear icon for Settings, then go to Mail > Rules. Choose Add new rule. This same general path is used in Outlook on the web, although wording or placement can vary with account and interface updates. If you are using classic Outlook for Windows, skip to step 6 instead; the classic app has a different rules dialog.
- Name the rule and choose its first condition. Enter a descriptive name, such as Supplier invoices to Invoices. Open the condition list and choose the detail that identifies a message, for example the sender, a word in the subject, or the recipient. Fill in the value requested by Outlook. For a sender condition, select or enter the actual sender address when possible rather than relying only on a display name that could be shared.
- Add any other conditions, then choose an action. Use the control to add another condition if every part must match. For example, require both a particular sender and the word invoice in the subject. Choose the action, such as moving the message to a folder, marking it as read, assigning a category, or flagging it. Select the folder or other value when Outlook asks. Check whether the interface treats multiple conditions as requirements that must all match; do not add extra conditions unless you want to narrow the rule.
- Add exceptions if a particular message should be left alone. For instance, a rule for a supplier might have an exception for messages with urgent in the subject. Exceptions are optional. Use them only when you can describe a clear case that should not receive the rule’s action; too many exceptions can make the rule difficult to understand later.
- Review rule order and processing options. Save the rule, then check its position in the list. If two rules can match the same message, their order and whether a rule stops further processing can affect the outcome. Use Stop processing more rules only when you want matching messages to skip rules below it. Avoid enabling it automatically just because the option is available.
- Save and test with a new message. Save or confirm the rule, then wait for a message that meets its conditions, or send a safe test message from another account. Check the destination folder, category, or flag. If the message does not behave as expected, compare its sender, recipient, and subject with the exact conditions you set. A rule generally handles incoming messages after it is created; do not assume that it has reorganized older mail.
- Use classic Outlook for Windows if that is your version. Select File > Manage Rules & Alerts, then choose New Rule. To build a rule from scratch, under Start from a blank rule choose Apply rule on messages I receive, then select Next. Choose one or more conditions in the upper list. In the lower description area, select each underlined value and enter or choose the details, then select Next.
- Set the action and exceptions in the classic Rules Wizard. Select the action or actions you want, such as moving it to a specified folder, and use the underlined text in the lower pane to provide the required value. Select Next to add exceptions if needed, then select Next again. Give the rule a name and review the options to turn it on. The wizard may offer Run this rule now on messages already in the current folder; select that only if you intend to process existing messages too. Choose Finish, then Apply or OK to close the rules dialog.
- Find rules on Outlook for Mac. In new Outlook for Mac, open Outlook > Settings > Rules, choose the relevant account if prompted, and add a rule. In Legacy Outlook for Mac, look under Tools > Rules. Set the conditions and actions in the rule editor, then save. Available conditions and actions can depend on the account type. If a menu differs, confirm whether you are in new or Legacy Outlook before following Windows instructions.
Common Mistakes
- Making the condition too broad. A rule based only on a common word such as meeting or report may catch unrelated messages. Add a sender, recipient, or more distinctive phrase when appropriate, and test before relying on it.
- Choosing the wrong folder or account. If you have several mailboxes, verify that you are creating the rule for the intended account and that the selected destination belongs to that mailbox. Similar folder names can make a misplaced message hard to spot.
- Expecting a rule to fix old mail automatically. Most rules are intended for incoming messages after they are enabled. In classic Outlook, use the wizard’s run-now option when available and appropriate. Otherwise, move existing messages separately using search or a manual selection.
- Forgetting rule order. A message can meet conditions in more than one rule. An earlier rule that moves it or stops processing can change what later rules do. Review the full list when a rule seems to be ignored.
- Creating risky forwarding or deletion rules without checking them. Forwarding can expose private information, and deletion can make important mail difficult to recover. Verify the recipient and matching conditions, and consider moving messages to a review folder instead of deleting them.
- Assuming every rule works while Outlook is closed. Some rules use actions or conditions that require the desktop app to be running. Outlook may identify these as client-only rules. If a rule is marked that way, keep the relevant Outlook app open for it to run as intended.
Tips
- Use names that explain both the match and result. Names such as Vendor A messages to Invoices are easier to scan than Rule 1. A useful name saves time when you later need to edit, disable, or delete a rule.
- Start with one simple action. First confirm that a sender or subject condition correctly identifies messages. Add a category, flag, or exception only after the basic rule works. This makes mistakes easier to diagnose.
- Use a category when you want to keep mail in the Inbox. Moving a message can hide it from your usual view. A category or flag can make it noticeable without changing its folder, depending on how you manage your mailbox.
- Keep a record of important rules. For complicated rules, note the account, conditions, actions, and exceptions somewhere you can find later. This is particularly useful for a shared workflow or when you switch between Outlook versions.
- Review rules after changing your email setup. If a sender changes address, a folder is renamed, or you add a mailbox, check related rules. A rule can remain enabled but no longer match the messages you expect.
Troubleshooting
The message stayed in the Inbox. Open the rule and confirm it is enabled, that its condition matches the message’s actual sender or subject, and that the action points to the intended folder. Check Junk Email and other folders too. Then review rules above it for an action that may prevent later rules from running. For a client-only rule, make sure Outlook is running in the situation where you expect it to act.
The rule moved messages you did not intend to move. Disable it temporarily from the rules list, then edit the conditions to be more precise. Add a sender or a distinctive subject phrase, or use an exception for a known case. Search the destination folder for affected messages and move them back as needed. Test the revised rule on a low-risk message before leaving it enabled.
You cannot find the Rules option or a particular action. Check whether you are using new Outlook, classic Outlook, or Outlook for Mac; their menus differ. Some actions also depend on your account type or organization settings. Try Outlook on the web for mailbox rules if your organization allows it, or ask your Microsoft 365 administrator whether a policy restricts rule creation.
A rule works only when the desktop app is open. Inspect its conditions and actions for anything Outlook marks as client-only. If the rule requires the desktop app, keep that app running and connected when the action needs to occur, or rebuild the rule using server-supported conditions and actions if available.
Older messages did not get sorted. In classic Outlook, edit or recreate the rule and use Run this rule now if the wizard offers it for the selected folder. In other versions, select and move existing messages manually, or create a search and process the results. Keep the rule enabled to handle future incoming messages.
Frequently Asked Questions
Can I create an Outlook rule without opening a message?
Yes. Open the rules settings directly and define the conditions and actions there. In classic Outlook for Windows, use File > Manage Rules & Alerts > New Rule. Starting from a message can be convenient, but it is not required for a custom rule.
Do Outlook rules apply to messages already in my mailbox?
Usually, a newly created rule handles future incoming mail rather than automatically reorganizing everything already received. Classic Outlook’s wizard can offer a run-now option for messages in a folder. Otherwise, move or process older messages separately.
Can one rule have more than one condition or action?
Yes, when the rule editor provides those options. You can combine conditions, choose multiple actions, and add exceptions. More conditions usually make a rule narrower, so check that every added condition is truly required.
Will my rules work on my phone?
Mailbox rules that run on the mail server can apply even when you are not using the desktop app, and the resulting folder or category changes can appear on a phone. Client-only rules may require Outlook on the computer to be running, so check the rule’s type and behavior.
Can I turn a rule off without deleting it?
Yes. Open the rules list and switch off or clear the enabled option for that rule, then save the change. The exact control varies by Outlook version. Disabling preserves the setup so you can turn it back on later.
Why is a rule not listed on another device?
Rules may be stored or supported differently depending on the account and the Outlook app used to create them. Some are mailbox rules, while others depend on a desktop client. Check the same mailbox’s rules in Outlook on the web and review whether a rule is client-only before recreating it.
Related
- Clear Cache and Cookies in Outlook: Step-by-Step
- How to Clear Cache Data in Outlook
- How to Create a Company Email Signature in Outlook
Try it: the Date Difference Calculator: days, months, years and weekdays between two dates, with the DATEDIF formulas.
More in How-to basics
- Create an Email Signature in Outlook: Step-by-StepTo create an email signature in Outlook, open the signature settings for your version, choose New, enter and…
- How to Insert Citations in Microsoft Word: A GuideTo insert a citation in Microsoft Word for Microsoft 365 on Windows, open the References tab, choose a…
- Delete a Page in Word With a Keyboard ShortcutTo delete a page in Microsoft Word on Windows, press Ctrl+G, type \page in the page-number box, press…
- Array in Google Sheets: How It WorksIn Google Sheets, an array is a set of values arranged in rows or columns, and an array…
- Excel Row Size: Row Limits, Height, and AutoFit ExplainedIn Excel for Microsoft 365, a worksheet can contain up to 1,048,576 rows, and an individual row can…
- Excel Goal Seek Tutorial: Steps, Examples, and TipsTo use Goal Seek in Excel for Microsoft 365 on Windows, select Data > What-If Analysis > Goal…
Sources: Function behaviour and menu paths: Microsoft Support documentation for Excel. Method & sources
Spotted an error in this guide? Let us know.