Skip to content
Windows 🟡 Intermediate

How to Change Desktop Icon Horizontal and Vertical Spacing in Windows 11

Richard
Written by
Richard
Updated 3 min read
How to change Desktop Icon Horizontal and Vertical Spacing in Windows 11
How to change Desktop Icon Horizontal and Vertical Spacing in Windows 11
Before you start
  • 10 steps
  • Needs administrator rights

Desktop icon spacing in Windows 11 controls the distance between items on your desktop grid. Windows stores each setting as a negative number. The default of -1125 works out to 75 pixels, because Windows divides the value by 15. A smaller number (closer to zero) packs icons tighter. A larger one, such as -2730, spreads them out.

You change these numbers in the Registry Editor, a tool for viewing and editing low-level Windows settings. This is useful when you want to fit more shortcuts on screen, or when long file names overlap the icon next to them.

Both settings belong to your own user account, so they do not affect other people who use the PC. They work the same on Windows 11 Home and Pro. Before you start, back up the registry: in Registry Editor, click File Export, choose All under Export range, and save the file somewhere safe. To undo any change, type the default value back in, or import that file.

⚡ Quick Answer

Open Registry Editor, navigate to 🗝️HKEY_CURRENT_USER\Control Panel\Desktop\WindowMetrics, and double-click IconSpacing or IconVerticalSpacing to enter a number between -480 and -2730 (default -1125). Sign out and back in to apply the change.

Advertisement

Option One

Change Desktop Icon Horizontal Spacing

This setting controls the side-to-side distance between your icons. Higher values give wider gaps between columns, and lower values squeeze them closer together.

  1. Click the search box on the taskbar, type regedit, and press Enter. If User Account Control asks for permission, click Yes. Your account needs administrator rights to approve that prompt. The Registry Editor window opens, with a folder tree on the left.
  2. Go to the location shown below. You can expand the folders in the left pane one by one, or paste the path into the address bar at the top of the window and press Enter. The folder opens and its values appear in the right pane.
Registry Editor showing the WindowMetrics path for desktop icon spacing
Registry Editor showing the WindowMetrics path for desktop icon spacing
  1. In the right pane, double-click the IconSpacing value. An Edit String box opens with the current number in it.
  2. In the Value data box, type a number between -480 and -2730, then click OK. The new number now shows next to IconSpacing in the right pane.
Advertisement
⚠️WarningThe default is -1125. The smallest gap is -480, and the largest gap is -2730. Always include the minus sign. A value outside this range, or one without the minus sign, can give you odd spacing or be ignored. If that happens, set the value back to -1125.
Edit String window to change desktop icon horizontal spacing in Windows 11
Edit String window to change desktop icon horizontal spacing in Windows 11
  1. Close the Registry Editor, then sign out of your account and sign back in. Your desktop icons now use the new horizontal spacing.
📝Good to KnowThe change does not appear until you sign in again, because Windows reads this value when your session starts. A full restart also works, but signing out is enough.
Advertisement

Option Two

Change Desktop Icon Vertical Spacing

This setting controls the up-and-down distance between your icons, so it changes the gap between rows. It is separate from the horizontal setting. You can change one, the other, or both.

  1. Click the search box on the taskbar, type regedit, and press Enter. If User Account Control asks for permission, click Yes. The Registry Editor window opens.
  2. Go to the location shown below. As before, you can expand the folders on the left or paste the path into the address bar. The values for that folder appear in the right pane.
Registry Editor showing IconSpacing settings for Windows desktop customization
Registry Editor showing IconSpacing settings for Windows desktop customization
  1. In the right pane, double-click the IconVerticalSpacing value. An Edit String box opens with the current number in it.
  2. In the Value data box, type a number between -480 and -2730, then click OK. The new number now shows next to IconVerticalSpacing.
Advertisement

The default is -1125. The smallest gap is -480, and the largest gap is -2730. Include the minus sign. If you want even spacing in both directions, use the same number here as you used for IconSpacing.

Edit String window for adjusting desktop icon vertical spacing in Windows 11
Edit String window for adjusting desktop icon vertical spacing in Windows 11
  1. Close the Registry Editor, then sign out of your account and sign back in. Your desktop icons now use the new vertical spacing.

Signing out ends your user session, and Windows applies the new layout when you sign back in. If you changed both values, you only need to sign out once, after the second edit.

Summary

Registry edits give you finer control over the desktop than the default settings offer. If the result looks wrong, set both values back to -1125 and sign in again to return to the standard layout.

Have a question about this guide?

Answered by AI from this guide. Good questions may be added to this page — please don't include personal details.

Tags: #Windows 11

Did this guide fix your problem?

Richard

About the Author

Richard

Tech Writer, IT Professional

Richard is a writer at Geek Rewind who turns complex IT tasks into clear, step-by-step guides. He draws on years of hands-on experience in system administration and enterprise IT operations, focusing on Windows, Linux and WordPress: the problems people actually run into, and the fixes that work. His server and WordPress guides come from systems he runs himself. Richard builds and maintains the platform behind Geek Rewind, from its Ubuntu servers and Nginx configuration to its custom WordPress plugins. Many new tutorials start with readers' questions, and he's always glad to answer them in the comments.

Advertisement

No comments yet — be the first to share your thoughts!

Leave a Comment

Your email address will not be published. Required fields are marked *