# How to Stop Command+Q from Quitting Apps by Accident on Mac

Updated: November 12, 2026

Supercharge: Price: $20, one-time purchase, plus tax where applicable. Platforms: macOS. Get it from: [Setapp](https://go.setapp.com/stp181?refAppID=742&utm_medium=vendor_program&utm_content=button), [Gumroad](https://sindresorhus.gumroad.com/l/supercharge?wanted=true). Free trial: [download](https://sindresorhus.com/supercharge#trial). Requires macOS 26.4 or later. Free older versions for macOS 15: [download](https://sindresorhus.com/supercharge#older-versions).

URL: https://sindresorhus.com/guides/prevent-accidental-command-q-mac

In the settings of [Supercharge](https://sindresorhus.com/supercharge), choose to quit apps only when you hold Command+Q, press Q twice, or press Shift+Command+Q. Without an app, give the Quit command of an app another shortcut in “[System Settings › Keyboard › Keyboard Shortcuts… › App Shortcuts](x-apple.systempreferences:com.apple.Keyboard-Settings.extension)”.

QBlocker made you hold Command+Q to quit an app. Its last version is from May 2016, it needs Rosetta on Apple silicon, and Homebrew disabled it in April 2026 because it is not maintained. SlowQuitApps, an open-source app that did the same, had its last release in December 2020.

## With Supercharge

1. Open [Supercharge](https://sindresorhus.com/supercharge), and give it the access that it asks for in [“Device Control and Data Access”](https://sindresorhus.com/apps/faq#device-control-access).
1. Open the Supercharge settings, and click “Tweaks”.
1. In the “Apps & Windows” section, choose one of these in “Prevent accidental quits by quitting apps with”:
- Press and hold Command+Q.
- Hold Command and press Q twice.
- Press Shift+Command+Q.

Then a single press of Command+Q does nothing, and the way you chose quits the app. You can make it work only in some apps, or in all apps except some.

## Without an app

macOS has no setting for this, but you can give the Quit command of one app another shortcut, so Command+Q does nothing in that app:

1. Open “[System Settings › Keyboard](x-apple.systempreferences:com.apple.Keyboard-Settings.extension)”, and click “Keyboard Shortcuts…”.
1. Click “App Shortcuts”, and click the add button.
1. Choose the app, and type the name of its Quit command exactly like in its menu, like “Quit Safari”.
1. Click “Keyboard shortcut”, press the new shortcut, and click “Done”.

The menu title is different in each app, so you must do this for each app. Supercharge works for all apps at once.