Delete App Saved States in Mac OS X 10.7 Lion Resume
In this article
To delete a specific application's saved state in Mac OS X 10.7 Lion, you need to remove its corresponding folder inside ~/Library/Saved Application State/. Simply quitting an app or restarting your Mac does not clear these files; they persist to restore windows on the next launch. Here is exactly how to locate and delete them safely.
What Is Resume in Mac OS X Lion?
Introduced with OS X 10.7 Lion in 2011, Resume is a system feature that automatically restores the windows and documents an application had open when it last quit. When you relaunch an app, it reopens the same files, scroll positions, and even the same tabs in browsers. This behavior is part of Apple's push toward a more iOS-like experience, where you can pick up where you left off. The saved data is stored per-application in a hidden folder, so the system can quickly rebuild the interface.
Where Are Saved States Stored?
Each application that uses Resume stores its state in a folder named after its bundle identifier inside ~/Library/Saved Application State/. For example, Safari's state is saved in com.apple.Safari.savedState, and TextEdit's in com.apple.TextEdit.savedState. These folders contain property list files and other data that record window positions, open documents, and more. The folder is user-specific, so each account on the Mac has its own set of saved states.
How to Delete a Specific App's Saved State
Follow these steps to remove the saved state for one application without affecting others:
- Quit the application completely (press Cmd+Q).
- Open Finder.
- In the menu bar, click Go and select Go to Folder… (or press Shift+Cmd+G).
- Type
~/Library/Saved Application State/and press Return. - Locate the folder that corresponds to the app. It is named with the app's bundle identifier, such as
com.apple.TextEdit.savedState. - Drag that folder to the Trash, or right-click and choose Move to Trash.
- Empty the Trash to permanently delete the data.
If you are unsure which folder belongs to which app, you can open the app once, then check the folder's modification date. The most recently modified folder is usually the one you want.
How to Disable Resume for All Apps
If you prefer not to have any app restore its windows, you can turn off Resume globally. Go to System Preferences > General and uncheck “Restore windows when quitting and re-opening apps.” This stops the system from saving new states, but it does not delete already saved ones. To clear all existing states, you would still need to remove the entire Saved Application State folder contents as described above.
Common Problems and Misconceptions
Many users think that holding Shift during login or quitting an app with Option+Cmd+Q clears the saved state. While these methods prevent the windows from reopening that one time, they do not delete the stored data—the next normal launch will still restore windows. Another misconception is that restarting the Mac clears the states; it does not. The files remain on disk indefinitely until removed. Also, note that some apps, like Apple's own Pages or Keynote, may store additional state data in other locations, such as ~/Library/Containers/ for sandboxed apps, but the main resume state is always in the Saved Application State folder.
Safety and Precautions
Deleting a saved state folder is safe and will not damage the application or your documents. The app will simply start with a fresh window the next time you open it. However, you should only delete folders inside ~/Library/Saved Application State/—do not remove the entire folder unless you intentionally want to clear all apps. Also, be careful not to delete the Saved Application State folder itself; if it is missing, the system will recreate it, but it is best to leave it in place. If you are unsure about a folder, you can move it to the Trash but not empty it; if something goes wrong, you can restore it from the Trash.
Alternatives to Deleting Saved States
If your goal is simply to prevent an app from reopening its windows once, you can hold Shift while clicking the app's icon in the Dock or while launching it from Finder. This temporarily skips restoration. For a more permanent per-app solution, some third-party utilities allow you to manage resume behavior, but they are not necessary for most users. The built-in global setting is the simplest way to control this feature across all apps.
Frequently Asked Questions
Will deleting a saved state delete my documents?
No. The saved state only contains window positions and references to files; it does not contain the files themselves. Your documents remain untouched.
How do I find the bundle identifier for an app?
Open the app's Info.plist file in the app bundle (right-click the app in Finder, choose Show Package Contents, then open Contents/Info.plist). The CFBundleIdentifier key shows the identifier. Alternatively, you can run defaults read <app> CFBundleIdentifier in Terminal, but the folder name in Saved Application State is usually the same as the identifier.
Does this work on newer macOS versions?
Yes, the folder location and method are the same in macOS 10.8 through 10.14. Starting with macOS 10.15 Catalina, the Library folder is hidden by default, but you can still access it via the Go to Folder command.
Why does an app still restore windows after I deleted its saved state?
Some apps have their own separate window restoration mechanisms. For example, Safari may restore tabs from its own history, and some third-party apps use their own settings. Deleting the system saved state only affects the Resume feature, not app-specific restoration.
Can I delete saved states for all apps at once?
Yes, you can select all folders inside ~/Library/Saved Application State/ and move them to the Trash. This clears all resume data for every app on your user account.