Delete a file or folder from OneDrive on the web

To delete a file or folder in OneDrive using your web browser, right-click on the item and select Delete from the menu that appears. The file moves to your OneDrive recycle bin immediately — it does not disappear from your account right away.

You can also select multiple files at once by clicking the checkbox next to each one, then clicking the Delete button in the toolbar at the top of the page. This works the same way: the items go to your recycle bin rather than being permanently removed.

If you want to delete a folder and everything inside it, the process is identical. Right-click the folder, select Delete, and the entire folder with all its contents moves to the recycle bin as a single unit.

Key Takeaways

  • Deleted files go to your OneDrive recycle bin first, where they stay for 93 days before OneDrive removes them permanently.
  • You can restore a deleted file from the recycle bin at any point during those 93 days by right-clicking it and selecting Restore.
  • Permanently deleting a file from the recycle bin removes it from your account entirely and cannot be undone.
  • On Windows and Mac, you can delete OneDrive files through File Explorer or Finder the same way you delete local files.
  • If someone else shared a file with you, deleting it from your view removes it only from your account, not from theirs.

Delete files using the OneDrive desktop app on Windows or Mac

If you have OneDrive synced to your computer, you can delete files directly from File Explorer (Windows) or Finder (Mac). Navigate to your OneDrive folder, right-click the file or folder you want to remove, and select Delete. The item moves to your computer's recycle bin or trash, not directly to OneDrive's recycle bin.

To move the file to OneDrive's recycle bin instead, open OneDrive in your web browser and delete it there. This ensures the file is tracked in OneDrive's 93-day recovery window rather than your computer's local trash, which may empty on a different schedule.

Restore a deleted file from OneDrive recycle bin

Your OneDrive recycle bin holds deleted files for 93 days. To restore a file, go to your OneDrive on the web, click the Recycle bin link in the left sidebar, find the file you want to recover, right-click it, and select Restore. The file returns to its original location in OneDrive.

If the original folder no longer exists, OneDrive restores the file to the root of your OneDrive instead. You can then move it to a new location. Once you restore a file, it is no longer in the recycle bin.

Permanently delete a file from OneDrive

To permanently remove a file so it cannot be recovered, go to your OneDrive recycle bin, right-click the file, and select Delete again. This second deletion is permanent — OneDrive removes the file from your account entirely, and you cannot restore it.

You can also empty your entire recycle bin at once by clicking the Empty recycle bin button at the top of the recycle bin page. This permanently deletes all files in the bin. Use this carefully, as the action cannot be undone.

What happens when you delete a shared file

If you delete a file that you own and shared with others, the file is removed from everyone's OneDrive. People who had access to it will no longer see it in their shared files list, and they cannot open it.

If someone else shared a file with you and you delete it, the file is removed only from your OneDrive view. The owner still has the file in their account, and other people you shared it with can still access it. Deleting a shared file you do not own affects only your own copy.

Delete files on OneDrive mobile apps

On the OneDrive mobile app for iPhone, iPad, or Android, open the app and navigate to the file you want to delete. Tap and hold the file (or swipe left on iPhone) until a menu appears, then select Delete. The file moves to your recycle bin.

To restore a deleted file on mobile, open the app menu, tap Recycle bin, find the file, tap and hold it, and select Restore. The process works the same way as on the web version.

Frequently Asked Questions

Can I recover a file after I empty the recycle bin?

No. Once you empty the recycle bin or permanently delete a file from it, OneDrive removes it from your account permanently. There is no way to recover it after that point. If you are unsure whether you need a file, leave it in the recycle bin until you are certain.

What if I delete a file by mistake on my computer?

If you deleted a file from your OneDrive folder on your computer and it went to your computer's local trash or recycle bin, you can restore it from there first. If you emptied your computer's trash, go to OneDrive on the web and check the OneDrive recycle bin — the file should still be there for up to 93 days.

Does deleting a file free up my OneDrive storage space?

Not immediately. When you delete a file, it moves to your recycle bin and still counts toward your storage limit. Only when you permanently delete it or the 93-day period expires does OneDrive free up that space in your account.

Can I delete files that other people shared with me?

Yes, you can delete shared files from your own OneDrive view. Doing so removes them only from your account. The person who owns the file still has it, and other people with access can still see it. The owner is not notified that you deleted it from your view.

How do I delete an entire OneDrive folder and everything in it?

Right-click the folder in OneDrive on the web or in File Explorer, select Delete, and the entire folder with all its contents moves to your recycle bin. You can restore the whole folder at once by going to the recycle bin and selecting Restore, which puts it back in its original location with all files intact.