The three ways to delete a file from OneDrive

You can delete a file from OneDrive in three ways: through the web browser, through the OneDrive app on your computer, or through the mobile app on your phone. Each method works the same way at the end — the file moves to your OneDrive recycle bin, where it stays for 93 days before OneDrive deletes it permanently. Until then, you can restore it.

The method you choose depends on where you are when you decide to delete. If you are at your desk, the web browser or desktop app is fastest. If you are on your phone, use the mobile app. All three routes take less than a minute.

Key Takeaways

  • Deleted files go to your OneDrive recycle bin for 93 days, not straight to permanent deletion.
  • You can delete through the web browser at onedrive.live.com, the Windows or Mac desktop app, or the mobile app — all three methods work the same way.
  • Right-click the file and select delete, or select the file and press the Delete key on your keyboard.
  • If you delete a file by mistake, you have 93 days to restore it from the recycle bin before OneDrive removes it permanently.
  • Emptying your recycle bin yourself makes the deletion permanent when ready, so only do that if you are certain.

Deleting a file through the OneDrive web browser

Go to onedrive.live.com and sign in with your Microsoft account. Navigate to the folder where your file is stored. Right-click the file name and select Delete from the menu that appears. The file moves to your recycle bin when ready.

Alternatively, click the file once to select it, then press the Delete key on your keyboard. The result is the same — the file goes to the recycle bin. If you delete multiple files at once, select each one by clicking while holding Ctrl (on Windows) or Command (on Mac), then press Delete or right-click and choose Delete.

Deleting a file through the OneDrive desktop app

Open the OneDrive app on your computer. This is the app that syncs your OneDrive files to a folder on your hard drive — usually called "OneDrive" in your file explorer on Windows or Finder on Mac. Navigate to the file you want to delete.

Right-click the file and select Delete, or click the file once and press the Delete key. The file moves to your OneDrive recycle bin. On your computer, it also disappears from the OneDrive folder, since the app keeps your local folder in sync with what is on OneDrive's servers.

Deleting a file through the OneDrive mobile app

Open the OneDrive app on your phone (available for both iPhone and Android). Find the file you want to delete by browsing your folders or using the search function at the bottom of the screen. Tap and hold the file name until a menu appears.

Tap Delete from the menu. The file moves to your recycle bin. You will see a confirmation message that the file has been deleted. The file no longer appears in your normal OneDrive folders, but you can still restore it from the recycle bin if you change your mind within 93 days.

Understanding the OneDrive recycle bin and permanent deletion

When you delete a file from OneDrive, it does not disappear forever when ready. Instead, it goes to your recycle bin, where it stays for 93 days. During that time, you can restore it to its original location or to a different folder. After 93 days, OneDrive removes it permanently.

If you want to delete a file permanently before the 93 days are up, you can empty your recycle bin yourself. To do this through the web browser, go to onedrive.live.com, click the recycle bin icon in the left sidebar, select all files, and click Delete. Once you empty the recycle bin, the files are gone and cannot be restored. Only do this if you are absolutely certain you no longer need those files.

What happens to shared files when you delete them

If you delete a file that you have shared with other people, those people can no longer access it. The file disappears from their view of the shared folder or link. However, if someone else has a copy of the file on their own computer or has downloaded it, they still have that copy — deleting it from OneDrive does not remove copies that exist elsewhere.

If you shared a file through a shared link (a link you sent to someone that lets them view or read the file), deleting the file from OneDrive breaks that link. Anyone who tries to use the link will see an error message saying the file no longer exists. If you want to stop sharing a file but keep it in OneDrive, you can revoke the link instead of deleting the file.

Restoring a deleted file from the recycle bin

To restore a file you deleted by mistake, go to onedrive.live.com and click the Recycle bin icon in the left sidebar. You will see all files you have deleted in the last 93 days. Click the file you want to restore, then click Restore at the top of the screen. The file returns to its original folder.

If the original folder no longer exists, OneDrive restores the file to the root of your OneDrive (the main level, not inside any subfolder). You can then move it to a new location. On the mobile app, tap and hold the file in the recycle bin and select Restore. The process is the same — the file goes back to where it was before you deleted it.

Frequently Asked Questions

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

No. Once you empty the recycle bin, the files are permanently deleted and cannot be restored. OneDrive does not keep a second backup of deleted files. Only empty your recycle bin if you are certain you no longer need any of the files in it.

If I delete a file from the OneDrive app on my computer, does it delete from my phone too?

Yes. OneDrive syncs across all your devices. When you delete a file through the app on your computer, it is deleted from OneDrive's servers, so it disappears from your phone, tablet, and the web browser as well. The file goes to the recycle bin on all devices.

What if I delete a file but my coworker still has it open?

If someone is editing a file when you delete it, they can continue working on their copy. However, when they try to save, they may see an error or a message that the file no longer exists. They can save their changes as a new file, but the original file is gone from OneDrive.

Does deleting a file from OneDrive free up space on my computer?

Yes, if you are using the OneDrive desktop app. The app syncs your OneDrive files to a folder on your hard drive. When you delete a file from OneDrive, it is removed from that folder, freeing up the space it was using on your computer.

Can I schedule a file to delete automatically on a certain date?

OneDrive does not have a built-in scheduling feature for automatic deletion. You have to delete files manually. However, you can set a reminder on your calendar to delete files on a specific date if you want to clean up old files regularly.