Mac Dock Icon Size and Spacing: How to Actually Customise It
macOS gives you one slider for dock icon size and nothing for spacing. Here's how to go further.
macOS gives you exactly one control for dock icon size: a slider in System Settings → Desktop & Dock, ranging from small to large with no numbers attached. There's no spacing control at all. If you want precise icon sizing, independent spacing, or per-monitor layouts, you need to go outside System Settings entirely.
What the native macOS dock actually lets you change
Open System Settings → Desktop & Dock and you'll find:
- Size — an unlabelled slider. In practice this goes from roughly 16px to 128px, but you can't type a number.
- Magnification — icons grow on hover, with a second slider for the max size.
- Position — Bottom, Left, or Right.
- Automatically hide and show — a toggle, with no delay control.
That's it. There's no spacing control, no per-monitor sizing, no way to add visual separators between groups of apps, and no way to set a precise pixel size. The slider is intentionally vague — Apple's view is that you shouldn't need to think about it.
For most people, that's fine. For anyone running multiple monitors, a cramped 24-inch display, or a dock with 20+ apps that's impossible to scan, it isn't.
How to set an exact dock icon size from Terminal
You can set a precise icon size using a defaults write command. Open Terminal and run:
bash defaults write com.apple.dock tilesize -int 48 killall Dock
Replace 48 with any number between 16 and 128. The killall Dock line restarts the dock so the change takes effect immediately.
To reset to the system default:
bash defaults delete com.apple.dock tilesize killall Dock
This works on macOS Sonoma and Sequoia. It's the only native way to get a specific pixel size — the slider in System Settings writes to the same key, just without telling you what value it's writing.
Spacing has no equivalent defaults key. Apple doesn't expose it. If you want to add breathing room between icons, the only native workaround is adding invisible spacers.
How to add spacers to the macOS dock
A spacer is a transparent, non-clickable gap you can drag into position between apps. Add one with:
bash defaults write com.apple.dock persistent-apps -array-add '{tile-data={}; tile-type="spacer-tile";}' killall Dock
Run that command once per spacer you want. They appear at the right end of your dock — drag them left to where you want them. To remove a spacer, drag it off the dock the same way you'd remove any app.
This solves the "I need to visually separate my work apps from personal apps" problem reasonably well. It doesn't give you actual spacing control — you're adding empty slots, not changing the gap between icons.
Why these workarounds have limits
The Terminal approach gets you a precise size, but it applies to every monitor at once. If you have a 27-inch external display and a 13-inch MacBook screen, you probably want different icon sizes on each — macOS won't do that.
Spacers work, but they're fragile: macOS sometimes loses them after a restart or when you disconnect a monitor. And neither approach solves the underlying issue of a dock that's hard to navigate when it's full.
What Dockish does differently
Dockish is a full dock replacement for macOS that treats icon size and spacing as first-class settings rather than afterthoughts. A few specifics:
- Icon size: set anywhere from 24px to 96px using an actual number input, not a slider.
- Spacing: a dedicated spacing control that adjusts the gap between icons independently of size.
- Magnification: configurable magnification on hover, like the native dock but tunable.
- Per-monitor layouts: each display can have its own dock with its own icon size. Your external monitor dock can run at 52px while your laptop dock runs at 40px.
- Dividers and spacers: add proper visual dividers between app groups without the Terminal workaround.
- Themes: glass, dark, light, or a custom tint colour — so the dock actually fits your setup.
It also solves the multi-monitor problem that the native dock doesn't: Dockish puts a full dock on every connected display simultaneously, rather than the native behaviour of moving a single dock to whichever screen you're mousing around on. If you've ever done the long mouse trip from a secondary monitor back to your main display just to launch an app, that alone is worth the switch.
Dockish is $6.99 one-time (7-day free trial, no credit card required) and runs on macOS 14 Sonoma or later.
When to stick with the native dock
If you just want your icons slightly bigger and you're happy with a single monitor, the defaults write Terminal command is genuinely all you need. It takes 30 seconds and costs nothing.
Spacers are also worth using if you're on a single display and just want to visually group your apps — imperfect, but functional.
The native approach falls apart when you have multiple monitors, when you want different configurations for docked vs undocked, or when you simply want to set a size and know it'll stick.
Common questions
What's the maximum dock icon size on macOS?
The native dock supports icon sizes up to around 128px, set either via the slider in System Settings → Desktop & Dock or with defaults write com.apple.dock tilesize -int 128 in Terminal. In practice, icons above 96px tend to look oversized on most displays — the sweet spot for most monitors is 48–64px.
Can you change dock icon spacing on Mac without third-party apps?
No — macOS doesn't expose a spacing control anywhere in System Settings or via a defaults key. The only native option is adding invisible spacer tiles using a Terminal command, which creates empty slots rather than changing the actual gap between icons. Third-party dock replacements like Dockish include a proper spacing slider.
Does changing dock icon size affect performance?
No. Dock icon size is a cosmetic setting and has no measurable effect on macOS performance. Very large icon sizes (above 96px) can make magnification animations feel slightly heavier on older hardware, but for normal use it makes no difference.