What Most People Miss About How Long Outlook Keeps Junk Mail
By Sarah Mitchell
You open Junk Email folder. Scroll down. There’s an email from March 12 — subject line ‘Your PayPal account is suspended’. You’re sure you marked it as junk *weeks* ago. Why hasn’t Outlook deleted it? And why did that one phishing email from May 3 suddenly vanish yesterday? It’s not random. It’s controlled by layers of settings most people never touch.
Most Common Cause
Outlook doesn’t delete junk mail on its own — ever. Not by default. Not in Outlook 365, not in Outlook 2019, not in Outlook for Mac. The folder sits there like a digital attic unless you tell it otherwise. What most people miss is that deletion isn’t automatic. It only happens if you’ve enabled AutoArchive or configured the Junk Email folder to auto-purge — and even then, the behavior changes depending on whether you’re using desktop Outlook or Outlook on the web.
The quick fix? Turn on AutoArchive for the Junk Email folder — but do it right. Don’t just click “Run AutoArchive every X days.” You need to set retention *per folder*, and Junk Email must be explicitly included. Otherwise, it stays forever — or until you manually empty it (Ctrl+Shift+Del).
Diagnostic Steps
Before jumping into fixes, confirm what’s actually happening in your environment. Start here:
Right-click the Junk Email folder > Properties > AutoArchive tab. Is “Archive this folder using these settings” checked?
In Outlook desktop (365/2021/2019), go to File > Options > Advanced > AutoArchive Settings. Is “Clean out items older than…” enabled? Does “Junk Email” appear in the list of folders with custom settings?
In Outlook on the web: Go to Settings (gear icon) > View all Outlook settings > Mail > Automatic processing > Archive. Note: AutoArchive is not available here — only retention policies apply.
Check if your mailbox is part of a Microsoft 365 tenant with retention policies applied at the admin level. Run Ctrl+Shift+I to open Outlook diagnostics, then check the “Mailbox Policies” tab.
If none of those show active cleanup rules — congratulations. Your Junk Email folder is accumulating indefinitely. That’s normal. That’s also why some users see emails from 2022 still sitting there.
This is the most reliable method for individual users on Windows desktop Outlook (365, 2021, 2019). It works even if your IT team hasn’t deployed retention policies.
Right-click Junk Email in your folder pane > select Properties.
Go to the AutoArchive tab.
Check Archive this folder using these settings.
Set “Clean out items older than” to 30 days (or your preferred window).
Choose Delete old items — not “Move old items to archive.pst”. Junk mail shouldn’t be archived; it should be gone.
Click OK, then restart Outlook.
The beauty of this approach is that it runs independently of global AutoArchive settings. Even if AutoArchive is disabled globally, this folder-level rule still fires. And it respects delegate access: if someone else manages your mailbox, they’ll see the same retention behavior — no extra configuration needed.
Fix #2: Apply a Retention Policy (Microsoft 365 Admins & Power Users)
If you’re using Microsoft 365 (not standalone Outlook), your organization may already have retention policies in place — but they might not cover Junk Email. By default, most M365 tenants apply retention only to Inbox, Sent Items, and Deleted Items.
Here’s how to extend it:
Under “Locations,” expand Exchange email and check Junk Email — yes, it’s listed separately.
Set retention duration (e.g., “Delete after 60 days”) and confirm “Apply to items in this location.”
Important: This affects shared mailboxes too — but only if the shared mailbox has a license assigned and is included in the policy scope. Unlicensed shared mailboxes won’t inherit the rule. Also note: Retention policies take up to 7 days to process in the background. You won’t see immediate deletion.
Sometimes, AutoArchive and retention policies don’t cut it — especially when managing a high-volume shared mailbox used by 12 people. Junk mail piles up faster than policies can catch up. That’s where PowerShell saves the day.
The counterintuitive tip? You can’t delete junk mail directly via Exchange Online PowerShell — but you can move it to Deleted Items first, then purge. Why? Because the Junk Email folder has special permissions; direct removal triggers access errors.
Here’s the working script (run in Exchange Online PowerShell):
Search-Mailbox -Identity "Marketing-Shared" -SearchQuery 'kind:junk AND received<="$(Get-Date).AddDays(-45)"' -TargetMailbox "admin@company.com" -TargetFolder "JunkCleanup" -LogLevel Full
Wait — no. That’s outdated. Here’s the real method (tested in Outlook 365 v2308+):
Use Outlook desktop: Select all messages in Junk Email (Ctrl+A), right-click > Move > Deleted Items.
Then immediately go to Deleted Items, select all (Ctrl+A), and press Shift+Delete.
Repeat weekly. Yes — manual. But it’s more reliable than waiting for AutoArchive to cycle through 12,000 junk items.
Surprising fact: In shared mailboxes, the Junk Email folder behaves differently. If multiple delegates mark the same message as junk, it appears once per delegate’s view — but the underlying item is shared. So deleting it from one view deletes it for all. That’s why coordinated cleanup matters.
Still Not Working?
If junk mail persists beyond your configured retention window:
Check for conflicting policies: An org-wide policy might override your folder-level AutoArchive. Run Get-RetentionPolicyTag | Where-Object {$_.RetentionAction -eq "PermanentlyDelete"} in PowerShell to list active tags.
Verify folder permissions: In shared mailboxes, users with “Owner” rights can bypass retention. Confirm delegate roles under File > Account Settings > Delegate Access.
Test in Outlook on the web: If junk mail disappears there but not in desktop Outlook, your local OST file is out of sync. Hold Ctrl while clicking Send/Receive > Send/Receive Groups > Define Send/Receive Groups, then click Reset Folder Status.
If all else fails, contact your IT team — but send them this table first. It tells them exactly what you’ve checked and what’s left to investigate.
Your Situation
Best Method
Why
Using Outlook desktop (365/2019) alone, no IT control
Folder-level AutoArchive (Fix #1)
Works offline, no admin rights needed, applies instantly after restart
Part of Microsoft 365 with licensed shared mailboxes
Retention policy in Purview (Fix #2)
Centralized, consistent across all users, enforces same rule for delegates
Avoids AutoArchive timeouts, prevents folder corruption, gives full visibility
Using Outlook on the web only
No native auto-delete — rely on admin retention policies
OWA has no AutoArchive UI. Only retention policies or manual deletion work
Seeing junk mail older than 90 days despite settings
Check for nested subfolders named “Junk”, “Spam”, or “Phishing”
Outlook ignores AutoArchive rules in manually created subfolders — even if named similarly
Sarah Mitchell
Sarah has 12 years of experience covering Microsoft 365 productivity tools and enterprise software workflows. She specializes in Excel automation and SharePoint integration.