Icon view is the only Finder view where files can simply be anywhere: overlapping each other, half off-grid, or — the classic — stranded past the right edge of the window, where the only evidence they exist is a horizontal scroll bar. None of it is a bug. Finder’s icons don’t snap to a grid by default, and the fix is a setting it never turns on for you.
The one-time fix: Clean Up#
Right-click the empty background of the messy window (or open the View menu):
- Clean Up snaps every icon to the nearest grid spot, keeping the arrangement you had.
- Clean Up By → Name (or Kind, Date, Size, Tags) snaps and sorts in one go.
This repairs the current mess and changes nothing else — the very next file you drop in lands wherever you drop it, and the drift starts over. If these menu items are missing, the folder already has a sort order applied and doesn’t need cleaning.
Make it stick: Snap to Grid#
To have icons snap every time they’re moved:
- Open the folder and press ⌘J to open View Options.
- Set Sort By to Snap to Grid.
Now anything you drag lands squarely on a grid spot. You keep manual control of which spot — this is the setting for people who arrange folders spatially but want the arrangement tidy. Two things it won’t do: close up gaps (it’s a snap, not a sort) and rescue icons already sitting off-grid (run Clean Up once after enabling it).
While you’re in View Options, the Grid spacing slider sets how dense the grid is — worth nudging if your snapped icons feel too scattered or too cramped.
Or keep it sorted for good#
If you don’t care about manual placement, set Sort By to Name (or Date Modified, Kind…) instead. This is the strongest fix: icons reflow to fit the window when you resize it, new files slot into their sorted position, and nothing can drift, overlap, or escape past an edge — dragging an icon somewhere clever just sorts it right back. That last part is the trade-off: you’re giving up spatial arrangement entirely.
Apply it everywhere#
One folder is fixed. For the rest, click Use as Defaults at the bottom of View Options — every folder in Icon view now inherits these settings.
Almost every folder, anyway: any folder whose view you ever customized keeps its own saved settings, which override the defaults. Those live in the hidden .DS_Store file inside that folder. For a stubborn one, you can reset it from Terminal:
cd /path/to/stubborn/folder && rm .DS_Store && killall Finder .DS_Store throws away everything Finder remembered about that one folder — icon positions, window size, view choice — and it falls back to your defaults. That's the point, but there's no undo.Why Finder icons wander#
In Icon view, Finder stores an exact position for every icon, per folder, in that folder’s .DS_Store. The default sort is None — positions are wherever the icons ended up, and they’re absolute. Shrink the window and nothing reflows; icons keep their coordinates, now beyond the right edge, and Finder summons a horizontal scroll bar to reach them. Save a screenshot into a full desktop-sized window and it lands wherever there’s a free coordinate, not the next slot in any order.
Spatial memory is a deliberate, old-Mac-OS-flavored feature — some people genuinely arrange folders like a desk. But it means “lined up in a grid” is an opt-in state you have to enforce, folder by folder, forever.
The grid that can’t scatter#
Everything above is managing the mess. The other option is a grid view where the mess is impossible.
Cosmil