Make an app always open on the same desktop (Mac)

macOS can tie an app to one desktop: Control-click the app in the Dock and choose Options > Assign To > This Desktop. It works for apps in the Dock and only decides where the app opens. Below is how to set it up, where it falls short, and what Spacepal adds.

How do you assign an app to a desktop?

  1. You need at least two desktops. Add one in Mission Control if needed (see add, remove and reorder desktops).
  2. Go to the desktop where the app should live.
  3. Open the app so its icon is in the Dock, then Control-click the icon.
  4. Choose Options > Assign To > This Desktop.

The other choices are All Desktops, which shows the app's windows on every desktop, and None, which removes the assignment. Apple describes it in Work in multiple spaces.

Why does the app still open on the wrong desktop?

When you click an app that lives on another desktop, macOS may switch you there. That is a separate setting; see stop your Mac jumping desktops when you click an app.

How does Spacepal keep apps on their Space?

In Spacepal, open Settings > Spaces, pick a Space and add apps under Apps that belong here. New windows of those apps are moved to that Space when they appear, and the rule follows the Space even if desktops are reordered, because Spacepal tracks each Space by its id rather than its position. Moving windows this way works on macOS 14.0 to 14.4 and 26.4 and later; on the versions in between, macOS does not allow it.

The same page can also open apps, URLs and files when you enter the Space, hide apps that have no window there, and reopen terminal and Chrome windows on their Space after a restart. See windows on the wrong desktop after a restart.

Written by Dan Bayer, developer of Spacepal. Last updated 2026-11-06.