# Is it safe to delete ~/Library/Saved Application State?

Is it safe to delete? · Library and system · Updated 21 November 2026. By Mohit Nippanikar, who makes SiftMac.

## The short answer

- **Yes.** It only remembers which windows each app had open, and where, so they reappear when you reopen the app or restart the Mac. Your documents and settings aren’t in it.
- **What it costs you:** the next time you open an app, it starts with a fresh window instead of your last layout. Save your work first: an app that brings back unsaved windows after a restart relies on it.
- **Does it come back?** Yes. Apps write their saved state again as you use them, unless you turn the feature off.
- SiftMac’s verdict: Safe

## 1. What it is

macOS lets apps bring back their windows, tabs and positions when they reopen, after you quit them or after a restart. Each app saves that in a folder of its own here, named after its app ID with `.savedState` on the end, such as `com.apple.Preview.savedState`.

It’s cleared more often to fix an app than to save space. An app that crashes as soon as it opens, or keeps reopening a window you don’t want, can often be put right by removing its saved state.

Sandboxed apps keep theirs inside their own container instead, in `Data/Library/Saved Application State`, so not every app has a folder here.

## 2. Where it is

```
~/Library/Saved Application State
```

Open it from Finder with Go › Go to Folder (`⇧⌘G`). If Finder or Terminal says the folder doesn’t exist, no app has saved windows there, and there’s nothing to clear.

## 3. How big it gets

It depends on how many apps you use and how many windows they keep. The first line gives the total, the second shows which apps save the most:

```
du -sh ~/Library/'Saved Application State'
du -sh ~/Library/'Saved Application State'/* 2>/dev/null | sort -h | tail -8
```

## 4. How to clear it

For one app that misbehaves:

1. Quit the app.
2. Open `~/Library/Saved Application State` and move that app’s `.savedState` folder to the Trash.
3. Open the app again. It starts with a clean window.

For a fresh start without deleting anything, hold Shift while you open the app. Apple says the app then forgets the windows that were open when you last quit it, and no settings change.

To clear every app’s saved windows in Terminal, quit your apps first, then:

```
rm -rf ~/Library/'Saved Application State'/*
```

To stop windows coming back at all, turn on **Close windows when quitting an application** in System Settings › Desktop & Dock, and untick **Reopen windows when logging back in** in the dialog that appears when you shut down or restart.

## 5. What happens afterwards

- Apps open with a new, empty window instead of the ones you had.
- After a restart, apps that would have reopened their windows don’t, until they’ve saved their state again.
- Your documents, their versions and your app settings are untouched, because they’re stored elsewhere.
- The folder refills as you use your apps, unless you’ve switched the setting off.

## Questions

### Will deleting Saved Application State lose my work?

Not work you’ve saved to a file. Save open documents before you clear it, because an app that would bring back unsaved windows after a restart may not be able to without its saved state.

### Why does an app keep reopening old windows?

Because it saved them here. Clear its `.savedState` folder with the app quit, or open the app once while holding Shift.

### Can I delete .savedState folders of apps I’ve removed?

Yes. They’re leftovers, like the app’s settings file and its folder in Application Support.

### How do I stop apps reopening at login?

When you shut down, restart or log out, untick Reopen windows when logging back in in the dialog. Apple notes that the Mac uses your latest choice when it restarts without showing the dialog.

## How SiftMac handles it

The space map’s note calls this folder saved windows and says it’s safe to clear. SiftMac removes an app’s `.savedState` folder only along with the app itself, or as part of the leftovers of an app you’ve already removed, and both wait on the Undo Shelf; it doesn’t clear the saved windows of apps you still use.

Download: https://siftmac.com/SiftMac.dmg (scanning is free, and so is the first 2 GB of cleaning).

## Sources

- [Apple: Prevent apps and windows from reopening on Mac](https://support.apple.com/en-us/102318)

## Related

- [Can I delete .plist files in ~/Library/Preferences?](https://siftmac.com/safe-to-delete/preferences-plist-files)
- [Is it safe to delete Application Support on a Mac?](https://siftmac.com/safe-to-delete/application-support)
- [Is it safe to delete ~/Library/Caches on a Mac?](https://siftmac.com/safe-to-delete/library-caches)
- [Is it safe to delete? Plain answers for 40 Mac folders](https://siftmac.com/guides/safe-to-delete-mac)

Canonical: https://siftmac.com/safe-to-delete/saved-application-state
