> Saved Application State stores the windows a Mac app reopens after a restart. It is safe to delete, small in most cases, and useful when an app keeps crashing.

[← All Mac folders](https://maczentra.com/mac-folders)Mac folder guide

# Saved Application State on Mac: Safe to Delete?

~/Library/Saved Application State

Saved Application State is where macOS stores the open windows of each app, so they come back when you relaunch it or restart. It is safe to delete. You only lose the windows the app would have reopened.

Safe to deleteSafe to delete. Apps just open with fresh windows

## What is Saved Application State on a Mac?

When you quit an app or restart with “Reopen windows when logging back in” ticked, macOS saves which windows were open and where. Each app gets a folder ending in .savedState, named after its bundle identifier.

The folder is usually small, a few megabytes in total. People mostly clear it because an app keeps reopening a broken window or crashes on launch.

## What’s inside

- One .savedState folder per app, such as com.apple.Safari.savedState
- Window positions and the documents each window had open

## How to clear Saved Application State safely

- Quit the app whose state you want to clear.
- In Finder, choose Go, Go to Folder, and enter ~/Library/Saved Application State.
- Drag that app’s .savedState folder to the Trash, or all of them if you want every app to start fresh.
- Open the app again. It starts with a new window.

Check (read only)

```
du -sh ~/Library/Saved\ Application\ State
```

## When to keep it

- Nothing here is precious, but quit the app first so it doesn’t write the folder back straight away.

## Related guides

- [Which Library caches are safe to delete](https://maczentra.com/blog/library-caches-safe-to-delete)
- [How to clear cache on a Mac](https://maczentra.com/blog/how-to-clear-cache-on-mac)
- [Removing app leftovers](https://maczentra.com/blog/uninstall-apps-on-mac)

## Questions people ask

What happens if I delete Saved Application State?+

Apps open with a new, empty window instead of the ones you had open. No documents or settings are deleted.

Will deleting it free much space?+

Usually not. It is often a few megabytes. Clear it to fix an app that reopens a broken window, not to gain space.

How do I stop apps reopening windows?+

Untick “Reopen windows when logging back in” in the restart dialog, and in System Settings, Desktop & Dock, turn on “Close windows when quitting an application”.

## See which folders fill your Mac

MacZentra, a [disk analyzer and storage cleaner for Mac](https://maczentra.com/), scans your disk locally and draws it as a Treemap or Sunburst, so a folder like this one shows up with its real size. Scanning and every visualization are free. Cleaning is a one-time $49.99 purchase, and anything you remove goes to the Trash, so it can be restored.

[Get MacZentra, ·$49.99](https://checkout.dodopayments.com/buy/pdt_0Np9H2vqU1gHOfkDwU7JZ?quantity=1)

macOS 13 Ventura or later · Apple silicon

Source: https://maczentra.com/mac-folders/saved-application-state-mac
