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
103 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
103 months ago
Great tip, didn’t know this. Big fan of these articles too. Thanks!
Score: 8 Votes (Like | Disagree)
opeter Avatar
103 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
103 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
103 months ago
Too bad I can't do this with my office cube neighbor :D
Score: 4 Votes (Like | Disagree)
cpjakes Avatar
103 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

Apple Logo Black

Apple Just Made Its Second-Biggest Acquisition Ever After Beats

Thursday January 29, 2026 10:07 am PST by
Apple today confirmed to Reuters that it has acquired Q.ai, an Israeli startup that is working on artificial intelligence technology for audio. Apple paid close to $2 billion for Q.ai, according to sources cited by the Financial Times. That would make this Apple's second-biggest acquisition ever, after it paid $3 billion for the popular headphone and audio brand Beats in 2014. Q.ai has...
Aston Martin CarPlay Ultra Screen

Apple's CarPlay Ultra to Expand to These Vehicle Brands Later This Year

Sunday February 1, 2026 10:08 am PST by
Last year, Apple launched CarPlay Ultra, the long-awaited next-generation version of its CarPlay software system for vehicles. Nearly nine months later, CarPlay Ultra is still limited to Aston Martin's latest luxury vehicles, but that should change fairly soon. In May 2025, Apple said many other vehicle brands planned to offer CarPlay Ultra, including Hyundai, Kia, and Genesis. At the time,...
14 inch MacBook Pro Keyboard

Apple Changes How You Order a Mac

Saturday January 31, 2026 10:51 am PST by
Apple recently updated its online store with a new ordering process for Macs, including the MacBook Air, MacBook Pro, iMac, Mac mini, Mac Studio, and Mac Pro. There used to be a handful of standard configurations available for each Mac, but now you must configure a Mac entirely from scratch on a feature-by-feature basis. In other words, ordering a new Mac now works much like ordering an...
imac video apple feature

Apple Unveils First New Products of 2026

Monday January 26, 2026 1:55 pm PST by
Apple today introduced its first two physical products of 2026: a second-generation AirTag and the Black Unity Connection Braided Solo Loop for the Apple Watch. Read our coverage of each announcement to learn more:Apple Unveils New AirTag With Longer Range, Louder Speaker, and More Apple Introduces New Black Unity Apple Watch BandBoth the new AirTag and the Black Unity Connection Braided...
apple unsold web store

Retail Accessories Apple Won't Sell You Now Available via New Site

Friday January 30, 2026 8:46 am PST by
A newly surfaced resale operation is seemingly offering Apple Store–exclusive display accessories to the public for the first time, potentially giving consumers access to Apple-designed hardware that the company has historically kept confined to its retail environments. Apple designs a range of premium MagSafe charging stands, display trays, and hardware systems exclusively for displays in ...