# How to switch between windows on a Mac

> Command-Tab switches apps, not windows. These are the shortcuts that actually move you from one window to another on a Mac, plus the trackpad routes.

Source: https://www.ribbonmac.com/guides/how-to-switch-between-windows-on-mac · Updated 2026-11-13

**Command-Tab** switches apps. That is the whole problem. Two Safari windows are one icon to it, so the shortcut you press fifty times a day cannot see the window you actually want.

macOS has four more ways to move between windows, and they do four different jobs. Work out which is which and you stop pressing Command-Tab and hoping.

## What each shortcut actually does

| Shortcut | What it switches | Worth knowing |
|---|---|---|
| **⌘Tab** | Apps | One icon per app, no matter how many windows it has, and ordered by what you used last |
| **⌘**, the key above Tab | The windows of the app you are in | Never leaves the current app; the character printed on that key varies by keyboard |
| **⌃↓** | Every window of the front app, in one grid | Press it again to come back |
| **⌃↑** | Everything on this display: windows, full-screen apps, Spaces | A second display only shows its own windows |
| **⌘ + Mission Control** (or Fn-H) | Moves every window aside so you can see the desktop | Press it again to put them back |

All of these are already in macOS. Nothing to install, nothing to configure.

None of them moves a window, and that catches people out. Switching changes which window takes your keystrokes; it never changes where a window sits. The keys that do move a window are a much shorter list, and [moving a window with the keyboard on a Mac](https://www.ribbonmac.com/guides/how-to-move-windows-with-keyboard-on-mac) is where they live.

## Command-Tab is an app switcher

Apple's own wording is "switch to the next most recently used app among your open apps", and both halves of that sentence matter. It is about **apps**, so three windows of Pages count as one stop. And it is ordered by **most recently used**, so "next" means the app you were in before this one, not the one sitting to the right.

Two habits make it behave:

- Hold **Command** and keep tapping **Tab** to walk the row instead of bouncing between two apps, or hold Command and use the left and right arrow keys.
- Changed your mind? Press **Esc**, or the full stop key, before you let go of Command, and you land back where you started.

Minimised windows live somewhere else entirely. Command-M sends a window to the Dock, and the app switcher will not show it to you.

## The key above Tab, for the windows of one app

Apple's line is "Command-Grave accent: switch between the windows of the app you're using". Read the second half again: **the app you're using**. This shortcut never leaves the current app, so if your two windows belong to different apps it will look like it does nothing at all.

Keyboards trip people up here. Apple notes that the character on that key, generally the one above Tab and to the left of the 1, **varies by keyboard**. On a UK layout it is not the same glyph as on a US one, so press the key in that position and don't hunt for a character your keyboard never had. If a shortcut in a guide says Command plus a symbol you cannot find, that is usually why.

Three more shortcuts are worth pairing with it: **Command-H** hides the app you are in without quitting it, **Option-Command-H** hides every other app, and **Option-Command-M** minimises every window of the front app in one go. That last one is how you clear four open windows without closing any of them, though it does send them to the Dock rather than out of the way, which is [its own subject](https://www.ribbonmac.com/guides/how-to-minimize-windows-on-mac).

## Control-Down shows you one app's windows at once

Press **Control-Down** and the front app's windows line up in a single grid, whatever app it is and however many windows it has. Press the same keys again to go back, or swipe up if you came in by gesture. If App Exposé is turned on in Trackpad settings, swiping down with three or four fingers does the same thing.

There is a setting that makes this much better. In **System Settings, Desktop & Dock, Mission Control**, turn on **Group windows by application**, and Control-Down arranges the windows app by app instead of one flat pile. It reads the way you already think about your windows.

## Control-Up is the whole machine

**Control-Up**, or the Mission Control key, shows every window on this display, with full-screen apps and your Spaces lined up along the top edge. **Command-Mission Control**, or Fn-H, sweeps every window aside to show the desktop without minimising anything, and pressing it again puts them all back.

That one has a genuinely useful trick in it: start dragging a file out of a window, press Command-Mission Control while you are still holding it, drop the file on the desktop, then press the keys again. No minimising, no losing your place.

## The trackpad and mouse routes

- **Four-finger swipe up** enters Mission Control, and three fingers does the same if you set the row that way. Swipe down to leave it.
- **Three- or four-finger swipe down** shows the current app's windows, if App Exposé is on in Trackpad settings. Swipe up to return.
- **Two-finger double-tap on a Magic Mouse** does Mission Control.
- **Drag a window to the top of the screen** and Mission Control opens. If that keeps happening by accident while you tile things, it is a setting: turn off "Drag windows to top of screen to enter Mission Control" in Desktop & Dock.

Every one of those finger counts is a menu you can change rather than a rule, which is why advice on this ages badly; [trackpad gestures on a Mac](https://www.ribbonmac.com/guides/mac-trackpad-gestures) has the full list and the setting behind each row.

## When the window you want is on another desktop

Switching apps and switching desktops use the same motion half the time, which is why a Mac can feel like it moves on its own.

- **Between Spaces:** swipe left or right with three or four fingers, swipe with two fingers on a Magic Mouse, or press **Control** with the left or right arrow key. Or enter Mission Control and click a space in the Spaces bar. You can have up to 16.
- **The jumping problem:** by default, switching to an app takes you to a Space that already has a window for it. That is a setting, not a bug. In Desktop & Dock, under Mission Control, turn off "When switching to an application, switch to a Space with open windows for the application" and switching stays where you are.
- **Pin the big apps:** Control-click an app's Dock icon, choose **Options**, then **Assign To**, then **This Desktop**. The other choices are All Desktops, Desktop on Display [number] and None. Control-click is worth having properly set up, since a trackpad or mouse can be configured to produce it with two fingers or a corner: [right-click on a Mac](https://www.ribbonmac.com/guides/how-to-right-click-on-mac) walks through both.

Sending a window the other way, out of the desktop you are on and into a different one, is a separate move with its own two routes and its own setting: [moving a window to another desktop on a Mac](https://www.ribbonmac.com/guides/how-to-move-a-window-to-another-desktop-on-mac).

If the desktop you want is on your other monitor rather than another space, that is a different job with its own rules. [Moving a window between monitors](https://www.ribbonmac.com/guides/move-windows-between-monitors-mac) covers the drags that work, the settings that block them and the shortcut macOS does not ship.

## If the problem is two windows of the same app

Merge them. In the app, choose **Window > Merge All Windows** and the pile becomes tabs in one window. To pull one back out again, drag the tab off the window, or choose Window > Move Tab to New Window. Then the shortcut for switching windows has one window to work with instead of five.

You can also drag a window from Mission Control onto the thumbnail of a full-screen app in the Spaces bar and the two go into Split View together, which is Apple's own tip and much faster than assembling it by hand.

And if the pile is windows you are finished with rather than windows you need to see, closing beats switching. [How to close a window on a Mac](https://www.ribbonmac.com/guides/how-to-close-a-window-on-mac) has Command-W, Option-Command-W for a whole app, and what to do when the window will not answer. And if you closed one of them by mistake, [how to reopen a closed window on a Mac](https://www.ribbonmac.com/guides/how-to-reopen-a-closed-window-on-mac) is the way back.

## Free apps that change the rule

If you want a switcher that lists **windows** rather than apps, these are the ones worth trying, and two of them cost nothing.

**AltTab** is free and open source, and turns Command-Tab into a window switcher: minimised windows, hidden windows and windows on other Spaces all appear, with a badge telling you where each one is. It asks for macOS 12 or later. **DockDoor** is also free and open source, and works the other way round: point at a Dock icon and it shows that app's open windows, taskbar style. Needs macOS 13. **Witch** ($14, free trial) shows live previews of each window and can switch to a specific tab. **Contexts** ($9.99, free trial) lets you type a few letters of a title and filters down to it.

Two cautions before you install any of them. Only one app should own Command-Tab, because two switchers taking turns both feel broken. And any app that can move windows or read their titles needs **Accessibility** permission in System Settings, Privacy & Security, or it will look dead after an update.

## The shortcut nobody can give you

Every shortcut on this page helps you **find** a window. None of them stops your windows from covering each other in the first place, which is the reason there is always something to find.

A scrolling layout takes the finding out of it. Each window gets its own full-height column on a strip that runs past both edges of the screen, so nothing overlaps and nothing is ever buried behind anything else. You move with a three-finger swipe or **⌃⌥ ← →**, and **⌃⌥1-9** jumps straight to a column by number. There is nothing to switch to a window for when you can already see it.

That is what Ribbon is: $15 once for up to 3 Macs, with a full refund within 10 days. [How a scrolling window manager works](https://www.ribbonmac.com/guides/what-is-a-scrolling-window-manager) explains the model, [the roundup](https://www.ribbonmac.com/guides/best-window-managers-for-mac) covers the alternatives, and [the built-in shortcuts for moving windows around](https://www.ribbonmac.com/guides/how-to-tile-windows-on-mac) are worth knowing either way. Or [drive the strip in your browser](https://www.ribbonmac.com/#drive) and see what not switching feels like.

## FAQ

### What is the keyboard shortcut to switch between windows on a Mac?

Command plus the key above Tab switches between the windows of the app you are using, and Control-Down Arrow shows every window of the front app at once. Command-Tab, the one most people try first, switches apps rather than windows, which is why it seems to skip the window you wanted.

### Why does Command-Tab not switch between my two Safari windows?

Because both windows belong to Safari, and Command-Tab lists apps. One app gets one icon, however many windows it has open. Use Command plus the key above Tab to step through that app's windows, or Control-Down Arrow to see all of them in a grid and click the one you want.

### How do I switch between windows on a Mac with the trackpad?

Swipe up with four fingers to open Mission Control, which shows every window on that display, then click the one you want. Apple's page footnotes that in some versions of macOS this gesture uses three fingers instead, and Trackpad settings will take either. Swipe down with three or four fingers, if App Exposé is turned on in Trackpad settings, to see only the front app's windows. Swiping left or right with three or four fingers moves between Spaces, not windows.

### How do I stop my Mac jumping to another desktop when I switch apps?

That is a setting, not a bug. In System Settings, Desktop & Dock, under Mission Control, turn off "When switching to an application, switch to a Space with open windows for the application". You can also pin an app to the desktop you are on: Control-click its Dock icon, choose Options, then Assign To, then This Desktop.

### Is there a free app for switching between windows on a Mac?

Yes, two. AltTab replaces Command-Tab with a switcher that lists every window, including minimised ones and windows on other Spaces, and asks for macOS 12 or later. DockDoor is also free and open source: point at a Dock icon and it shows that app's open windows. Both are covered in more detail in our guide to Mission Control alternatives.
