Add Space Dock Mac

Looking to better organize the Dock in macOS? Perhaps adding a few spacers would do the trick. Adding spacers to your Mac’s dock is very simple and easy with just a couple of Terminal commands. It’s a great way to organize your Dock’s applications and provides it with a custom look and feel.

Add space between the app icons in your Dock

Step 1: Launch Terminal

Step 2: Type in the following command and press Return:

defaults write com.apple.dock persistent-apps -array-add '{tile-data={}; tile-type="spacer-tile";}'

Step 3: Type in the following command and press Return:

killall Dock

Your Dock will disappear momentarily, and when it comes back, you’ll see an empty blank space on the Dock. You can then drag this empty space to the desired location.

If you’d like to add multiple spaces to the Dock, you can repeat Step 2 as many times as you would like before executing Step 3. To remove a blank space, simple right-click on the space, and click Remove from Dock. You can also drag the space off of the Dock, hold, and release it to remove the space. Be sure to watch the video tutorial above for a start to finish tutorial showcasing how to add and remove spaces on your Dock.

What do you think? Would you consider using spaces to better organize your Mac’s Dock, or do you already use them? Sound off down below in the comments with your thoughts, recommendations, and opinions.

  • GuyWithTheThings

    Yes! I’ve been wanting to do this but couldn’t find a tutorial. Thanks Jeff! 😀

    • My pleasure

      • Andrew

        I have an issue Jeff 🙁 It won’t let me do more than one… I just repeat the commands, but nothing happens… Any ideas?

  • heyall

    how do you remove them if you don’t want it there d o ou just drag it out

    • Just drag them out and release like removing an app. Or, you can right click and remove.

  • Jordan Dixon

    defaults write com.apple.dock persistent-apps -array-add ‘{tile-data={}; tile-type=”spacer-tile”;}’

    use this if terminal can’t parse the command given in the article.

  • ready1take1

    I wish the option to pin the dock to a corner would be made available for Yosemite. It’s really upsetting that they took that feature away.

    • Chris

      I’m new to Mac. What do you mean pin to corner? I see in settings that you can have the dock on the bottom, left or right hand side?

  • Chris

    The first thing I did when I got my 2008 MBP in 2010 was add separators as I’d seen others with them, haven’t stopped using them since.

  • James G

    Any way to add a line separator like the one next to the trash bin?

  • dudewassup

    Can something this be done to the status bar, to better organize it’s contents?

  • Screen

    Is there a way to have multiple docks? Would be sick if you could have a dock on the left and right hand side with different apps on them.

  • Really? You need a terminal command to accomplish this little thing? I would expect this to be just a right-click away in the context menu…

    • It’s odd how many things like this require terminal commands. Baffles me as well.

  • David Kant

    Ehi Jeff, many Yosemite users have face a (presumably) bug that doesn’t let you move items in your dock. To sum up I can’t re organize my app in the dock and therefor I can’t take benefits of this useful Terminal Command that you showed today.
    Do you know how to fix this?

    • Weird, never heard of this bug before. Can you do a killall Dock and see if it works then?

      • David Kant

        Already done. Digging through forums it looks like it’s something related to pushbullet chrome extension, which would be hilarious actually.

  • Noah

    Do this for both commands at once:

    defaults write com.apple.dock persistent-apps -array-add ‘{tile-data={}; tile-type=”spacer-tile”;}’ && killall Dock

    Then, you can ↑ (up arrow) on the keyboard, to display the previous command, and Return, again.

    • Chris

      Running this will only allow you to add one separator at a time which is slow and redundant, you simply add them and kill the dock once you’re done.

  • Domodo

    Had them for a while, they make the Dock look so much better. 😀

  • Andrew

    I’m having an issue with this; it won’t let me add more than one 🙁

  • They’re too wide. 🙁