Set up rules to sort mail without touching it
Outlook can move incoming emails to a folder automatically using a feature called rules. You tell Outlook to watch for certain words, senders, or subjects, and when a message matches, it moves to the folder you choose. This happens the moment the email arrives — you never see it in your inbox unless you want to.
The process takes about two minutes once you know where the buttons are. You do not need to read anything or change how you send and receive mail. The rule runs on your computer (or in your Microsoft 365 account if you use Outlook online), and it keeps working until you turn it off.
Key Takeaways
- Rules in Outlook watch for specific senders, words, or subjects and automatically move matching emails to a folder you pick.
- You create rules through the File menu (desktop Outlook) or Settings (Outlook on the web), not through the ribbon toolbar.
- A rule needs at least one condition — such as "from this person" or "subject contains this word" — and one action, which is usually "move to folder".
- Rules run on new mail only, so emails that arrived before you created the rule will not move unless you manually select and move them.
- You can create as many rules as you need, and Outlook will check them in the order you set, stopping at the first match if you tell it to.
Create a rule in Outlook desktop
Open Outlook on your computer. At the top left, click File. In the menu that opens, look for Manage Rules & Alerts (or sometimes just Rules and Alerts depending on your version). Click it.
A window titled "Rules and Alerts" will open. Click the New Rule button. You will see a list of templates — these are pre-built starting points. For most people, explore rule on messages I receive is the right choice. Click it, then click Next.
Now you set the condition — the thing Outlook should look for. The most common choices are From (a specific sender), Subject contains (certain words in the subject line), or To (messages sent to a particular email address). Check the box next to the condition you want. If you pick "From", a link will appear below it; click that link and type the sender's email address. If you pick "Subject contains", type the word or phrase you want to match.
Click Next. Now you set the action — what Outlook should do when it finds a match. Check the box next to Move it to the specified folder. A link will appear; click it. A folder picker will open. Find the folder where you want emails to go (or create a new folder by right-clicking in the list), select it, and click OK.
Click Next again. You can add exceptions here if you want — for example, "move emails from this person to this folder, except if they also mention an urgent important date". Most people skip this step. Click Next. Give your rule a name (something like "Client emails to Client folder"), then click Finish.
Create a rule in Outlook on the web
Log into Outlook at outlook.office.com. At the top right, click the gear icon and select View all Outlook settings. On the left side, click Mail, then Rules.
Click Add new rule. Type a name for your rule. Under "When the message arrives", set your condition. Click the first dropdown and choose what to match — From, Subject contains, To, or other options. Then type the sender's address or the word you want to match in the text box that appears.
Under "Do the following", click the dropdown and select Move to folder. A second dropdown will appear showing your folders. Pick the folder where you want the email to go. If you want the rule to stop checking other rules once this one matches, check Stop processing more rules. Click Save.
Match multiple conditions in one rule
You can make a rule more specific by adding more than one condition. For example, you might want to move emails only if they come from a specific person AND contain a certain word in the subject. In the desktop version, after you set your first condition and click Next, you will see a checkbox for And conditions. Check the box next to a second condition, fill in the details, and continue.
In Outlook on the web, click Add condition to add another rule. Both conditions must be true for the email to move. If you want the rule to trigger when either condition is true (not both), use separate rules instead — one for each condition, both moving to the same folder.
Move existing emails that match your rule
Rules only work on new emails from the moment you create them. If you have hundreds of old emails that should have been sorted, you need to move them by hand. Click on the folder where the old emails are sitting. Hold Ctrl and click each email you want to move, or press Ctrl+A to select all. Right-click and choose Move, then pick the destination folder.
If the emails are spread across multiple folders, you may want to use the search box at the top of Outlook. Search for the sender's name or a word from the subject line. Once the results appear, select all of them, and move them in one batch.
Edit or delete a rule
In desktop Outlook, go back to File > Manage Rules & Alerts. Find the rule in the list, click it, and click Change Rule to edit it or Delete to remove it. In Outlook on the web, go to Settings > Mail > Rules, find the rule, and click the pencil icon to edit or the trash icon to delete.
If a rule is not working the way you expected, check that the condition is spelled correctly. For example, if your rule looks for "invoice" in the subject but the sender types "Invoice" with a capital I, it should still match — Outlook is not case-sensitive. If emails are not moving, the rule may be running but then another rule is moving them somewhere else. Check the order of your rules and whether any have a "stop processing" instruction.
Troubleshoot rules that are not working
The most common reason a rule fails is that the condition does not match what you think it does. If you set a rule to move emails "from john@example.com" but John sometimes sends from "j.smith@company.com", the second address will not trigger the rule. You may need two separate rules, one for each address.
Another issue: if you use a shared mailbox or have delegates accessing your account, rules may not run the same way. Rules in Outlook on the web run on Microsoft's servers, so they work even if your computer is off. Rules in desktop Outlook run only when Outlook is open on your computer. If you need rules to work all the time, use Outlook on the web or set up the rule there as well.
If you create a rule and nothing happens, check that you actually clicked Finish or Save — the rule does not take effect until you confirm it. Also check that the folder you chose to move emails to actually exists. If you typed a folder name that does not exist, Outlook may have created it, or it may have ignored the rule entirely.
Frequently Asked Questions
Can I move emails to a folder that is inside another folder?
Yes. When you pick a folder in the rule setup, the folder picker shows your entire folder tree. You can click the arrow next to a folder name to expand it and see subfolders. Select the subfolder you want, and emails will move there.
What happens if I delete the folder that a rule points to?
The rule will stop working. Outlook will not move emails anywhere. You should edit the rule and point it to a different folder, or delete the rule if you no longer need it.
Can I move emails to a folder in a different email account?
No. Rules can only move emails within the same account. If you have multiple email accounts in Outlook, you need separate rules for each account.
Do rules run on emails I forward or reply to?
No. Rules only run on incoming mail — emails you receive. Emails you send or forward are not checked against your rules.
Can I undo a rule if it moves the wrong emails?
You can delete the rule to stop it from moving future emails, but emails that already moved will stay in the destination folder. You would need to move them back by hand. Before you set up a rule, test it on a small batch of emails to make sure the condition is right.