How to Remove OneDrive Files from Samsung Phone Without Deleting Online
Question details
The user wants to delete local media files from their Samsung phone to free up storage space without losing the backed-up copies on OneDrive.

- Product
- OneDrive
- Device & OS
- Samsung Galaxy A12 (Android)
- Scenario
- Attempting to free up mobile storage space by deleting local photos and videos that have already been uploaded to OneDrive.
- Observed behavior
- Deleting the local files from the Samsung phone automatically deletes the synchronized copies stored in OneDrive.
Verify that your files are fully uploaded to OneDrive by logging into the OneDrive web version on a browser before making any changes to your sync settings.
Disconnect Samsung Gallery Sync from OneDrive
Unlinking your Samsung Gallery from OneDrive ensures that deleting a local photo on your phone does not trigger a synchronized deletion in your cloud storage.
Samsung devices feature a deep integration with Microsoft OneDrive. When Gallery Sync is enabled, your phone's gallery and OneDrive act as a mirror of each other. To safely delete local files without affecting the cloud, you must break this synchronized connection.
Go to your Samsung phone's Settings app and tap on your Samsung account name at the top of the screen.
Select 'Linked accounts' to view the services currently connected to your Samsung profile.
Find the Microsoft account connected to OneDrive, tap it, and select 'Unlink'. Confirm the action to stop the two-way synchronization.
Open your Samsung Gallery app and delete the photos and videos you no longer need locally. They will now remain safely in your OneDrive cloud.

Use the Native 'Free Up Space' Feature in OneDrive
If you want to keep Samsung Gallery synced but still need to recover phone storage, use the built-in space-clearing tool inside the OneDrive app.
Restore Accidentally Deleted Files from OneDrive
If you have already deleted local files and noticed they disappeared from OneDrive, you can recover them from the cloud's Recycle Bin.
Manage Documents Safely and Seamlessly with WPS Office
While OneDrive is a popular choice for syncing photos on Samsung devices, managing work documents shouldn't involve confusing sync rules and accidental deletions. WPS Office offers a free, lightweight, and highly compatible alternative to Microsoft Office, featuring straightforward file management and reliable cloud backup tailored for both mobile and desktop users.
- 1. Download WPS Office: Get the free WPS Office app from the Google Play Store on your Samsung phone or download the desktop version from the official WPS website.
- 2. Sign In to WPS Cloud: Create a free account to activate WPS Cloud, giving you a safe and dedicated space to backup your important documents.
- 3. Manage Your Files Securely: Easily edit files locally or save them directly to the cloud without worrying about automatic two-way deletion rules.

Frequently Asked Questions
Why does deleting a photo on my Samsung Gallery delete it from OneDrive?
Samsung devices feature a two-way synchronization integration with OneDrive called Gallery Sync. When enabled, any action you take in the Samsung Gallery (like editing or deleting a photo) is immediately mirrored in OneDrive to keep both platforms identical.
Can I reconnect my Samsung Gallery to OneDrive after freeing up space?
Yes, you can re-enable the synchronization at any time. Open your Samsung Gallery app, tap the menu (three lines), go to Settings, and select 'Sync with OneDrive' to link your Microsoft account again.
Are deleted OneDrive files gone forever?
No. When a synchronized file is deleted, it is moved to the OneDrive Recycle Bin. It will stay there for 30 days (for personal accounts) before being permanently deleted, giving you time to restore it if it was removed by mistake.




