To insert a document’s file path in Word, go to Insert > Quick Parts > Field, choose FileName, check Add path to filename, and click OK. Word inserts the full location, such as C:\Users\Alex\Documents\Report.docx. It’s handy in a footer so printed copies show where the file is saved. Save the document first, or the field shows only a default name.
Quick Answer
Insert > Quick Parts > Field > FileName > check Add path to filename > OK.
Insert the File Path
- Save the document.
- Click where you want the path, such as in the footer (double-click the footer area).
- Go to Insert > Quick Parts > Field.
- Choose FileName in the Field names list.
- Check Add path to filename and click OK.

Update the Path
Fields don’t always update automatically. If you move or rename the file, click the field and press F9, or select all (Ctrl + A) and press F9. Fields in headers and footers usually update when you open Print Preview.
Related Fields
| Field | Shows |
|---|---|
| FileName | File name (optionally with path) |
| Date / SaveDate | Today’s date / last saved date |
| Author | Document author property |
| Page / NumPages | Page X of Y |
Troubleshooting
- Shows { FILENAME \p }: Field codes are visible. Press Alt + F9.
- Shows a web address: Files saved to OneDrive or SharePoint show their online location.
- Path is out of date: Press F9 on the field.
- Reusing it in every document? Save the footer as a Quick Part.
Frequently Asked Questions
Can I show only the folder?
Not with a built-in field. The path includes the file name.
Does this work on a Mac?
Yes. Insert > Field > FileName, and add the \p switch for the path.
Summary
- Save the document first.
- Insert > Quick Parts > Field > FileName.
- Check Add path to filename.
- Press F9 to update after moving the file.

Kermit Matthews is a freelance writer based in Philadelphia, Pennsylvania with more than a decade of experience writing technology guides. He has a Bachelor’s and Master’s degree in Computer Science and has spent much of his professional career in IT management.
He specializes in writing content about iPhones, Android devices, Microsoft Office, and many other popular applications and devices.