← GuidesMenu bar · 3 min read · updated November 25, 2026 · by Dom, who makes Desktop Goods

How to reduce the space between menu bar icons on Mac

Two Terminal commands shrink the gap between menu bar icons so more fit next to the notch, plus how to undo it.

macOS leaves a generous gap between menu bar icons. On a MacBook with a notch that means icons run out of room and simply vanish. There’s a hidden setting that tightens the spacing, no app needed.

Make the gaps smaller

Open Terminal and run these two lines:

defaults -currentHost write -globalDomain NSStatusItemSpacing -int 8
defaults -currentHost write -globalDomain NSStatusItemSelectionPadding -int 6

Then log out and back in (or restart) so every app picks it up.

  • NSStatusItemSpacing is the gap between icons. Smaller numbers pack them tighter. Values from 4 to 10 look reasonable.
  • NSStatusItemSelectionPadding is the highlight around an icon when you click it. Keep it a little smaller than the spacing.

Try a value, log out, look, and adjust. These are undocumented settings, so a future macOS update could change how they behave.

Undo it

defaults -currentHost delete -globalDomain NSStatusItemSpacing
defaults -currentHost delete -globalDomain NSStatusItemSelectionPadding

Log out and back in, and the default spacing is back.

Still too many icons?

Tighter spacing buys you a few slots. If your bar is still full:

  • Remove the ones you never click: on recent macOS, System Settings > Menu Bar lets you switch many items off. Or hold ⌘ and drag an icon off the bar.
  • Hide the rest behind a divider. Tuck (ours) adds one thin line: icons left of it are hidden until you click it or press ⌃⌘T. Ice is a free, open-source option that does much more.

More: menu bar icons hidden behind the notch and hiding menu bar icons.

Try it right here

Tuck, live in your browser

This is the real interface. Click around. If it fits, it's yours for $4.99 once, with free updates.

10 icons, right up against the notch
TuckShowing
Behaviour
Tuck again after 10 seconds
Tuck when your Mac starts
Try it: click the lime line in the menu bar

Related