You can add blank spacers to the Mac OS X Dock by issuing a defaults write command in the Terminal. This allows you to customize the appearance of the Dock a bit, as each spacer is about the same width as an icon would be, except nothing takes the place of the space, it simply separates other Dock icons.



You can see the effect in the screenshots attached to this article, where spacers are inserted, visible as gaps in the Dock of Mac OS X between various icons.

How to Add Spacers to the Dock in Mac OS X

This works to create spaces in the Dock for all versions of Mac OS X, here’s what you’ll want to do:

Launch the Terminal application in /Applications/Utilities/ To get a single spacer, copy and paste the following command into the Terminal: defaults write com.apple.dock persistent-apps -array-add '{"tile-type"="spacer-tile";}' You then must kill and relaunch the Dock to have the spacers appear, you can do this with the following command: killall Dock The effect is immediate, and a spacer appears that you can move around in the Dock yourself

If you want multiple spacers, just issue the defaults write command the same number of times. For example, if you want 5 spacers, you’d issue the command five times, then kill the Dock for changes to take effect.

Instead of repasting the command, you can do this by hitting the “Up” arrow on your keyboard within the Terminal to bring up the previously executed commands, just hit UP until you see the defaults write string and then hit return again.

The Dock spacers can be moved by simply dragging them around the Dock like any other icon. Likewise, you can remove the spacers by simply dragging them out of the Dock.

This works in literally every version of Mac OS X, it doesn’t matter what the system software is. It’s a great tip that offers a nice way to customize the Dock appearance a bit, so thanks for the tip TJ!