How to Fix Unexpected Error When Saving a Word File as PDF
Question details
The user is unable to save or export a Microsoft Word document as a PDF because the application displays an unexpected error message.

- Product
- Microsoft Word
- Device & OS
- not provided
- Scenario
- Attempting to convert, save, or export an existing Word document into a PDF file format.
- Observed behavior
- Microsoft Word fails to generate the PDF and instead prompts the user with an 'unexpected error' message, preventing the file conversion.
Ensure that your Microsoft Office application is updated to the latest version, and try saving a completely new, blank document as a PDF to check if the issue is isolated to a single corrupted file.
Use the Microsoft Print to PDF Feature
Bypassing the 'Save As' or 'Export' function and using the built-in virtual printer is the most effective way to circumvent this error.
Windows includes a built-in virtual printer that generates PDF files instead of printing physical copies. This method uses a different background process than the standard 'Save As' feature, making it highly successful at avoiding unexpected export errors.
Open the problematic document in Microsoft Word. Navigate to the top-left corner, click on 'File', and select 'Print' from the sidebar.
Under the 'Printer' section, click the dropdown menu showing your current active printer and select 'Microsoft Print to PDF'.
Click the large 'Print' button. A file explorer window will appear, prompting you to name your file and select a destination to save your new PDF.

Repair the Microsoft Office Installation
If the error persists across all documents, repairing Microsoft Office can fix underlying software corruption causing the PDF export failure.
Check for Document Corruption
If the error only happens with one specific file, the document itself might contain corrupted formatting or elements.
Convert Word to PDF Seamlessly with WPS Office
If Microsoft Word continues to crash or display errors during PDF conversion, consider switching to WPS Office. It provides a highly stable, built-in PDF export tool and serves as a lightweight, free alternative to Microsoft Office.
- 1. Open Your Document in WPS: Download and launch WPS Office, then open your existing .doc or .docx file directly.
- 2. Click Export to PDF: Navigate to the 'Tools' or 'Menu' tab and click the 'Export to PDF' button.
- 3. Save Your PDF: Choose your export settings and click 'Export' to generate your PDF instantly without errors.

Frequently Asked Questions
Why does Word say 'unexpected error' when exporting to PDF?
This error is typically caused by corrupted application files, an outdated version of Microsoft Office, incompatible add-ins, or corruption within the specific document's formatting.
Will repairing Microsoft Office delete my personal files?
No, running a Quick Repair or Online Repair only checks and replaces corrupted Microsoft Office software files. Your personal Word documents, settings, and data will remain entirely safe.
What is 'Microsoft Print to PDF' and how does it work?
Microsoft Print to PDF is a virtual printer built into Windows. Instead of sending data to a physical printer to be put on paper, it intercepts the print data and creates a digital PDF file, which often avoids errors associated with the standard 'Save As' function.
Are there other free ways to convert my Word document to PDF?
Yes. If Word is completely unable to save your file, you can upload your document to Google Docs, use a reputable online PDF converter, or install a free office suite like WPS Office, which handles the conversion seamlessly.




