HeartbeatHocusFocusFilesMacHyperTile
Guide

Minimize a window on a Mac

The yellow button and Command-M minimise the front window, Option-Command-M does a whole app at once, and the Dock is where it ends up. Getting it back.

By Chethan Kumar S N · Updated

Minimising is the first trick anyone learns on a Mac, and it is still the one people search for most, because it does not behave like tidying up. Tidying up puts things where you can see them. Minimising puts a window on a shelf at the bottom of the screen, and then you have to go and get it. That is not a bug, it is what the feature is, and knowing the four places a window can go saves a lot of hunting.

Three ways to minimise one window

What you doWhere it isNotes
Click the yellow buttonTop left corner of the window, the middle of the threeApple’s own line is that the button and Command-M are the same action
Press Command-MAnywhere in the windowThe front window, and nothing else
Double-click the title barAny window, once the setting is onDesktop & Dock settings, Window title bar double-click action, set to Minimise

The yellow button is the one with the minus sign, sitting between the red button that closes a window and the green one that resizes it. There is no second keyboard version of it and no modifier that changes what it does, so Command-M is the only shortcut worth learning for a single window.

The title bar route is the one most people never find. Open System Settings, click Desktop & Dock, and look for Window title bar double-click action. It is set to Fill or Zoom on a stock Mac, and Minimise is one of its four options. Set it and a double-click anywhere on a title bar collapses the window, which beats aiming at a twelve-pixel circle.

Minimising a whole app at once

Option-Command-M does the same job to every window the app has open. Apple gives it as the companion to Command-M: minimise the front window, or press Option-Command-M to minimise all windows of the front app.

The catch is in the word front. It is one app’s worth of windows and only the app you are currently in, so four cluttered apps means four presses with a switch in between each. There is no system-wide minimise-everything key on macOS, and there is a reason: the thing you almost always want is further down this page under Show the desktop.

There is a pattern in Apple’s shortcut list worth noticing while you are here. Option is the word all. Command-W closes a window and Option-Command-W closes every window of the app. Command-M minimises one window and Option-Command-M minimises all of them. Command-H hides the app you are in and Option-Command-H hides every other app. Once you see that, the list stops being a list of keys and becomes one rule with three uses.

Where the window actually goes

The Dock, as a small thumbnail of itself, next to the app icons. Two settings decide exactly how that looks, and both live in System Settings under Desktop & Dock.

Minimise windows into application icon. Apple’s description: minimise an app window to the app icon in the Dock, and if the option is not turned on, the window is minimised to an area in the Dock instead. Turning it on is how you keep a busy Dock from filling up with thumbnails, at the cost of the window being one menu deeper when you want it back.

Minimised windows animation. This is the visual effect used when you minimise a window, and macOS 27 offers two: Genie Effect and Scale Effect. Genie is the one that looks like the window is being poured into the Dock, and it spends its time in the direction your Dock is in.

That last detail is worth a moment. The Dock sits at the bottom edge of the screen by default, but Dock position on screen can put it along the left or right edge instead, and every minimise animation flies to wherever it actually is. If your Dock is on the left and minimising looks wrong, it is not wrong, it is going left.

One more setting changes the experience without changing the destination: Automatically hide and show the Dock. With the Dock hidden, minimising still works exactly the same way, but seeing where the window went now costs a pointer trip to the edge of the screen. That is the whole complaint about minimising in one sentence, and it is the part no setting fixes. The keystroke, the setting behind it and the four reasons a Dock can look missing are in hiding the Dock on a Mac.

Getting it back

Three routes, in the order they are worth trying.

  1. Click the thumbnail in the Dock. If Minimise windows into application icon is on, there is no thumbnail, so Control-click the app’s icon instead. Apple describes that menu as a list of actions and window names: choose an action such as Show Recents, or click a filename to open that window. If the Control-click itself is the part that will not work, right-click on a Mac is the page for that.
  2. Use the keyboard. Fn-Control-F3 moves the focus to the Dock, the Left and Right arrow keys walk from icon to icon, and Return opens the item you have landed on. Apple documents exactly that sequence in its Dock guide, and it is the fastest route when the pointer is somewhere else entirely.
  3. Click the app’s icon. This brings the app forward with its windows, and it is the route most people use without thinking about it.

What does not work is Command-Tab, and it is worth knowing why. Command-Tab switches between open apps, so it brings the app forward while its only window is still sitting in the Dock. The desktop looks empty, and it reads as the window being gone. The Dock is still the place to look, which is the same answer to the question people ask when they think they closed something they only minimised. If the window is not in the Dock at all, it was closed rather than minimised, and how to reopen a closed window on a Mac covers that case.

Minimise is not hide, close or Show the desktop

Four ideas get filed under the same word, and they are not the same word. This is the table worth keeping.

KeysWhat it doesWhere the window is afterwards
Command-MMinimise the front windowThe Dock
Option-Command-MMinimise every window of the front appThe Dock
Command-HHide the windows of the front appStill on the desktop, just not drawn
Option-Command-HHide every other app, leaving the front oneStill on the desktop
Command-WClose the front windowGone, with the app still running
Option-Command-WClose every window of the appSame, and the app still shows a dot in the Dock
Command-Mission Control (or Fn-H)Show the desktop: move every window asideExactly where it was, and a second press brings them back

