Sign in with Microsoft
Sign in or create an account.
Select a different account.
You have multiple accounts
Choose the account you want to sign in with.

A rule is an action that Outlook Web App runs automatically on incoming or outgoing messages. For example, you can create a rule to automatically move all email sent to a group you are a member of to a specific folder, or to delete all messages with "Buy now" in the subject.

If you want to create and manage inbox rules in the Outlook desktop program, see Manage email messages by using rules.

This article is for Outlook Web App, which is used by organizations that manage email servers running Exchange Server 2013 or 2010. If you're using Microsoft 365, or Exchange Server 2016 or 2019, your email program is Outlook on the web. For help with Outlook on the web, see Get help with Outlook on the web.

  1. In a web browser, sign in to Outlook Web App using the URL provided by the person who manages email for your organization. Enter your user name and password, and then select Sign in.

  2. At the top of the page, select Settings > Options.

  3. In Options, select Organize email > Inbox rules.

The Inbox rules page shows you an overview of all your Inbox rules. From here, you can review what a rule does, turn rules off or on, create new rules, edit existing rules, or delete rules that you no longer need.



Add new

Use this to create a new Inbox rule.

edit edit

Highlight a rule, and then select to view or edit the details of a rule.

discard delete

Highlight a rule, and then select Delete to delete it.

move up move up

Use this to move the selected rule up in the list. Rules are processed from top to bottom.

Move down move down

Use this to move the selected rule down in the list.


Use this to refresh the list of rules.


Use the check box next to a rule to turn it on (box checked) or off (box not checked).


The name of the rule

To create a new blank rule using the Inbox rules page, choose Addnew.

The new rule window has three sections:




When the message arrives and:

Give the rule a name

Use this box to select criteria for your rule. Use the down arrow to view and select the criteria you want to use.

If the criteria have additional options, enter them in the window that appears.

Do the following:

Use this box to select the action you want taken when a message arrives that meets the criteria you selected.

More Options

Use More Options to:

  • Add additional conditions or actions to a rule.

  • Add exceptions to a rule by selecting Add Exception.

  • Turn on or turn off the option to stop processing more rules. By default, the option to stop processing more rules is turned on. With this option on, when a message comes in that meets the criteria for more than one rule, only the first rule will be applied. Without this setting, all rules that the message meets the criteria for are applied.

    For example, without Stop processing more rules selected, if you have a rule to move all messages sent to a public group to a particular folder and another rule to move anything from your manager to another folder, and your manager then sends a message to that group, you'll find a copy of the message in both folders. If you want only the rule that moves messages from your manager to be applied, put that rule higher in the list than the rule that moves messages sent to the group, and then edit the first rule to add the option to stop processing more rules.

  • Create a custom name for a rule.

You can edit any rule by selecting it and choosing edit edit to open the rule so that you can change the conditions or actions of the rule.

If you have a rule that you no longer want, you can select it and then select discard delete to remove it. If you just want to turn the rule off for a while, remove the check mark next to the rule.

  • When you create a new rule in Outlook Web App, you might receive a warning that some rules that were created in Outlook and are currently disabled will be deleted. Before you delete those rules, you might want to sign in to your account using Outlook and check the rules to see if you want to keep them. Turn on any rules you want to keep.

  • Rules are run from top to bottom in the order in which they appear in the Rules window. To change the order of rules, select the rule you want to move, and then select the move upup or Move downdown arrow to move the rule to the position you want in the list.

  • Some types of messages won't trigger Inbox rules, including:

    • Delivery status notifications, which include non-delivery reports and system messages.

    • Read receipts and delivery receipts that are generated by an e-mail client.

    • Some automatic-reply (Out of Office) messages.

  • You don't have to use the Inbox rules tab to create a rule. You can also create rules directly from messages. To create a rule directly from a message:

    • Right-click the message in the message list pane, then select Create rule.

    • Or while you view the message in the reading pane, select the extended menu extended menuand then select Create rule from the menu.

  • Each rule you create will take up space in a hidden section of your mailbox. This section is limited to 64 KB. The actual amount of space a rule uses depends on several factors, such as how long the name is and how many conditions you've applied. When you reach the 64 KB limit, you'll be warned that you can't create any more rules. If that happens, you'll have to delete or simplify some of your existing rules before you can create more. Some ways you can reduce the space used by rules are:

    • Delete rules you no longer need.

    • Shorten the names of your rules.

    • Combine one or more rules that do the same thing.

    • Remove criteria from rules.

  • When you create a forwarding rule, you can add more than one address to forward to. The number of addresses you can forward to might be limited, depending on the settings for your account. If you add more addresses than are allowed, your forwarding rule won’t work. If you create a forwarding rule with more than one address, test it to be sure it works.


Need more help?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.

Was this information helpful?

What affected your experience?
By pressing submit, your feedback will be used to improve Microsoft products and services. Your IT admin will be able to collect this data. Privacy Statement.

Thank you for your feedback!