To add a filter rule in Outlook, open Settings (the gear icon) > Mail > Rules > Add new rule, choose a condition such as the sender or words in the subject, choose an action like move to a folder, then save and enable the rule. On desktop Outlook the same thing lives under File > Manage Rules & Alerts. A rule runs automatically on new mail as it arrives, so you build it once and Outlook handles the sorting from then on. The exact wording of a few labels changes slightly between the desktop app, Outlook on the web and the mobile apps, and between versions and regions, so if you see something named a little differently, look for the closest match.
What You'll Need
- A signed-in Outlook account (Microsoft 365, Outlook.com, or a work or school account).
- The Outlook desktop app, Outlook on the web, or the Outlook mobile app, depending on where you prefer to work.
- At least one folder created to sort mail into, if your action is to move messages.
- A clear idea of the sender, subject words or keywords you want to match, so the rule is precise rather than broad.
Step-by-Step
- Decide what the rule should catch. Pick one trigger: a sender address, a domain, words in the subject or body, a recipient (if you receive mail sent to a group alias), or messages with attachments. Narrow rules are safer than broad ones.
- Create the destination folder first. In the folder list, right-click (or long-press on mobile) and choose New folder. Give it a name you will recognise, such as Receipts or Newsletters. Doing this before you build the rule means the folder is ready to select in the action step.
- Open the rules screen. In Outlook on the web, click the gear icon for Settings, then choose Mail and Rules. In the Outlook desktop app, go to File and choose Manage Rules & Alerts, then click New Rule. On mobile, open the app's settings and look for the rules option; the mobile rules feature is more limited than the desktop and web versions.
- Start a new rule. Click Add new rule (web) or New Rule (desktop). On the desktop you can also start from a template such as Move messages from someone to a folder, which pre-fills part of the condition.
- Set the condition. Choose the field you want to test, then enter the value. For example, select From and type the sender's address, or select Subject contains and type a keyword. Add more than one condition only if you truly need all of them to be true at once, because combining conditions narrows the match considerably.
- Set the action. Choose what happens when mail matches: move it to a folder, copy it, mark it as read, assign a category, or forward it (forwarding is often blocked or restricted by work accounts). Moving to a folder is the most common and the safest.
- Add exceptions if needed. If a rule would catch something you need to see, add a condition to exclude it, such as messages from a specific person or messages marked important. In the desktop Rules Wizard this is the except if step; on the web it is an additional condition you exclude.
- Name and save the rule. Give it a descriptive name so you can find it later, confirm it is switched on, and save. Most rules take effect on new mail as it arrives; some web rules also offer to run on existing messages.
- Test it. Send yourself a test message that matches the condition, or wait for the next real one, and check that it lands where you expect. If it does not, open the rules list, confirm the rule is enabled, and review the order of your rules.
Common Mistakes
The most frequent problem is a condition that is too broad. Matching on a single word like invoice or a common first name will sweep up far more mail than intended, including messages you actually need in the inbox. Use full addresses or distinctive phrases instead.
Another common slip is forgetting that rules on the server and rules in the desktop app are not always the same list. If you build a rule on the web and it does not fire in the desktop app, check that the app is syncing and that the rule is present in Manage Rules & Alerts.
People also build rules that conflict with each other. If two rules match the same message and each moves it somewhere different, the first one in the list usually wins, so ordering matters. Some users also forget to create the destination folder, or delete it later, which leaves the rule pointing at a folder that no longer exists.
Tips
- Keep rules few and specific. Three precise rules are easier to debug than fifteen vague ones.
- Use a subfolder structure, such as Clients then a folder per client, so the inbox stays manageable.
- Test a new rule with a message you send yourself before relying on it for real mail.
- Review your rules periodically; old rules for people or services you no longer deal with just add noise.
- On desktop, the Rules Wizard lets you run a rule manually against existing messages in a folder, which is useful when you add a rule after mail has already arrived.
- If you only want to highlight mail rather than move it, use a category or a flag as the action instead.
Troubleshooting
The rule does not seem to run at all. First check that the rule is switched on in the rules list. Then confirm you are looking at the right account if you have more than one signed in, since rules are per mailbox. Restart the app and check for updates; a stale sync is a common cause of a rule appearing to do nothing.
Mail moves but not the messages you wanted. Open the rule and read the condition back carefully. Check for a typo in the address, a capitalisation mismatch in a phrase, or a condition that requires several things to be true at once. Temporarily loosen one condition to see which part is filtering out the mail.
Some messages go to the wrong folder. Look at rule order and any overlapping conditions. Reorder the rules so the most specific one comes first, or add an exception so the broader rule skips the messages the specific one handles.
The forward action is rejected. Many work and school accounts block automatic forwarding to outside addresses as a security measure. If it fails, that is a policy on the account, not a bug, and the alternative is to sort the mail into a folder and check it manually.
The rule worked before and stopped. Check whether the folder still exists, whether your account password or sign-in changed, and whether the rule was disabled by the service. Rebuilding the rule from scratch is often quicker than hunting for the cause.
If that did not work, export or note down your rules before deleting and recreating them, since deleting a rule removes its settings permanently.
Frequently Asked Questions
Do Outlook rules work when the app is closed?
Rules stored on the mail server, which is what you create in Outlook on the web, generally run whether or not the desktop app is open. Rules that depend on the desktop app only run while it is running and syncing.
Can I have more than one condition in a single rule?
Yes. Multiple conditions are joined so that all must be true, which makes the rule stricter. If you want either-or behaviour, build separate rules instead.
Will a new rule apply to mail I already received?
Usually not automatically. On the web, some rules offer to run on existing messages; on desktop you can run a rule manually against a folder. Otherwise, the rule applies to new mail as it arrives.
Can I stop a rule without deleting it?
Yes. Turn it off with the toggle or checkbox in the rules list. That keeps the settings so you can switch it back on later.
Do rules sync between my phone and my computer?
Rules created on the web or in the desktop app are stored in the mailbox and generally sync. The mobile app has a much smaller rules feature set and may not show every rule, so use the web or desktop app for editing.
What happens if two rules match the same message?
The rules are applied in list order. The first matching rule with a move or delete action usually determines the outcome, so put your most specific rules near the top.