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

Delta Feature

Delta Game Emulator Now Available From App Store on iPhone

Wednesday April 17, 2024 9:58 am PDT by
Game emulator apps have come and gone since Apple announced App Store support for them on April 5, but now popular game emulator Delta from developer Riley Testut is available for download. Testut is known as the developer behind GBA4iOS, an open-source emulator that was available for a brief time more than a decade ago. GBA4iOS led to Delta, an emulator that has been available outside of...
iOS NES Emulator Bimmy Feature

NES Emulator for iPhone and iPad Now Available on App Store [Removed]

Tuesday April 16, 2024 11:33 am PDT by
The first approved Nintendo Entertainment System (NES) emulator for the iPhone and iPad was made available on the App Store today following Apple's rule change. The emulator is called Bimmy, and it was developed by Tom Salvo. On the App Store, Bimmy is described as a tool for testing and playing public domain/"homebrew" games created for the NES, but the app allows you to load ROMs for any...
iPhone 15 Pro Action Button Translate

All iPhone 16 Models to Feature Action Button, But Usefulness Debated

Tuesday April 16, 2024 6:54 am PDT by
Last September, Apple's iPhone 15 Pro models debuted with a new customizable Action button, offering faster access to a handful of functions, as well as the ability to assign Shortcuts. Apple is poised to include the feature on all upcoming iPhone 16 models, so we asked iPhone 15 Pro users what their experience has been with the additional button so far. The Action button replaces the switch ...
maxresdefault

Hands-On With the New App Store Delta Game Emulator

Wednesday April 17, 2024 12:19 pm PDT by
A decade ago, developer Riley Testut released the GBA4iOS emulator for iOS, and since it was against the rules at the time, Apple put a stop to downloads. Emulators have been a violation of the App Store rules for years, but that changed on April 5 when Apple suddenly reversed course and said that it was allowing retro game emulators on the App Store. Subscribe to the MacRumors YouTube channel ...
iOS 18 Siri Integrated Feature

iOS 18 Will Add These New Features to Your iPhone

Friday April 12, 2024 11:11 am PDT by
iOS 18 is expected to be the "biggest" update in the iPhone's history. Below, we recap rumored features and changes for the iPhone. iOS 18 is rumored to include new generative AI features for Siri and many apps, and Apple plans to add RCS support to the Messages app for an improved texting experience between iPhones and Android devices. The update is also expected to introduce a more...