How to Auto Archive Emails in Outlook 365 by Age or Rule

How-to basics · Updated November 3, 2026

How to Auto Archive Emails in Outlook 365 by Age or Rule

To auto archive emails in Outlook 365, choose a method that matches what you mean by archive: create a rule to move new messages into the Archive folder, or use an Exchange retention policy to move older messages into an Online Archive mailbox. Classic Outlook for Windows also has AutoArchive for eligible accounts, but it stores messages in a local Outlook data file. The Archive folder, Online Archive mailbox, and local AutoArchive file are different destinations, so check which one your account supports before setting anything up.

Outlook does not provide one universal switch that automatically moves every message to an archive after a chosen number of days. Rules are useful for messages matching conditions such as sender or subject; age-based archiving in a Microsoft 365 work or school mailbox is generally controlled by your organization’s retention settings.

What You’ll Need

  • Access to your Outlook 365 account and a clear idea of the destination: the regular Archive folder, an Online Archive mailbox, or a local archive file.
  • For a work or school account, check whether your organization provides an Online Archive mailbox and retention policies. Your Microsoft 365 administrator may need to enable or configure these.
  • For a rule, identify the messages to move, such as mail from a particular sender or messages with a specific subject phrase.
  • For classic AutoArchive, use classic Outlook for Windows. The feature may be unavailable or restricted for some Microsoft 365 accounts; it is not the age-based solution in new Outlook or Outlook on the web.

Step-by-Step

  1. Check which Outlook you are using and choose the right kind of archiving. In classic Outlook for Windows, look for the File tab. New Outlook and Outlook on the web use a different interface and do not offer classic AutoArchive. If you want to sort certain incoming mail, use a rule. If you want old mail moved out of your main mailbox after a period, ask whether your work or school account has a retention policy that moves messages to an Online Archive. If you only want to tidy the Inbox, the normal Archive folder may be enough, but it remains part of your mailbox.

  2. Create a rule for incoming messages you want moved to the Archive folder. In new Outlook or Outlook on the web, select Settings (the gear), choose Mail > Rules, and select Add new rule. Give the rule a recognizable name, choose a condition such as From or Subject includes, then set the action to Move to and select Archive. Save the rule. In classic Outlook for Windows, go to Home > Rules > Manage Rules & Alerts > New Rule. Choose Apply rule on messages I receive, select the conditions, and choose Next. Select move it to the specified folder, click specified folder in the lower rule description, choose Archive, and finish the wizard. If Outlook asks whether to run the rule now on messages already in the Inbox, select that option only if you want the same matching messages moved immediately.

  3. Test the rule before relying on it. Send yourself a test message or wait for a message that meets the condition. Confirm it appears in Archive and that unrelated messages stay in the Inbox. A rule normally handles messages as they arrive; it does not continually scan every message and move it when it reaches a certain age. Rules in Outlook on the web and new Outlook may also have fewer conditions or actions than classic Outlook, so check the options shown in your account.

  4. Set up age-based archiving through your organization’s retention policy. For a Microsoft 365 work or school mailbox, contact your IT administrator and ask whether an Online Archive mailbox is enabled and whether there is a retention policy or tag that moves messages to that archive after a specified period. The policy must use a move-to-archive action, not a delete action. If your administrator has made a policy available to you, classic Outlook may show it when you right-click a mail folder and choose Assign Policy. Select the policy that clearly says it moves items to the archive, then apply it to the appropriate folder. Availability and wording depend on your organization. Allow time for the service to process the policy; a message may not move immediately when it reaches the age threshold.

  5. Use classic AutoArchive only when you specifically want a local archive file. In classic Outlook for Windows, choose File > Options > Advanced > AutoArchive Settings. Select Run AutoArchive every, set an interval, and review the other options. Choose Move old items to and confirm the location of the archive file. To configure one folder differently, right-click that folder, choose Properties > AutoArchive, and select the settings for that folder. Set a suitable age threshold and make sure the action moves items rather than permanently deleting them. Because this method creates or uses a local Outlook data file, keep that file backed up and accessible. If the AutoArchive controls are missing or unavailable, do not assume that a rule can replace age-based archiving; use an organization-managed retention option instead.

  6. Check the destination and make a small trial. After setting up a rule or policy, inspect the Archive folder or expand the Online Archive mailbox in the folder pane. For a local AutoArchive file, confirm the file path and that the archive appears in Outlook. Start with a narrow rule or one test folder, verify the outcome, and only then apply the setup to more mail. This reduces the chance of moving important messages somewhere unexpected.

