Delete Files from OneDrive – Simple Step‑by‑Step Guide
In this article
Yes—you can delete files from OneDrive by selecting them and using the Delete command in the web interface, desktop app, or mobile app. This guide shows exactly how to remove unwanted items permanently, how to avoid the recycle‑bin trap, and what to do if the process stalls.
What You’ll Need
- A Microsoft account that is signed in to OneDrive.
- An internet connection for the web and mobile versions.
- OneDrive installed on Windows (or macOS) if you prefer the desktop client.
- The OneDrive mobile app for iOS or Android if you are working from a phone or tablet.
Step‑by‑Step
- Choose your platform. The steps differ slightly between the web portal, the Windows/macOS desktop client, and the mobile app. Decide where you are most comfortable.
- Web (OneDrive.live.com)
- Open a browser and go to onedrive.live.com. Sign in if prompted.
- Navigate to the folder that contains the file(s) you want to delete.
- Hover over a file and click the checkbox that appears, or click the circle to the left of the file name. You can select multiple items by checking additional boxes.
- At the top toolbar, click the Delete icon (trash can). A confirmation banner will appear; click Delete again to confirm.
- The file moves to the OneDrive Recycle Bin. To delete it permanently, click Recycle bin** in the left navigation, select the items, and choose Delete permanently. This step is optional if you only need to free up space quickly; the file will be auto‑purged after 30 days.
- Windows desktop client (File Explorer integration)
- Open File Explorer and locate the OneDrive folder (usually listed under “Quick access” or “This PC”).
- Find the file or folder you wish to delete.
- Right‑click the item and choose Delete, or select it and press the Delete key on your keyboard.
- A Windows dialog may ask if you want to move the item to the Recycle Bin; click Yes. The file now resides in the local Recycle Bin and also in OneDrive’s online Recycle Bin.
- To remove it from OneDrive completely, open the web Recycle Bin (see step 2) and delete permanently, or empty your local Windows Recycle Bin.
- macOS desktop client (Finder integration)
- Open Finder and click the OneDrive shortcut in the sidebar.
- Select the unwanted file(s), then press Command + Delete or right‑click and choose Move to Trash.
- The items go to the macOS Trash. Empty the Trash to finalize removal locally, and then use the web Recycle Bin to purge them from the cloud.
- Mobile app (iOS / Android)
- Launch the OneDrive app and sign in if needed.
- Browse to the file or folder you want gone.
- Tap and hold the item (iOS) or tap the three‑dot menu next to it (Android) to bring up the context menu.
- Select Delete. A pop‑up asks for confirmation—tap Delete again.
- To clear the item from the cloud, open the app’s Recycle bin** (found in the main navigation), select the file, and choose Delete permanently.
- Verify the deletion
- Refresh the folder view on your device.
- Log into the OneDrive web portal and confirm the file no longer appears in its original location.
- If you emptied the Recycle Bin, the file should be gone from all devices after the next sync cycle (usually a few seconds to a minute).
Common Mistakes
1. Assuming a deleted file is gone forever. OneDrive retains deleted items in the Recycle Bin for up to 30 days, so they still occupy storage until you purge them.
2. Deleting from the local Recycle Bin but not the OneDrive Recycle Bin. The local bin only clears the copy on that device; the cloud version remains until you delete it online.
3. Selecting the wrong folder. The OneDrive folder mirrors the cloud structure, so deleting a file from a similarly named local folder that isn’t synced can lead to data loss.
4. Using the “Remove” option instead of “Delete”. “Remove” merely un‑syncs the file from the device while keeping it in the cloud, which does not free up storage.
Tips
- Use the web Recycle Bin to batch‑delete permanently – select all items with the checkbox at the top and click Delete permanently.
- If you need to free up space quickly, enable the “Files on‑demand” feature in the Windows client (Settings > OneDrive > Files on‑demand). This keeps placeholders locally while the full files stay in the cloud.
- Rename large folders before deletion if you want an extra safety net; you can quickly restore by renaming back within the Recycle Bin.
- For corporate or school accounts, your admin may have set a shorter retention period for deleted items. Check your organization’s policy if you cannot see the Recycle Bin.
- When deleting many files, pause the OneDrive sync (right‑click the OneDrive tray icon > Pause syncing) to avoid sync conflicts, then resume after the deletion is complete.
Troubleshooting
Deletion does not appear to happen
- Refresh the page or close and reopen the app. Sync delays can make a deletion look like it failed.
- Make sure you are signed into the correct Microsoft account. Switching accounts can show a different OneDrive view.
- Check OneDrive’s service status (https://status.live.com). Outages can temporarily block delete operations.
- Restart the OneDrive client: right‑click the tray icon, select Close OneDrive**, then reopen it from the Start menu or Applications folder.
- If the file is locked (e.g., opened in Office Online), close the editing session and try again.
Deleted items re‑appear after a restart
- Make sure you emptied both the local Recycle Bin/Trash and the OneDrive online Recycle Bin.
- Disable any third‑party backup or sync tools that might be restoring the file from another location.
- Check for “Version history” in the file’s context menu. Restoring an older version can unintentionally bring the file back.
Sync errors after mass deletion
- Open OneDrive settings (tray icon > Settings) and go to the Account tab. Click Choose folders and uncheck any folder that is causing repeated sync failures, then re‑check it.
- Run the built‑in “Reset OneDrive” utility: press Win +
, type %localappdata%\Microsoft\OneDrive\onedrive.exe /reset, and press Enter. After a minute, OneDrive will restart and rebuild its index. - If the problem persists, sign out of OneDrive (tray icon > Settings > Account > Unlink this PC) and sign back in.
Frequently Asked Questions
Can I recover a file after I permanently delete it from the OneDrive Recycle Bin?
No. Once you choose “Delete permanently”, the file is removed from Microsoft’s servers and cannot be restored through OneDrive. You would need a separate backup solution.
Does deleting a file on my phone also delete it from my PC?
Yes. Deleting from any synced client moves the item to the cloud Recycle Bin, which then propagates to all devices after the next sync.
What happens if I delete a shared folder that other people have access to?
All members lose access to that folder. If they have a copy saved locally, it remains on their device, but the cloud version disappears for everyone.
Is there a way to delete files automatically after a certain period?
OneDrive does not include a built‑in auto‑expire feature. You would need to use a third‑party script or Power Automate flow that calls the Graph API to remove old items.
Why does OneDrive sometimes show “You don’t have permission to delete this item”?
This occurs when the file is owned by another user or when your account only has view‑only rights on a shared folder. Ask the owner to delete it or change your permissions.
Can I delete files from OneDrive without an internet connection?
Yes, on the desktop client you can delete files locally; they will be removed from the cloud the next time the client syncs online.