Outlook calls email filters “rules.” In the new Outlook for Windows or Outlook.com, go to Settings > Mail > Rules and select Add new rule. In classic Outlook, right-click a message and select Rules > Create Rule, or use File > Manage Rules & Alerts > New Rule. A rule can move, flag, categorize, forward, or delete messages that match conditions you choose.
This covers new Outlook for Windows, Outlook.com, Outlook on the web, classic Outlook for Windows (Microsoft 365, 2024, 2021, 2019 and 2016) and Outlook for Mac. It shows how to create, edit, order, pause, back up and delete rules, how to run them on mail you already have, and why a rule might not work. These steps follow Microsoft’s Manage email messages by using rules in Outlook article.
How Outlook Rules Work
Every rule needs at least three things: a name, a condition and an action. You can also add exceptions. For example: name “Newsletters,” condition “From contains @newsletter.com,” action “Move to folder: Reading,” exception “Subject includes urgent.”
When you add more than one condition, a message has to match all of them. Rules run from the top of your list to the bottom, and they apply to incoming messages after you create them. To sort mail you already have, run the rule manually (covered below).
Once a rule has gathered related messages into one folder, you can export that folder’s emails to Excel for a list.
Which Outlook do you have?
| Version | How to tell | Where rules live |
|---|---|---|
| New Outlook for Windows | A toggle or label reading “new Outlook”; no File menu ribbon | Settings > Mail > Rules |
| Outlook.com or Outlook on the web | Opened in a web browser | Settings > Mail > Rules |
| Classic Outlook for Windows | A File tab and a Send / Receive tab | File > Manage Rules & Alerts |
| Outlook for Mac | Outlook menu at the top of the Mac screen | Outlook > Settings > Rules |
Server rules and client-only rules
A server rule runs on Microsoft’s mail server, so it works even when Outlook is closed. New Outlook, Outlook.com and Outlook on the web create server rules. Classic Outlook can also create client-only rules, which run only while Outlook is open on that computer. Rules that play a sound, show a desktop alert, or move mail into a folder stored on your PC are typical client-only rules. Classic Outlook warns you when a rule is client-only.
If you rely on a client-only rule, have Outlook open on startup in Windows 11 so it keeps running. If all you want is a sound for new mail, Outlook.com has a built-in setting to play a sound when new email arrives.
Rules, Sweep, and junk email are different tools
A rule handles future mail by your conditions. Sweep, in new Outlook and Outlook on the web, cleans up messages from one sender, for example moving everything from a store to a folder and doing the same for future messages. Sweep isn’t available in classic Outlook. Blocking a sender in Settings > Mail > Junk email sends that sender’s mail to Junk. Use a rule when you need more than one condition, an exception, or an action other than moving to Junk.
<p>If all you want is to keep one person out of your inbox, it is quicker to <a href=”https://www.solveyourtech.com/block-sender-outlook/”>block the sender in Outlook</a> than to build a rule.</p>Create a Rule in New Outlook and Outlook.com
- Select the Settings gear at the top of the page.
- Select Mail, then Rules. Your existing rules appear in a list.
- Select Add new rule and type a name you will recognize later, such as “Receipts to Shopping.”
- Select a condition, such as From or Subject includes, and fill in the value. Select Add a condition for more.
- Select an action, such as Move to and a folder. Select Add an action for more, and Add an exception if needed.
- Check Stop processing more rules if later rules should not also act on matching messages. Then select Save. The new rule appears in the list with its toggle turned on.

Quick rule from a message
- Right-click a message in your list and hover over Rules.
- Select Create rule.
- Choose the folder where messages from that sender should go and select OK.

