sodcalculator

10 Tech How-To

Add Dividers to Separate Apps in Mac Dock

Guide 10-46416 · Updated · Step by step

Adding dividers to your Mac Dock is a simple way to visually group related apps, making it easier to find what you need at a glance. This guide shows you how to create thin, invisible spacers between apps using a quick Terminal command — no extra software required. You’ll also learn how to remove them if you change your mind.

What You’ll Need

  • A Mac running macOS (any recent version works, including Sonoma, Ventura, Monterey, and earlier).
  • Access to the Terminal app, located in Applications → Utilities.
  • No special permissions or admin rights are required — the command works with your regular user account.

Step-by-Step

  1. Open Terminal. Press Command (⌘) + Space to open Spotlight, type “Terminal,” and press Return. Alternatively, go to Applications → Utilities and double-click Terminal.
  2. Copy the divider command. The command uses a special Unicode character (a thin space) to create a transparent spacer. Copy the following line exactly, including the spaces between the quotes:
    defaults write com.apple.dock persistent-apps -array-add '{"tile-type"="spacer-tile";}'
  3. Paste and run the command. In the Terminal window, paste the copied line (right-click and select Paste, or press Command + V), then press Return. Nothing visible will happen yet — the command just adds a spacer entry to the Dock’s configuration.
  4. Restart the Dock. Type the following command and press Return:
    killall Dock

    This makes the Dock restart instantly. Your open windows and apps stay unaffected, but the Dock will briefly disappear and reappear.

  5. Find the new spacer. After the Dock reloads, you’ll see a thin, blank gap at the far right of the Dock’s app area (next to the last app icon). This is your divider.
  6. Move the divider. Click and drag the spacer to your desired position — between any two apps, or between an app and the Downloads folder area. The Dock will show a small gap where it will land; release to drop it.
  7. Add more dividers. Repeat steps 2–4 each time you want another spacer. Each run adds one divider.
  8. Remove a divider. Simply drag the spacer off the Dock (toward the desktop) and release. It disappears with a small poof animation, just like removing an app icon.

Common Mistakes

  • Typing the command incorrectly: The command is case-sensitive and must include the quotes and backslashes exactly as shown. A missing backslash or an extra space can cause an error or add a blank icon instead of a spacer.
  • Forgetting to restart the Dock: The spacer won’t appear until you run killall Dock. If you skip this step, you’ll wonder why nothing changed.
  • Dragging the spacer to the wrong side: The spacer only works in the main app area of the Dock. If you drag it to the right of the separator line (where the Trash and Downloads live), it won’t stay there.
  • Assuming the spacer is a visible line: The divider is invisible — it’s just empty space. Some users expect a vertical line, but the effect is a subtle gap.

Tips

  • Group by function: Place dividers before and after groups like “browsers,” “communication,” “creative apps,” or “utilities.” A typical setup might have one divider before your email app and another before your calendar.
  • Use multiple spacers for wider gaps: If you want a more pronounced separation, add two or three spacers in a row. They stack to create a larger blank area.
  • Combine with folders: For a cleaner Dock, you can also create a folder of related apps (drag one app onto another) and then use dividers to separate that folder from the rest.
  • Reset if things get messy: If you ever want to remove all custom spacers at once, you can reset the Dock to its default layout by running defaults delete com.apple.dock followed by killall Dock. This removes all your customizations, so use it only when you want a fresh start.

Troubleshooting

  • The spacer doesn’t appear after running the command: First, double-check that you ran killall Dock. If it still doesn’t show, make sure you copied the command exactly — a common error is using a regular space instead of the correct syntax. Try pasting the command again, then restart the Dock.
  • Terminal shows “Command not found” or an error: This usually means a typo. Look closely at the command: it must start with defaults and include the escaped quotes (\"). If you’re still stuck, copy the command from this page directly into Terminal to avoid transcription errors.
  • The spacer appears as a blank icon instead of a gap: This happens if the tile-type is misspelled. Ensure it’s exactly spacer-tile (with a hyphen). If you see an empty square, drag it off the Dock to remove it, then re-add with the correct command.
  • The Dock doesn’t restart after killall Dock: If the Dock doesn’t reload within a few seconds, press Command + Option + Escape to open the Force Quit window, select “Dock,” and click “Relaunch.” This is a safe operation — your open apps are unaffected.
  • The spacer won’t stay where I drag it: Make sure you’re dropping it between two apps, not on top of one. The Dock will show a small gap indicating where it will land. If you drop it on an app, it may be rejected.

Frequently Asked Questions

Can I add dividers without using Terminal?

No, the standard macOS interface doesn’t offer a drag-and-drop spacer. Terminal is the only built-in method. Third-party apps can add visual separators, but they require installation and may not be necessary for most users.

Will the dividers survive a macOS update?

Generally, yes. The spacers are stored in your Dock preferences, which are preserved during updates. However, if you ever reset your Dock or restore from a backup, you may need to re-add them.

Can I name or label the dividers?

No, the spacer tiles are blank by design. They’re meant to be invisible. If you want visible labels, consider creating a folder with a custom name and placing it in the Dock.

How many dividers can I add?

There’s no practical limit. You can add as many as you like, though too many will clutter the Dock and reduce space for actual apps.

Does this work on macOS Sequoia or the latest beta?

Yes, the command has remained unchanged for many years and works on all current versions, including macOS Sequoia. Apple hasn’t deprecated the spacer-tile feature.

Can I move a divider to the right side of the Dock (near Trash)?

No, the spacer only works in the main app area. The right side (after the separator line) is reserved for the Downloads folder, Trash, and minimized windows. You can’t place spacers there.

Related

General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.

More in this bed

The whole Tech How-To bed →