Stop minimized windows cluttering the Mac Dock
Every time you minimize a window, macOS drops a live thumbnail onto the right side of your Dock. Minimize a handful and that side becomes a row of tiny, near-identical tiles — and your app icons shrink to make room. Turn on Minimize windows into application icon and those thumbnails never appear; the windows tuck into their own app instead.
Why the right side of the Dock fills up
The Dock has an invisible divider. Your apps live on the left of it; minimized windows, the Trash, and stacks live on the right. By default each window you minimize becomes its own thumbnail on that right-hand side, and they stack up one after another. Three PDFs, two Finder windows, and a couple of browser windows later, the right side is a cluttered strip of look-alike tiles, and because the whole Dock has to fit on screen, every icon gets smaller to accommodate them. It's the fastest way to make a clean Dock messy.
Route windows into their app instead
The fix is a single setting. In System Settings:
- Open System Settings → Desktop & Dock.
- Turn on Minimize windows into application icon.
Prefer Terminal? The same setting from the command line:
# Keep minimized windows off the Dock's right side
defaults write com.apple.dock minimize-to-application -bool true
killall Dock
And to undo it:
# Back to separate thumbnails
defaults write com.apple.dock minimize-to-application -bool false
killall Dock
Now minimizing sends a window into its app icon — the right side of the Dock stays empty, and your app icons keep their full size. This works the same on macOS 13 Ventura, 14 Sonoma, and 15 Sequoia.
Your windows aren't lost
They're still there — just held by the app rather than shown as a tile. To pull one back, right-click (or Control-click) the app's Dock icon: the minimized windows are listed by name near the top of the menu, and clicking one restores it. You can also swipe down with three fingers on the app to trigger App Exposé and grab a minimized window from the bottom row. Nothing gets buried; the Dock just stops advertising it.
Mainspring turns minimize-to-application into a labelled toggle you flip without touching Terminal, and reverse just as fast. It's one of 90+ hidden macOS settings the app puts a click away.
Signed & notarized by Apple · 1-day free trial · $29 once
Lock in the tidier Dock
Once the right side is clear, it's worth keeping the Dock's size fixed so it stops resizing as you work — see how to lock the Dock size on Mac. Pair it with a smaller Dock if you want to reclaim even more screen: how to make the Dock smaller on Mac.