What happens when you delete OneDrive
Deleting OneDrive from your computer stops the app from running and removes it from your system, but it does not delete the files stored in your OneDrive account online. Your files stay in the cloud until you delete them separately through the OneDrive website or the web app. This matters because many people think deleting the program means losing their data — it does not.
When you uninstall OneDrive, any files you had synced to your computer stay on your hard drive in the folder where they were stored. Files that only existed in OneDrive online remain there. The sync connection simply stops working. If you want to remove OneDrive completely and keep your files, you delete the program. If you want to delete the files too, you do that in a separate step.
Key Takeaways
- Uninstalling OneDrive from your computer does not delete your files — they stay in your OneDrive account online and in any local folders where you saved them.
- On Windows 10 or 11, you uninstall OneDrive through Settings > Apps > Apps and features, then search for OneDrive and select Uninstall.
- On a Mac, you quit OneDrive, drag it to the Trash from your Applications folder, and empty the Trash to complete the removal.
- If you want to delete your OneDrive account and all files in it, you do that through the Microsoft account settings online, which is a separate process from uninstalling the program.
- After uninstalling, check your computer's hard drive for any OneDrive folders you want to keep or move before the sync stops.
How to uninstall OneDrive on Windows 10 and 11
Open Settings by pressing the Windows key and typing "Settings," then press Enter. Click on Apps in the left menu, then click Apps and features. Scroll down or search for "OneDrive" in the search box at the top. When you see OneDrive in the list, click on it once to select it, then click the Uninstall button that appears.
A window will pop up asking you to confirm the uninstall. Click Uninstall again. Windows will remove OneDrive from your system. This takes about one to two minutes. When it finishes, you will see a message saying the uninstall was successful. Restart your computer to complete the process. OneDrive will no longer appear in your taskbar or system tray after the restart.
If you see a message saying "This app is managed by your organization," you cannot uninstall it because your workplace or school controls it. Contact your IT department or help desk to request removal. They can disable OneDrive on your account.
How to remove OneDrive on a Mac
First, quit OneDrive if it is running. Click the OneDrive icon in the menu bar at the top of your screen and select Quit OneDrive. If you do not see the icon, open Finder, go to Applications, find OneDrive, right-click it, and select Quit.
Open Finder and click Applications in the sidebar. Scroll down to find OneDrive in the list of programs. Right-click OneDrive and select Move to Trash. If you see a lock icon, you may need to enter your Mac password. After moving it to Trash, click Finder in the menu bar, select Empty Trash, and confirm. OneDrive is now removed from your Mac.
Some versions of OneDrive leave behind a hidden folder in your user library. If you want to remove this completely, open Finder, press Command + Shift + Period to show hidden files, navigate to Library > Application Support, and delete the Microsoft folder if it only contains OneDrive data. This step is optional and does not affect your files.
What to do with your synced files before you uninstall
Before you uninstall OneDrive, check what files are on your computer. Open File Explorer on Windows or Finder on a Mac and look for any OneDrive folders. By default, OneDrive creates a folder called "OneDrive" in your user directory. Any files in this folder are synced to your account online.
Decide what you want to keep. If you have files you need, copy them to another folder on your computer or to an external drive before you uninstall. Once OneDrive is removed, the sync stops, but the files themselves stay where they are. You can still access them on your computer — they just will not sync to the cloud anymore.
If you have files that only exist in OneDrive online and you want to keep them, download them before uninstalling. Sign into OneDrive.com, select the files you want, click Download, and save them to your computer. This ensures you have a copy locally before the sync connection ends.
How to delete your OneDrive account and files
If you want to remove OneDrive completely and delete all the files in your account, you do this through your Microsoft account settings, not by uninstalling the program. Go to account.microsoft.com and sign in with the email and password for your Microsoft account. Click on your profile picture or name in the top right, then select View account.
Click on Data privacy in the left menu. Scroll down to find the section for managing your data. Look for an option to delete your OneDrive data or close your account. The exact wording changes depending on your account type, but it will be in this area. Click on it and follow the steps to confirm deletion. Microsoft will warn you that this action cannot be undone and that all files will be permanently removed.
Be aware that deleting your OneDrive account may also affect other Microsoft services you use, such as Outlook email or Office documents stored in the cloud. Review what is linked to your account before you proceed. If you only want to delete specific files rather than your entire account, sign into OneDrive.com, select the files, and delete them there instead.
Troubleshooting if OneDrive will not uninstall
If you try to uninstall OneDrive and get an error message, the most common cause is that OneDrive is still running in the background. Open Task Manager by pressing Ctrl + Shift + Esc on Windows. Look for OneDrive in the list of running programs. Click on it and select End Task. Then try uninstalling again through Settings.
On a Mac, if you cannot move OneDrive to Trash because it says the file is in use, make sure you have quit the program completely. Check the menu bar at the top of the screen for the OneDrive icon and click it to quit. If you still cannot delete it, restart your Mac and try again immediately after startup, before OneDrive has time to launch.
If you see a message that says you do not have permission to uninstall, you may not have administrator rights on your computer. On Windows, right-click the Settings app and select Run as administrator, then try uninstalling again. On a Mac, you may need to enter your password when prompted. If you still cannot uninstall, contact your IT support or the person who manages your computer.
What happens to your files after uninstall
Your OneDrive files online stay in your account and remain accessible through OneDrive.com or the OneDrive mobile app. You can still view, download, or delete them from the web. The uninstall only removes the program from your computer and stops the sync between your computer and the cloud.
Files that were synced to your computer stay on your hard drive in the same location where they were stored. You can continue to use them, move them, or delete them just like any other file on your computer. They will not automatically delete when you uninstall OneDrive.
If you reinstall OneDrive later, you can set it up to sync again. Your online files will still be there, and you can choose which folders to sync to your new installation. This gives you the option to come back to OneDrive without losing anything.
Frequently Asked Questions
Will uninstalling OneDrive delete my files?
No. Uninstalling OneDrive removes the program from your computer but does not delete your files. Files stored online in your OneDrive account stay there. Files on your computer stay on your hard drive. Only the sync connection stops working.
Can I uninstall OneDrive if my work or school controls my computer?
Probably not. If you see a message saying the app is managed by your organization, your workplace or school has locked it. Contact your IT department or help desk to request removal. They control whether you can uninstall it.
How do I download my files before I uninstall OneDrive?
Sign into OneDrive.com, select the files or folders you want, click the Download button, and choose where to save them on your computer. For large amounts of files, this may take several minutes. You can also copy files from your OneDrive folder on your computer to another location before you uninstall.
What is the difference between uninstalling OneDrive and deleting my account?
Uninstalling removes the program from your computer but keeps your account and files online. Deleting your account removes everything — the program, your files, and your OneDrive storage. You can uninstall and keep your account. You cannot delete your account without losing all your files.
Can I reinstall OneDrive after I uninstall it?
Yes. You can download OneDrive again from Microsoft.com or the Microsoft Store and install it on your computer. Your online files will still be there, and you can set up sync again. Uninstalling does not prevent you from using OneDrive in the future.