What Outlook rules do and how to create one
An Outlook rule is an automatic action that sorts, flags, or moves your incoming email based on conditions you set. You can create a rule that moves all messages from a specific sender to a folder, marks certain emails as read, or forwards messages to another address. Rules run in the background after you set them up, so you do not have to sort mail manually each time it arrives.
The process differs slightly depending on whether you use Outlook on the web, Outlook desktop for Windows, or Outlook for Mac. All three versions let you create rules, but the menu locations and naming vary. This guide covers the most common setup: Outlook desktop for Windows, which is where most email marketers and frequent users manage their accounts.
Key Takeaways
- Rules in Outlook automatically sort, move, or flag incoming messages based on sender, subject line, or other details you choose.
- To create a rule in Outlook desktop, go to File > Manage Rules & Alerts, then select New Rule and pick a template or start from scratch.
- You can set multiple conditions (such as "from this sender AND contains this word") and multiple actions (move to folder AND flag the message).
- Rules process messages in the order you list them, so place your most specific rules at the top and general rules at the bottom.
- Testing a rule on existing mail before applying it to all future messages helps you catch mistakes without losing or misfiling messages.
Creating a rule in Outlook desktop for Windows
Open Outlook and go to the File menu at the top left. Click Manage Rules & Alerts. A dialog box will open showing any rules you have already created. Click the New Rule button.
You will see two options: Start from a blank rule or Start from a template. Templates include common setups like "Move messages from someone" or "Flag messages for follow-up". If one matches what you need, select it and Outlook will fill in some fields for you. If not, choose Start from a blank rule and build it yourself.
Next, you set the condition — what triggers the rule. Click Add Condition and choose from options like "From", "To", "Subject contains", "Sent to", or "Marked as importance". For example, if you want to sort emails from a specific sender, select "From" and type their email address. You can add multiple conditions by clicking Add Condition again. If you add more than one, Outlook will ask whether all conditions must be true or just one.
Then you set the action — what Outlook does when the condition is met. Click Add Action and choose from options like "Move to folder", "Delete", "Forward to", "Mark as read", or "Assign to category". Select the folder or category you want, or type the forwarding address. You can add multiple actions, so a single rule can move a message to a folder and flag it at the same time.
Setting conditions and actions with examples
A condition tells Outlook when to apply the rule. The most common condition is the sender's email address. If you receive regular newsletters from marketing@example.com and want them to go straight to a folder, set the condition to "From" and enter that address. You can also use "Subject contains" to catch emails with specific words in the subject line, or "Sent to" if the email was sent to a group address or mailing list you belong to.
You can combine conditions to be more precise. For example: "From marketing@example.com AND Subject contains 'weekly report'" will only trigger the rule if both are true. This prevents the rule from catching unrelated emails from that sender.
An action is what happens next. "Move to folder" is the most common action — select or create the folder where you want messages to land. "Mark as read" automatically marks incoming messages as read so they do not clutter your unread count. "Assign to category" adds a color or label to the message. "Forward to" sends a copy to another address (useful if you want to redirect certain emails to a colleague). You can combine actions, so a rule might move a message to a folder, mark it as read, and assign it to a category all at once.
Testing a rule before applying it to all mail
Before a rule starts processing all your incoming mail, you can test it on messages already in your inbox. In the Manage Rules & Alerts dialog, select the rule you just created and click Run Rules Now. A new dialog will open asking which folder to run the rule on. Select your Inbox (or whichever folder you want to test on) and click Run.
Outlook will show you how many messages matched the rule and were processed. Check your folders to make sure the messages went where you expected. If something went wrong — for example, the rule caught messages you did not intend — go back to the rule, edit the condition to be more specific, and test again. Once you are confident the rule works correctly, it will automatically apply to all new incoming mail from that point forward.
Managing and editing rules you have already created
To change a rule later, go back to File > Manage Rules & Alerts. You will see a list of all your active rules. Click the one you want to edit and click Edit Rule. You can change the condition, the action, or both. When you are done, click OK and the rule will update immediately.
Rules run in the order they appear in the list. If you have a rule that moves all emails from a sender to Folder A, and another rule that moves emails with a certain subject to Folder B, the order matters. If the first rule catches the message, the second rule will not run on it. You can reorder rules by selecting one and clicking the up or down arrow buttons.
To turn off a rule without deleting it, uncheck the box next to its name. To delete a rule entirely, select it and click Delete. Deleted rules do not affect messages that were already processed by that rule — they only stop the rule from running on new mail going forward.
Rules in Outlook on the web and Outlook for Mac
If you use Outlook on the web (the browser version), the process is similar but the menu is different. Log in to your account, click the gear icon in the top right, select View all Outlook settings, then go to Mail > Rules. Click Add new rule and follow the same steps: set a condition, set an action, and name the rule.
Outlook for Mac uses a different interface. Go to Tools > Rules (or Outlook > Preferences > Rules depending on your version), then click the plus sign to create a new rule. The conditions and actions are the same, but the menus are organized differently. If you switch between devices, you may need to set up the same rules in each version, as rules do not always sync across platforms.
Common mistakes and how to avoid them
One frequent mistake is creating a rule that is too broad. For example, a rule that moves all emails containing the word "report" to a folder might catch messages you want to stay in your inbox. Instead, combine conditions: "From marketing@example.com AND Subject contains 'weekly report'" is much more specific and less likely to misfiled important mail.
Another mistake is forgetting to test a rule before it processes thousands of messages. If you create a rule that deletes messages matching a condition, and the condition is wrong, you could lose mail permanently. Always test on a small folder first, or use "Move to folder" instead of "Delete" until you are certain the rule is working correctly.
A third mistake is creating rules that conflict with each other. If Rule 1 moves emails from a sender to Folder A, and Rule 2 moves emails from the same sender to Folder B, only Rule 1 will run (because it comes first in the list). If you want both actions to happen, combine them into a single rule instead.
Frequently Asked Questions
Can I create a rule that applies to emails I have already received?
Yes. After you create the rule, go to Manage Rules & Alerts, select the rule, and click Run Rules Now. Choose the folder containing your old mail and Outlook will process those messages using the new rule. This is useful if you want to organize your inbox retroactively.
What happens if I delete a rule?
Deleting a rule stops it from processing new incoming mail, but it does not undo the actions it already took. Messages that were moved to a folder by that rule will stay in that folder. You would need to manually move them back if you want to reverse the action.
Can a rule forward emails to another email address?
Yes. When you set the action, choose "Forward to" and enter the recipient's email address. The forwarded message will include the original sender's address, so the recipient knows where it came from. This is useful for redirecting certain types of mail to a colleague or another account.
Do rules work on emails that arrive while Outlook is closed?
Yes. Rules are processed on the server side (for most accounts) or when Outlook opens and syncs your mail. Either way, messages that arrive while Outlook is closed will still be sorted according to your rules when you open the program.
Can I create a rule based on the email body text, not just the subject line?
In Outlook desktop, you can use "Body contains" as a condition. However, this option is not available in Outlook on the web. If you need to filter by body text and use the web version, you may need to use search folders or categories as a workaround instead.