In macOS, the Dock provides convenient one-click access to your most frequently used Mac applications. The simplest way to organize docked apps is to click and drag them into your preferred place, but here we're going to show you a lesser-known trick for arranging docked items more clearly.

using spaces to arrange dock apps
To relate certain types of apps and add an extra visual clue to their location in the Dock, try inserting some spaces. Using this method, you could separate out other apps from, say, conversion tools that you frequently drag and drop files onto. Keep reading to learn how it's done.

How to Insert Spaces into the macOS Dock

  1. Launch the Terminal app found in Applications/Utilities. (To quickly open the Utilities folder in Finder, select Go -> Utilities from the menu bar, or use the key shortcut Shift-Command-U.)

  2. At the Terminal prompt, type the following command and press Enter: defaults write com.apple.dock persistent-apps -array-add '{"tile-type"="spacer-tile";}'; killall Dock
    macos terminal dock spaces

  3. Your Dock will reboot with a single space added to it. Click and drag the space to your desired location, just like a regular app icon.
    Screen Shot

  4. Repeat the Terminal command above to insert additional spaces and arrange them in your Dock to suit.

macos dock spacers
To remove a space from your Dock simply right-click (or Ctrl-click) it and select Remove from Dock. Alternatively, click and drag the space out of the Dock then let go of the mouse button to delete it.

Top Rated Comments

janfabry Avatar
49 months ago
To insert a small spacer, you specify "tile-type"="small-spacer-tile" (found on Ask Different ('https://apple.stackexchange.com/a/273540/654')).

An example with both widths:


To add them to the documents side instead of the apps side, use the key persistent-others instead of persistent-apps (found on Lifewire ('https://www.lifewire.com/add-custom-and-standard-doc-spacers-to-mac-2260861')).

Attachment Image
Score: 25 Votes (Like | Disagree)
keysofanxiety Avatar
49 months ago
Great tip, didn’t know this. Big fan of these articles too. Thanks!
Score: 8 Votes (Like | Disagree)
opeter Avatar
49 months ago
My problem with these separators is, that they take to much space (like a whole width of an icon).
Score: 6 Votes (Like | Disagree)
trollied Avatar
49 months ago
Dynamic spacer:

defaults write com.apple.dock persistent-apps -array-add '{"tile-type"="flex-spacer-tile";}'
Score: 5 Votes (Like | Disagree)
RightMACatU Avatar
49 months ago
Too bad I can't do this with my office cube neighbor :D
Score: 4 Votes (Like | Disagree)
cpjakes Avatar
49 months ago
I like this. Is there a way to group the icons together in a Stack, like the folders can do?
It's not as fancy, but I put aliases to grouped applications in a folder, then put those folders in the dock.
Score: 3 Votes (Like | Disagree)

Popular Stories

airtag in hand

Apple AirTag Linked to Increasing Number of Car Thefts, Canadian Police Report

Friday December 3, 2021 7:10 am PST by
Apple's AirTags are being used in an increasing number of targeted car thefts in Canada, according to local police. Outlined in a news release from York Regional Police, investigators have identified a new method being used by thieves to track down and steal high-end vehicles that takes advantage of the AirTag's location tracking capabilities. While the method of stealing the cars is largely ...
macbook pro 13 inch banner

Apple Planning Five New Macs for 2022, Including Entry-Level MacBook Pro Refresh

Sunday December 5, 2021 7:55 am PST by
Apple is working on five new Macs for launch in 2022, including a new version of the entry-level MacBook Pro, according to Bloomberg's Mark Gurman. In the latest edition of his "Power On" newsletter, Gurman said that he expects Apple to launch five new Macs in 2022, including: A high-end iMac with Apple silicon to sit above the 24-inch iMac in the lineup A significant MacBook Air...
MBA Mock White Front Blue

2022 MacBook Air Getting Major Display Upgrade With One Drawback

Friday December 3, 2021 3:01 am PST by
Apple's next-generation MacBook Air is reportedly set to bring over many of the new MacBook Pro's features, with one noticeable omission, according to recent reports. The latest MacBook Pro models feature a mini-LED "Liquid Retina XDR" display with deep blacks and support for up to 1,600 nits peak brightness. The display also features Apple's "ProMotion" technology, which is capable of...
m3 feature black

Macs With 'M3' Chips Expected to Use TSMC's 3nm Chip Technology With Test Production Reportedly Underway

Thursday December 2, 2021 7:36 am PST by
Apple's chipmaking partner TSMC has kicked off pilot production of chips built on its 3nm process, known as N3, according to Taiwanese supply chain publication DigiTimes. The report, citing unnamed industry sources, claims that TSMC will move the process to volume production by the fourth quarter of 2022 and start shipping 3nm chips to customers like Apple and Intel in the first quarter of...
apple watch series 7 aluminum colors

2022 Apple Watch Lineup Rumored to Include New Apple Watch SE and 'Rugged' Model for Sports

Sunday December 5, 2021 8:22 am PST by
Apple is planning an entire revamp of its Apple Watch lineup for 2022, including an update to the Apple Watch SE and a new Apple Watch with a rugged design aimed at sports athletes, according to respected Bloomberg journalist Mark Gurman. Writing in the latest installment of his Power On newsletter, Gurman said that for 2022, alongside the Apple Watch Series 8, Apple is planning an update to ...