To create an email rule in Outlook on the web, select the Settings gear, open Mail > Rules, choose Add new rule, then set a condition and an action such as moving matching messages to a folder. Save the rule to have Outlook apply it to future incoming mail. Before you begin, decide which messages you want to catch and what should happen to them; a specific condition makes a rule easier to trust and troubleshoot.
Rules help sort routine email automatically, highlight messages that need attention, or handle certain senders without manually processing every message. The labels and available options can differ slightly between personal Outlook.com accounts and work or school Microsoft 365 accounts, but the basic setup is similar.
What You’ll Need
- An internet connection and access to Outlook on the web in a supported browser.
- The correct Outlook.com or work or school account. Rules are created for the mailbox you are signed in to.
- A clear condition, such as a sender address, a phrase in the subject, or a recipient address.
- If you plan to move messages, create the destination folder first using the folder list in Outlook. You can also choose a folder while configuring the rule if it is offered in the action menu.
Step-by-Step
- Open Outlook on the web and check the mailbox. Go to Outlook in your browser and sign in. If you have more than one account or mailbox open, confirm that you are viewing the mailbox where you want the rule to operate. A rule made in one mailbox will not automatically sort messages in another mailbox.
- Open the mail rules settings. Select the Settings gear near the upper-right corner. In the settings panel, choose Mail, then Rules. Depending on the version of the interface, you may first need to select View all Outlook settings before choosing Mail > Rules. If you do not see Mail, make sure you are in Outlook rather than another Microsoft 365 app.
- Start a new rule. Select Add new rule. Enter a short, descriptive name, such as Receipts to Purchases or Messages from Jordan. A useful name tells you what the rule is for when you review or edit it later. Avoid names such as Rule 1, which are hard to distinguish when you have several.
- Choose a condition. Select Add a condition and pick the field that identifies the mail. Depending on your account and interface, conditions can include the sender, recipient, subject text, or whether your address appears in a particular recipient field. Enter the value carefully. For a sender condition, use the address rather than relying only on a display name, since display names can be shared or changed.
- Check how multiple conditions work. If you add more than one condition, Outlook generally requires a message to meet all the conditions for the rule to match. For example, a sender condition plus a subject condition narrows the rule to messages from that sender with that subject text. If you intend to catch either one of two senders, look for an option that accepts multiple values in the same condition, or make separate rules; do not assume separate condition rows mean “either.”
- Add the action. Select Add an action, then choose what Outlook should do when a message matches. Common actions include moving the message to a folder, categorizing it, marking it as read, flagging it, deleting it, or forwarding it. The available actions depend on your account. For a folder rule, select the destination folder from the list and verify its name before continuing.
- Review exceptions and rule order. If the form offers Add an exception, use it to exclude messages you want to keep out of the rule, such as messages with a particular phrase in the subject. Look for an option such as Stop processing more rules if you do not want later rules to act on the same message. Rule order matters when rules overlap: a rule that moves a message can affect what a later rule sees. Keep rules specific and review their order in the rules list.
- Save and check the result. Select Save. Confirm that the rule appears in the rules list and that its switch or status is enabled. If the editor shows a Run rule now option and you want the rule to affect messages already in the Inbox, decide whether to select it before saving. This option may not be available in every account or version. Otherwise, expect the rule to apply to new incoming messages, not to reorganize old mail automatically.
- Test with a suitable message. Send yourself or wait for a low-risk message that meets the condition, then check the destination folder or other action. If you cannot use a test message, inspect a real matching message and compare its sender, subject, and recipients with the rule. Do not test a delete or forward rule on important mail; temporarily use a safe action, such as moving to a test folder, if you are unsure.
Common Mistakes
Choosing a condition that is too broad: A rule based only on a common word in the subject can catch unrelated messages. Add a sender or another meaningful condition, and test the combination before relying on it.
Expecting old messages to move: A newly saved rule usually handles incoming messages going forward. If an option to run it now is not shown, use Outlook search to find older matching mail and move or categorize the results manually.
Using the wrong mailbox or folder: Rules belong to a particular account, and folder names can look similar. Check the signed-in account and destination carefully, especially if you use a shared mailbox or several accounts.
Overlooking overlapping rules: Two rules can match the same email and produce an unexpected result. Review the order and any stop-processing option, then simplify or narrow rules that compete.
Forwarding sensitive messages automatically: Forwarding can send private information outside your organization. Work or school administrators may block automatic forwarding, and a personal account can still forward more than you intend. Check the destination and your organization’s policy before enabling it.
Tips
Use conditions that will remain true over time. A sender’s full email address is often more dependable than a display name, while a subject phrase is useful for regular notices whose wording stays consistent. Avoid matching a phrase that appears in many unrelated messages.
Create folders before building a set of sorting rules, and give folders and rules names that describe their purpose. For example, a rule named Vendor invoices to Finance is more informative than Invoices if you later add rules for other kinds of bills.
Start with one action per rule when possible. A simple move rule is easier to check than a rule that moves, marks as read, and forwards messages all at once. Once it behaves as intended, add another action only if you have a clear reason.
Review your rules after changing jobs, subscriptions, or mail habits. Disable or remove rules you no longer need, and send a test message after editing an important one. If a rule affects a shared or work mailbox, coordinate with its owner or administrator before making broad changes.
For a rule that catches messages from several people, check whether the condition supports entering multiple addresses. If not, separate rules may be clearer than a broad rule that tries to match an imprecise term. Keep a short note of why a complex rule exists if other people manage the mailbox too.
Troubleshooting
The rule is not listed or did not save: Return to Settings > Mail > Rules and look for it in the list. If it is missing, reopen the form, complete any required condition and action fields, and select Save. Refresh Outlook and confirm you are still in the intended account. If the menu is unavailable, your organization may restrict a feature or the mailbox may be managed in a different Outlook interface.
A matching email stays in the Inbox: Open the rule and compare its condition with the message’s actual details. Check the full sender address, subject wording, and recipient field; a display name or a small spelling difference can cause a miss. Confirm the rule is enabled, and check whether an earlier rule stops processing or moves the message elsewhere.
Messages are going to the wrong folder: Verify the selected destination and inspect other rules that act on the same messages. Temporarily disable overlapping rules, then test the intended rule by itself. Also check whether the folder was renamed or moved since you created the rule.
Only new messages are affected: This is expected if the rule was not run against existing mail. Search for older messages that meet the same criteria and move them manually, or use a run-now option if the rule editor provides one. Check the result before selecting a large group of messages.
Forwarding or another action is missing or blocked: Available actions vary by account type, and work or school administrators can restrict forwarding or other behavior. Try an allowed action, such as moving messages to a folder, or ask your Microsoft 365 administrator whether the action is permitted. Do not create a substitute rule that sends sensitive mail to an unapproved address.
Frequently Asked Questions
Do Outlook on the web rules apply to messages already in my Inbox?
Usually, a rule applies to messages received after it is saved. If the editor offers Run rule now, you may be able to apply it to existing messages too. Otherwise, search for older matches and process them manually.
Can I make a rule for more than one sender?
Often you can enter multiple values in a condition, but the available controls differ by account. Check whether the sender condition supports multiple addresses. If it does not, create separate rules or use another precise condition rather than assuming multiple condition rows mean either sender.
Can Outlook move messages into a folder automatically?
Yes. Add a condition to identify the messages, choose a move-to-folder action, select the destination, and save. Test the rule so you can confirm that it selects the right messages and folder.
Will a rule I create in Outlook on the web work in desktop Outlook?
Many mailbox rules are stored with the account and work across Outlook, but some rules or actions depend on the app or account. If a rule behaves differently in desktop Outlook, review it in the web rules list and check with your administrator for a work account.
How do I stop or change a rule?
Open Settings > Mail > Rules, find the rule, and use its switch to turn it off if available. Select the rule’s edit control to change its condition or action, or use its delete control to remove it. Save any changes and check the list afterward.
Related
- How to Clear Cache in the New Outlook Desktop App on Windows
- How to Clear Cache in Outlook 365 on Windows, Mac, and Web
- How to Clear Cache in MS Outlook Without Losing Mail
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 Archive Emails in Outlook Web App and Find ThemTo archive an email in Outlook on the web, select it in your message list and choose Archive…
- Excel Automatic Goal Seek: Options for Repeated ModelsExcel Goal Seek does not automatically rerun whenever a worksheet changes: you must start it again, or use…
- How to Add a Page Header in Microsoft Word DocumentsTo add a page header in Word, open your document, select Insert > Header, choose a design, and…
- Google Sheets Filter Wildcards: What Works and HowGoogle Sheets’ basic filter conditions do not treat * or ? as wildcard characters: “Text contains” searches for…
- Add a Header to a Word Document in Microsoft 365To add a header in Word for Microsoft 365 on Windows, open the document and choose Insert >…
- Create Labels in Word From an Excel FileTo create labels in Word from an Excel file, prepare a saved address list, then use Word’s Mailings…
Sources: Function behaviour and menu paths: Microsoft Support documentation for Excel. Method & sources
Spotted an error in this guide? Let us know.