ThisCalculator

Everyday

Outlook Delete Emails Before Certain Time: Auto-Cleanup

Updated · Standard formula, shown below

Outlook does not have a single built-in button that says “delete all emails older than X,” but you can achieve the same result using the built-in AutoArchive feature, Retention Policies (in Exchange/Office 365), or a quick manual search-and-delete. This article explains each method, how to set them up, and which one fits your situation.

Why Outlook Doesn’t Have a Simple “Delete Old” Button

Microsoft deliberately separates “archive” from “delete” because they serve different purposes. Archiving moves items to a separate folder (or a PST file) so they remain searchable but out of your main mailbox. Deleting permanently removes them. Outlook’s AutoArchive can be configured to delete old items instead of moving them, but it is off by default. For Microsoft 365 and Exchange accounts, administrators often enforce Retention Policies that automatically delete or archive after a set number of days—these policies override local Outlook settings.

Method 1: Use AutoArchive to Delete Old Emails

AutoArchive is the closest thing to a built-in “delete before date” feature. It runs automatically on a schedule and can either move old items to an archive folder or permanently delete them.

  1. Open Outlook and go to File > Options > Advanced.
  2. Under AutoArchive, click AutoArchive Settings.
  3. Check Run AutoArchive every and set the number of days (e.g., 14).
  4. Choose Delete expired items (or “Permanently delete old items” in some versions).
  5. Set the default age in the “Clean out items older than” field (e.g., 30 days).
  6. Click OK. Outlook will now purge items older than your threshold each time it runs.

Note: AutoArchive works on the folder you select. To apply it to your entire mailbox, you must enable it for each folder individually (right-click folder > Properties > AutoArchive tab). For a one-time cleanup, you can also run AutoArchive manually via File > Cleanup Tools > Archive.

Method 2: Manual Search and Delete (No Rules)

If you just want to delete everything older than a certain date right now, use the search filter:

  1. Click on the folder you want to clean (e.g., Inbox).
  2. In the search box, type: received:<01/01/2023 (adjust the date).
  3. Press Enter. Outlook shows all emails received before that date.
  4. Select all results (Ctrl+A) and press Delete.

This method is immediate and doesn’t require any configuration. However, it only works on the current folder and view; if you have subfolders, you’ll need to repeat it or use a search scope like “All Mailboxes”. Also be aware that it deletes items from the folder, not from the entire mailbox unless you select “All Mail items”.

Method 3: Create a Rule to Auto-Delete on Arrival

If you want to delete emails automatically as they arrive based on age, you can’t do that directly—rules trigger on arrival, not on age. However, you can create a rule that moves emails to a “To Delete” folder, then run a scheduled cleanup on that folder using AutoArchive. Alternatively, use a VBA macro (for advanced users) that runs on startup and deletes items older than a date.

Method 4: Retention Policies (Exchange / Microsoft 365)

For work or school accounts, your IT admin can set up a retention policy that automatically deletes emails after a certain number of days. This is the most reliable method because it works even if Outlook isn’t open. As a user, you can’t create your own retention policy in most organizations, but you can check if one is applied: go to File > Info > Mailbox Settings (or “Retention Policies” in some versions). If you see a policy name, your admin controls the deletion schedule. If you need a different timeframe, contact your IT support.

Common Pitfalls and Misconceptions

  • “Deleted” vs “Archived”: AutoArchive can be set to delete, but many people accidentally set it to archive and then wonder where their emails went (they’re in the Archive folder).
  • Recoverable Items: Deleted emails go to the Deleted Items folder first. To permanently delete, you must empty that folder. Even then, Exchange keeps items for a period (default 14 days) in the “Recoverable Items” folder—admins can recover them.
  • Search doesn’t include subfolders: The search filter only searches the current folder unless you change the scope. Use “All Mailboxes” or “Current Mailbox” in the search tab.
  • AutoArchive doesn’t run if Outlook is closed: It runs when Outlook starts or on the schedule you set, but only if Outlook is open.

Comparing the Methods

Method Best for Automation Requires admin?
AutoArchive Personal accounts Yes (scheduled) No
Manual search One-time cleanup No No
Retention policy Work/school accounts Yes (server-side) Yes

Frequently Asked Questions

Does AutoArchive delete emails from all folders?

No. AutoArchive applies to each folder individually. You must enable it for each folder you want to clean, or use “Apply settings to this folder and all subfolders” when setting it on a parent folder.

Can I recover emails deleted by AutoArchive?

If you chose “Permanently delete old items,” they bypass the Deleted Items folder and go straight to the Recoverable Items folder (on Exchange). You can recover them from the “Recover Deleted Items” feature in Outlook (Folder tab > Recover Deleted Items) within the retention window (usually 14 days).

Why doesn’t my search for “received:<date” work?

Make sure you use the correct date format (e.g., MM/DD/YYYY) and that you’re in the search box at the top of the message list, not the “Find” dialog. Also, the search syntax is “received:<date” (no spaces). If it still doesn’t work, try “received:before:01/01/2023”.

Is there a way to delete emails older than 6 months automatically in Outlook.com?

Outlook.com (the free webmail) doesn’t have a built-in “delete older than” feature. You can use the search filter in the web interface and delete manually, or use a rule to move emails to a folder and then manually delete that folder’s contents. For automation, you’d need a third-party service or a script using Microsoft Graph API (requires coding).

Will deleting old emails free up space in my mailbox?

Yes, permanently deleting emails (and emptying the Deleted Items folder) will reduce the size of your mailbox. However, if you use AutoArchive to move to a PST file, the PST file still takes up space on your computer, but not on the server.

Can I set a rule to delete emails older than 30 days automatically?

No, rules cannot check the age of an email at the time of arrival. You can only trigger actions based on conditions like sender, subject, or recipient. To achieve age-based deletion, use AutoArchive or a retention policy.

Related

Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.