Fix Word Mail Merge Error: Document Is Open in Another Application
Question details
The user is unable to complete a mail merge in Microsoft Word because the system reports that the main document or data source is currently open in another application.
- Product
- Microsoft Word
- Device & OS
- not provided
- Scenario
- Attempting to execute a mail merge using a main document and an external data source.
- Observed behavior
- Microsoft Word blocks the mail merge process, displaying an error message stating that the files are locked or open in another application.
Ensure you have closed all other Microsoft Office applications and verify that no hidden background processes are actively accessing your mail merge files.
Move Mail Merge Files to a Local Directory
Bypassing default synced folders by moving your files to a strictly local directory can instantly resolve file lock errors caused by cloud syncing.
In Windows 11, default folders like Desktop and Documents are frequently synchronized with OneDrive. This background syncing can temporarily lock your documents, causing Word to assume they are open elsewhere.
Open File Explorer, navigate to your C: drive, and create a new folder named something like C:\MergeFiles.
Copy both your main mail merge Word document and your data source (such as an Excel spreadsheet) into this new local folder.
Open the main document from the new folder in Word, go to the Mailings tab, click 'Select Recipients', choose 'Use an Existing List', and select the data source from C:\MergeFiles.
Temporarily Disable OneDrive Synchronization and AutoSave
Disabling real-time cloud syncing features prevents Microsoft Word from locking the file during the merge process.
Verify File Properties and Remove Locks
Check if the files are set to read-only or if there are hidden temporary lock files preventing the merge.
Try WPS Office for Seamless Mail Merge Operations
If Microsoft Word's cloud synchronization continues to lock your files, consider switching to WPS Office. It provides a lightweight, highly compatible alternative for all your document processing and mail merge needs without the intrusive background file-locking issues.
- 1. Open WPS Writer: Launch WPS Writer and open your main document template.
- 2. Access Mail Merge: Navigate to the References tab and click on the Mail Merge button.
- 3. Connect Data Source: Click 'Open Data Source' and select your local Excel file to seamlessly connect your data.

Frequently Asked Questions
Why does Word say my file is open in another application when it isn't?
This typically occurs because background processes like OneDrive synchronization, Microsoft's AutoSave feature, or lingering temporary lock files (~$) are actively accessing and locking the document.
Will moving my mail merge files to the Desktop fix the error?
Not necessarily. In Windows 11, the Desktop and Documents folders are often synchronized with OneDrive by default. To avoid sync locks, create a new root local directory like C:\MergeFiles.
How do I reconnect my data source after moving the files to a new folder?
Open your main mail merge document in Word, navigate to the Mailings tab, click 'Select Recipients', choose 'Use an Existing List', and browse to your new local folder to select the data source.
Can file corruption cause this mail merge error?
Yes, if the data source or the main document is slightly corrupted, Word may misinterpret it as being locked or open. Testing with a fresh data source or copying the contents to a new document can help determine if corruption is the cause.




