Every Mac Keyboard Shortcut for Windows and Apps
The Mac keyboard shortcuts for switching apps and windows, hiding, minimising, closing, full screen, Mission Control, desktop spaces and tiling, grouped by job, with the gaps a window manager fills.
The Mac keyboard shortcuts you need most for windows are Command-Tab to switch apps, Command-` to switch windows of the same app, Command-H to hide, Command-M to minimise, Command-W to close and Control-Up Arrow for Mission Control. On macOS Sequoia 15 or later, Fn-Control plus an arrow key tiles a window to half the screen.
Below is the full set, grouped by what you are trying to do, with notes on the behaviour that catches people out.
How do I switch between apps and windows with the keyboard?
| Shortcut | What it does |
|---|---|
| Command-Tab | Switch to the app you used last |
| Hold Command, tap Tab repeatedly | Step through open apps, release to switch |
| Command-` | Next window of the current app |
| Shift-Command-` | Previous window of the current app |
| Control-F4 | Move focus to the active or next window |
A few details make the app switcher more useful. While holding Command in the switcher you can use the arrow keys to move through the apps, and pressing Esc or the full stop (period) key before you let go cancels it. Command-Tab switches apps, not windows, which is why Command- matters: if you have three Safari windows, Command-Tab gets you to Safari and Command- cycles through its windows.
How do I hide, minimise, close or quit with the keyboard?
These four look similar but do different things. Hiding is usually the fastest way to clear clutter because the app’s windows come back exactly as they were.
| Shortcut | What it does |
|---|---|
| Command-H | Hide all windows of the front app |
| Option-Command-H | Show the front app, hide every other app |
| Command-M | Minimise the front window to the Dock |
| Option-Command-M | Minimise all windows of the front app |
| Command-W | Close the front window |
| Option-Command-W | Close all windows of the app |
| Command-Q | Quit the app |
| Option-Command-Esc | Force quit an app |
Closing a window does not quit the app. Apple points out that after Option-Command-W the app stays open, shown by a dot under its Dock icon.
What are the shortcuts for full screen and tiling?
| Shortcut | What it does |
|---|---|
| Control-Command-F | Enter or leave full screen, if the app supports it |
| Fn-Control-F | Fill the desktop without full screen (macOS 15+) |
| Fn-Control-← / → | Left or right half (macOS 15+) |
| Fn-Control-C | Centre the window (macOS 15+) |
| Fn-Control-R | Return to the size before tiling (macOS 15+) |
Full screen moves the app into its own space and hides the menu bar and Dock; filling keeps them. There are more tiling combinations for two and three windows, all listed in our guide to macOS window tiling shortcuts.
What are the Mission Control and Spaces shortcuts?
| Shortcut | What it does |
|---|---|
| Control-↑ or the Mission Control key | Open Mission Control |
| Control-↓ | Show all windows of the front app |
| Control-← / → | Move to the previous or next desktop space |
| Command-Mission Control, Fn-H or Fn-F11 | Show the desktop |
| Option-Mission Control | Open Mission Control settings |
| Option-Command-D or Fn-A | Show or hide the Dock |
If you use desktop spaces a lot, our Mission Control guide explains what each view shows and how to tune it.
What window jobs have no built-in shortcut?
macOS covers switching and hiding well, but some everyday jobs have no key at all:
- Moving a window to another display. You have to drag it.
- Quarters, thirds and two thirds. Quarters are in the Window menu without a key; thirds do not exist.
- Nudging or growing a window a little at a time.
- Undoing a move beyond the single Return to Previous Size.
A window manager fills these. In Windowmac, hold Option and press [ or ] to send the window to the previous or next screen, 1 to 4 for quarters, an arrow key twice for a third, = or - to grow or shrink, and Z to undo. Because they only work while Option is held, normal typing is not affected.
Which shortcuts are worth learning first?
| If you only learn five | Why |
|---|---|
| Command-Tab | Fastest way between apps |
| Command-` | Between windows of one app |
| Option-Command-H | Instant focus on one app |
| Control-↑ | See everything at once |
| Fn-Control-← / → | Side-by-side windows |
Practise them with the free shortcut trainer, or print the ones you use with the cheat sheet builder. More shortcut guides are in the keyboard shortcuts topic.
Mac Window Shortcut Trainer
A quick drill that teaches the Mac shortcuts for snapping, hiding and switching windows.
Frequently asked questions
What is the Mac shortcut to switch windows?
Command-Tab switches between apps. To switch between windows of the same app, press Command and the grave accent key (`). Add Shift to go the other way.
What is the shortcut to minimise all windows on a Mac?
Option-Command-M minimises every window of the front app. To clear the screen of all apps, show the desktop with Command-Mission Control or Fn-F11, or hide other apps with Option-Command-H.
How do I maximise a window with the keyboard?
On macOS Sequoia 15 or later, press Fn-Control-F to fill the desktop without going full screen. Control-Command-F switches the app to full screen instead.
Is there a shortcut to move a window to another monitor?
Not in macOS. You can drag the window, or use a window manager. In Windowmac, hold Option and press the right bracket key to send the window to the next display.
Can I change these shortcuts?
Many of them, yes. Mission Control and Spaces shortcuts are in System Settings, Keyboard, Keyboard Shortcuts, and any menu command can get its own shortcut under App Shortcuts.
Sources
Keep reading
macOS Window Tiling Shortcuts Explained
Every built-in macOS window tiling shortcut, what each one does, why they all start with Fn-Control, what is missing, and how to give a tiling command a shortcut of your own.
How-toHow to Exit Full Screen on a Mac
Get out of full screen on a Mac with Control-Command-F, the green button, the Window menu or Mission Control, plus how to leave Split View and avoid full screen by accident.
How-toHow to Split Screen on a Mac: 4 Ways, From Built-in to One Flick
Split your Mac screen between two apps with macOS window tiling, Split View, keyboard shortcuts or a free window manager. Steps for each, and when to use which.
How-toHow to Use Mission Control on a Mac
Open Mission Control with a key, gesture or drag, find any window, move windows between spaces, show the desktop and change the settings that make Mission Control predictable.
Try Windowmac, free
Windowmac is a free, open-source window manager for macOS. Hold Option and flick to snap windows to halves, thirds, quarters or another screen.
curl -fsSL https://www.windowmac.app/install.sh | bash