How to Stop Mac Finder from Auto-Rearranging Desktop Icons on Restart
There is a special kind of mild fury reserved for Monday mornings when you open your MacBook lid, mug of coffee in hand, expecting your carefully organized work files, only to find them shoved into a chaotic pile on the right side of your screen.
Last month, my desktop looked like a digital tornado hit it every single time I rebooted my M2 Mac mini. My project folders on the left, my quick-access utilities on the bottom, and my active screenshots on the top? All smashed together in alphabetical order against my will. I spent ten minutes every morning dragging them back. It drove me absolutely nuts.
If you are dealing with this right now, breathe easy. You aren't losing your mind, and your Mac isn't possessed. It is usually caused by a weird quirk in macOS View Options, a buggy preference file, or a sync hiccup between your display scaling and iCloud. Here is how I finally put a stop to the madness and forced macOS Finder to remember my setup for good.
The Hidden Culprit: Why macOS Keeps Moving Your Files
Why does Finder pull this stunt? It usually comes down to how macOS handles screen real estate and file indexing during bootup.
When your Mac starts up, Finder launches slightly before your display resolution and graphics drivers fully load—especially if you use an external display or a dock. If Finder thinks your screen size changed even for a millisecond, it freaks out. It assumes your icon positions won't fit on the screen anymore and slams everything back into default grid positions.
Other times, a conflict between your "Sort By" and "Clean Up By" settings is silently overruling your preferences. Or worse, your Finder preference file got corrupted during a recent software update.
Let's walk through the exact steps I took to fix it, ordered from the simplest tweak to the most thorough solution.
Step 1: Tweak Your Desktop View Options
Nine times out of ten, the problem stems from a subtle setting hiding in plain sight on your desktop screen.
- Minimize or hide all open windows so you are looking directly at your desktop wallpaper.
- Right-click (or Control-click) any blank space on your desktop.
- Hover over Sort By and make sure it is set to None. If it is set to Name, Date Created, or Kind, macOS will constantly rearrange your icons automatically.
- Right-click the blank space again and select Show View Options (or press
Cmd + J). - In the floating panel that pops up, set the Sort by dropdown menu to None.
- You can check Snap to Grid if you like straight rows, but avoid any option that forces automatic sorting.
Pro Tip: If you use "Snap to Grid", keep your grid spacing generous. If icons are dragged too close together, Finder might panic upon reboot and dump them into default positions because it detects an overlap.
Step 2: Delete Corrupted Finder Preferences
If changing your View Options did not stick, your Finder preference file (the .plist file) is likely glitchy. This happens more often than Apple likes to admit. Deleting this file forces macOS to create a brand new, clean preferences file from scratch.
Here is how to clear out the broken file without losing any actual documents:
- Open Finder.
- Click on Go in the top menu bar, hold down the Option key on your keyboard, and click Library (it only appears while holding Option).
- Open the Preferences folder inside Library.
- Scroll down and locate the file named
com.apple.finder.plist. - Drag
com.apple.finder.pliststraight to the Trash. - Now restart Finder. Click the Apple logo in the top left corner, select Force Quit, highlight Finder, and click Relaunch.
Once Finder restarts, set your desktop icons where you want them, then reboot your Mac to test if the layout stays put. In my case, this was the exact step that solved the issue on my workstation.
Step 3: Fix Display Resolution and iCloud Sync Glitches
Still having trouble? The issue might be external hardware or cloud syncing. When I hooked up my 4K Dell monitor, my MacBook Air started shuffling icons every time I unplugged the USB-C cable.
Stop iCloud Drive from Messing with Desktop Layouts
If you have "Desktop & Documents Folders" turned on in iCloud Drive, your desktop layout is constantly syncing across devices. If your iPad or another Mac has a different screen resolution, it can scramble your main display.
- Open System Settings > click your Apple ID (your name) > iCloud.
- Click on iCloud Drive.
- Toggle off Desktop & Documents Folders temporarily to see if the layout stabilizes.
Mind Your External Display Connection
If you use an external monitor:
- Turn on your monitor before booting up or waking your Mac from sleep.
- Avoid changing display resolutions while files are scattered near the screen edges.
- Always leave a safety margin of empty space around the bottom and right edges of your desktop.
Step 4: Use Terminal to Lock Your Desktop File Layout
If macOS is being absurdly stubborn, you can lock the hidden system file that stores your desktop icon coordinates.
- Arrange your desktop icons exactly how you want them.
- Open Terminal (press
Cmd + Spaceand typeTerminal). - Paste the following command and press Enter:
chflags uchg ~/Desktop/.DS_Store
This locks your .DS_Store file, telling macOS not to modify this layout under any circumstances. If you ever want to unlock it in the future to save a new layout, just run chflags nouchg ~/Desktop/.DS_Store in Terminal.
Frequently Asked Questions
Why do my Mac icons keep moving to the right side automatically?
By default, macOS aligns all new files, connected drives, and screenshots along the top-right corner of your screen. If automatic sorting is enabled or if Finder resets due to a screen resolution shift during startup, it defaults to stacking everything on the right edge.
Will deleting com.apple.finder.plist erase my desktop files?
No, absolutely not. That file only stores Finder settings and window display choices, not your actual data. Once deleted, Finder simply generates a fresh default preferences file without touching your documents or folders.
Can third-party apps help save my desktop layout?
Yes! If you frequently switch between dual monitors and laptop mode, apps like DesktopIconManager or HiddenBar can save snapshots of your custom desktop layout and restore them with a single click whenever things get messy.
Final Thoughts
Dealing with desktop icon chaos is one of those tiny tech annoyances that can quietly ruin your focus before your workday even starts. Technology is supposed to work for us, not turn us into daily file coordinators!
Usually, turning off automatic sorting in View Options or wiping that tired old com.apple.finder.plist file will permanently fix the glitch. Give these steps a spin, reboot your machine, and hopefully, your desktop will look exactly as neat as you left it.
Did one of these fixes finally work for you? Send me a message or share what cleared up the chaos on your machine!
By the ReadyTips Team
We research, test, and write practical guides so you don't have to figure things out the hard way. Every article is reviewed by hand before publishing.