# Last Window Quits

A macOS utility that quits apps after their last window closes, with a blacklist, delay, activity log, and background-app detection.

> This is the Markdown version of the Last Window Quits page on OpenNavo, with the same facts as the web page: <https://opennavo.com/apps/last-window-quits>

- **Latest version**: `1.1.6,2026,10`
- **Developer**: Lawand Dalatieh
- **Homepage**: <https://lawand.io/last-window-quits/>
- **Categories**: [Utilities](https://opennavo.com/categories/utilities)
- **Install**: `brew install --cask last-window-quits`
- **30-day installs**: 60
- **Homebrew**: Available; the app updates itself
- **Download URL**: <https://lawand.io/wp-content/uploads/2026/10/last-window-quits-1.1.6.zip>
- **SHA-256**: `56aaf1efcc3b3a9f10c6cf2ca7fdaccf4ae30deabe049b4f2012fc7293d06127`

SHA-256 only checks that the download is complete; it is not a security certification.

## Installation and removal contents

```json
[
  {
    "declaration": {
      "app": [
        "Last Window Quits.app"
      ],
      "target": "/Applications/Last Window Quits.app"
    },
    "phase": "install",
    "sources": [
      "Last Window Quits.app"
    ],
    "target": "/Applications/Last Window Quits.app",
    "type": "app"
  },
  {
    "declaration": {
      "zap": [
        {
          "trash": [
            "~/Library/Application Support/io.lawand.last-window-quits",
            "~/Library/HTTPStorages/io.lawand.last-window-quits",
            "~/Library/LaunchAgents/io.lawand.last-window-quits.plist",
            "~/Library/Preferences/io.lawand.last-window-quits.plist",
            "~/LWQ Debug Logs"
          ]
        }
      ]
    },
    "phase": "cleanup",
    "sources": [],
    "type": "zap"
  }
]
```

## About

Last Window Quits is a macOS utility that quits an app when its final window closes, rather than leaving the app running. It is intended for people who prefer apps to close automatically after their last window is gone.

- It reacts to different ways of closing a window, including the close button, `⌘W`, and a menu command.
- A blacklist lets you exclude apps that should remain open. The utility also detects background apps such as VPNs and leaves them running.
- A short delay before quitting helps avoid closing an app that briefly closes a launch screen; the default delay is 2 seconds.
- A text log records window closures and quits. The app can start at login, run in the background, and be paused.

Install it with `brew install --cask last-window-quits`. The Homebrew cask installs `Last Window Quits.app` in `/Applications`. The developer lists macOS 10.13 or later as supported and describes the app as free.

On macOS 15 Sequoia, the system may occasionally fail to report that a window closed, so an app may sometimes stay open. This is described as a rare macOS issue, and a fix is planned.

Sources: [Official product page](https://lawand.io/last-window-quits/) · [Homebrew cask](https://raw.githubusercontent.com/Homebrew/homebrew-cask/HEAD/Casks/l/last-window-quits.rb)

## System requirements

- Build for macOS 27, 26, 15, 14, 13, 12, 11 · Version: 1.1.6,2026,10 · Intel · <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/l/last-window-quits.rb> · Checked 2026-12-02
  - <https://lawand.io/wp-content/uploads/2026/10/last-window-quits-1.1.6.zip>
  - SHA-256: `56aaf1efcc3b3a9f10c6cf2ca7fdaccf4ae30deabe049b4f2012fc7293d06127`
- Build for macOS 27, 26, 15, 14, 13, 12, 11 · Version: 1.1.6,2026,10 · Apple silicon · <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/l/last-window-quits.rb> · Checked 2026-12-02
  - <https://lawand.io/wp-content/uploads/2026/10/last-window-quits-1.1.6.zip>
  - SHA-256: `56aaf1efcc3b3a9f10c6cf2ca7fdaccf4ae30deabe049b4f2012fc7293d06127`

## Uninstall

- `brew uninstall --cask last-window-quits`

A regular uninstall removes the app and keeps its settings and caches.

### Deep clean (optional)

- `brew uninstall --zap --cask last-window-quits`

`--zap` also deletes the settings, caches and other files listed in the Homebrew definition. They can include data shared with other apps and cannot be restored, and it does not guarantee that nothing is left. Back up any data you need first. To keep settings and caches, leave out `--zap`.

A regular uninstall removes the app and keeps its settings and caches.

- Files and folders: `~/Library/Application Support/io.lawand.last-window-quits` — <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/l/last-window-quits.rb> · These entries come from the Homebrew definition, checked 2026-12-02. They say what it declares, not what is on your Mac.
- Files and folders: `~/Library/HTTPStorages/io.lawand.last-window-quits` — <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/l/last-window-quits.rb> · These entries come from the Homebrew definition, checked 2026-12-02. They say what it declares, not what is on your Mac.
- Files and folders: `~/Library/LaunchAgents/io.lawand.last-window-quits.plist` — <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/l/last-window-quits.rb> · These entries come from the Homebrew definition, checked 2026-12-02. They say what it declares, not what is on your Mac.
- Files and folders: `~/Library/Preferences/io.lawand.last-window-quits.plist` — <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/l/last-window-quits.rb> · These entries come from the Homebrew definition, checked 2026-12-02. They say what it declares, not what is on your Mac.
- Files and folders: `~/LWQ Debug Logs` — <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/l/last-window-quits.rb> · These entries come from the Homebrew definition, checked 2026-12-02. They say what it declares, not what is on your Mac.

## Facts and sources

- <https://opennavo.com/apps/last-window-quits>
- <https://opennavo.com/apps/last-window-quits/versions>
- <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/l/last-window-quits.rb> · Checked 2026-12-02
- <https://formulae.brew.sh/cask/last-window-quits>
