You can customize the Mac Dock far beyond the basic System Settings by using hidden terminal commands, drag-and-drop tricks, and a few free utilities—this article shows you the cleverest ways to make it faster, cleaner, and more personal. You’ll learn how to add spacers, resize icons beyond Apple’s limits, hide it completely, change its position, and even make it transparent or 3D. These tweaks work on current macOS versions (Ventura and later) and most are reversible in seconds.
Why the Dock Feels Limited (and What You Can Actually Change)
Apple gives you a handful of Dock options in System Settings > Desktop & Dock: size, magnification, position (left, bottom, right), auto-hide, and which items appear. That’s it. But the Dock is just a regular app called Dock, and macOS exposes a long list of hidden preferences through the defaults command. These aren’t secret or unsupported—they’re simply not surfaced in the GUI. You can change the Dock’s animation speed, the delay before it appears, the size of folders, whether minimized windows use the “genie” or “scale” effect, and even the spacing between icons. The most powerful trick is the defaults write com.apple.dock command, followed by a key and a value, then killall Dock to restart it.
Adding Spacers and Separators (The Best Organizing Trick)
Spacers are invisible icons that push your Dock items into groups. They’re not a native feature, but you can create them with a simple Terminal command. Here’s how:
- Open Terminal (Finder > Applications > Utilities > Terminal).
- Type
defaults write com.apple.dock persistent-apps -array-add '{tile-data={}; tile-type="spacer-tile";}'and press Enter. - Type
killall Dockand press Enter.
This adds a blank space to the left of the divider (the app side). To add a spacer to the right side (the folder/trash side), replace persistent-apps with persistent-others. You can add as many as you like, and drag them around like normal icons. To remove one, just drag it off the Dock. A common use is placing a spacer before your most-used apps, after a group of related apps, or before the Trash to create a visual “end” to your workflow.
Resizing Icons Beyond the GUI Slider
The System Settings slider caps icon size at 128 pixels (and goes down to 16). With a terminal command, you can go much larger or smaller. The command is:
defaults write com.apple.dock tilesize -int 64; killall Dock
Replace 64 with any pixel size. Values between 1 and 512 work, though anything above 200 will likely make your Dock unusable. A practical use is setting a very small size (like 32) if you want a minimal, unobtrusive Dock, or a large size (like 96) if you’re on a high-resolution display and have trouble seeing icons. You can also set the magnification size separately with defaults write com.apple.dock largesize -int 128.
Making the Dock Transparent or Hidden (Minimalist Looks)
If you want a cleaner look, you can make the Dock’s background completely transparent. The command is:
defaults write com.apple.dock hide-mirror -bool true; killall Dock
This removes the translucent shelf behind the icons. Combined with a small tile size and auto-hide, you get a Dock that only appears when you mouse to the edge. To reverse it, set the value to false. Another popular tweak is changing the auto-hide delay—by default, the Dock waits about 0.5 seconds before sliding out. To make it instant, use:
defaults write com.apple.dock autohide-delay -float 0; killall Dock
To add a longer delay (useful if you keep accidentally triggering it), use a value like 2.0. You can also speed up the slide animation with defaults write com.apple.dock autohide-time-modifier -float 0.2.
Changing the Dock’s Position and Behavior (Beyond Left/Bottom/Right)
System Settings only lets you place the Dock at the bottom, left, or right edge. With defaults, you can also make it float over windows (instead of pushing them aside) by enabling the “automatically hide and show the Dock” option, which you can do in Settings. But there’s a hidden trick: you can make the Dock appear on any edge, including the top, by using a third-party tool like cDock or TinkerTool. These free utilities provide a GUI for many of the terminal commands, plus extras like making the Dock 2D (flat) instead of the default 3D look. Another behavior tweak is disabling the “minimize windows into application icon” feature—some people prefer minimized windows to appear as separate icons on the right side of the Dock. You can toggle this in System Settings > Desktop & Dock, or with defaults write com.apple.dock minimize-to-application -bool false.
Adding Folders and Stacks (Smart Organization)
You can drag any folder to the right side of the Dock (past the divider) to create a “stack.” Clicking it opens a fan, grid, or list view. To customize how a stack displays, right-click it and choose View As (Fan, Grid, List) and Sort By (Name, Date Added, etc.). A clever trick is to create a smart folder (a saved search) and add that to the Dock instead—it updates automatically. For example, create a smart folder for “all PDFs” or “recent screenshots” and you’ll always have quick access to those files without manual organizing. To make a stack show the folder’s icon instead of a preview, right-click and choose “Show as: Folder.”
Common Problems and Fixes
If a terminal command doesn’t seem to work, the most common issue is forgetting to restart the Dock with killall Dock. This command force-quits and relaunches it, applying your changes. If you accidentally set a value that makes the Dock unusable (e.g., an icon size of 0), you can reset the Dock to its default state with:
defaults delete com.apple.dock; killall Dock
This wipes all your customizations (including spacers) and restores Apple’s defaults. Another issue: some commands require you to log out and back in to take full effect, particularly those that change the Dock’s appearance (like transparency). If a command works but looks wrong, try logging out. Finally, if you’re on an older macOS version (pre-Ventura), some keys like hide-mirror may not exist—they were introduced in later versions.
Frequently Asked Questions
Can I make the Dock exactly like the one in macOS Mojave (2D flat)?
Yes, but not with a simple defaults command on recent macOS versions. The 2D look was removed after Mojave. You can use a third-party utility like cDock or TinkerTool to force a flat appearance, but these tools modify system files and may break after a macOS update. If you only want a flatter look, setting the Dock to auto-hide and using a small tile size often gives a similar minimal feel without third-party tools.
Will these terminal commands damage my Mac?
No, they only change user preferences stored in a plist file. They don’t modify system files or require admin privileges. The worst that can happen is a setting looks odd, which you can revert by running the same command with the original value or using defaults delete com.apple.dock to reset everything. Always restart the Dock after a change to see the effect.
How do I remove a spacer I accidentally added?
Just drag it off the Dock like any other icon. It will disappear with a poof animation. If you have many spacers and want to remove them all, you can reset the Dock entirely with defaults delete com.apple.dock; killall Dock, but that will also remove your custom app arrangement.
Can I add a spacer to the right side of the divider?
Yes. Use the same command but replace persistent-apps with persistent-others. This adds the spacer to the folder/trash side. You can mix both types freely.
Why does my Dock keep appearing even when “Automatically hide and show the Dock” is on?
This happens if you have “Magnification” enabled and your cursor is near the edge. The Dock appears when the cursor touches the edge, even if it’s hidden. To prevent this, either disable magnification or increase the autohide-delay (e.g., defaults write com.apple.dock autohide-delay -float 1.0) so it only appears after a deliberate pause.
Is there a way to make the Dock show only running apps?
No, macOS doesn’t have a built-in option to hide non-running apps from the Dock. You can manually remove apps you don’t want, but they’ll reappear if you open them. A workaround is to create a folder of all your apps on the right side and keep only the running apps on the left—but that’s manual. Third-party utilities like TinkerTool don’t offer this either.
Related
Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.
More cards in this drawer
- Supervised vs Unsupervised Learning Explained
- Reasons I Still Use a Raspberry Pi
- Misunderstood Games Worth a Second Chance
- Astronaut in the Apple Store?
- PSA Check if Your Power Station Is OK
- Toyota SUV Lineup Explained: Every Model