Outlook filters sort your mail into folders and flag suspicious messages without you reading each one
A filter in Outlook is a rule that automatically sorts, moves, or marks emails based on what's in them — the sender, subject line, words in the body, or attachment type. Once you set up a filter, Outlook does the sorting for you every time a new message arrives. This is useful both for staying organized (all receipts go to one folder, all newsletters to another) and for spotting scams (messages from unknown senders can be flagged or moved to a separate folder for you to review before opening).
Outlook has filters built in — you do not need to read anything. The steps are slightly different depending on whether you use Outlook on the web (in your browser), Outlook on Windows, or Outlook on Mac, but the idea is the same in all three.
Key Takeaways
- Filters automatically sort incoming mail based on the sender, subject line, or words in the message, and you can move filtered messages to a folder or flag them for review.
- In Outlook on the web, filters are called "rules" and are found under Settings > Mail > Rules; on Windows and Mac, they are under File > Manage Rules & Alerts.
- A filter for suspicious emails might catch messages from unknown senders or messages with urgent language like "verify your account" or "confirm your password".
- You can test a filter by creating it and then watching for a few days to see whether it catches what you intended and does not catch what you wanted to keep.
- If a filter is too broad and catches legitimate mail, you can edit or delete it without affecting messages already sorted.
How to create a filter in Outlook on the web
Open Outlook in your browser and sign in. In the top right, click the gear icon (Settings). From the menu that appears, click "View all Outlook settings" at the bottom. On the left side, click "Mail," then click "Rules." Click the plus sign to create a new rule.
Outlook will ask you to name the rule (something like "Flag unknown senders" or "Move receipts to folder"). Then it asks you to set the condition — what kind of message should this rule explore to. You can choose "From" (a specific sender or domain), "Subject contains" (certain words in the subject line), "Body contains" (words anywhere in the message), or other options. Type in the sender address, domain, or words you want to match.
Next, choose the action — what Outlook should do when it finds a message that matches. Your options include "Move to folder" (pick which folder), "Mark as" (important, read, or junk), "Assign category" (color-code it), or "Delete." Most people use "Move to folder" for organizing mail and "Mark as" for flagging suspicious messages. Click "Create" when you are done.
How to create a filter in Outlook on Windows
Open Outlook. At the top, click "File." In the menu, click "Manage Rules & Alerts." A window will open. Click "New Rule" at the top. You will see two options: "Start from a blank rule" or "Start from a template." For most people, "Start from a blank rule" is easier.
Under "When the message arrives," check the box next to the condition you want — "From" (a specific sender), "With specific words in the subject" (subject line), "With specific words in the body" (anywhere in the message), or others. Click the underlined word or phrase to fill in the details (the sender address, the words to match, and so on).
Under "Do the following," check the box next to the action — "Move it to the specified folder," "Mark it as importance," "Mark it as read," or "Delete it." Click the underlined word to choose which folder or importance level. Click "OK" when you are done, then "OK" again to save the rule.
How to create a filter in Outlook on Mac
Open Outlook. At the top of the screen, click "Outlook" in the menu bar. Click "Preferences." In the window that opens, click "Rules" (it may be under "Mail" or listed separately). Click the plus sign to create a new rule.
Name the rule. Under "If a message matches," choose the condition from the dropdown — "From," "Subject," "Body," or others. Type in the sender address or words you want to match. Under "Perform the following actions," choose what Outlook should do — "Move message," "Mark message," "Delete message," or others. Select the folder or mark type from the dropdown. Click "Save" when you are done.
Filters that catch common scam patterns
If you want to flag suspicious emails without deleting them (so you can review them first), create a filter that catches messages with urgent or threatening language. Set the condition to "Body contains" and type in phrases like "verify your account," "confirm your password," "urgent action required," or "click here when ready." Set the action to "Mark as important" or move the message to a separate folder called "Review" or "Suspicious."
Another useful filter catches emails from senders you do not recognize. In Outlook on the web, create a rule with the condition "From" and type in a domain you do not trust, or use "From" with "does not contain" your own domain (so messages from outside your organization get flagged). On Windows and Mac, you can use the condition "From" and leave it blank to catch all messages from unknown senders, though this is broad and may flag legitimate mail.
Be cautious with filters that delete messages automatically. It is safer to move suspicious mail to a folder and review it for a few days before deleting, in case the filter is too broad and catches something you needed.
Testing a filter to make sure it works
After you create a filter, watch your inbox for a few days to see whether it is working as intended. Check the folder where filtered messages are supposed to go, or look for the mark you set (like "important" or a color). If the filter is catching messages you wanted to keep, edit or delete it.
To test a filter for scam patterns, you can send yourself a test email with the words you are filtering for. For example, if your filter catches "verify your account," send yourself an email with that phrase and see whether it gets moved or marked. This helps you know the filter is active before real suspicious emails arrive.
If a filter is catching too much, you can make it more specific. Instead of filtering all messages with "urgent" in the body, filter messages from unknown senders that also contain "urgent." Most email programs let you combine conditions (AND, OR) to narrow down what gets caught.
When to edit or delete a filter
If a filter is too broad and is moving legitimate mail to the wrong folder, you can edit it without losing messages already sorted. Go back to your rules (Settings > Mail > Rules on the web, or File > Manage Rules & Alerts on Windows/Mac), find the rule, and click "Edit." Change the condition to be more specific — for example, instead of filtering all messages with "invoice" in the subject, filter only messages from a specific sender with "invoice" in the subject.
You can also create an exception to a filter. For example, if your filter moves all newsletters to a folder but you want to keep newsletters from one sender in your main inbox, create a second rule that says "If from [that sender], move to inbox" and make sure it runs before the newsletter filter.
Deleting a filter does not affect messages already sorted by that filter. They stay in the folder or with the mark you assigned. You can delete a filter at any time if you no longer need it.
Frequently Asked Questions
Can I filter emails by attachment type?
Yes. In Outlook on the web, the condition "Has attachment" will catch any message with a file attached. On Windows and Mac, you can use "With attachment" or similar. You can also filter by specific file types — some versions let you specify ".exe" or ".zip" — though this depends on your version of Outlook. If you want to flag all messages with attachments from unknown senders, create a rule with two conditions: "From unknown" AND "Has attachment."
What happens to emails that arrive before I create a filter?
Filters only explore to new messages that arrive after you create the rule. Messages already in your inbox will not be sorted retroactively. If you want to organize old mail, you can move it manually or search for it using Outlook's search bar and move multiple messages at once.
Can I create a filter that applies to multiple senders or multiple words?
Yes. Most email programs let you use OR logic — for example, "From sender1 OR sender2" or "Subject contains word1 OR word2." The exact steps depend on your version of Outlook. In Outlook on the web, you may need to create separate rules for each sender or word. On Windows and Mac, you can usually type multiple items separated by semicolons or use the advanced options.
If I filter mail to a folder, will I still get a notification when new messages arrive?
That depends on your Outlook settings. By default, filtered messages may not trigger a notification if they are moved to a folder other than your inbox. If you want to be notified about filtered mail, mark it as "important" instead of moving it, or check your notification settings to see whether you can turn on alerts for specific folders.
Can I undo a filter if it deletes messages by mistake?
If a filter deletes messages automatically, they go to your Deleted Items folder and stay there for 30 days (the exact time varies by your Outlook account type). You can recover them by opening Deleted Items, finding the messages, and moving them back to your inbox. After 30 days, they are permanently deleted. For this reason, it is safer to move suspicious mail to a folder rather than delete it automatically.