Office Settings & Configuration

Fix Word for Microsoft 365 AutoSave File Path Length Errors

Anum MushtaqAnum Mushtaq Nov 13, 2026 868 views

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.

Fix Word for Microsoft 365 AutoSave File Path Length Errors
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.
Before you start

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.

Solution 1Recommended

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.

1
Create a short recovery folder

Open File Explorer and create a short, writable local folder, such as C:\Users\username\AutoSave, replacing username with your Windows user folder name.

2
Open Word's save settings

In Word, select File > Options > Save and find the AutoRecover file location field.

3
Change the recovery location

Replace the current AutoRecover file location with the shorter folder path, then select OK. Leave Save AutoRecover information every enabled.

4
Test automatic saving

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.

The entire path matters: Folder names, the document name, and recovery suffixes all contribute to path length. Limits vary by Word version and storage context, so use a substantially shorter path rather than relying on a single character limit.
Free Microsoft Office alternative

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.

Continue editing a local document while troubleshooting Word AutoSave.Supports Microsoft Word .doc and .docx formats.Familiar editing tools make migration straightforward.Free, lightweight Office tools for everyday document work.
microsoft office alternative - wps office

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.