You finish coauthoring a document in Word with a colleague, but when you try to save the file to OneDrive, Word displays an error or the Save button does not respond. This problem usually occurs because the coauthoring session leaves behind a temporary lock file or a corrupted sync state in the OneDrive cache. This article explains why the save failure happens and provides a set of specific steps to resolve it so you can save your document normally again.
Key Takeaways: Fixing Word Save-to-OneDrive Failures After Coauthoring
- Close all coauthoring sessions and wait 5 minutes: Allows OneDrive to release the temporary lock file created during coauthoring.
- OneDrive Settings > Account > Unlink this PC: Resets the sync relationship and clears corrupted cache data that blocks saving.
- File > Save a Copy > Save to a local folder first: Bypasses the lock by saving locally, then drag the file back into OneDrive.
Why Word Fails to Save to OneDrive After Coauthoring
When multiple people edit a Word document simultaneously via OneDrive, Word creates a temporary lock file on the local OneDrive sync folder. This lock file, named with a tilde (~) and the original file extension, prevents conflicts between simultaneous saves. After all coauthors close the document, Word and OneDrive should remove this lock file automatically. However, if a coauthor loses network connectivity, closes Word abruptly, or if the OneDrive sync engine encounters a conflict, the lock file remains. The presence of this orphaned lock file causes Word to display a save error such as “Word cannot complete the save due to a file permission error” or “This file is locked for editing by another user.” Additionally, a corrupted OneDrive cache index can make the sync client think the file is still open, blocking any new save operation.
Steps to Fix Word Save Failures to OneDrive After Coauthoring
Use the following methods in the order shown. Test saving the document after each step.
Method 1: Close All Coauthoring Sessions and Wait
- Ask all coauthors to close the document
Contact everyone who has the document open. Ask them to close the file in Word and exit the application. Do not rely on them leaving the document idle — they must close it. - Wait 5 to 10 minutes
OneDrive needs time to detect that all sessions ended and to remove the temporary lock file. During this wait, do not open the document in Word. - Open Word and try saving
Open Word, navigate to File > Open > Recent, select the document, and attempt File > Save. If the save succeeds, the lock file was released.
Method 2: Unlink and Relink OneDrive
- Right-click the OneDrive cloud icon in the system tray
Click the white or blue cloud icon near the clock. If you do not see it, click the arrow (Show hidden icons) to reveal it. - Select Settings > Account
In the OneDrive Settings window, click the Account tab. - Click Unlink this PC
A confirmation dialog appears. Click Unlink account. Your OneDrive files remain online; only the local sync connection is removed. - Restart your computer
This clears any cached file locks and resets the sync engine. - Sign in to OneDrive again
After restart, open OneDrive from the Start menu. Sign in with the same Microsoft account. OneDrive re-downloads the file list. Wait for the sync to complete. - Open the document and save
Open the document from the OneDrive folder in File Explorer. Word should now save without error.
Method 3: Save a Local Copy and Move It Back
- Open the document in Word
Open the file from the OneDrive folder. If Word shows a message about the file being locked, click Read Only to view the content. - Go to File > Save a Copy
In the Save a Copy dialog, choose a local folder such as Documents or Desktop. Name the file differently, for example “Report – local copy.docx.” Click Save. - Close Word and open File Explorer
Navigate to the local folder where you saved the copy. - Copy the file to the OneDrive folder
Select the local copy, press Ctrl+C, go to your OneDrive folder, and press Ctrl+V. OneDrive uploads the file. Rename it to the original filename if needed. - Delete the original locked file from OneDrive
After the upload completes, delete the original file from the OneDrive folder. Confirm deletion in the online OneDrive recycle bin if prompted.
Method 4: Clear the OneDrive Cache Manually
- Exit OneDrive completely
Right-click the OneDrive icon in the system tray and select Exit. Confirm that the icon disappears. - Open File Explorer and go to the cache folder
Press Windows+R, type%LocalAppData%\Microsoft\OneDrive, and press Enter. - Delete the contents of the cache folder
Select all files and folders inside this location (Ctrl+A) and press Delete. If some files are in use, skip them. Do not delete the folder itself. - Restart OneDrive
Open OneDrive from the Start menu. It re-creates the cache. Wait for the sync to finish. - Open the document and save
Try saving the document again. The fresh cache removes any stale lock information.
If Word Still Has Issues After the Main Fix
Word Shows “File in Use” Error Even After All Coauthors Closed the Document
This usually means OneDrive has not synced the latest file status. Force a sync by right-clicking the OneDrive icon and selecting Sync. If that does not help, pause and resume syncing: right-click the OneDrive icon, choose Pause syncing for 2 hours, then immediately resume by clicking Resume syncing. This forces OneDrive to re-check the file lock status.
Coauthoring Changes Are Missing After Saving Locally
When you use Save a Copy, Word saves only the version open on your screen. If another coauthor saved changes after you opened the file, those changes are not included. To recover missing changes, ask the coauthor to share their version. Alternatively, use File > Info > Version History to see if an earlier autosaved version from OneDrive contains the missing edits.
OneDrive Sync Error Code 0x8007016a After Coauthoring
This error indicates that the file path is too long or contains unsupported characters. Coauthoring can generate temporary conflict files with long names. Rename the document to a shorter name (under 50 characters) and remove any special characters such as #, %, or &. Then try saving again.
OneDrive Save Behavior: Coauthoring vs Single User Editing
| Item | Coauthoring Session | Single User Editing |
|---|---|---|
| Lock file created | Yes, a temporary .tmp or ~$ file | No lock file |
| Save method | AutoSave pushes changes every few seconds | Manual Save or Ctrl+S |
| Conflict resolution | Word merges changes automatically | No conflict possible |
| Typical save failure cause | Orphaned lock file or sync cache corruption | Network interruption or permissions issue |
| Fix complexity | Requires unlinking or cache clear | Usually fixed by reconnecting to the network |
You can now save documents to OneDrive after coauthoring sessions without encountering lock errors. Start by waiting for all sessions to close. If the problem persists, unlink and relink OneDrive or save a local copy and move it back. For persistent issues, clear the OneDrive cache manually. As an advanced tip, enable File > Options > Save > “Keep the last autosaved version if I close without saving” to prevent data loss during coauthoring save failures.