MainspringGuides › Stack Hover Highlight
macOS Guide

Enable Hover Highlight in Dock Grid Stacks (Mac Trick)

Updated July 2026 · 2 min read

Open a Dock stack in grid view and move your mouse across it: nothing reacts. There's no visual confirmation of which file you're about to click. A hidden setting fixes that — items light up under the pointer, the way they already do when you arrow through a stack with the keyboard.

The one-line fix

  1. Open Terminal (press Cmd+Space, type "Terminal", hit Return).
  2. Paste the two commands below and press Return.
# highlight the stack item under the mouse pointer
defaults write com.apple.dock mouse-over-hilite-stack -bool true
killall Dock

The killall Dock restarts the Dock so the setting loads — the screen blinks for a second and everything (layout, pinned icons, running apps) comes back as it was. Now click a stack such as Downloads: as you move the pointer over the grid, a soft grey rounded square follows it, exactly like the highlight you get when navigating a stack with the arrow keys.

Undo it

# remove the tweak, back to stock behavior
defaults delete com.apple.dock mouse-over-hilite-stack
killall Dock

Deleting the key returns the stack to its default, highlight-free hover. (Writing -bool false works too; deleting is cleaner because it removes the custom key entirely.)

Why Apple ships it off — and why you'll keep it on

This is one of macOS's oldest hidden preferences — it has worked since the stacks feature debuted and still works on macOS 13 Ventura through 15 Sequoia. The highlight is genuinely useful in grid view, where a Downloads stack can show 30+ items in a wall of icons: the moving highlight confirms your target before you commit, the same affordance every menu in macOS already has. In fan view the effect exists but matters less (the fan is small and the labels are large); in list view, items highlight natively anyway. There's no downside — no performance cost, no layout change — which makes it a mystery why it never became a checkbox.

Set your stacks up to benefit

To get the most from the highlight, make sure your busy stacks actually use grid view:

  1. Right-click a stack in the Dock (Downloads is the classic).
  2. Under View content as, choose Grid — or Automatic, which switches to grid once the folder has more than a handful of items.

Grid view plus hover highlight plus a sensible sort order is the difference between a stack you actually use and one you forgot exists. For the sort half of that equation, see sorting a Dock stack.

Hidden polish, one click

This tweak is a single labelled toggle in Mainspring — along with 90+ other hidden macOS settings, each one reversible with the same switch that turned it on.

Try Mainspring free →

Signed & notarized by Apple · 1-day free trial · $29 once

More where that came from

The Dock's preference file hides a dozen tweaks like this one — dimming hidden apps, a secret minimize effect, scroll-to-open. The full tour is in 15 Terminal commands to customize the Dock.