What's the Alt+F4 Equivalent on a Mac?

What's the Alt+F4 Equivalent on a Mac?

Quick answer: Use ⌘Q to quit an app (the true Alt+F4 equivalent) and ⌘W to close just the current window or workbook. On a Mac an app can keep running with no windows open, so the two are not interchangeable. If an app is frozen, press ⌥⌘Esc for Force Quit.

Why a Mac needs two shortcuts where Windows needs one

On Windows, closing the last window usually quits the program. On a Mac, applications and windows are separate: closing every window with ⌘W often leaves the app running, with its menu bar still at the top of the screen. ⌘Q is what actually quits it.

WindowsMacWhat happens
Alt+F4⌘QQuits the whole application
Ctrl+F4 / Ctrl+W⌘WCloses the front window or document
Ctrl+Alt+Delete → Task Manager⌥⌘EscOpens Force Quit Applications
Win+D⌘H or F11Hide app / show desktop

Which one you want

  • Done with the document, not the app? Press ⌘W. In Excel this closes the workbook and prompts to save.

  • Done with the app entirely? Press ⌘Q. In Excel this closes every workbook and quits.

  • App not responding? Press ⌥⌘Esc, select the app, click Force Quit. You can also hold and right-click the Dock icon, then choose Force Quit.

Excel-specific notes

Excel for Mac keeps running after the last workbook closes, showing only the gallery or a blank state. That is normal. ⌘Q fully quits it. If unsaved changes exist, Excel prompts before quitting. For the rest of the window and file shortcuts, see the Complete Mac Excel shortcut cheat sheet.

Common mistakes

  • Pressing ⌘W expecting the app to quit. It usually will not — check the menu bar to see what app still has focus.

  • Holding ⌥ and pressing F4. On a Mac F4 opens Spotlight or Launchpad on many keyboards; it is not a close shortcut.

  • Force quitting when a save prompt is waiting. Force Quit discards unsaved work. Try ⌘Q first and answer the prompt.

FAQs

Is there a single key like F4 that closes a Mac window?

No. The Mac convention is ⌘W for windows and ⌘Q for apps. You can add a custom shortcut in System Settings, but the modifier-based ones are standard everywhere.

What is Ctrl+Alt+Delete on a Mac?

Press ⌥⌘Esc to open Force Quit Applications — the closest equivalent for dealing with a stuck app.

Does ⌘Q save my work?

It prompts you. Most apps, Excel included, ask to save unsaved changes before quitting.

Related guides

← Back to all articles