Fix Word for Microsoft 365 AutoSave File Path Length Errors
Question details
Restore automatic saving in Word for Microsoft 365 when an invalid file name error is linked to an overly long temporary or recovery file path.

- Product
- Word for Microsoft 365 and OneDrive
- Device & OS
- not provided
- Scenario
- A document stored in OneDrive needs to save automatically, but its temporary or recovery path becomes too long.
- Observed behavior
- Word stops saving automatically and reports that the file name is invalid.
Press Ctrl+S and confirm that Word saves your latest changes; if saving fails, use File > Save As to create a local copy with a short name. The File > Options instructions below apply to Word on Windows; check both the recovery folder path and the document's OneDrive folder path.
Shorten Word's AutoRecover file location
Use this first when the error is associated with the temporary or recovery path, as reported in this case.
AutoSave and AutoRecover serve different purposes: AutoSave saves supported cloud documents continuously, while AutoRecover stores recovery information. Changing the AutoRecover location may address the reported recovery-path issue, but it does not change the document's OneDrive location.
Open File Explorer and create a short, writable local folder, such as C:\Users\username\AutoSave, replacing username with your Windows user folder name.
In Word, select File > Options > Save and find the AutoRecover file location field.
Replace the current AutoRecover file location with the shorter folder path, then select OK. Leave Save AutoRecover information every enabled.
Save your document manually, close it, and reopen it from OneDrive. Turn on the AutoSave toggle if available, make a small edit, and check that Word finishes saving without the error.
Shorten the document name and OneDrive folder path
Use this if changing the recovery folder does not resolve the error or the document is stored in deeply nested OneDrive folders.
Edit Word Documents with WPS Office While Troubleshooting AutoSave
WPS Office is a free, lightweight Office alternative with a familiar interface and support for Microsoft Word formats, making it easy to move your document-editing workflow. It does not repair Microsoft Word's OneDrive AutoSave error, but WPS Writer lets you continue editing and manually saving a local copy.

Frequently Asked Questions
Where do I change the AutoRecover folder in Word?
In Word on Windows, open File > Options > Save and edit AutoRecover file location. Choose an existing local folder that you can write to, then select OK.
Does changing the AutoRecover folder move my OneDrive document?
No. The setting controls the recovery file location, not the cloud document location. To shorten the document's own path, use File > Save As and choose a less deeply nested OneDrive folder.
Why can a valid document name still cause a path length error?
The total path includes folder names and the file name, not just the visible document name. Temporary or recovery files may add suffixes, pushing an already long path beyond the applicable limit. Shortening both the folder path and file name gives Word more room.
How do I keep saving while AutoSave is not working?
Press Ctrl+S regularly and check that Word completes the save. If it still reports an error, select File > Save As and save a local copy with a short name in a short folder path.
Will WPS Office fix Word's OneDrive AutoSave error?
No. WPS Office does not change Microsoft Word's AutoSave settings or repair its OneDrive integration. You can open a local .docx copy in WPS Writer and save your edits while you resolve the Word issue.




