Delete files or folders in OneDrive

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.
    A screenshot showing the OneDrive Personal folder in File Explorer.

Delete shared items?

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 items from your OneDrive, your hard drive, or both

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.

Deleting lots of items at once

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

Delete files to free up storage

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.

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

Permanently delete your entire OneDrive

Need more help?

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

Technical support. For technical support, select Contact Microsoft Support below, enter your problem and select Get Help.

Mobile users can contact Support by opening the OneDrive app and gently shaking your device.

Community support. Communities help you ask questions, give feedback, and hear from experts with rich knowledge. Ask the Microsoft Community. Do not disclose personal or sensitive information in public forums.