Your input shapes our product. Suggest a feature now →
  1. Home
  2. Guides
  3. Clear the Recycle Bin Tenant-Wide

How to Clear the SharePoint Recycle Bin Tenant-Wide

SharePoint Online keeps deleted items for up to 93 days across two recycle-bin stages, and on a tenant with 50 or more site collections, the combined deleted-item count can run into the tens of thousands. All of it counts against your storage quota until cleared. This guide covers every approach to clearing those bins, from a single site in the browser to every site in the tenant in one operation.

Why Admins Need to Clear the Recycle Bin

There are three situations that typically prompt a tenant-wide bin clear:

  • Storage quota pressure. Deleted items are not free. Every file sitting in a first or second-stage bin occupies storage against your Microsoft 365 quota. Clearing the bin is often the fastest way to reclaim meaningful space without touching live content.
  • Pre-migration or pre-archival cleanup. Before running a tenant-to-tenant migration with Clone Master, clearing the bins ensures you migrate only current content and don't carry deleted items into the destination tenant.
  • Compliance and data hygiene. Some organisations have policies requiring that deleted data not persist beyond a certain point. The 93-day default retention window may exceed your internal policy, so an explicit clear brings you back to a clean state.

Before You Clear: Export a Manifest

Clearing the recycle bin is permanent - there is no undo. Before running any bulk clear operation, produce a record of what is about to be removed.

Option A: SharePoint Admin Center

For a high-level overview, go to SharePoint Admin Center > Sites > Active sites, click through to any individual site, and open the Recycle Bin. This shows contents per site but there is no tenant-wide export available natively. It's adequate for small tenants where you can review each site in a few minutes.

Option B: Report Master (ShareMaster)

Report Master can export storage data including version counts across all libraries, giving you a written record of what content was present before you cleared. This isn't a direct recycle-bin manifest, but it creates an audit-ready baseline of the live content that survives the clear operation.

Tip: For large tenants, save the export to a shared location with a clear date stamp before proceeding. If anyone raises a data-loss query after the clear, you have a defensible record of what was cleared versus what was live.

Step 1: Clear a Single Site's Recycle Bin

Use this approach when you need to clear one specific site and don't need a tenant-wide operation.

  1. Navigate to the SharePoint site.
  2. Click Site contents in the left rail, then click Recycle bin in the top-right corner.
  3. Select all items on the page. For large bins, you may need to repeat this across multiple pages.
  4. Click Delete selection and confirm.
  5. Scroll to the bottom of the first-stage bin and click Second-stage recycle bin.
  6. Select all items and click Delete selection again.

The second-stage bin holds items that users have already "permanently deleted" from the first stage. Both stages count against your quota; both need to be cleared for full storage recovery.

Step 2: Clear All Sites with PnP PowerShell

For a scripted approach, PnP PowerShell's Clear-PnPRecycleBinItem cmdlet clears all items from the recycle bin of the currently connected site. Running it against all sites in sequence achieves a tenant-wide clear.

# Connect to SharePoint admin centre first
Connect-PnPOnline -Url "https://yourtenant-admin.sharepoint.com" -Interactive

# Get all site collections (adjust filter for your needs)
$sites = Get-PnPTenantSite -IncludeOneDriveSites:$false

# Clear the recycle bin on each site
foreach ($site in $sites) {
    Write-Host "Connecting to: $($site.Url)"
    Connect-PnPOnline -Url $site.Url -Interactive
    Clear-PnPRecycleBinItem -All -Force
    Write-Host "Cleared: $($site.Url)"
}

A few practical notes on this script:

  • -Interactive prompts for browser-based authentication on each site connection. For a large tenant, this becomes a significant manual step. Use a service principal with -ClientId and -Thumbprint parameters if you want a fully unattended run.
  • The -All flag on Clear-PnPRecycleBinItem clears both the first and second-stage bins.
  • Throttling from the Microsoft Graph and SharePoint APIs can slow the script significantly on tenants with more than 50 sites. Add a short pause between site iterations if you hit consistent throttling errors.
  • Test against a single non-production site before running across the full tenant list.

PowerShell is the right path when you want a scheduled, repeatable operation that runs without any GUI tooling. For a one-off clear or for admins who prefer a GUI with an explicit review step, Recycle Master is faster.

Step 3: Clear Tenant-Wide with Recycle Master

Recycle Master in ShareMaster handles the per-site connection logic internally, meaning you don't need to write or maintain a script. The workflow:

  1. Open ShareMaster and connect to your Microsoft 365 tenant.
  2. Open Recycle Master from the tool panel.
  3. Select the Bulk Clear operation.
  4. Choose the scope: first-stage only, second-stage only, or both.
  5. Optionally filter by site, date range, or deleted-by user if you want a targeted clear rather than a full wipe.
  6. Review the summary of what will be cleared, then confirm and run.

Recycle Master processes each site in sequence and reports progress site by site. If you need to stop mid-run, the sites already cleared stay cleared; the remaining sites are untouched.

Try Recycle Master free for 14 days

Step 4: Verify Storage Was Recovered

After clearing, the Microsoft 365 admin center updates storage figures within a few hours (sometimes up to 24 hours). Check SharePoint Admin Center > Settings > Site storage limits or Reports > Usage > SharePoint > Storage to confirm the tenant-level storage figure has decreased.

For a more granular view of which sites recovered the most space, run a Report Master storage export after the clear and compare it to the pre-clear baseline you saved in Step 0.

What You Cannot Clear from the Recycle Bin

A few items in the SharePoint admin interface are sometimes confused with the site-level recycle bin but are separate:

  • Deleted site collections. These appear in SharePoint Admin Center > Sites > Deleted sites and are managed separately. Permanently removing a deleted site from there is what fully frees the storage it consumed.
  • Microsoft Purview retention holds. Items subject to a Purview retention policy are held even if they are "cleared" from the visible recycle bin. They remain in a hidden Preservation Hold Library until the retention period expires.
  • OneDrive bins. OneDrive for Business has its own per-user recycle bin. Including it in a tenant-wide PowerShell clear requires passing -IncludeOneDriveSites:$true to Get-PnPTenantSite. Recycle Master operates on SharePoint site collections only and does not cover OneDrive bins.

Frequently Asked Questions

Does clearing the SharePoint recycle bin release storage quota?

Yes. Deleted items count against your Microsoft 365 storage quota until permanently removed. Clearing both the first and second-stage bins on all sites can recover substantial storage, particularly on tenants where versioning has been running for years and users have periodically emptied their first-stage bins into the second stage.

Can items be recovered after clearing the recycle bin?

No. Clearing the bin is permanent. If items need to be recovered after a bin clear, the only options are a Microsoft 365 Backup restore point, a SharePoint site rewind (admin-initiated, up to 30 days, restores the whole site), or a third-party backup product. Consider the SharePoint recycle bin retention reference for a full overview of retention defaults and limits.

Should I clear the second-stage recycle bin as well?

Yes, for storage recovery purposes. The second stage holds items that users have already removed from the first stage. Both stages count against quota. Clearing only the first stage misses anything in the second. Use the -All flag in PnP PowerShell or select both stages in Recycle Master to clear completely.

How long does a tenant-wide PowerShell clear take?

Timing depends on site count and item volume. On a tenant with 50 sites, expect 30-90 minutes with interactive authentication, or faster with a service principal. On tenants with several hundred sites, the script can run for several hours. Recycle Master processes site connections more efficiently by batching internally, reducing total run time on large tenants.

Need to restore instead of clear? See how to bulk-restore from the recycle bin.