Rearranging menu bar icons on a Mac, and why some refuse to move

· 6 min read

The menu bar fills up, the icons end up in an order nobody chose, and the one you use most is squeezed between two you never click. Reordering is possible, with a modifier key that is not signposted anywhere.

The gesture

Hold Command, then drag the icon along the bar. Release where you want it.

That works for most status items, both Apple’s and third-party ones. Without Command held, dragging does nothing, which is why many people conclude the order is fixed.

Command-dragging an icon off the bar removes it. That is the same gesture, and it is how icons disappear by accident. For Apple’s own items, removal means hidden until re-enabled in System Settings. For third-party apps, it varies: some treat it as a request to hide, others ignore it.

Which ones will not move

Three categories resist.

The clock and Control Centre. These are anchored at the right end and cannot be moved or removed. Control Centre can be reduced in what it contains but not relocated.

The menu bar extras of the active application. The left half of the bar belongs to whichever app is frontmost. Those are menus, not status items, and their order is set by the application.

Some third-party items that manage their own position. An app can ask to be placed in a particular spot, and one that insists will return there.

Where macOS keeps the order

Positions are stored as preferences, and they are readable. This is Control Centre’s own record:

defaults read com.apple.controlcenter | grep "Preferred Position"

On a typical Mac that produces something like:

"NSStatusItem Preferred Position Battery" = 255;
"NSStatusItem Preferred Position Bluetooth" = 363;
"NSStatusItem Preferred Position FocusModes" = 327;
"NSStatusItem Preferred Position NowPlaying" = 330;

The numbers are horizontal positions measured from the right, so a smaller number sits further right. Battery at 255 is to the right of Bluetooth at 363.

Third-party apps store the same kind of key under their own domain:

defaults read com.example.appname | grep -i "Preferred Position"

You can write these values directly, though dragging is easier and less likely to produce a state the app does not expect. The reason to know the keys exist is diagnostic: an item that keeps returning to the same wrong place has a stored position, and deleting that key resets it.

defaults delete com.apple.controlcenter "NSStatusItem Preferred Position Bluetooth"

Log out and back in for the change to take effect. Do this only for items misbehaving; there is nothing to gain from clearing them wholesale.

Why order matters more than it should

The menu bar has no overflow. When space runs out, items are dropped rather than collected somewhere, and they are dropped from the left of the status area first.

So the order is not cosmetic. It is a priority list. Items you drag rightwards, closer to the clock, survive; items on the left disappear first when a wide application takes over the left half of the bar.

If an icon keeps vanishing, moving it right is the practical fix. When a menu bar icon disappears covers the rest of that problem.

A sensible arrangement

A layout that survives a crowded bar:

  • Furthest right, next to the clock: things you interact with several times a day.
  • Middle: things you glance at, such as a status you want visible.
  • Left of the status area: things you rarely click, which you would not miss if they were pushed off.

Then remove anything you have never clicked. Most menu bar collections contain three or four items installed by an application that assumed you wanted a status icon and never asked.

Where Punchcard sits

Punchcard puts one item in the menu bar and keeps it narrow, because the bar is scarce and an app that takes more space than it needs is the one you remove first. It responds to Command-drag like any other status item, so you can place it wherever suits.

If it is pushed off the bar, it keeps recording and still prints the receipt at your closing time; the icon is a way in, not the mechanism. That is deliberate, and it means a crowded menu bar costs you visibility rather than data. The best way to track time in the menu bar covers what a status item should do.

Questions

Command-drag does nothing for one particular icon. Either the app manages its own position, or the item is a menu belonging to the active application rather than a status item. Menus cannot be reordered.

I dragged an icon off by accident. How do I get it back? For Apple items, System Settings, Control Centre. For third-party apps, the app’s own settings, or quit and relaunch it.

Does the order carry across to an external display? Yes. The arrangement is per user rather than per display, and the same order appears on whichever display has focus.

Do the position numbers mean pixels? Approximately, measured from the right edge, and macOS treats them as relative ordering rather than exact placement. Two items with close values will be adjacent; the precise pixel is decided at draw time.