If you use Virtual Desktops or Spaces in macOS then you’ll notice that their arrangements often times change. This is because macOS by default sets to automatically rearrange Spaces by recent use. While this could be useful to some, it could get frustrating if it disrupts the flow of your work.

You can prevent this from happening and lock the arrangement by setting it up from Mission Control‘s preferences as the following;

  1. Open System Preferences from the Apple menu.
  2. Click on Mission Control.
  3. Notice that Automatically rearrange Spaces based on most recent use is enabled.
  4. Untick the checkbox for the option, and your Virtual Desktops / Spaces should no longer re-arrange by itself.