How to Fix Microsoft Word Crashing When Saving to OneDrive on macOS
Question details
Microsoft Word crashes with an EXC_BAD_ACCESS error on macOS when attempting to save documents directly to a university OneDrive account.

- Product
- Microsoft Word
- Device & OS
- macOS Catalina
- Scenario
- Saving a document to a university OneDrive account.
- Observed behavior
- The application crashes showing EXC_BAD_ACCESS and KERN_INVALID_ADDRESS errors, although saving files locally works fine.
Ensure you have saved all open documents locally to your Mac to prevent data loss before attempting to reset the Word app container.
Reset the Microsoft Word App Container
Clearing the Microsoft Word container folder removes corrupted preferences and temporary cache files that cause the application to crash when interacting with OneDrive.
macOS sandboxes applications by giving them dedicated 'Container' folders. When the cached login tokens or temporary files bridging Microsoft Word and OneDrive become corrupted, it leads to memory access errors (EXC_BAD_ACCESS).
Ensure Microsoft Word is completely closed. You can right-click the Word icon in your dock and select 'Quit', or press Command + Q.
Click on the Finder icon in your dock. Press the keyboard shortcut Command + Shift + G to open the 'Go to Folder' dialog.
Type ~/Library/Containers/com.microsoft.word into the search box and press Return.
Drag the com.microsoft.word folder to the Trash. If you prefer to keep a backup, copy it to your Desktop first before deleting it from the Containers folder.
Reopen Microsoft Word, which will automatically recreate a fresh container folder. Try saving a document to your OneDrive account to confirm the issue is resolved.

Try WPS Office for Stable Document Editing and Cloud Saving on Mac
If Microsoft Word continues to crash on your Mac, WPS Office offers a free, lightweight, and highly compatible alternative. It supports seamless cloud integration, ensuring your files are saved securely without unexpected crashes.
- 1. Download and Install WPS Office: Get the free WPS Office for Mac from the official website and install it.
- 2. Open Your Document: Launch WPS Writer and open your existing Word documents with full format compatibility.
- 3. Save to Cloud Seamlessly: Use the built-in cloud features to save your files securely without software crashes.

Frequently Asked Questions
Why does Word crash only when saving to OneDrive and not locally?
This usually happens when the cached login tokens or temporary files bridging Microsoft Word and the OneDrive cloud service become corrupted within the macOS app container. Local saves do not rely on these corrupted cloud sync files.
What does the EXC_BAD_ACCESS error mean in macOS crash reports?
EXC_BAD_ACCESS indicates that an application tried to access a block of memory that it doesn't have permission to use, or that is no longer available, which forces the operating system to immediately terminate the app to prevent system instability.
Will deleting the com.microsoft.word container delete my local documents?
No, deleting the container folder only removes application preferences, cached files, and internal settings. Your actual saved documents remain safe on your hard drive.




