How to Fix OneDrive Excel Document Locked After Opening on Another Device
Question details
The user is unable to save an Excel file stored in OneDrive from an Android tablet because it remains locked after being previously opened on a phone.

- Product
- Microsoft Excel and OneDrive
- Device & OS
- Android
- Scenario
- Attempting to edit and save a OneDrive-synced Excel document across multiple mobile devices.
- Observed behavior
- The Excel file is locked and cannot be saved from the Android tablet, even after force-stopping the application and clearing the app cache.
Ensure you have a stable internet connection on all your mobile devices so that OneDrive can properly sync and update the file's editing status with the server.
Close the Document on All Devices and Wait for Server Expiration
This is the most common and effective method to release a server-side lock on a OneDrive file.
When you open a file stored in OneDrive, the server places a temporary lock on it to prevent conflicting edits. If the app is force-closed or connection drops, the server might not register that you have stopped editing.
Go back to the smartphone or device where you first opened the Excel document.
Ensure the document is fully exited within the Excel app. Tap the back arrow to exit the editing screen and return to the main file list.
Open your device's recent apps menu and swipe away both the Microsoft Excel and OneDrive apps to ensure they are not running in the background.
Wait for approximately 5 to 10 minutes. The Microsoft OneDrive server will eventually detect the inactivity and release the file lock automatically.

Verify Sync Status and Restart Affected Devices
Use this solution if waiting for the lock to expire does not work, as there may be a stuck synchronization process.
Try WPS Office for Seamless Multi-Device Editing
If you frequently experience file locking and synchronization issues with Microsoft Excel, consider switching to WPS Office. It provides a highly compatible, free alternative for editing spreadsheets, documents, and presentations across all your mobile devices and computers without the frustrating lock-ups.

Frequently Asked Questions
Why does OneDrive say my Excel file is locked for editing?
This happens when the file was left open on another device, or the OneDrive server hasn't finished syncing your last session. The server locks the file to prevent two people (or devices) from making conflicting edits at the same time.
Will clearing the app cache unlock my OneDrive file?
No, clearing the app cache on your current device usually won't fix the lock. The file lock is managed on the remote OneDrive server, not locally on your device. You must ensure the file is closed on the original device or wait for the server session to timeout.
How long does a OneDrive server lock last if an app crashes?
If an app crashes or loses internet connection without closing the file properly, the server lock usually expires automatically after 5 to 15 minutes of inactivity.
Can I force unlock an Excel file in OneDrive?
There is no direct button to force unlock a file in OneDrive. You must either close the file on the device holding the lock, sign out and restart your devices, or wait for the server lock to expire on its own.




