Deleting documents from OneDrive removes them from your cloud storage and frees up space. Deleted items go to the OneDrive recycle bin, where they stay for up to 30 days (for personal accounts) or 93 days (for work or school accounts) before permanent deletion. To delete a document, you need to be signed in to OneDrive with the account that owns the file, and you should have a stable internet connection if using the web version. The steps below cover the web interface, which works on any modern browser; the process is similar in the OneDrive desktop and mobile apps.
What You'll Need
- A Microsoft account (personal) or a work/school account with OneDrive access.
- Internet access and a web browser (Edge, Chrome, Firefox, Safari, etc.).
- Sign-in credentials for the account that owns the document.
- For files shared with you, you need edit or delete permissions; otherwise, you can only remove them from your view.
Step-by-Step
- Sign in to OneDrive. Go to onedrive.live.com and sign in with your Microsoft account, or go to your organization's OneDrive portal and sign in with your work or school account.
- Navigate to the document. Use the folder structure on the left or the search bar at the top to locate the file. You can also use the “My files” view to browse.
- Select the document. Click once on the file to select it. A checkmark or highlight indicates it is selected. To select multiple files, hold Ctrl (Windows) or Command (Mac) and click each file, or drag a selection box around them.
- Delete the document. Press the Delete key on your keyboard, or click the “Delete” button in the top toolbar. On a touch device, tap the Delete icon. Confirm the action if prompted.
- Verify deletion. The file disappears from the current view. It is moved to the recycle bin, not permanently erased yet.
- Empty the recycle bin (optional). To permanently delete the file immediately, open the recycle bin from the left navigation pane, select the file, and click “Delete” or “Empty recycle bin.” Note that emptying the recycle bin removes all items in it, not just the selected one.
Common Mistakes
- Deleting a shared file you don't own. If someone shared a file with you, deleting it from your OneDrive may remove it from your view but not from the owner's storage. Conversely, if you have edit permissions, deleting it may remove it for everyone. Check ownership before deleting shared items.
- Confusing “Remove from view” with delete. In the “Shared” section, removing a shared file from your list does not delete it from the owner's OneDrive; it only hides it from your view.
- Forgetting about the recycle bin. Many users think deleting a file frees up space immediately. Space is only freed after the recycle bin is emptied or the retention period expires.
- Deleting a file that is open or syncing. If a file is actively syncing or open in an app, deletion may fail or cause sync conflicts. Close the file and ensure sync is complete before deleting.
- Using the wrong account. If you have multiple Microsoft accounts, you might be signed in to the wrong one and not see the file you intend to delete. Check the account name in the top-right corner.
Tips
- Use keyboard shortcuts. In the web interface, selecting a file and pressing Delete works, but you can also use Shift+Delete to bypass the recycle bin and delete permanently (a confirmation prompt will appear). Use with caution.
- Restore accidentally deleted files. If you delete a file by mistake, open the recycle bin, select the file, and click “Restore.” It will be returned to its original location.
- Check storage after emptying. After permanently deleting files, refresh the OneDrive page to see updated storage usage. It may take a few minutes to reflect.
- Manage versions. Deleting a file removes all its versions. If you need to keep a version history, consider downloading the file first.
- Use the mobile app for quick deletions. On the OneDrive mobile app, tap the three dots next to a file and select “Delete.” The file goes to the recycle bin, which you can access from the app's menu.
Troubleshooting
- Delete option is greyed out. You may lack permission to delete the file. If it's shared with you, ask the owner to delete it or grant you edit permissions. For work/school accounts, your organization may have policies restricting deletion.
- File reappears after deletion. This can happen if the file is synced from a local folder and the sync client re-uploads it. Check the sync status and pause syncing before deleting, or delete the file from the local folder as well.
- Cannot empty recycle bin. If the recycle bin is large, it may take time. Try selecting individual files and deleting them, or clear your browser cache and retry. For work/school accounts, retention policies may prevent immediate emptying.
- Deleted file still counts toward storage. As noted, files in the recycle bin count toward your storage quota until permanently deleted. Empty the recycle bin to free space.
- Error message when deleting. Refresh the page, sign out and back in, or try a different browser. If the problem persists, check the Microsoft 365 Service Health status for outages.
Frequently Asked Questions
How long do deleted files stay in the OneDrive recycle bin?
For personal OneDrive accounts, items are kept for 30 days. For work or school accounts (OneDrive for Business), the default retention is 93 days, but your organization may have configured a different period. After that, items are permanently deleted.
Can I recover a file after emptying the recycle bin?
No, once the recycle bin is emptied or the retention period expires, the file is permanently deleted and cannot be recovered through OneDrive. You would need to restore it from a backup if you have one.
Does deleting a file from OneDrive delete it from my computer?
If you use the OneDrive sync client, deleting a file from the OneDrive website will remove it from your local OneDrive folder on synced devices. However, if the file is also stored elsewhere on your computer (outside the OneDrive folder), it remains there.
What happens if I delete a file that's shared with others?
If you are the owner, deleting the file removes it for everyone with whom it was shared. If you are a recipient with edit permissions, deleting it may remove it for all users. If you only have view permissions, you cannot delete it; you can only remove it from your shared list.
Can I delete multiple files at once?
Yes. In the web interface, select multiple files by holding Ctrl (Windows) or Command (Mac) and clicking each file, or by dragging a selection box. Then click Delete or press the Delete key. On mobile, you can select multiple items by long-pressing one and tapping others.
Is there a way to delete files permanently without using the recycle bin?
Yes. Select the file and press Shift+Delete (on Windows) or use the “Delete permanently” option if available. This bypasses the recycle bin and deletes the file immediately, but you will be asked to confirm. Use this only when you are sure you won't need the file again.