Applies ToOutlook for Microsoft 365 Outlook 2024 Outlook 2021 Outlook 2019 Outlook 2016 Office for business Office 365 Small Business Microsoft 365 admin Outlook on the web New Outlook for Windows

Conditional formatting is a way to make email messages in Outlook stand out when they meet conditions defined by you. When you specify conditions that an incoming message should meet, such as a sender’s name or email address, the conditional formatting will be applied only to those messages.

Note: Conditional formatting is only available to individuals using a work or school account in Outlook with a qualifying Microsoft 365 subscription.

Select a tab option below for the version of Outlook you're using. What version of Outlook do I have?

 

Note: If the steps under this New Outlook tab don't work, you may not be using new Outlook for Windows yet. Select Classic Outlook and follow those steps instead.

Set up and manage conditional formatting rules in new Outlook

When you set up a conditional formatting rule, it will be set on both read and unread messages and is applied across all folders except Drafts.

Examples of how you might use conditional formatting include: 

  • Add a red highlight to emails sent from your manager.

  • Display emails in green when the subject contains specific words like 'meeting.'

  • Use orange for all messages where you're included in the Cc line.

Conditional formatting rules are managed in Settings   > Mail > Conditional Formatting

The rules are prioritized in the order they appear. If there's a conflict between rules, the top rule prevails.

Not seeing an expected rule option? Not all conditional formatting options in classic Outlook are available in new Outlook. If you'd like to see more rule options, let us know! In new Outlook go to Help > Feedback  > Make a suggestion.

Create a new conditional formatting rule

  1. Navigate to Settings  > Mail > Conditional Formatting.

  2. Select + Create new conditional formatting rule.

  3. Name your new rule.

  4. Choose your condition(s).

  5. Select the font color for the message list to display. Under Preview, you can an example of how the text will appear.

  6. When you're satisfied with your selection, click OK.

    Screenshot of Select the font color in Conditional formatting setting

  7. Click Save.

Edit a conditional formatting rule 

  1. Select Settings  > Mail > Conditional Formatting.

  2. Click Edit .

  3. Update the fields you want to change.

  4. Click Save.

Delete a conditional formatting rule 

  1. Select Settings  > Mail > Conditional Formatting.

  2. Click Delete rule  for the rule you want to delete.

  3. Click Save.

Turn a conditional formatting rule on or off

  1. Select Settings  > Mail > Conditional Formatting.

  2. Use the toggle next to the rule to turn it off or on.

Conditional formatting is a way to make messages that meet defined conditions stand out in the message list by using color, fonts, and styles. You specify conditions that an incoming message should meet, such as a sender’s name or email address, and then conditional formatting is applied only to those messages.

For example, a conditional rule can specify that all messages sent from your manager appear in red text in the message list.

To make further changes to the body of your email messages, change the default font or text color for email messages.

Create a conditional formatting rule in classic Outlook

  1. On the View tab, in the Current View group, select View Settings.

    View Settings

  2. In the Advanced View Settings dialog box, select Conditional Formatting.

    Advanced View Settings

    A set of default rules appears. This includes the Unread messages rule. This rule makes unread messages appear bold in the message list. In addition, any conditional formatting rules that you created in the Organize pane with an earlier version of Outlook appear.

  3. Do any of the following:

    • To delete a rule, select the rule, and then select Delete.

    • To temporarily turn off a rule, clear the check box for that rule.

    • To change the criteria for a rule, select the rule, and then select Condition.

    • To change the text formatting, select the rule, and then select Font.

    • To add a new conditional formatting rule, select Add, in the Name box, type a name, select Font to specify the formatting, and then select Condition to specify the criteria for this rule.

Example conditional formatting rules in classic Outlook

Follow steps 1 and 2 in the previous section, and then do the following:

Make all messages from John Kane appear in red

  1. Select Add.

  2. Enter a name for the rule.

  3. Select Font.

  4. Under Color, select Red.

  5. Select OK.

  6. Select Condition.

  7. In the From box, type John Kane.

Note: The name must exactly match the full name that appears on messages that you receive.

  1. In the Filter, Conditional Formatting, and Advanced View Settings dialog boxes, select OK.

Make all messages that contain the word Contoso in the subject appear green

  1. Select Add.

  2. Enter a name for the rule.

  3. Select Font.

  4. Under Color, select Green.

  5. Select OK.

  6. Select Condition.

  7. In the Search for the word(s) box, enter Contoso.

  8. In the Filter, Conditional Formatting, and Advanced View Settings dialog boxes, select OK.

Make all messages that contain the word holiday in the subject or message body appear blue

  1. Select Add.

  2. Enter a name for the rule.

  3. Select Font.

  4. Under Color, select Blue.

  5. Select OK.

  6. Select Condition.

  7. In the Search for the word(s) box, type holiday.

  8. In the Filter, Conditional Formatting, and Advanced View Settings dialog boxes, select OK.

Note: Outlook on the web is the web version of Outlook for business users with a work or school account.

Set up and manage conditional formatting rules

When you set up a conditional formatting rule, it will be set on both read and unread messages and is applied across all folders except Drafts.

Examples of how you might use conditional formatting include: 

  • Add a red highlight to emails sent from your manager.

  • Display emails in green when the subject contains specific words like 'meeting.'

  • Use orange for all messages where you're included in the Cc line.

Conditional formatting rules are managed in Settings   > Mail > Conditional Formatting

The rules are prioritized in the order they appear. If there's a conflict between rules, the top rule prevails.

Not seeing an expected rule option? Not all conditional formatting options in classic Outlook are available in new Outlook. If you'd like to see more rule options, let us know! In new Outlook go to Help > Feedback  > Make a suggestion.

Create a new conditional formatting rule

  1. Navigate to Settings  > Mail > Conditional Formatting.

  2. Select + Create new conditional formatting rule.

  3. Name your new rule.

  4. Choose your condition(s).

  5. Select the font color for the message list to display. Under Preview, you can an example of how the text will appear.

  6. When you're satisfied with your selection, click OK.

    Screenshot of Select the font color in Conditional formatting setting

  7. Click Save.

Edit a conditional formatting rule 

  1. Select Settings  > Mail > Conditional Formatting.

  2. Click Edit .

  3. Update the fields you want to change.

  4. Click Save.

Delete a conditional formatting rule 

  1. Select Settings  > Mail > Conditional Formatting.

  2. Click Delete rule  for the rule you want to delete.

  3. Click Save.

Turn a conditional formatting rule on or off

  1. Select Settings  > Mail > Conditional Formatting.

  2. Use the toggle next to the rule to turn it off or on.

Need more help?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.