What a rule does and why you'd create one

A rule in Outlook 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 stop manually sorting the same types of email over and over.

For example, you might create a rule that moves all email from your manager into a folder called "Priority", or one that automatically marks messages from a mailing list as read. Rules work on new mail as it arrives, and you can also run them backward on mail already in your inbox.

The exact steps differ slightly between Outlook on the web, Outlook for Windows, and Outlook for Mac, but the logic is the same: you choose a condition (who the email is from, what the subject line contains, or where it's addressed), then choose an action (move it, flag it, delete it, or forward it).

Key Takeaways

  • Rules in Outlook automatically sort, move, or flag email based on conditions you set, like the sender's address or words in the subject line.
  • In Outlook for Windows, you create rules through File > Manage Rules & Alerts, then choose a condition and an action.
  • In Outlook on the web, you right-click a message and select "Create rule" to set up a simple rule in seconds.
  • You can run a rule on mail that's already in your inbox, not just on new messages going forward.
  • A single rule can combine multiple conditions (from a specific person AND containing a keyword) and multiple actions (move the message and flag it).

Creating a rule in Outlook for Windows

Open Outlook and go to the File tab in the top left. Click File, then select "Manage Rules & Alerts" from the menu. A window will open showing any rules you've already created.

Click the "New Rule" button. Outlook will show you a template with three sections: conditions (the "if" part), actions (the "then" part), and exceptions (cases where the rule should not apply). Start by checking the box next to the condition you want — for instance, "from [people or distribution list]" if you want the rule to apply to mail from a specific person.

Once you check a condition box, a link will appear below it. Click that link to specify the details — for example, if you chose "from [people or distribution list]", you'll click the link and type in the sender's email address or name. Then check the box next to the action you want, such as "move it to the specified folder" or "flag message for follow-up". Click the link next to your action to choose which folder or flag type.

When you're done, click OK. Outlook will ask whether you want to run this rule on messages already in your inbox. If you say yes, it will sort through your existing mail and apply the rule retroactively. Click Finish, and the rule is live.

Creating a rule in Outlook on the web

Outlook on the web (the version you access through a browser at outlook.com or through your work email portal) has a faster route for simple rules. Open your inbox and right-click on any message from the sender you want to filter, or any message with the subject line or content you want to match.

Select "Create rule" from the menu. A panel will slide open on the right side. Outlook will have already filled in the condition based on the message you right-clicked — for example, if you right-clicked a message from your accountant, it will pre-fill "from [accountant's email]". You can add more conditions by clicking "Add condition".

In the "Do the following" section, choose your action: move to a folder, mark as read, delete, or forward to another address. If you choose to move the message, click the folder dropdown and select or create the destination folder. Click Save, and the rule is active immediately.

If you need more control — for instance, combining multiple conditions or setting exceptions — go to Settings (the gear icon in the top right), select "View all Outlook settings", then go to Mail > Rules. This opens the full rules editor, which works similarly to the Windows version.

Combining conditions and actions in a single rule

A rule doesn't have to match just one thing. You can tell Outlook to apply an action only when multiple conditions are true at the same time. For example, you might create a rule that moves messages to a folder only if they're from your team AND the subject line contains "project update".

In Outlook for Windows, after you check your first condition box and fill in its details, check a second condition box below it. Outlook will automatically treat them as "and" conditions — both must be true for the rule to trigger. If you want "or" logic instead (apply the rule if either condition is true), you'll need to create two separate rules.

You can also add multiple actions. For instance, a rule might move a message to a folder AND flag it for follow-up AND mark it as important. Check each action box you want, fill in the details for each, and Outlook will perform all of them when the conditions match.

Running a rule on mail you already have

Rules normally apply only to new mail arriving after you create them. But Outlook lets you run a rule backward on messages already sitting in your inbox or other folders.

In Outlook for Windows, open Manage Rules & Alerts (File > Manage Rules & Alerts), select the rule you want to apply to old mail, and click "Run Rules Now". A dialog will appear asking which folder to run the rule on — select your inbox or whichever folder contains the mail you want to sort. Click Run, and Outlook will process every message in that folder against the rule.

In Outlook on the web, this option is not available in the same way. Instead, you can manually select multiple messages in your inbox (click the checkbox next to the first one, then hold Shift and click the last one to select a range), then use the toolbar to move them to a folder or apply a flag. Alternatively, use the search box to find all messages matching your criteria, then move or flag them in bulk.

Common rule setups and examples

A newsletter rule: Create a rule where the condition is "from [newsletter sender's address]" and the action is "move to folder" (choose or create a folder called "Newsletters"). You can add a second action to mark it as read automatically so it doesn't clutter your unread count.

A priority rule: Set the condition to "from [your manager's address]" and the action to "flag message for follow-up" with the flag color set to red. This makes urgent mail stand out visually without moving it out of your inbox.

A project rule: Use the condition "subject contains [project name]" and move matching messages to a project folder. If you work on multiple projects, create one rule per project.

A low-priority rule: Set the condition to "from [mailing list address]" and the action to "move to folder" and "mark as read". This keeps bulk mail from overwhelming your inbox and unread count at the same time.

Editing, disabling, or deleting a rule

In Outlook for Windows, go to File > Manage Rules & Alerts, select the rule you want to change, and click "Change Rule". You can modify any condition or action. Click OK to save your changes.

If you want to turn a rule off temporarily without deleting it, select the rule and uncheck the box next to its name. The rule will stay in your list but won't run until you check the box again.

To delete a rule, select it and click "Delete Rule". Outlook will ask you to confirm. Deleting a rule does not undo its past actions — messages it already moved will stay in their destination folders.

In Outlook on the web, go to Settings > View all Outlook settings > Mail > Rules, select the rule, and click the trash icon to delete it or the pencil icon to edit it.

Frequently Asked Questions

Can I create a rule that applies to messages I send, not just ones I receive?

In Outlook for Windows, yes. When you create a rule, you can choose conditions like "sent to [address]" instead of "from [address]". This lets you automatically file copies of mail you send to specific people. Outlook on the web does not support rules for outgoing mail.

What happens if two rules apply to the same message?

Outlook runs rules in the order they appear in your rules list. If the first rule moves a message to a folder, the second rule will look for the message in that new folder, not in your inbox. You can reorder rules by selecting one and clicking the up or down arrow in Manage Rules & Alerts.

Can I create a rule that deletes messages automatically?

Yes, but be careful. You can set the action to "delete" or "permanently delete", but once a message is gone, you cannot recover it. Consider using "move to Deleted Items" instead, which gives you a chance to review the folder before emptying it.

Do rules work on email forwarded to me?

Rules match based on the original sender's address and the message content, not on who forwarded it to you. So a rule looking for mail "from [person's address]" will catch their original messages but not messages they forward to you under a different subject line.

Can I share a rule with a coworker?

Outlook does not have a built-in way to export or share rules. Your coworker would need to create the same rule on their own account by following the same steps. If you work in an organization with Exchange Server, your IT department may be able to deploy rules across multiple accounts, but this requires administrator access.