Common Mistakes

  • Confusing Archive with Online Archive. The standard Archive folder is just another folder in the mailbox. Moving mail there usually does not free mailbox storage. An Online Archive is a separate mailbox feature that an organization enables and manages.
  • Expecting a rule to act on age. A rule that moves messages from a sender generally acts when new mail arrives. It does not automatically move each message after 90 days or another age limit. Use a retention policy for that kind of lifecycle.
  • Choosing deletion instead of archiving. Retention settings can preserve, delete, or move messages depending on the configured action. Confirm that the policy says move to archive before applying it, and ask your administrator if the label is unclear.
  • Assuming every Outlook version has AutoArchive. Classic AutoArchive is a Windows desktop feature, and account or organizational settings can prevent it from being used. New Outlook and the web version do not provide the same AutoArchive controls.
  • Using a local PST without considering access and backup. A local file may not be available on another computer, may not be included in mailbox search, and can be lost if the device or file fails. Do not treat it as a managed, cloud-backed Online Archive.
  • Applying a broad rule without checking its matches. A condition such as a common word in the subject can match unrelated messages. Start with a specific sender or phrase, inspect results, and adjust before using the rule widely.

Tips

  • Use the Archive folder for quick Inbox cleanup, a rule for predictable categories of incoming mail, and an Online Archive retention policy for age-based mailbox management. Choosing by purpose makes the destination easier to understand later.
  • Name rules clearly, for example Archive newsletters from a particular sender. If a message should stay in the Inbox, review the rule conditions and order instead of creating several rules that may act on the same mail.
  • For a retention policy, ask your administrator what happens to messages in Deleted Items, shared mailboxes, and folders with a different policy. Organizational retention and compliance requirements may take precedence over personal preferences.
  • Keep important messages searchable. If you use a local archive file, periodically confirm it is included in your backup plan and that you can open it from Outlook. If you use an Online Archive, learn how it appears in the folder list and search results.
  • Review the setup after Outlook updates or account changes. A rule can remain listed but fail if its target folder was renamed, removed, or is no longer available in the account.

Troubleshooting

Messages stay in the Inbox. Check that the rule is enabled, its condition matches the message exactly, and the destination folder is the intended Archive folder. In classic Outlook, open Home > Rules > Manage Rules & Alerts to review the rule. In new Outlook or the web, return to Settings > Mail > Rules. Test with a message that clearly meets the condition. If the rule has an exception, confirm the message does not match it.

Old messages do not move automatically. A rule is not an age timer. For a work or school mailbox, check whether an Online Archive and a move-to-archive retention policy are available; ask IT to confirm the policy’s age, scope, and processing schedule. If you expected a local PST archive, check that you are using classic Outlook for Windows and that AutoArchive is enabled for the relevant folder. AutoArchive may not be supported for your account configuration.

You cannot find the Archive destination. Search the folder pane for Archive, or expand the mailbox and look for an Online Archive with your name. The standard Archive folder may be nested or hidden in a collapsed folder list. If an administrator has just enabled an Online Archive, sign out and back in or restart Outlook, then check again. If it still does not appear, contact IT rather than creating a local archive as a substitute.

AutoArchive is missing or the local archive file is inaccessible. Verify that you opened classic Outlook, not new Outlook, and check whether your organization has disabled the feature. For a PST, confirm the file path is reachable and that Outlook has the correct data file open. Avoid moving or renaming a PST while Outlook is using it. If the file is on a network or removable drive, ask IT about a supported storage and backup location.

Mail moved unexpectedly or appears to be missing. Search All Mailboxes or the relevant Archive and Online Archive folders, then inspect the rule or retention policy that affected it. Check Deleted Items as well, since a delete action is different from moving to archive. For managed work mail, contact your administrator promptly; retention and recovery options depend on your organization’s settings.

Frequently Asked Questions

Can Outlook 365 automatically archive emails after 30 days?
It can if your Microsoft 365 organization has configured an age-based retention policy that moves items to an Online Archive, or if classic AutoArchive is available for a local file. A standard Outlook rule does not provide a general 30-day age trigger.

Does the Archive button free up mailbox space?
Usually not when it moves a message into the regular Archive folder, because that folder is still in the same mailbox. An Online Archive is a separate mailbox location, but its availability and storage limits are managed by your organization.

Can I auto archive emails in Outlook on the web?
You can create a rule in Settings > Mail > Rules to move matching incoming messages to a folder. Outlook on the web does not offer the classic Windows AutoArchive controls. Age-based movement depends on a retention policy provided by your organization.

What is the difference between AutoArchive and an Online Archive?
Classic AutoArchive moves older items into an Outlook data file, typically a local PST. An Online Archive is a separate, server-based mailbox feature for eligible Microsoft 365 work or school accounts. It is generally managed through Exchange retention settings.

Can I undo an automatic archive?
You can usually move messages back from the Archive folder or Online Archive if you have permission and the messages have not been deleted by a retention action. For a local PST, move or copy the items back while the file is open in Outlook. Check the destination before making bulk changes.

Does Outlook for Mac have the same AutoArchive steps?
No. The classic AutoArchive instructions above are for classic Outlook on Windows. Outlook for Mac has different controls and does not use the same AutoArchive settings. For Microsoft 365 work or school mail, ask your administrator about an Online Archive and retention policy; rules can also vary by Outlook version.

Related

Try it: the Date Difference Calculator: days, months, years and weekdays between two dates, with the DATEDIF formulas.

More in How-to basics

Sources: Function behaviour and menu paths: Microsoft Support documentation for Excel. Method & sources

Spotted an error in this guide? Let us know.