How to Make Email Rules in

Manage your mail automatically with email rules

What to Know

  • Log in to your account and click Settings (gear icon) > View all Outlook settings. Go to Mail > Rules > Add New Rule.
  • Type a name for the rule. Choose a condition from the Add a condition menu, then choose an action from the Add an Action menu.
  • Click Add exception to add an exception to the rule. Select Stop processing more rules to ensure no other rules apply after this one.

This article explains how to set up email rules in so the program handles, redirects, and organizes your messages automatically. Rules can move an email to a specific folder, forward an email, mark the message as junk, and more. Instructions apply to any email account used on, including,, and Inbox Rules

To set up automatic mail inbox rules in, follow these steps.

  1. Log into your account at

  2. Open the Mail settings menu by clicking the gear icon at the top of the page. Scroll down and click View all Outlook settings.

    Screenshot of accessing Outlook settings in Outlook online
  3. In the Settings window, go to Mail in the navigation bar, and click Rules then Add new rule.

    Screenshot of adding a new rule in Outlook online settings
  4. In the Rules window, type a name for the rule.

    Screenshot of naming a rule in the Rules window
  5. Choose a condition from the Add a condition menu.

    Screenshot of adding a rules condition in Outlook online
  6. You can include more conditions by clicking Add another condition. Conditions include words or phrases in an email subject or body, who the email is from or to, and whether it has an attachment. See below for the full list.

  7. Next, select the action that should happen when the condition(s) are met from the Add an Action drop-down menu. You can add more by clicking Add another action.

    Screenshot of adding an action in Outlook online
  8. If you want the rule not to run given a specific circumstance, click Add exception. The exception menu has the same options as the condition menu.

    Screenshot of adding rule exception in Outlook online
  9. Check the box next to Stop processing more rules if you want to make sure that no other rules will apply after this one. Rules run in the order that they are listed (you can change the order once you save the rule). Click OK to save the rule.

  10. Outlook will now check incoming emails against the condition (s) you selected and apply the rule(s) you create.

Available Conditions in

There is a long list of conditions you can apply when you create a new rule. You can set up one or more of these rules to trigger which emails get managed automatically.

  • From or To: The email is sent from or to specific people.
  • You're a Recipient: You're on the To or Cc lines, or you're not on the To or Cc lines.
  • Subject or Body: Certain words or phrases exist in the subject or body.
  • Keywords: The body, sender or recipient email, or even the header contains specific keywords.
  • Marked with: The message is marked important or sensitive.
  • Message Size: The email is above or below a specific size.
  • Received: You received the email before or after a specific date.
  • All messages: The rule will apply to every incoming message.

Available Actions in

You can set up any number of actions to occur when an email meets any of the conditions you set.

Actions you can trigger include the following.

  • Move to: Move the message to a particular folder.
  • Copy to: Create a copy and place it in a folder.
  • Delete: Automatically delete the email.
  • Pin to top: Keep the email at the top of your inbox.
  • Mark as read: This will unbold the email as though you already read it.
  • Mark as junk: Moves the email to the spam (junk) folder.
  • Mark with importance: Will flag the email as important.
  • Categorize: Apply any category to the email.
  • Forward to: Forwards the email to any email address you like.
  • Forward as attachment: Forwards the email to another address as an attachment.
  • Redirect to: Send the email to another address, removing it from your inbox.

You can configure multiple actions to occur an email meets to conditions you've set.

Was this page helpful?