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

CarPlay Hero

Apple Releases Wireless CarPlay Fix

Wednesday April 16, 2025 11:28 am PDT by
If you have been experiencing issues with wireless CarPlay in your vehicle lately, it was likely due to a software bug that has now been fixed. Apple released iOS 18.4.1 today, and the update's release notes say it "addresses a rare issue that prevents wireless CarPlay connection in certain vehicles." If wireless CarPlay was acting up for you, updating your iPhone to iOS 18.4.1 should...
Beyond iPhone 13 Better Triad

Apple's 20th Anniversary iPhone May Finally Go All Screen

Tuesday April 15, 2025 6:31 am PDT by
Apple is preparing a "bold" new iPhone Pro model for the iPhone's 20th anniversary in 2027, according to Bloomberg's Mark Gurman. As part of what's being described as a "major shake-up," Apple is said to be developing a design that makes more extensive use of glass – and this could point directly to the display itself. Here's the case for Apple releasing a truly all-screen iPhone with no...
iOS 19 Roundup Feature

iOS 19 Will Add These New Features to Your iPhone

Tuesday April 15, 2025 7:37 am PDT by
The first iOS 19 beta is less than two months away, and there are already a handful of new features that are expected with the update. Apple should release the first iOS 19 beta to developers immediately following the WWDC 2025 keynote, which is scheduled for Monday, June 9. Following beta testing, the update should be released to the general public in September. Below, we recap the key...
maxresdefault

iPhone 17 Pro Launching Later This Year With These 12 New Features

Sunday April 13, 2025 7:52 am PDT by
While the iPhone 17 Pro and iPhone 17 Pro Max are not expected to launch until September, there are already plenty of rumors about the devices. Subscribe to the MacRumors YouTube channel for more videos. Below, we recap key changes rumored for the iPhone 17 Pro models as of April 2025: Aluminum frame: iPhone 17 Pro models are rumored to have an aluminum frame, whereas the iPhone 15 Pro and ...
iphone 16 pro models 1

17 Reasons to Wait for the iPhone 17

Thursday April 17, 2025 4:12 am PDT by
Apple's iPhone development roadmap runs several years into the future and the company is continually working with suppliers on several successive iPhone models simultaneously, which is why we often get rumored features months ahead of launch. The iPhone 17 series is no different, and we already have a good idea of what to expect from Apple's 2025 smartphone lineup. If you skipped the iPhone...
AirPods Pro 3 Mock Feature

AirPods Pro 3 Just Months Away – Here's What We Know

Friday April 18, 2025 5:16 am PDT by
Despite being more than two years old, Apple's AirPods Pro 2 still dominate the premium wireless‑earbud space, thanks to a potent mix of top‑tier audio, class‑leading noise cancellation, and Apple's habit of delivering major new features through software updates. With AirPods Pro 3 widely expected to arrive in 2025, prospective buyers now face a familiar dilemma: snap up the proven...
iOS 18

Apple Releases iOS 18.4.1 With Bug Fixes

Wednesday April 16, 2025 10:11 am PDT by
Apple today released iOS 18.4.1 and iPadOS 18.4.1, minor updates to the iOS 18 and iPadOS 18 operating systems that came out last September. iOS 18.4.1 and iPadOS 18.4.1 come two weeks after the launch of iOS 18.4 and iPadOS 18.4. The new software can be downloaded on eligible iPhones and iPads over-the-air by going to Settings > General > Software Update. There have been complaints about ...
tvOS 18 Thumb 1

Apple Releases tvOS 18.4.1

Wednesday April 16, 2025 10:04 am PDT by
Apple today released tvOS 18.4.1, a minor update to the tvOS 18 operating system that came out last September. tvOS 18.4.1 comes two weeks after Apple released tvOS 18.4, and it is available for the Apple TV 4K and Apple TV HD models. tvOS 18.4.1 can be downloaded using the Settings app on the ‌Apple TV‌. Open up Settings and go to System > Software Update to get the new software....
iPhone Security Feature 25

Five iPhone Security Features You Should Be Using

Wednesday April 16, 2025 4:15 pm PDT by
Apple has quite a few security features that it's added to iPhones, iPads, and Macs over the years. Now more than ever, it's important to make sure you're taking advantage of the built-in security tools that are available to keep yourself and your data safe, so we've rounded up a list of the most important options. If you don't already have these enabled, you might want to consider turning...