How to Recover a Missing Word File Shown in a Private VAR Folder on Mac
Question details
The user is unable to locate a Word document that appears in the recent-files list with a hidden private /var/ folder path.

- Product
- Microsoft Word / OneDrive
- Device & OS
- Mac
- Scenario
- Attempting to locate and resume editing a missing file that was previously opened from an email attachment.
- Observed behavior
- The file is missing from both the local Mac storage and OneDrive. The recent-files list displays a temporary /var/ or com.apple.mail directory path, indicating it was saved in a temporary system folder.
Before proceeding, ensure your Mac is connected to the internet to check your online cloud storage, and keep your email client open so you can search for the original message containing the attachment.
Recover the Document from the Original Email Attachment
Use this method if the /var/ folder path indicates the file was opened directly from an email attachment rather than a saved location.
A private /var/ path in your Mac's recent-files list typically identifies a temporary location used by macOS for email attachments. When you open a file directly from an email without saving it first, any changes are stored in this temporary system folder, which is hidden and frequently cleared.
To recover the file, you must find the original email, save the attachment to a permanent folder, and reapply any lost edits.
Open the Apple Mail app (or your preferred email client) and search for the sender's name or the subject line associated with the missing document.
If you cannot find the email in your inbox, check the Mail Trash or Archive folders and restore the message to your inbox.
Right-click the attachment within the email, select 'Save As' or 'Save Attachment', and choose a permanent location on your Mac, such as the Documents folder or Desktop.
If the original email has been permanently deleted, contact the sender and ask them to provide another copy of the file.

Check OneDrive Online and Recycle Bin
If you suspect the file was synced to OneDrive but isn't showing up in your local Mac Word app, you can search for it via the OneDrive web portal.
Try WPS Office for Seamless Document Management on Mac
Tired of dealing with hidden temporary folders and complex file recovery issues on Mac? WPS Office is a lightweight, free alternative to Microsoft Office that offers intuitive file management, reliable saving options, and seamless compatibility with all your essential document formats.
- 1. Download the software: Visit the official WPS website and download the Mac version of WPS Office.
- 2. Install and launch: Run the installer package, drag the WPS Office icon to your Applications folder, and open the app.
- 3. Open your attachments securely: Save your email attachments to a dedicated folder on your Mac, then open them easily within the WPS Office tabbed workspace.

Frequently Asked Questions
What is the private /var/ folder on a Mac?
The /var/ folder is a hidden temporary system directory used by macOS. When you open a file directly from an application like Apple Mail without saving it first, the system temporarily stores the file in a subfolder within the /var/ directory.
Why did my edited document disappear from the Word recent-files list?
If you opened the file from an email attachment, edited it, and closed Word without manually saving it to a permanent folder, the changes were saved to the temporary /var/ folder. macOS routinely clears these temporary folders, causing the file to disappear.
How can I prevent losing email attachments in the future?
To avoid losing edits, always download and save the attachment to a permanent location (such as your Documents folder, Desktop, or a dedicated OneDrive folder) before opening and editing it in your word processor.