news@example.com and Project Updates are fictional. More options opens the full rule editor.Select More options instead of OK if you want extra conditions or actions. New Outlook doesn’t currently support rules for third-party accounts like Gmail, Yahoo and iCloud, so set those up with the email provider.
Manage rules in new Outlook
- Edit: go to Settings > Mail > Rules, select More actions (three dots) next to the rule, then Edit rule. Make the change and select Save.
- Delete: select More actions > Delete rule.
- Pause: use the toggle next to the rule name to turn it off or on.
- Order: select a rule and use the Up or Down arrow. Rules run in list order.
- Run on existing mail: select the Run rule now icon next to the rule.
Work or school accounts can also turn on notifications for when a rule moves mail to another folder.
Create a Rule in Classic Outlook for Windows

Create a rule from a message
- Right-click an existing message and select Rules > Create Rule. The sender and subject are filled in for you.
- Choose a condition, such as Subject contains, and an action, such as Move the item to folder.
- Select or create a folder, then select OK.
- To apply it right away, check Run this new rule now on messages already in the current folder and select OK. Matching messages move into the folder.

Create a rule from a template or a blank rule
- Select File > Manage Rules & Alerts > New Rule to open the Rules Wizard. You can also reach it from the Rules button on the Home tab.
- Choose a template, such as Move messages from someone to a folder or Flag messages from someone for follow-up, or start from Apply rule on messages I receive.
- Click each underlined value in the rule description to fill it in, then select Next. You can add conditions, actions and exceptions on the next screens.

- Name the rule, review the description, and select Finish.
Certain rules only run when Outlook is open, and you’ll get a warning if your rule is one of them.
A send rule can also hold every outgoing message for a few minutes before it goes out.
Edit, pause, delete or run rules
- Edit: File > Manage Rules & Alerts, check the rule, select Change Rule. A rule shown in red is broken; select it and fix the links under Rule description.
- Pause: clear the check box next to the rule.
- Delete: select the rule on the E-mail Rules tab, then Delete > OK.
- Order: select a rule and use the Move Up or Move Down arrows.
- Run now: select Run Rules Now, check the rules, choose a folder (and Include subfolders if needed), then select Run Now.
Back up or move your rules
Classic Outlook can save your rules to a file. Microsoft’s import and export steps are:
- Select File > Manage Rules & Alerts, then Options.
- Select Export Rules, choose a folder, type a file name, and select Save. The file uses the .rwz extension.

- On the other computer, open the same Options screen, select Import Rules, choose the file, and select Open.
Imported rules are added to the end of your list, and only classic Outlook can open a .rwz file. If a rule moves mail to a folder that does not exist in the new profile, it shows up as broken until you pick a new folder.
Create a Rule in Outlook for Mac
Microsoft’s Outlook for Mac rules article lists these steps:
- Select the Outlook menu, then Settings.
- Select Rules in the side pane, then Add Rule.

