Yes, you can recover a deleted file on Microsoft Teams, but only if you act within the retention period set by your organization and the file was stored in a Teams-connected SharePoint site or OneDrive. This guide explains the exact steps for recovering files you deleted from Teams, including from chat, channels, and the Files tab, plus what to do when the file isn't in your recycle bin.
How Teams Stores Files
When you upload a file to a Teams channel, it is not stored inside Teams itself. Teams uses SharePoint Online as the underlying storage for channel files, and OneDrive for Business for files you share in private chats. This distinction matters because your recovery options depend on where the file lived.
- Channel files (Files tab in a team) → stored in the team's SharePoint document library.
- Chat files (files sent in 1:1 or group chats) → stored in the sender's OneDrive for Business folder, shared with the chat members.
- Meeting recordings and attachments → usually stored in OneDrive or SharePoint, depending on the meeting type.
So when you delete a file from Teams, you are actually deleting it from SharePoint or OneDrive. That means the recovery tools you use are the ones built into those services, not Teams itself.
Recover from the Teams Recycle Bin
If you deleted a file from the Files tab in a channel, the quickest way to get it back is through the SharePoint site's recycle bin, which is accessible from Teams. Here are the steps:
- Open the channel where the file was deleted.
- Click the Files tab.
- Click Open in SharePoint (the link is usually in the top-right corner).
- In SharePoint, click Recycle Bin in the left navigation (if you don't see it, click the gear icon → Site contents → Recycle Bin).
- Select the file you want to restore and click Restore.
For files sent in a chat, you can access the sender's OneDrive recycle bin if you have permission, but the simplest route is to ask the sender to restore it. If you are the sender, go to OneDrive → Recycle Bin and restore the file there.
Use the Second-Stage Recycle Bin
SharePoint and OneDrive have two recycle bins: the first-stage recycle bin (what you see when you click Recycle Bin) and the second-stage recycle bin (a hidden site collection recycle bin). Files that are deleted from the first-stage bin, or that pass a retention threshold, move to the second-stage bin.
To access the second-stage recycle bin in SharePoint:
- Go to the SharePoint site (via Teams, as above).
- Click the gear icon → Site contents.
- Click Recycle Bin (this is the first-stage).
- Scroll to the bottom and click Second-stage recycle bin.
In OneDrive, the second-stage recycle bin is accessible from the main recycle bin page, but only site collection administrators can see it. If you are not an admin, you may need to contact your IT department.
Check the SharePoint Admin Center
If the file is not in either recycle bin, your last hope is the SharePoint admin center, which allows site collection admins to restore deleted sites and their contents. This is a more drastic step because it restores an entire site, not just one file, and it requires admin permissions.
If you are a global or SharePoint admin, go to admin.microsoft.com → SharePoint → Active sites. Find the site associated with the team, click the ellipsis (…), and choose Restore. This will bring back the site and all its files from the recycle bin, but note that it may take a few hours to complete.
What If You Deleted a Chat File?
When you delete a file from a chat, it is removed from the chat for everyone, but the file itself remains in the sender's OneDrive. The recipient cannot restore it directly; they must ask the sender to restore it from their OneDrive recycle bin. If the sender is no longer available, an admin may be able to access the OneDrive and restore the file, but this requires legal hold or eDiscovery permissions.
If you are the sender and you deleted the file from the chat, go to onedrive.com → Recycle Bin → select the file → Restore. If it's not there, check the second-stage recycle bin (only admins can see this).
Common Problems and Misconceptions
"I deleted the file from the Files tab, but it's not in the recycle bin." This can happen if the file was in a private channel. Private channel files are stored in a separate SharePoint site, not the main team site. To find the recycle bin for a private channel, you need to open the channel's SharePoint site directly (via the channel's Files tab → Open in SharePoint).
"I restored the file, but it's not showing up in Teams." After restoring a file in SharePoint, it should appear in the Teams Files tab within a few minutes. If it doesn't, refresh the browser or close and reopen Teams. Sometimes the file is restored to a different folder if the original folder was also deleted.
"My organization has a retention policy that deletes files after 30 days." Retention policies can permanently delete files before you get a chance to recover them. If the file is older than your organization's retention period, it may be gone forever. Check with your IT admin to see if the retention policy applies to your file.
"I can't see the recycle bin in SharePoint." The recycle bin is only visible if you have at least edit permissions on the site. If you are a visitor or read-only member, you won't see it. Ask a team owner or admin to restore the file for you.
Frequently Asked Questions
How long do deleted files stay in the Teams recycle bin? The recycle bin retention period is typically 93 days for SharePoint and OneDrive, but your organization may have a custom retention policy. After that, files are permanently deleted unless they are on legal hold.
Can I recover a file that was deleted from a chat if I'm not the sender? No, you cannot directly recover it. You must ask the sender to restore it from their OneDrive recycle bin. If the sender is unavailable, an admin may be able to recover it through eDiscovery or site collection restore.
Does deleting a file from Teams delete it for everyone? Yes, deleting a file from a channel or chat removes it for all members. However, the file remains in the SharePoint/OneDrive recycle bin, so it can be restored by someone with appropriate permissions.
What if I accidentally deleted a whole team? Can I get the files back? Yes, if you are a global admin, you can restore a deleted team from the Microsoft 365 admin center within 30 days. This restores the team and its associated SharePoint site, including all files.
Is there a way to recover a file that was overwritten, not deleted? Yes, SharePoint and OneDrive keep version history. Right-click the file in Teams → Version history (or open the file and go to File → Info → Version history) to see previous versions and restore an older one.
Can I recover a file if I don't have admin rights? Yes, if you have at least edit permissions on the SharePoint site, you can access the recycle bin. If you don't, ask a team owner or your IT admin to do it for you.