Revert to Prior Version File Mac OS X
To revert to a prior version of a file on macOS, use the built-in Version feature: open the file, go to File > Revert To > Browse All Versions, then select an earlier version and click Restore. This works for documents created in apps that support Version (like Pages, TextEdit, and Preview) and for files stored on your Mac or in iCloud Drive.
What Is the Version Feature?
Apple introduced Versions in OS X Lion (10.7) in 2011, replacing the older “Save As� workflow with an automatic, snapshot-based system. When you work in a supporting app, the Mac quietly saves a new version of your document at regular intervals—typically once per hour—and before major changes. These versions are stored in a hidden folder on your disk (or in iCloud Drive), not inside the file itself, so the visible file on your desktop always shows the most recent save.
This means you can go back to any earlier state without having manually saved multiple copies. The feature is especially useful for writers, designers, and anyone who edits documents over days or weeks and wants a safety net.
How to Revert to an Earlier Version
The exact steps depend on whether the app supports Versions and whether you want to replace the current file or just copy text from an old version.
- Open the file in a Versions‑enabled app (e.g., Pages, Numbers, Keynote, TextEdit, Preview, or any app that shows “Revert To� in the File menu).
- Click File > Revert To and choose Browse All Versions.
- The screen will show the current version on the left and a timeline of earlier versions on the right, with a slider and arrows to move through them.
- Select a version you want. You can either click Restore to replace the current file with that version, or select text and copy it to use in the current document.
If you just want the most recent autosaved version, choose File > Revert To > Last Saved (or “Last Opened� in some apps).
Where Versions Are Stored
Versions are not stored inside the file you see. They live in a special folder called .DocumentRevisions-V100 in the root of your startup disk (or in the iCloud Drive container for files synced to iCloud). This folder is hidden by default so you won’t accidentally delete it. If you copy a file to an external drive or send it via email, the versions do not travel with it—only the current state is included.
Because versions are stored locally, they consume disk space. The system keeps a limited number: it keeps hourly versions for a day, daily versions for a week, and weekly versions for as long as space allows. When your disk gets full, older versions may be purged automatically.
When Version History Is Not Available
Not every file has a version history. The feature only works for files created in apps that explicitly support Versions and that are saved in a compatible format (usually the app’s native format, like .pages or .rtf). Plain text files, PDFs, images, and files from third‑party apps that don’t implement the Versions API will not have a “Revert To� option.
Also, if you have never saved the file (it’s a new unsaved document), there is no prior version to go back to. And if you have disabled “Autosave� in System Settings > General (for older macOS versions, “Ask to keep changes when closing documents�), the app may not create versions automatically.
Alternative Methods to Recover an Older Version
If the Versions feature isn’t available or doesn’t go back far enough, you have a few other options:
- Time Machine: If you have Time Machine set up, you can restore the entire file from a backup. Open the folder containing the file, enter Time Machine, select a date, and click “Restore.� This gives you a snapshot of the whole disk, not just the document.
- iCloud Drive Version History: For files stored in iCloud Drive, you can sometimes access older versions through the iCloud website (iCloud.com) by selecting the file and clicking “Browse All Versions� if the app supports it. This is separate from the local Versions feature.
- Finder’s “Revert To� for some files: In some apps (like Xcode or BBEdit), you can use the “Revert To� menu without opening the file. But this is not universal.
- Manual copies: If you routinely save copies with different names (e.g., “report_v2.docx�), you already have your own version history. That’s still a reliable fallback.
Common Mistakes and Limitations
One common misconception is that “Revert To� deletes the current version. It does not—it replaces the current file with the selected version, but the version you “reverted from� is still kept in the version history (until the system purges it). So you can always go back to the state you just left.
Another mistake is expecting Versions to work on files you didn’t create with the app. For example, if you open a .docx file in Pages, Pages will create versions, but if you open a plain text file in TextEdit, TextEdit may not create versions unless you explicitly save it as a Rich Text Document. Also, if you copy a file from a network volume or external drive, the version history is not copied—only the current state.
Finally, be aware that the version timeline is not a full backup. If you accidentally delete a file, Versions won’t help—you need Time Machine or another backup. Versions only protect the contents of an existing file.
Frequently Asked Questions
Can I revert to a version from yesterday if I’ve been working all day?
Yes, if the app has been saving versions hourly. Open the file, go to File > Revert To > Browse All Versions, and use the timeline slider to move back to yesterday. You’ll see the date and time for each version. If you don’t see the date you want, the system may have purged it due to disk space or because it was longer than a week ago (older versions are kept weekly).
Does reverting delete my current work?
No. When you click “Restore,� the current version is replaced, but the version you just replaced is still available in the history. You can immediately revert back to it if you change your mind. The system keeps a record of all versions, so you can move back and forth freely.
Why don’t I see “Revert To� in the File menu?
That means the app you’re using does not support Apple’s Versions feature. This is common for third‑party apps that haven’t implemented the API. You can still use Time Machine or manual copies. Some apps have their own versioning (like Microsoft Word’s “Version History� if you’re using Microsoft 365), so check the app’s own File menu.
Can I recover a version of a file I deleted?
No, Versions only works for files that still exist. Once you delete the file, the version history is also deleted (unless you have Time Machine). If you need to recover a deleted file, you must use Time Machine or a file‑recovery tool. For Time Machine, go to the folder where the file was, enter Time Machine, and select a backup from before the deletion.
Does Versions work with iCloud Drive files?
Yes, for apps that support it. When you edit a file stored in iCloud Drive, versions are saved locally and synced to iCloud. You can access them through the same “Browse All Versions� interface. However, iCloud may limit the number of versions kept, and older versions may be removed after 30 days or when storage is low.
How do I turn off Versions to save disk space?
You can’t turn off Versions entirely, but you can reduce the frequency. Go to System Settings > General > “Ask to keep changes when closing documents� and disable it. That stops the “keep changes� prompt, but autosave still runs. To free up space, you can delete old versions manually by using the “Delete All Versions� option in the File menu (if available), or by using a disk cleanup tool. The system also purges old versions automatically when disk space is low.
Related
Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.