Editing the Mac Dock so the things you open live at the front
Wanting to edit the Dock on a Mac usually starts with a specific irritation. An icon that will not leave, an app that was removed by accident, a row that has grown so wide the icons have shrunk to the size of postage stamps. The mechanics take about two minutes to learn.
The harder part comes after. A Dock that has been edited but not decided stays crowded, because the thing that made it crowded was never the mechanics. It was the absence of a rule for what belongs there. This covers both: every way to change the Dock, and the one question that keeps it changed.
The two lines that decide where things go
The Dock is divided by separator lines, and dragging an item to the wrong side of one is the most common reason a drag appears to fail.
Add an item to the Dock: Drag apps to the left side of (or above) the line that separates the recently used apps. Drag files and folders to the right side of (or below) the other line that separates recently used apps. An alias for the item is placed in the Dock. Source: support.apple.com
Applications go on one side, files and folders on the other, and the middle section holds recently used apps that are not permanently in the Dock. Apple documents that middle section as showing up to three such apps, along with a folder for downloads.
Removing is the same gesture in reverse: drag the item out of the Dock until the word Remove appears. Only the alias is removed. The application itself stays on the Mac, which is the reassurance most people are looking for before they drag anything.
Recovering from an accidental removal is simple and not obvious. Open the app by any other means, so its icon reappears in the Dock while it is running, then Control-click that icon and choose Options, then Keep in Dock. The icon stays after the app quits.
Rearranging is a plain drag to a new position. Position is worth treating as a real decision rather than an afterthought, for reasons covered further down.
One icon cannot be moved or removed in the usual way: the Handoff icon, which appears near the right end when a matching app is open on an iPhone, iPad or Apple Watch. It is not a Dock item that was added, so it does not behave like one.
Every setting in the panel, and what it is for
The rest of the Dock is controlled from the System Settings app, under Desktop and Dock in the sidebar. The options are short in name and uneven in impact.
Size and Magnification are sliders. Size sets the resting width of the icons and Magnification enlarges the one under the pointer. Magnification is usually treated as decoration, but it earns its place in exactly one situation: a Dock too crowded to read at rest, which is a sign the icon count is the actual problem.
Dock position on screen places the Dock along the left, bottom or right edge. The left and right edges are worth trying on a widescreen display, where vertical space is the scarce resource and horizontal space is not.
Automatically hide and show the Dock removes it from view until the pointer reaches that edge of the screen. Apple's description is exact about the cost: showing it again requires moving the pointer to the edge. For a setup driven by the keyboard and Spotlight, that cost is never paid and hiding is free. For a setup driven by clicking Dock icons, it is a real slowdown on every trip.
Minimize windows into application icon collapses a minimised window onto its app icon instead of parking a separate thumbnail at the right end of the Dock. Turning it on keeps the Dock from growing every time something is minimised.
Show indicators for open applications puts a small dot under running apps. Animate opening applications makes icons bounce. Minimized windows animation and Window title bar double-click action, which offers Fill, Zoom, Minimize or No Action, are both preference rather than function.
Show suggested and recent apps in Dock is the one to look at first when the goal is a shorter Dock. It adds icons that were never chosen, toward one end, and turning it off leaves only the list that was decided deliberately.
The rule that keeps it short
Every icon added narrows the others and lengthens the visual search. Past a certain count, the Dock stops being a set of destinations and becomes a picture to be read, which is slower than typing a name.
One rule does most of the work:
An app earns a Dock slot when it is opened first thing and stays open all day. Anything opened once a week does not, and belongs in Spotlight instead.
Applied honestly this usually removes a third to a half of the icons, and it removes the right ones. The apps that survive are the ones reached by position and muscle memory, which is the only reason a Dock is faster than typing. The apps that leave are the ones that were being found by reading labels, which was never faster than Spotlight was.
The second pass is folders. A folder in the Dock can be viewed as a stack, and the Downloads folder is there by default. A project folder added as a stack often replaces three or four separate file icons, which is a net reduction even though it adds one item.
The third pass is honesty about duplicates. Two apps that do the same job, kept because switching never quite happened, occupy two slots and cause a moment of hesitation every time. Picking one and removing the other is worth more than any setting in the panel.
The Dock shortcuts that change what it is for
Most people use the Dock for one gesture, clicking an icon. Apple documents several others, and two of them change how useful a small Dock is.
Command-click an item to reveal it in the Finder rather than opening it. Useful for confirming which copy of an app an icon actually points to.
Option-click the current app's icon to switch to the previous app and hide the current one. Option-Command-click another app's icon to switch to it and hide everything else. That second one is the closest thing macOS has to a single app mode, and it works better with six icons than with twenty five.
Control-click any icon for its shortcut menu, which includes Show Recents and, for an app that has stopped responding, Force Quit. Force Quit from the Dock is faster than the keyboard route and worth knowing before it is needed.
Dragging a file onto an app icon opens that file in that app, which is the quickest way to open something in a program other than its default.
These gestures share a property worth naming. Every one of them depends on hitting the right icon without hesitating, and hesitation is a function of how many icons there are. A Dock trimmed to eight items makes all of them usable. A Dock of twenty five turns each one into a small search, at which point the keyboard is faster and the Dock has quietly stopped earning its space.
Why the Dock never quite gets clean
The rule above usually leaves a Dock that still feels wrong, and the reason is that it only covers applications. A large part of most working days happens on websites, and websites have no Dock icon at all. They live in a browser, behind one generic icon, in a tab strip that the Dock knows nothing about.
So the Dock ends up describing half the day accurately and the other half not at all. One icon stands for a task board, a shared inbox, a support queue, an accounting system and a client portal, all at once, and clicking it produces a browser rather than any of them.
Since macOS Sonoma 14, Safari can close that gap. File, then Add to Dock, turns the current page into a standalone app with a Dock icon of its own. Apple's documentation describes the result as functioning independently of Safari, sharing no browsing history, cookies, website data or settings with it, and notes that for sites which send notifications the Dock icon can show the number of unread items.
That last detail changes the Dock's job. An icon that carries a live count is worth a slot for a reason other than opening, which is a different and stronger claim on the space than most applications can make.
The built in route has edges. It uses Safari's engine, it does not sync to a second Mac, and every app is built by hand with the name and icon supplied one at a time. A tool that turns a website into a standalone Mac app covers those gaps by starting from a prepared preset instead of a blank dialog. More than 300 services ship as ready made entries, and the list on Supported services is a fair guide to which sites are worth a Dock slot at all. What the tool route adds over doing it manually is set out on Features, with the steps on the Guide.
Names and positions, so the Dock stops being read
Once the count is under control, two small decisions make the difference between a Dock that is scanned and a Dock that is used without looking.
Position first. Items reached constantly belong at the ends, because the ends are the only two positions that can be hit without counting. The left end and the position next to the Trash are findable by feel. The middle is not, which makes it the right home for things opened a few times a day rather than a few times an hour.
Names second. The name given to a web app becomes its Dock label, its entry in the Command Tab switcher, and the string typed into Spotlight to reach it. Three apps built from Google services and all named starting with Google produce three near identical rows everywhere those names appear. Putting the purpose or the account first, rather than the service, splits the first characters and cuts the typing.
Grouping third. Keeping all the site based apps together in one run, separate from the installed applications, gives the Dock two zones instead of one long list. Two short lists are read faster than one long one, even when the total is the same.
What to change first
Turn off Show suggested and recent apps in Dock, then remove every icon that fails the once a week test, dragging each one out until Remove appears. Then take the single site that occupies the most hours of the week and give it a Dock icon of its own through Safari's Add to Dock, so the Dock finally describes the whole day. If that first one works and the list grows, Kagemusha builds the rest from presets rather than one at a time.
Frequently asked questions
Does removing an icon from the Dock delete the app?
No. Apple's documentation is explicit that only the alias is removed and the actual item remains on the Mac. The app can still be opened from the Applications folder or from Spotlight, and its icon can be put back by opening it, then Control-clicking the icon and choosing Options, then Keep in Dock.
Why will an app not drop into the position it is dragged to?
The Dock has separator lines, and applications belong on one side while files and folders belong on the other. Dragging an app past the line into the files section, or a folder into the applications section, is rejected. Moving the drag back across the line resolves it.
How can the icons that appear on their own be stopped?
Those come from Show suggested and recent apps in Dock, in System Settings under Desktop and Dock. Turning it off leaves only the items that were added deliberately. The middle section otherwise shows up to three recently used apps that are not already in the Dock.
Is hiding the Dock a good idea?
It depends on how apps get opened. Hiding returns the screen space, and showing the Dock again requires moving the pointer to that edge of the screen. For someone who opens apps from the keyboard, that cost is never paid. For someone who clicks Dock icons all day, it is a real slowdown on every trip.
Can a website get its own Dock icon instead of hiding in the browser?
Yes. From macOS Sonoma 14 onward, Safari's File menu has Add to Dock, which creates a standalone app with its own icon, its own window and its own data store. Sites that send notifications can show an unread count on that icon. On older versions of macOS, a tool that turns a website into a standalone Mac app does the same job.