If closing is what you actually wanted rather than parking, how to close a window on a Mac is the other half of this question, including the key for a window whose app has stopped answering.

The difference that matters is what you get back. Closing loses the window and anything unsaved in it. Hiding and Show the desktop leave every window in place and are reversible with the same key. Minimising is the only one of the four that moves the window somewhere else and leaves it there, which is why the Dock slowly fills up during a long afternoon.

If the goal is “I want to see my desktop”, Show the desktop is the better tool every time: Command-Mission Control, or Fn-H, moves every window aside, including ones you forgot about, and one more press puts them all back. There is a trick in it that is genuinely useful: 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, and no losing your place.

No trackpad gesture does this

Search for minimising with a trackpad and the honest answer is short: macOS has no minimise gesture. The gestures Apple ships are four-finger swipes for Mission Control, for App Exposé and for moving between desktops and full-screen apps, plus spreading your thumb and three fingers apart to show the desktop. None of them minimises a window.

Trackpad settings lets you browse those gestures with an animation for each one and turn them off or change their style. It does not let you point one at Minimise, so on a trackpad the practical answer is Command-M, or the Dock, or the thumb-and-three-finger spread if what you actually wanted was a clear screen. The whole set, with the finger count on every row, is in trackpad gestures on a Mac. Third-party tools can bolt on a custom gesture for this, and if you already run one for other reasons it is a reasonable thing to ask of it, but it is not something macOS can be talked into.

Why minimising feels like a detour

Here is the part the shortcuts do not fix. Minimising is a one-way move to a fixed shelf. The window is not where your eyes are any more, it is in the Dock, or worse, inside an app icon where it is one menu deeper again, and every trip back costs a click.

Do it to one window and it is fine. Do it to six and you have a row of identical thumbnails that are harder to tell apart than the six windows were, with only a title and a handful of pixels to go on. Tidying that costs you work is not really tidying.

Every window manager on the Mac is partly an answer to this. The grid-shaped ones keep everything on screen at a reduced size, so nothing has to leave. The strip-shaped ones keep every window at full size and move the screen instead of the windows. That second kind is what Ribbon does: windows sit in a column on a strip that runs past the edges of the display, each display gets its own strip, and nothing shrinks or hides for the next window to become usable. Control-Option and the arrow keys walk along the strip, Control-Option-1 to 9 jump straight to a column, Control-Option-R cycles a column through a third, a half and two thirds, and Control-Option-F takes one window to full width.

So the where-did-my-window-go question does not come up. It is on the strip, or it is floating, or it is in another app, and there is a key for each of those. If the real problem is finding a window rather than parking one, how to switch between windows on a Mac covers that from the other end, and if you are weighing up a grid against a strip, how to organize windows on a Mac is the wider view.

$15 once for up to 3 Macs, with a full refund within 10 days. It runs on macOS 14 Sonoma or later on Apple silicon and Intel Macs. Try the strip in your browser, or see what it does differently from Mission Control and Stage Manager.

Questions

How do I minimize a window on a Mac?

Click the yellow minimize button in the top left corner of the window, or press Command-M. Apple lists the button and the shortcut as the same action. There is a third way: in Desktop & Dock settings, set Window title bar double-click action to Minimise, and then a double-click on any title bar sends that window to the Dock without any aiming.

What is the shortcut to minimize all windows on a Mac?

Option-Command-M minimises every window of the front app in one press, which is the shortcut Apple gives alongside Command-M. It only covers the app you are in, so four apps means four presses, one after switching to each. There is no key that minimises windows across every app, because macOS treats that as the Show the desktop job instead: Apple gives it as Command-Mission Control, or Fn-H, which moves every window aside, and pressing it again brings them all back.

How do I get a minimized window back on a Mac?

Click its thumbnail in the Dock. If Minimise windows into application icon is turned on, the window went into the app's own Dock icon instead, so Control-click that icon and choose the window's name from the menu, or find it under Show Recents. By keyboard, Fn-Control-F3 moves to the Dock, the arrow keys walk from icon to icon and Return opens the one you are on. Command-Tab only brings the app forward, which is why it sometimes looks as if nothing came back.

What is the difference between minimizing a window and hiding an app on a Mac?

Minimising moves a window to the Dock, where it waits as a thumbnail until you go and fetch it. Hiding is Command-H: it hides the windows of the front app without moving them anywhere, so the app stays open, every window keeps its place, and clicking the app in the Dock brings it all straight back. Option-Command-H hides every other app instead, which is the quickest way to clear the screen without touching the window you are working in.

Is there a trackpad gesture to minimize a window on a Mac?

No. The gestures macOS ships are four-finger swipes for Mission Control, App Exposé and moving between desktops and full-screen apps, plus spreading your thumb and three fingers apart to show the desktop, and none of them minimises anything. Trackpad settings let you turn those gestures off or change how they work, not repurpose them. If you are reaching for a gesture while minimising, spreading your thumb and three fingers is probably what you wanted, since it clears the screen and leaves every window where it was.

Ready? Buy Ribbon for $15, or read all the guides.