Learn the 2 “Cancel” Button Keyboard Shortcuts in Mac OS X to Close Dialog & Alert Windows

Apr 5, 2014 - 7 Comments

Cancel Button keyboard shortcut in Mac OS X

Most Mac users know that hitting Command+W will close an open window, and we’ve covered a handful of other window management keystrokes before, but what about closing the seemingly inactionable dialog windows found with Open, Save, Save As, Export, iCloud, and Print actions? For closing those type of dialog windows, you’ll want to use the “Close” button keyboard shortcuts instead, and there are actually two of them for Mac OS X.

For the most part, these Cancel keystrokes will work interchangeably to close out of the dialog windows in almost every Mac app, though there are a few exceptions to that which we’ll address momentarily.

Escape key – tied to “Cancel”, closes dialog windows in every OS X app

The Mac keyboards Escape key will function as the “Cancel” button in almost every dialog window that you’ll come across in Mac OS X. Whether it’s from a Print window, Open & Save dialog box, or even a warning dialog, Escape is the widely accepted universal keystroke for Cancel.

Escape Key as Cancel Button in Mac OS X

Command+. (that’s Command+Period) – closes dialog windows in Apple apps and most others

Command+Period also functions as a broader “cancel” feature throughout OS X beyond just closing out of Open/Save/Print and alert dialogs. Command+Period can also put an end to ongoing tasks like loading webpages, cancel processing tasks like file copies in the Finder, stop a photoshop action, and sometimes even escape out of the spinning beach ball.

Cancel with Command Period in Mac OS X

A notable exception is that Command+Period doesn’t work to Cancel in every dialog window throughout some of the Google apps, like Google Earth and the Chrome web browser. For example, if you want to cancel and close the Print window in Chrome, you’ll need to hit the “Escape” key rather than Command+Period. Thus, if you choose to remember only of these keystrokes you’ll probably want to go with “Escape” for it’s broader usage across many apps.

In some cases, these keyboard shortcuts function beyond OS X as well, and the cancel trick brought about by Command+Period has extended over to the iOS world as a keystroke for Safari on the iPad if the device is used with an external keyboard.

Now that you know the two keystrokes for Cancel, take the time to learn these window 7 other window management keyboard shortcuts for Mac OS X.

Enjoy this tip? Subscribe to the OSXDaily newsletter to get more of our great Apple tips, tricks, and important news delivered to your inbox! Enter your email address below:

Related articles:

Posted by: Paul Horowitz in Mac OS X, Tips & Tricks


» Comments RSS Feed

  1. Matt says:

    ⌘⌫ (command+delete) while in a save dialogue box is the shortcut for “Don’t save”.

    • Horst says:

      This is the most valuable hint/shortcut I was looking for for ages. Was annoyed, to switch from Keyboard to the mouse/touchbar just to click “Don’t Save”. Thank you very much for it.

  2. Ed says:

    I turn on Full Keyboard Access to All Controls (System Preferences > Keyboard > Shortcuts), then use TAB to highlight the specific option desired (a blue border will surround the option, as opposed to coloring the entire thing), and SPACEBAR to select it.

  3. Bingham says:

    I can’t believe you wrote this entire document and didn’t use the time honored phase…

    “Apple dot, I think not!”

  4. SweetMonia says:

    Unfortunately, the escape button no longer close dialog all the time, sometimes it gives me the idiotic list of suggested words. I found this article while trying to solve this horrible problem.

Leave a Reply


Shop for Apple & Mac Deals on Amazon.com

Subscribe to OSXDaily

Subscribe to RSS Subscribe to Twitter Feed Follow on Facebook Subscribe to eMail Updates

Recent Posts