SiftMac
Is it safe to delete? · Library and system · Updated 21 November 2026

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

By Mohit Nippanikar, who makes SiftMac

The short answer
On this page
  1. What it is
  2. Where it is
  3. How big it gets
  4. How to clear it
  5. What happens afterwards
  6. Questions

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

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 SiftMac · scanning is free, and so is your first 2 GB of cleaning · See how it works