What Outlook rules do and how to create one

An Outlook rule is an automatic instruction that sorts, flags, or moves your email based on conditions you set. Once you create a rule, Outlook applies it to every incoming message that matches your criteria — so you can move all emails from your manager to a folder, automatically flag invoices for follow-up, or send certain messages to junk without reading them.

Rules work differently depending on whether you use Outlook on Windows, Mac, or the web version. The steps below cover Outlook on Windows (the desktop application) and Outlook on the web, which are the most common setups. The core idea is the same everywhere: you choose a condition (like "from this person" or "contains this word"), then pick an action (like "move to folder" or "mark as read").

Key Takeaways

  • Rules in Outlook automatically sort, move, or flag emails based on conditions you set, and they run on every new message that arrives.
  • In Outlook on Windows, you access rules through File > Manage Rules & Alerts, while in Outlook on the web you go to Settings > Mail > Rules.
  • A rule needs at least one condition (like sender address or subject line keywords) and at least one action (like moving to a folder or marking as junk).
  • Rules run in the order you create them, so if two rules could apply to the same email, the first one takes priority.
  • You can test a rule on existing emails before it runs on new messages, which helps you catch mistakes before they affect your inbox.

Creating a rule in Outlook on Windows

Open Outlook and go to the File menu at the top left. Click File, then look for "Manage Rules & Alerts" — this is usually near the bottom of the menu. A window will open showing any rules you already have. Click the "New Rule" button.

Outlook will show you two paths: "Start from a blank rule" or "Start from a template." Templates are pre-built rules for common tasks like moving mail from a specific person or flagging messages with certain words. If you see a template that matches what you want, click it and skip to the next paragraph. Otherwise, click "Start from a blank rule" and choose either "Check messages when they arrive" or "Check messages after sending" — most people want the first option.

Now you build the rule. Under "Step 1: Select condition(s)," check the boxes next to the conditions that must be true. Common ones are "from [people]" (emails from specific senders), "with [words]" (emails containing certain words in the subject or body), "sent to [distribution list]" (emails sent to a group address), and "marked as importance" (high or low priority emails). You can pick more than one condition — if you do, the rule only runs when all of them are true at the same time.

Under "Step 2: Select action(s)," check the boxes next to what you want Outlook to do. Common actions are "move it to the [folder]" (sends the email to a specific folder), "assign it to the [category]" (adds a color category), "mark it as read" (removes the unread flag), and "delete it" (sends to Deleted Items). Again, you can pick multiple actions.

Under "Step 3: Set any exceptions," you can add conditions that prevent the rule from running — for example, "except if it's marked as high importance." This is optional. Then click "Finish" to save the rule.

Creating a rule in Outlook on the web

Log into Outlook on the web and click the gear icon in the top right corner. Select "View all Outlook settings," then click "Mail" in the left sidebar and choose "Rules." Click "Add new rule" to start.

Enter a name for your rule in the text box at the top — something like "Flag invoices" or "Sort newsletters" helps you remember what it does. Then set your conditions. Click "Add condition" and choose from the dropdown: "From," "To," "Subject," "Has the words," or "Marked as importance." Fill in the details (like the sender's email address or the words to search for). You can add multiple conditions by clicking "Add condition" again.

Next, click "Add action" and choose what should happen: "Move to," "Assign category," "Mark as read," "Mark as junk," or "Delete." Fill in the details — for example, if you chose "Move to," select which folder. You can add more than one action. When you're done, click "Save" at the bottom.

Testing a rule before it affects your inbox

In Outlook on Windows, after you create a rule, you can test it on emails you already have. Go back to File > Manage Rules & Alerts, select your new rule, and click "Run Rules Now." A window will appear asking which folder to run it on — select your Inbox. Outlook will show you how many emails matched the rule. If the number seems wrong, delete the rule and create a new one with different conditions.

In Outlook on the web, there is no built-in test feature, but you can create the rule and then watch your inbox for a few minutes to see if it works as expected. If it does not, go back to Settings > Mail > Rules, click the rule name, and edit the conditions or actions.

Common mistakes and how to fix them

The most common mistake is creating a rule that is too broad. For example, a rule that moves all emails "with the words 'meeting'" will catch meeting invitations, confirmations, and casual mentions — probably more than you want. Be specific: use the sender's email address instead of just a name, or combine multiple conditions so the rule only runs when several things are true at once.

Another mistake is forgetting that rules run in order. If you have a rule that moves emails from your boss to a folder, and then a second rule that marks all emails as read, the second rule will still run on the emails your boss sends — they will be moved and marked as read. If you want to stop other rules from running after one rule matches, you need to add an exception or reorder your rules. In Outlook on Windows, you can drag rules up or down in the Manage Rules & Alerts window to change the order.

A third mistake is creating a rule that deletes or moves emails you did not mean to. Start with actions like "assign category" or "mark as read" to see if your conditions are right, then change to "move" or "delete" once you are confident.

Rules for specific situations

If you receive a lot of newsletters or promotional emails, create a rule that moves them to a folder automatically. Set the condition to "from" the sender's email address (or "with the words" if the sender changes), and set the action to "move to" a folder you create called "Newsletters" or "Promotions." This keeps them out of your main inbox without deleting them.

If you work with invoices or receipts, create a rule that assigns them a category. Set the condition to "subject contains 'invoice'" or "from [your accounting department]," and set the action to "assign category" and pick a color like red or orange. This makes them easy to spot when you scan your inbox.

If you want to reduce clutter, create a rule that marks certain emails as read automatically. Set the condition to "from [a mailing list]" or "to [a group address]," and set the action to "mark as read." The emails still arrive, but they do not show as unread, so they do not distract you.

Frequently Asked Questions

Can I create a rule that applies to emails I already received?

In Outlook on Windows, yes — after you create a rule, go to File > Manage Rules & Alerts, select the rule, and click "Run Rules Now." Choose your Inbox and Outlook will apply the rule to existing emails. In Outlook on the web, rules only apply to new emails going forward, not to messages already in your inbox.

What if I want a rule to run only on weekdays or at certain times?

Outlook rules do not have built-in scheduling or time-based conditions. Rules run immediately when an email arrives, regardless of the time or day. If you need time-based sorting, you can manually move emails or use a third-party tool that integrates with Outlook.

Can I copy a rule to use as a starting point for a new one?

In Outlook on Windows, open File > Manage Rules & Alerts, right-click the rule you want to copy, and select "Copy." Then click "New Rule" and paste the conditions and actions. In Outlook on the web, you have to create each rule separately — there is no copy feature.

What happens if two rules match the same email?

Both rules run, in the order you created them. If the first rule moves the email to a folder and the second rule marks it as read, both actions happen — the email is moved and marked as read. If you want only one rule to run, add an exception to the second rule to prevent it from running on emails that already matched the first rule.

Can I turn off a rule without deleting it?

Yes. In Outlook on Windows, go to File > Manage Rules & Alerts, select the rule, and uncheck the box next to its name. In Outlook on the web, go to Settings > Mail > Rules, click the rule, and toggle the switch to off. The rule stays saved and you can turn it back on later.