- Name the rule.
- Choose a condition under Select a Condition and an action under Select an action.
- Add another condition or an exception if needed, then save the rule.
Stop processing more rules is on by default on Mac, so only the first matching rule runs unless you turn it off. To run a rule on existing mail, select the three dots beside it and choose Run rule now. Outlook for Mac now creates server rules only, and support for legacy Outlook for Mac ends in October 2026.
Useful Rule Examples
| Goal | Condition | Action |
|---|---|---|
| File newsletters | From includes the newsletter’s address | Move to a “Reading” folder |
| Spot your manager’s mail | From is your manager | Flag, or assign a category |
| Sort receipts | Subject includes “order” or “receipt” | Move to “Shopping” |
| Keep mailing lists out of the inbox | Sent to the list address | Move to a list folder, mark as read |
| Catch urgent mail | Importance is High | Flag for follow-up |
Start with a narrow condition, such as a full sender address, rather than one common word. A rule that moves every message containing “update” will catch far more mail than you expect.
Redirect or Forward Outlook Email to Another Address
A redirect keeps the original sender, so a reply goes to that person. A forward comes from you, so replies return to you.
In new Outlook or Outlook.com, open Settings > Mail > Rules > Add new rule. Name the rule, choose a condition (or Apply to all messages), then select Redirect to, Forward to or Forward as attachment and enter the recipient. Review exceptions and rule order, then select Save.
In classic Outlook, open Rules > Manage Rules & Alerts > New Rule, then Apply rule on messages I receive. Set conditions, or leave them blank and confirm the all-message choice. Choose redirect it to people or public group, or the forwarding action; click the recipient link in the rule description, enter the address, set exceptions, and finish.
Send a test message and check the destination. Copies of forwarded or redirected messages remain in your mailbox. Account support and workplace policies can limit automatic external forwarding. See Microsoft’s forwarding and redirection guide.
Before You Use a Delete Rule
A rule that deletes messages acts without asking. Test the same conditions with a Move to folder action first, check that folder for a few days, and switch to delete only when nothing important lands there. In classic Outlook, avoid permanently delete with broad conditions, because those messages skip Deleted Items. Mail moved to Deleted Items still counts toward your mailbox size until it is emptied.
How to Check That a Rule Works
- Send yourself a message, or ask someone to send one, that matches the condition.
- Watch the inbox. The message should go straight to the folder you chose, or get the flag or category.
- If it lands in the inbox, open the rule and compare the condition with the message’s actual sender address and subject.
To confirm the rule still exists after a change, reopen Settings > Mail > Rules or Manage Rules & Alerts and make sure it is turned on.
Why Isn’t My Rule Running?
- It only applies to new mail. Run it manually on existing messages. For a one-pass cleanup of older mail, archive old emails in Outlook instead.
- It is turned off. Check the toggle in new Outlook or the check box in classic Outlook.
- Another rule ran first. If an earlier rule has Stop processing more rules turned on, later rules won’t act on that message. Change the order.
- The condition doesn’t match. Senders often mail from more than one address. Check the full address in the message header and widen the condition, or add a second one.
- It’s a client-only rule. Some classic Outlook rules need Outlook open. Microsoft also says rules migrated from classic Outlook that are client-side can’t be processed by new Outlook; create a new rule to replace them.
- The rule is broken. A red rule in classic Outlook usually points to a folder that was renamed or deleted. Edit it and pick the folder again.
- You’ve hit the rules limit. Enabled rules in a Microsoft 365 work or school mailbox share a 256 KB rules quota. If Outlook says you can’t create more rules, delete old ones, combine similar rules, or shorten long names.
- The account isn’t supported. New Outlook doesn’t run rules for Gmail, Yahoo or iCloud accounts. Create the filter in that provider’s own mail settings.
Frequently Asked Questions
Do rules work when Outlook is closed?
Rules in new Outlook, Outlook.com, Outlook for Mac and most Exchange rules run on the server. Some classic Outlook rules only run while the app is open. In Outlook.com, a separate junk email setting can block attachments, pictures, and links from unknown senders. If Outlook itself is broken, you can reinstall Outlook on Windows 11.
Can I create a rule on my phone?
Create rules in Outlook on the web or a desktop version. Server rules then sort mail before you open it, so the result also shows in the Outlook app on your phone.
Will my rules carry over to new Outlook?
Server rules do. Client-only rules from classic Outlook don’t run in new Outlook, so recreate them in Settings > Mail > Rules.
How do I set an automatic reply?
Outlook looks different after changing settings. How do I fix it?
If the layout looks wrong, you can change the Outlook view back to normal. Sending from more than one address? Turn on the From field so you can pick the sending account.
A rule can also sort mail that arrives through a group you belong to. To change who is on a list you own, edit the distribution list in Outlook.

Matthew Burleigh is the founder, head writer, and editor of Solve Your Tech, which he launched in 2012. He has written technology tutorials since 2008 and worked in IT since 2003, including small-business support, IT management, and consulting. He holds Bachelor’s and Master’s degrees in Computer Science from Arizona State University.
Matthew writes practical guides for Windows, iPhone and iPad, Microsoft Office, Outlook, Google apps, and Android. Solve Your Tech’s guides are checked step by step against the device or app maker’s own documentation and tested on his own devices whenever he has the hardware or software, with clear steps, sources, and update dates.
Read more about Matthew and how Solve Your Tech writes and updates its guides, or report a correction.