How to Stop macOS from Automatically Changing the Display Arrangement

The Dual Monitor Shuffle

macOS is generally excellent at handling multiple displays. However, if you use a dual-monitor setup (for example, a MacBook connected to an external screen) and frequently disconnect and reconnect the external monitor, macOS can sometimes get confused. Instead of remembering that the external monitor was physically positioned on the left side of your desk, it might automatically change the display arrangement and assume it is now on the right. This means when you drag your mouse off the left edge of your MacBook screen, it gets stuck, and you have to drag it off the right edge to access the external monitor, breaking your spatial workflow.

Locking the Display Arrangement

To maintain your physical workspace layout and stop macOS from automatically changing the virtual display arrangement every time you reconnect a monitor, you need to ensure the system correctly registers the hardware IDs.

First, physically connect both monitors. Click the Apple logo in the top-left corner and select System Settings. Click on Displays in the sidebar. You will see a visual representation of your monitors. Drag the monitor icons to match their physical layout on your desk (e.g., drag the external monitor to the left of the MacBook). If macOS continues to randomly swap them upon reconnection, the issue is often related to the “Spaces” feature. Go to Desktop & Dock in System Settings. Scroll down to the Mission Control section. Uncheck the box that says Automatically rearrange Spaces based on most recent use. This setting often inadvertently affects multi-monitor arrangements. Additionally, ensure you are using high-quality cables; faulty cables can cause the monitors to momentarily disconnect and reconnect in a different order, triggering the auto-arrange.

Get the best tech tips delivered straight to your inbox.

Join thousands of readers mastering Apple, Google, Microsoft, and Linux.