How to Stop Your Mac from Automatically Rearranging Desktop Icons

The Disappearing Desktop Layout

Many Mac users utilize their Desktop as a temporary workspace, placing specific project folders in the top-right corner, downloaded files in the bottom-left, and urgent documents directly in the center of the screen. This spatial memory is crucial for workflow. However, macOS has a frustrating tendency to occasionally scramble this layout. After a reboot, a software update, or connecting an external monitor with a different resolution, you might log in to find that macOS has automatically gathered all your carefully positioned icons and shoved them into a tight, alphabetical grid on the right side of the screen, destroying your organizational system.

How to Disable “Snap to Grid” and Auto-Sorting

The macOS Finder has built-in sorting options that force icons into a specific order. If these are active, macOS will constantly fight your attempts to place icons freely.

1. Go to your Mac’s Desktop and ensure no files are currently selected.

2. Right-click (or Control-click) anywhere on the empty desktop wallpaper.

3. In the context menu that appears, hover your mouse over Sort By.

4. A secondary menu will fly out. Ensure that None is selected. If it is set to “Name,” “Kind,” or “Snap to Grid,” the Mac will automatically reorganize your files.

5. Right-click the empty desktop again and click Show View Options.

6. A small window will appear. Look for the Sort by: dropdown menu and, once again, ensure it is set to None.

By explicitly setting the sorting method to “None,” you are instructing the Finder to respect the exact X and Y coordinates where you drop a file on the desktop.

Dealing with Multi-Monitor Resolution Changes

Even with sorting disabled, your icons might still move if you frequently connect your MacBook to different external displays. When macOS switches from a 4K monitor back to a smaller laptop screen, it physically does not have enough pixel space to keep the icons where they were, forcing it to compress the layout.

Unfortunately, Apple does not offer a native “lock desktop layout” feature to solve this hardware-induced shifting. If you frequently dock and undock your Mac, your best defense is to avoid placing critical icons near the extreme left or bottom edges of your largest monitor, keeping them closer to the top-right corner where the primary screen coordinates (0,0) originate, making them less likely to be displaced during a resolution change.

Get the best tech tips delivered straight to your inbox.

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