To create a rule in Outlook on the web, open Settings, go to Mail > Rules, choose Add new rule, then set a condition and an action. Save the rule to automatically sort or manage matching incoming messages. You’ll need access to your Outlook mailbox and a clear idea of what messages the rule should identify and what Outlook should do with them.
What You’ll Need
- An Outlook.com, Microsoft 365, or work or school email account that you can open in a web browser.
- A specific condition to match, such as a sender’s address, words in the subject, or messages sent to a particular recipient.
- A destination folder or other action in mind, if you want Outlook to move, forward, flag, or otherwise handle the messages.
The exact options can vary by account type and organization settings. Outlook on the web works in current browsers on Windows and Mac, though your organization may customize or restrict some options.
Step-by-Step
-
Open Outlook on the web and go to Rules. Sign in to your mailbox in a browser. Select the gear-shaped Settings button near the top right. In the settings pane, choose Mail, then Rules. If the pane is compact, select View all Outlook settings first, then open Mail > Rules. Select Add new rule to start a rule.
-
Give the rule a useful name. Enter a short name that explains its purpose, such as “Move weekly reports” or “Flag messages from Dana.” A descriptive name helps when you later review, change, or disable rules. If you expect to create several rules, name them by their purpose rather than using labels such as “Rule 1,” which are difficult to distinguish.
-
Choose a condition that identifies the right messages. Select Add a condition, then choose a property such as the sender, a word or phrase in the subject, the recipient, or another condition shown in your account. Enter or select the detail Outlook asks for. For example, to catch a colleague’s project updates, select the sender condition and enter the colleague’s full email address. A precise address is generally more dependable than a display name, which may be shared or changed.
-
Use conditions that are specific enough. A subject condition can be useful when a service consistently uses a phrase such as “Invoice available,” but avoid a broad word such as “update” if it appears in many unrelated emails. If you add more than one condition, check how the form presents them and assume the rule is intended to match messages meeting the listed criteria together unless the interface indicates otherwise. Create a separate rule when you need a distinct combination of conditions or actions.
-
Choose what Outlook should do when a message matches. Select Add an action and choose an available action, such as moving the message to a folder, marking it as read, flagging it, or forwarding it. If you choose a folder action, select an existing folder or create the destination folder first if your account requires that. For instance, a rule for monthly statements could move matching messages to a folder named “Statements.” Make sure the destination is easy to find and not a folder you rarely check.
-
Add an exception if some matching mail should be left alone. Exceptions are optional. Use Add an exception when a message would meet your condition but should not receive the action—for example, exclude messages with “urgent” in the subject from a rule that moves routine project email. Exceptions help make broad rules safer. If you cannot describe the exception clearly, narrow the original condition instead of adding several complicated exclusions.
-
Review the rule order and any processing options. If your rules include an option such as Stop processing more rules, decide whether a matching message should be checked against later rules. Enabling it can prevent another rule from applying a second action, but it may also block a later rule you rely on. Review your existing rules for overlap, especially if one moves a message and another flags or forwards the same type of mail. Rules may be applied in order, so order can affect the result.
-
Decide whether to apply the rule to existing mail. Rules normally handle messages as they arrive. Some Outlook accounts or rule forms offer an option to run a rule on messages already in the mailbox. Use that only after checking the condition and destination, since it can move or otherwise change many existing messages at once. If no such option appears, save the rule for new mail and use Outlook search to find older matching messages, then move or handle them manually.
-
Save the rule and test it. Select Save. Send yourself a test message or wait for a message that meets the condition, then check the inbox, destination folder, and any other action you selected. Confirm that a message that should not match remains unaffected. If the rule does not behave as expected, reopen Settings > Mail > Rules and edit or disable it while you review the condition, exceptions, and rule order.
Example: To collect messages from a regular report service, create a rule named “Weekly report,” set the sender condition to the service’s exact email address, and choose to move matching messages to a Reports folder. If the service sometimes sends urgent notices that must stay in the inbox, add an exception for the relevant subject wording. Test with a real or safely generated matching message before relying on the rule for important email.
Common Mistakes
Using a condition that is too broad: A short word in a subject or message body may appear in unrelated mail. This can make a rule move, flag, or forward more messages than intended. Use a sender address, a distinctive phrase, or a combination of conditions where appropriate.
Forgetting that a rule may only handle new messages: Saving a rule does not necessarily sort mail already in your inbox. Look for an explicit option to run it on existing messages. If that option is absent, search for older messages and manage them separately.
Choosing the wrong folder or action: A rule that moves mail to an unexpected folder can make it seem as if messages have disappeared. Verify the selected destination before saving, and check that folder after testing. Moving a message is not the same as deleting it, but a message in an unfamiliar folder may be easy to overlook.
Overlooking overlapping rules: Two rules can both match one message and produce an unexpected result. For example, an early rule might move a message before a later rule can handle it as intended. Review the list of rules and processing options if a message receives the wrong action.
Forwarding without checking restrictions: Work and school accounts may block automatic forwarding, particularly to addresses outside the organization. A rule can appear to save successfully yet fail to forward mail. Check your organization’s policies and test with an address you are permitted to use.
Tips
Start with one simple condition and one action. A rule that matches one known sender and moves mail into one folder is easier to test than a rule with several conditions, exceptions, and actions. Once it works, add complexity only if there is a clear reason. This also makes it easier to identify which setting caused a problem.
Choose folder names that describe their contents, and check those folders regularly. Moving a message out of the inbox can reduce clutter, but it can also hide a time-sensitive request if you never look at the destination. For mail that needs attention rather than storage, an available flagging action may be more appropriate than moving it.
Review your rules occasionally, especially after a sender changes address, a project ends, or you reorganize folders. Remove rules you no longer need and update conditions that have become outdated. If an important message must not be missed, do not depend on a rule as your only safeguard; keep checking the relevant folder and review your junk or quarantine area when appropriate.
Because Outlook on the web runs in a browser, the core settings path is generally the same on Windows and Mac. The page layout can vary with account type, screen size, and Microsoft updates. If you do not see the same labels, use the Settings search field if available or open the full settings view and look under Mail.
Troubleshooting
The rule is not listed after you save it: Reopen Settings > Mail > Rules and refresh the page. If it still is not there, try saving again and check whether a required field, such as the sender or destination folder, is incomplete. An organization policy or account limitation may also prevent certain rule actions.
A matching message stays in the inbox: Confirm that the message actually meets every condition and is not covered by an exception. Check the exact sender address, spelling, subject wording, and selected folder. Also consider whether the message arrived before the rule was created; rules generally do not process past mail unless you explicitly choose an available run-now option.
The wrong messages are affected: Disable the rule temporarily, then edit it to use a more distinctive condition. Search the mailbox for the messages it changed and move them back if needed. For future messages, test the revised version with a known match and a similar message that should not match.
A message seems to have vanished: Search Outlook for the sender or a distinctive subject phrase, then check the rule’s destination folder, Deleted Items, and Junk Email. If another rule may have moved or deleted it, inspect the full rule list and disable conflicting rules while you investigate. Avoid creating a duplicate rule until you know what happened, since that can make the behavior harder to diagnose.
Forwarding or another action does not work: Confirm that the action is still selected and that the target address or folder is valid. For forwarding, test with an allowed address and check your organization’s automatic-forwarding restrictions. For any action that remains unavailable or fails consistently, contact your work or school administrator or Microsoft support with the rule name and the message details.
Frequently Asked Questions
Do Outlook on the web rules apply to messages already in my inbox?
Usually, rules handle new incoming mail. If the rule form offers a run-on-existing-messages option, you can choose it after checking the likely impact. Otherwise, search for older messages and manage them separately.
Can I create a rule to move messages from one sender?
Yes. Add a sender condition, enter the sender’s address, and choose a move action and destination folder. Test the rule with a message from that sender to confirm it matches the address and moves the message as expected.
Can a rule move mail directly to a folder I create?
Yes, when the folder is available in the action’s destination list. Create the folder in Outlook first if necessary, then select it as the destination. After saving, check the folder to verify that the rule is using the intended location.
Why can’t I find Rules in Settings?
Open the full settings view and look under Mail > Rules. The layout can differ between Outlook.com and work or school accounts. If the option is missing or unavailable, your account type or organization’s administrator may restrict rule management.
Can I make a rule that forwards messages automatically?
Some accounts offer a forward action in the rule builder. Work or school administrators may block automatic forwarding, especially to external addresses. Check the action options and your organization’s policy, then test only with an address you are allowed to use.
How do I stop a rule?
Go to Settings > Mail > Rules, find the rule, and use its available edit, disable, or delete control. Disabling it preserves the setup for later; deleting it removes the rule, so choose based on whether you may need it again.
Related
- Clear Cache in Microsoft Outlook: Windows, Mac & Web
- How to Clear Cache Files in Outlook Safely
- Clear Cache and Cookies in Outlook: Step-by-Step
Try it: the Date Difference Calculator: days, months, years and weekdays between two dates, with the DATEDIF formulas.
More in How-to basics
- Format Zero as a Dash in Excel with Custom FormattingTo show numeric zeros as dashes in Excel without changing the underlying values, select the cells, press Ctrl+1,…
- Excel Data Validation: Copy Rules Quickly and SafelyTo copy only data validation in Excel for Microsoft 365 on Windows, copy a cell that has the…
- How to Share a Calendar in the Outlook App on DesktopTo share a calendar in the Outlook app, open Calendar, choose the calendar you own, select Share Calendar…
- How to Add Multiple Footnotes in Word and Manage ThemTo add multiple footnotes in Microsoft Word, place the cursor where a note marker should appear, choose References…
- Archive Emails in Outlook to a PST FileTo archive Outlook emails in a PST file, use classic Outlook for Windows: go to File > Open…
- Cover Page in Word: How to Insert, Edit, and Remove ItIn Microsoft Word for Microsoft 365 on Windows, select Insert > Cover Page, then choose a design; Word…
Sources: Function behaviour and menu paths: Microsoft Support documentation for Excel. Method & sources
Spotted an error in this guide? Let us know.