Skip to Content
Sindre Sorhus
Back to Supercharge

Updated

How to Empty the Trash with a Keyboard Shortcut on Mac

By Sindre Sorhus, who makes the Supercharge app

With Supercharge

  1. Open the settings of Supercharge, and click “Shortcuts”.
  2. In the “Action” section, click the field next to “Empty trash”, and press the keyboard shortcut that you want.
  3. Press the shortcut in any app. The first time, allow Supercharge to control Finder.

Supercharge empties the Trash at once, with no question. To get the question of Finder first, click the settings button next to “Empty trash”, and turn on “Show confirmation dialog”. “Empty Trash” is also in the menu of Supercharge in the menu bar.

Get Supercharge

Elevate your Mac experience

$20, one-time purchase, plus tax where applicable

Requires
macOS 27 or later
Updated
November 2026
Gumroad rating
5.0/5 (288 ratings)

More about Supercharge

Without an app

Finder has a keyboard shortcut for it, but it works only when Finder is the active app:

  • ShiftCommandDelete empties the Trash after you confirm.
  • OptionShiftCommandDelete empties it with no question.

For a shortcut that works in all apps, make a shortcut in the Shortcuts app with a “Run AppleScript” action with tell application "Finder" to empty trash, and give it a keyboard shortcut in its details, like in the guide to open an app with a keyboard shortcut. The first time, macOS asks you to allow access to Finder. A script needs “Allow Running Scripts”: choose “Shortcuts › Settings”, click “Advanced”, and turn it on.

The same command is in the menu bar: “Finder › Empty Trash…”. You can also right-click the Trash in the Dock, and choose “Empty Trash”.

To delete the files that have been in the Trash for 30 days by themselves, open “Finder › Settings”, click “Advanced”, and turn on “Remove items from the Trash after 30 days”. To stop the question each time, turn off “Show warning before emptying the Trash” there.