Delete files or folders in OneDrive
Applies ToOffice for business OneDrive (work or school) Microsoft Office OneDrive (home or personal) OneDrive (work or school) operated by 21Vianet OneDrive for Mac OneDrive for Windows

You can delete specific files or photos on Microsoft OneDrive, or you can delete entire folders and all the items in them. If you need to, you might be able to restore deleted files from the OneDrive recycle bin.

  1. On your taskbar, select File Explorer The File Explorer icon..

  2. Select your OneDrive folder, select the items you want to delete, and press the Delete key on your keyboard.

If you delete an item that has been shared, you will delete it for everyone. OneDrive may prompt you to confirm if it was intentional:

Screenshot of the OneDrive confirmation prompt for deleting shared files

Delete from your OneDrive but not your computer

If you want to keep a file, photo, or folder on your computer, but not on OneDrive, use File Explorer or Mac Finder to move the file outside your OneDrive folder to a different folder on your computer.

Delete from your computer but not your OneDrive

If you want to keep a file, photo, or folder on your OneDrive, but not on your computer (because you don't want it to take up space), put the file in your OneDrive folder, then turn on Files On-Demand (Windows) or Files On-Demand (Mac). You'll still see the file in the OneDrive folder on your computer, but it will take up zero hard drive space.

You can also Choose which OneDrive folders to sync to your computer so that you only see certain folders on your computer.

Delete from both your OneDrive and your computer

If the file or folder in in your OneDrive, use File Explorer or Mac Finder to find and delete the file, photo, or folder.

When lots of files are deleted all at once, OneDrive may prompt you to confirm if it was intentional.Screenshot of the OneDrive confirmation prompt for deleting many files

Once you delete files from OneDrive and the OneDrive recycle bin, there may be a short delay in seeing that reflected in your OneDrive account's storage availability.​​​​​​​

Sign in to your Microsoft account and see your storage quota.

Note: If a Microsoft 365​​​​​​​ subscription has expired, you'll need to renew to get the same storage quota again.

​​​​​​Sign in

See Also

Restore deleted files or folders in OneDrive

Restore a previous version of a file stored in OneDrive

Restore your OneDrive

Choose which OneDrive folders to sync to your computer

Need more help?

Contact support icon

Contact Support For help with your Microsoft account and subscriptions, visit Account & Billing Help.

For technical support, go to Contact Microsoft Support, enter your problem and select Get Help. If you still need help, select Contact Support to be routed to the best support option.

Work or school badge

Admins Admins should view Help for OneDrive Admins, the OneDrive Tech Community or contact Microsoft 365 for business support.

Need more help?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.