You deleted a SharePoint site but its pages, documents, or name still show up when users search from the SharePoint start page or a hub site. This happens because SharePoint search does not remove deleted content instantly. The search index is updated on a schedule, and site deletions can take up to 24 hours to fully disappear from results. This article explains why the delay occurs and what site owners can check to speed up or verify the removal of deleted sites from search results.
Key Takeaways: Removing Deleted Sites from SharePoint Search
- SharePoint admin center > Search > Manage Search Schema: Check if the site is still indexed or if a crawl is pending.
- Site Collection > Site Settings > Search and Offline Availability: Verify the site is set to “No” for search indexing before deletion.
- SharePoint Online Management Shell: Run
Remove-SPOSiteandRemove-SPODeletedSiteto fully purge the site and its search entries.
Why a Deleted Site Remains in SharePoint Search Results
SharePoint Online uses a search index that is not updated in real time. When you delete a site, the system marks it for removal from the index during the next scheduled crawl. By default, full crawls run every few hours for content changes, and incremental crawls happen more frequently. However, if the site was recently deleted, the search index might still contain cached data that appears in results.
Another cause is that the site was only sent to the SharePoint recycle bin (first-stage or second-stage) rather than permanently deleted. Sites in the recycle bin remain searchable until they are permanently removed. Additionally, if the site was part of a hub, the hub’s search settings might still reference the old site’s content. Understanding these mechanisms helps you take the correct steps to clear the search results.
Search Index Update Schedule
SharePoint Online runs incremental crawls every 1 to 5 minutes for list items and pages, but full crawls that remove deleted sites can take up to 24 hours. The index is rebuilt during full crawls, which happen automatically every few days or when triggered manually by an administrator. Until the next full crawl, deleted sites can still appear in search results.
Site Recycle Bin Behavior
When you delete a site collection, it first goes to the SharePoint admin center recycle bin (first-stage). From there, it stays for 93 days. During this time, the site is still indexed and searchable. Only after you permanently delete the site from the second-stage recycle bin does the system remove it from the search index. If you skip this step, the site remains visible in search.
Steps to Remove a Deleted Site from Search Results
Follow these steps to ensure your deleted site no longer appears in SharePoint search results. You need SharePoint admin permissions to perform most of these actions.
- Check if the site is in the first-stage recycle bin
Go to the SharePoint admin center. Select Sites then Active sites. Click Recycle bin in the top menu. If the site appears here, select it and click Delete to move it to the second-stage recycle bin. This step removes it from active indexing but not from search results immediately. - Permanently delete the site from the second-stage recycle bin
In the SharePoint admin center, select Sites then Deleted sites. Find your site, select it, and click Delete permanently. Confirm the action. This tells the search system to remove the site from the index during the next crawl. - Request a full crawl of the site collection
In the SharePoint admin center, go to Search then Manage Search Schema. Under Crawl log, check if the site URL still appears. If it does, you can request a full crawl by running the SharePoint Online Management Shell command:Request-SPOPersonalSiteCrawl -Identity "https://yourtenant.sharepoint.com/sites/deletedsite". This forces the search system to update the index for that specific site. - Use PowerShell to fully purge the site
Open SharePoint Online Management Shell as an administrator. RunConnect-SPOService -Url https://yourtenant-admin.sharepoint.com. Then runRemove-SPOSite -Identity "https://yourtenant.sharepoint.com/sites/deletedsite" -SkipRecycleBin. This bypasses the recycle bin and permanently deletes the site. Wait for the next incremental crawl. - Clear the search index for the site
If the site still appears after 24 hours, run the PowerShell commandRemove-SPODeletedSite -Identity "https://yourtenant.sharepoint.com/sites/deletedsite". This removes the site from the second-stage recycle bin and triggers an immediate removal from the search index. Check search results again after 30 minutes.
If SharePoint Still Shows the Deleted Site After the Main Fix
Sometimes the search index retains data even after you follow all steps. The following issues explain why this happens and how to resolve them.
Search Results Show a Hub Site Association
If the deleted site was registered as a hub site or associated with a hub, the hub’s search settings might still list the old site. Go to the SharePoint admin center, select Sites then Active sites. Find the hub site, click its name, and under Hub site settings, remove the deleted site from the associated sites list. Save the changes. This stops the hub from surfacing the old site in search.
Search Results Include Content from a Subsite
If the deleted site contained subsites, each subsite is a separate site collection in SharePoint Online. Deleting the parent site does not automatically delete its subsites. Check the Deleted sites list in the SharePoint admin center for any subsites that remain. Delete them permanently as described in step 2 above.
Search Index Cache Still Holds Old Data
In rare cases, the search index cache on the SharePoint front-end servers might hold stale data. This is not something site owners can fix directly. Contact Microsoft Support and ask them to clear the search index cache for your tenant. Provide the site URL and the date it was deleted. This request forces a full index refresh.
| Action | Recycle Bin (First-Stage) | Permanent Deletion |
|---|---|---|
| Site visibility in search | Remains visible until permanent deletion | Removed after next crawl |
| Time to disappear from search | 93 days unless manually purged | Up to 24 hours |
| Admin permission required | SharePoint admin or site collection admin | SharePoint admin |
| PowerShell command | Remove-SPOSite (without -SkipRecycleBin) |
Remove-SPODeletedSite |
You can now check the SharePoint admin center recycle bin and permanently delete any sites that still appear. Use the PowerShell commands to speed up the removal. For persistent issues, contact Microsoft Support with the site URL and deletion date. This approach ensures search results reflect only active sites.