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

16 pro

Apple Announces iPhone 16 Pro and iPhone 16 Pro Max with Larger Displays, New Camera Control, and More

Monday September 9, 2024 11:13 am PDT by
Apple today announced the iPhone 16 Pro and iPhone 16 Pro Max—its latest flagship smartphones—featuring larger displays, an all-new Camera Control button, and the A18 Pro chip. The iPhone 16 Pro has a 6.3-inch display, while the iPhone 16 Pro Max features a 6.9-inch display—the biggest iPhone display ever. The borders around the display are the thinnest of any Apple device. The...
Glowtime Live Coverage Article 1

Apple Event Live Blog: iPhone 16, Apple Watch 10, and New AirPods!

Monday September 9, 2024 9:21 am PDT by
Apple's "It's Glowtime" event kicks off today at 10:00 a.m. Pacific Time, where we're expecting to see the iPhone 16 lineup and some updated Apple Watch and AirPods models unveiled, and perhaps some other announcements. Apple is providing a live video stream on its website, on YouTube, and in the company's TV app across various platforms. We will also be updating this article with live blog...
airpods max 2024 colors

Apple Updates AirPods Max With USB-C Port and New Colors

Monday September 9, 2024 10:36 am PDT by
Apple today announced that the AirPods Max are being updated with a USB-C charging port and new color options, including Midnight, Blue, Purple, Orange, and Starlight. In addition, Apple said the AirPods Max are gaining support for Personalized Spatial Audio with the upcoming iOS 18 software update. The updated AirPods Max will be available to pre-order for $549 starting today, and the...
iphone 16 pro pro max

First iPhone 16 Carrier Deals Include iPhone 16/16 Pro For Free, $1,000 Off iPhone 16 Pro Max

Monday September 9, 2024 3:18 pm PDT by
Apple today announced the latest lineup of iPhones, including the iPhone 16, iPhone 16 Plus, iPhone 16 Pro, and iPhone 16 Pro Max. Pre-orders for these devices begin September 13, and if you plan on ordering from a cellular carrier in the United States, there will be plenty of options for discounts from the major carriers. AT&T is offering the iPhone 16 and iPhone 16 Pro at no cost with...
Screenshot 2024 09 09 at 6

Apple Announces Thinner Apple Watch Series 10 With Bigger Screen Than Ultra

Monday September 9, 2024 10:11 am PDT by
Apple at its event today announced the Apple Watch Series 10, featuring a wide-angle OLED display that is larger than the Apple Watch Ultra, with the company describing it as the "biggest display and thinnest design ever." The Series 10 is 9.7mm thick, which is nearly 10% thinner than Series 9, and it weighs 20% less than the Stainless Steel Series 9. The Aluminum cases also weigh up to 10%...
sonny iphone 16 pro colors

New iPhone 16 and iPhone 16 Pro Colors Revealed Ahead of Apple Event

Friday September 6, 2024 5:01 am PDT by
Apple is "shaking up its color palette" for its iPhone 16 lineup this year, according to well-connected Bloomberg reporter Mark Gurman. Early iPhone 16 Pro dummy models via Sonny Dickson According to Gurman, the iPhone 16 Pro models will come in a Gold Titanium to replace Blue Titanium, while the Black, White, and Natural Titanium options that debuted with the iPhone 15 Pro will remain...
iphone 16 lineup colors

Apple Discontinues iPhone 15 Pro, iPhone 15 Pro Max and iPhone 13

Monday September 9, 2024 2:09 pm PDT by
With the launch of the new iPhone 16, iPhone 16 Plus, iPhone 16 Pro, and iPhone 16 Pro Max, Apple has discontinued some of its older iPhones. As of today, Apple is no longer selling the iPhone 13, and the iPhone 15 Pro and iPhone 15 Pro Max have been replaced with the iPhone 16 Pro and iPhone 16 Pro Max. The iPhone SE remains as Apple's most affordable device, with the iPhone 14 and iPhone...