How to Unsync OneDrive Without Deleting Files
In this article
To unsync OneDrive without deleting files, you need to stop syncing a folder or your entire OneDrive while keeping the local copies intact. The safest method is to use the OneDrive settings to unlink your account or stop syncing specific folders, rather than deleting the OneDrive folder or using the "Free up space" option, which can remove local files. This guide walks you through the correct steps on Windows, macOS, and mobile, and explains how to avoid common mistakes that lead to data loss.
What You'll Need
- A computer or mobile device with OneDrive installed and signed in.
- Administrator rights on the device (for some steps).
- Enough free disk space if you plan to keep files locally after unsyncing.
Step-by-Step
- Open OneDrive settings. On Windows, click the OneDrive cloud icon in the system tray (near the clock), then click the gear icon and select Settings. On macOS, click the OneDrive cloud icon in the menu bar, then click the gear icon and choose Preferences. Note that menu labels can differ slightly by version, device, or region.
- Go to the Account tab. In the settings window, select the Account tab. This is where you manage your linked account and sync preferences.
- Choose “Unlink this PC” or “Unlink this Mac”. Click the button labeled Unlink this PC (Windows) or Unlink this Mac (macOS). This stops syncing entirely for that computer. A confirmation dialog will appear; click Unlink account to proceed. Your local files remain on the device and are not deleted.
- Alternatively, stop syncing specific folders. If you only want to unsync certain folders (e.g., a large project folder), open OneDrive settings, go to the Account tab, and click Choose folders. Uncheck the folders you no longer want to sync, then click OK. OneDrive will remove the local copies of those folders (they become online-only), but the files stay in the cloud. To keep local copies, move them out of the OneDrive folder before unchecking.
- For mobile devices: Open the OneDrive app, tap your profile picture or the Me icon, then go to Settings. Look for an option like Unlink account or Sign out. The exact wording varies by platform (iOS/Android). Signing out stops syncing but does not delete files stored locally in the app’s cache (though those may be cleared later). To keep files, download them to your device’s storage first.
- Verify files are safe. After unlinking, open File Explorer (Windows) or Finder (macOS) and navigate to your OneDrive folder. The files should still be there. If you used “Choose folders” to unsync, the deselected folders will show as online-only (cloud icon) but the files are still accessible via the OneDrive website.
- Remove the OneDrive folder (optional). If you want to free up space and no longer need the local OneDrive folder, you can move your files to another location (e.g., Documents) and then delete the empty OneDrive folder. Do not delete the folder while it still contains files you want to keep.
Common Mistakes
- Deleting the OneDrive folder instead of unlinking. Deleting the folder removes local files and, if sync is still active, may delete them from the cloud too. Always unlink first.
- Using “Free up space” incorrectly. This makes files online-only, removing local copies. If you want to keep files on your device, avoid this option.
- Unchecking folders without backing up. When you stop syncing a folder via “Choose folders,” OneDrive removes the local copy. Move important files out of the OneDrive folder before unchecking.
- Signing out on mobile without downloading. Files stored only in the app’s cache may be lost after signing out. Download them to your device’s storage first.
- Assuming unlinking deletes cloud data. Unlinking only stops sync on that device; your files remain in the cloud and on other synced devices.
Tips
- Before unlinking, ensure all files are fully synced (check for the green checkmark) so you have the latest versions locally.
- If you plan to re-link later, note that OneDrive will merge folders and may create duplicates; clean up before re-linking.
- Use “Choose folders” to selectively sync only what you need, saving disk space without fully unlinking.
- On Windows, you can also pause syncing temporarily via the OneDrive icon menu, but this does not stop syncing permanently.
- Keep a backup of critical files on an external drive before making changes to sync settings.
Troubleshooting
- Files disappeared after unlinking? Check the Recycle Bin (Windows) or Trash (macOS). If you used “Choose folders,” the files are online-only; access them via the OneDrive website. If you deleted the folder, restore from the cloud recycle bin (OneDrive website > Recycle bin).
- Can’t find “Unlink this PC” button? Make sure you are signed in and using the latest OneDrive version. On some work or school accounts, the option may be disabled by your organization.
- OneDrive keeps syncing after unlinking? Restart your computer. If the issue persists, check Task Manager (Windows) or Activity Monitor (macOS) for OneDrive processes and end them, then sign out and back in.
- Mobile app won’t sign out? Force-close the app and try again. On iOS, go to Settings > OneDrive and toggle off “Use Cellular Data” if syncing is stuck.
- Files marked as “online-only” after unsyncing folders? This is normal; double-click to download when needed. To keep them offline, right-click and select “Always keep on this device.”
Frequently Asked Questions
Will unlinking OneDrive delete my files from the cloud?
No. Unlinking only stops syncing on that device. Your files remain in the cloud and on other devices where OneDrive is still linked.
Can I unsync only one folder?
Yes. Use “Choose folders” in OneDrive settings to uncheck specific folders. The files stay in the cloud but are removed from your local device.
What happens to my local files after I unlink?
They remain on your device in the OneDrive folder. You can move them elsewhere or keep them there; they will no longer sync with the cloud.
How do I stop OneDrive from syncing on mobile?
Open the OneDrive app, go to Settings, and sign out or unlink your account. Download any files you want to keep locally before signing out.
Does pausing sync delete files?
No. Pausing temporarily stops syncing but keeps files intact. However, changes made during the pause won’t sync until you resume.
Can I re-link my account later?
Yes. Just sign in again with the same account. OneDrive will resume syncing and may merge folders; check for duplicates.