Skip to content

Last Window Quits

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

CaskUtilitiesAuto-updates
Install command
brew install --cask last-window-quits
30-day installs
58
#1298 in App
1-year installs
375
Last 365 days
Latest version
1.1.6
Download size
12MB
zip
Release cadence
Irregular
0 releases in 30 days

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 · Homebrew cask

At a glance

Chip
Apple silicon · Intel
Auto-updates
Yes
Developer
Lawand Dalatieh
Homebrew
Available; the app updates itself
Also known as
last-window-quits
Homepage
lawand.io/last-window-quits
Token
last-window-quits

Checked

How to install Last Window Quits on Mac

Homebrew installs the app in your Applications folder.

Install without Homebrew

Download the same file Homebrew uses: Install Details

Uninstall Last Window Quits and optional data cleanup

Uninstall command
brew uninstall --cask last-window-quits

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

Deep clean (optional)
Uninstall command
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.

Questions about Last Window Quits

Is Last Window Quits safe?

Last Window Quits is in Homebrew’s official catalog and has not been disabled. Since September 2026, Homebrew disables apps that fail macOS Gatekeeper checks. When installing, Homebrew checks the download from lawand.io against its SHA-256 checksum. It was installed 58 times through Homebrew in the last 30 days.

How do I completely uninstall Last Window Quits on a Mac?

Run brew uninstall --cask last-window-quits. To delete its settings and caches as well, run 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. That also deletes 5 files and folders, including ~/Library/Application Support/io.lawand.last-window-quits.

Does Last Window Quits run on Apple silicon (M1 and later) Macs?

Homebrew installs it on both Apple silicon and Intel Macs, from the same download.

Where does Last Window Quits store its settings and data?

Its settings are in ~/Library/Preferences/io.lawand.last-window-quits.plist. Its data is in ~/Library/Application Support/io.lawand.last-window-quits. These locations come from Homebrew’s clean-up list.

What is the latest version of Last Window Quits?

The latest version is 1.1.6. Last Window Quits updates itself; to update it with Homebrew, run brew upgrade --cask --greedy last-window-quits.

Similar Apps

  • VividA macOS app that enables the extended brightness range on supported MacBook Pro and Pro Display XDR screens.
  • UniClipboardSync text, images, and files across your devices with an encrypted clipboard history, search, and a Quick Panel.
  • uBarA macOS Dock alternative that can be configured as a dock or taskbar, with window previews and multi-monitor support.
  • DockFixA macOS Dock replacement with controls for appearance, app icons, widgets, folders, and live window previews.
Browse all apps