Deleting OneDrive means different things depending on your goal: you might want to unlink it from your computer, uninstall the app, or close the cloud account entirely. This guide walks through each option so you can remove OneDrive cleanly without losing files you meant to keep.
What You'll Need
- A Windows PC or Mac with OneDrive installed or syncing.
- Your Microsoft account credentials (if you plan to close the account or access files online).
- Enough free local storage to hold any files you want to keep before removing sync.
- Administrator rights on the computer (for uninstalling the app).
Step-by-Step
- Decide what “delete” means for you. Unlinking stops sync but keeps local files. Uninstalling removes the app but leaves the OneDrive folder on disk. Closing the account deletes the cloud copy and eventually the account itself. Choose before you start so you do not remove something you need.
- Back up anything you want to keep. Open the OneDrive folder in File Explorer (or Finder on Mac). Copy important files to another folder, an external drive, or a different cloud service. Files that exist only in the cloud (shown with a cloud icon) will disappear from your PC when sync stops, so open them once to download them first.
- Unlink OneDrive from your computer. On Windows, click the OneDrive cloud icon in the taskbar, go to Settings > Account, and choose “Unlink this PC.” On Mac, click the OneDrive menu bar icon, open Preferences > Account, and select “Unlink this Mac.” This stops syncing without deleting local files.
- Uninstall the OneDrive app (optional). On Windows 10 or 11, go to Settings > Apps > Installed apps, find Microsoft OneDrive, and select Uninstall. On Mac, quit OneDrive, open Finder > Applications, and drag OneDrive to the Trash, then empty it. Uninstalling does not delete your files or your cloud account.
- Remove the OneDrive folder from your PC (optional). After unlinking, the local OneDrive folder remains. If you have backed up what you need, you can delete it like any other folder. Right-click the folder and choose Delete, then empty the Recycle Bin.
- Delete files from the cloud (if you want them gone). Sign in to onedrive.com in a browser. Select the files or folders you want to remove and click Delete. They move to the Recycle Bin, where they stay for a limited period (typically 30 days) before permanent deletion. To remove them sooner, open the Recycle Bin and choose “Empty recycle bin.”
- Close your Microsoft account (only if you want to leave entirely). Go to account.microsoft.com, sign in, and find the option to close your account. This deletes the account and associated services, including OneDrive, after a waiting period. Make sure you have copies of anything you need first, because this step is not easily reversed.
Common Mistakes
- Unlinking before downloading cloud-only files. Files that are not stored locally will vanish from your device when sync stops. Check for cloud icons and open those files first.
- Assuming uninstalling deletes your data. The app and the account are separate. Uninstalling leaves both local files and cloud data intact.
- Deleting the local folder while sync is still on. If OneDrive is still linked, deleting local files can delete the cloud copies too. Unlink first, then delete locally.
- Forgetting the Recycle Bin. Deleting files in OneDrive moves them to the online Recycle Bin, not straight to permanent deletion. Empty it if you want them truly gone.
- Closing the account to “delete OneDrive.” Closing a Microsoft account affects email, Office, and other services, not just OneDrive. Use it only if you intend to leave the whole ecosystem.
Tips
- Use the OneDrive website to see exactly what is stored in the cloud before you change anything on your PC.
- If you only want to free up space, consider turning on Files On-Demand instead of deleting: it keeps files in the cloud and downloads them only when opened.
- After unlinking, check that your Documents, Desktop, and Pictures folders still point to local locations, not to the old OneDrive path.
- If you share a computer, unlink your account so others do not see your synced files.
- Keep a backup of important files on a separate drive or service, even after you think the deletion is complete.
Troubleshooting
- OneDrive keeps reinstalling. Windows may reinstall the app after updates. You can disable it from starting by opening Task Manager > Startup and disabling OneDrive, or by using Group Policy on professional editions.
- Files are missing after unlinking. Check the online Recycle Bin at onedrive.com. If files were deleted locally while sync was active, they may also be in the cloud Recycle Bin.
- “Unlink” is greyed out. Make sure you are signed in to the correct account and that no sync is in progress. Restart the computer and try again.
- You cannot sign in to close the account. Use the account recovery options at account.microsoft.com. Without access, you cannot close the account, but you can still unlink and uninstall locally.
- The OneDrive folder will not delete. Some files may be in use. Close all Office apps, restart, and try again. If a file is locked, use Safe Mode or check for permissions issues.
Frequently Asked Questions
Does uninstalling OneDrive delete my files?
No. Uninstalling the app removes the program but leaves your local OneDrive folder and your cloud files untouched. You must delete files separately if you want them gone.
What happens to my files if I unlink OneDrive?
Files stored locally remain on your computer. Files that were only in the cloud (not downloaded) become unavailable on that device until you sign in again or access them through the website.
Can I delete OneDrive without deleting my Microsoft account?
Yes. You can unlink and uninstall OneDrive and delete files from the cloud while keeping your Microsoft account for email and other services.
How long do deleted OneDrive files stay in the Recycle Bin?
By default, items remain in the OneDrive Recycle Bin for about 30 days before permanent deletion. The exact period can vary by account type and settings.
Will deleting OneDrive affect my Office documents?
Only if those documents are stored in OneDrive and you have no local copy. Download or move them before unlinking or deleting to avoid losing access.
Is it safe to delete the OneDrive folder after unlinking?
Yes, provided you have backed up any files you need. After unlinking, the folder is just a normal local folder and can be deleted like any other.