Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

Remove Gallery from File Explorer in Windows 11

· 6 min read · Home Tech

In this article
  1. What Is the Gallery in Windows 11?
  2. Why You Might Want to Remove It
  3. Method 1: Hide Gallery via Folder Options (Easiest)
  4. Method 2: Remove Gallery via Registry (More Permanent)
  5. What If the Gallery Still Shows Up?
  6. Does Removing Gallery Affect My Photos?
  7. Alternatives to Removing the Gallery
  8. Frequently Asked Questions

To remove the Gallery from File Explorer in Windows 11, you can hide it via the Folder Options dialog or, if you prefer a more thorough removal, use a registry tweak. The quickest method that works for most users is opening Folder Options and unchecking the Gallery item under the View tab.

The Gallery is a built-in view in File Explorer that displays all photos and videos from your PC's Pictures folders, OneDrive, and other indexed locations in a single chronological feed. It was introduced with Windows 11 version 23H2 and later updates, replacing the older "Pictures" library shortcut in the navigation pane. The Gallery is designed to make it easier to browse media without opening a separate app, but many users find it redundant or cluttered, especially if they already use the Photos app or third-party viewers.

Unlike a regular folder, the Gallery is a virtual collection—it doesn't contain actual files, just shortcuts to media stored elsewhere. This means hiding it doesn't delete any photos or videos; it only removes the shortcut from the sidebar.

Why You Might Want to Remove It

There are several common reasons people want to get rid of the Gallery:

  • Cluttered sidebar: The Gallery adds an extra item to an already busy navigation pane, especially if you also have Quick access, OneDrive, and network locations.
  • Privacy: The Gallery automatically aggregates media from multiple folders, which can expose thumbnails of photos you'd rather not see in a file manager.
  • Performance: On some lower-end PCs, the Gallery can cause slight lag when File Explorer opens because it indexes and generates thumbnails.
  • Preference for classic layout: Many users prefer the traditional folder tree and find the Gallery redundant with the existing Pictures folder.

Whatever your reason, Windows 11 gives you a couple of ways to hide or remove it, depending on how permanent you want the change to be.

This is the recommended method for most users because it's simple, reversible, and doesn't require editing the registry. Here's how to do it:

  1. Open File Explorer (Win + E).
  2. Click the See more (three dots) button in the command bar at the top.
  3. Select Options from the dropdown menu. This opens the Folder Options dialog.
  4. Go to the View tab.
  5. In the Advanced settings list, scroll down to find Show all folders and Hide Gallery.
  6. Check the box next to Hide Gallery.
  7. Click Apply and then OK.

The Gallery should disappear from the navigation pane immediately. If not, restart File Explorer (right-click the taskbar and select Task Manager, find Windows Explorer, right-click it, and choose Restart).

This method only hides the Gallery—it doesn't remove the underlying feature. You can re-enable it anytime by unchecking the same box.

If you want to completely remove the Gallery from File Explorer—so it doesn't appear even when you right-click the navigation pane and choose "Show all folders"—you can edit the Windows Registry. This is a more advanced method, so back up your registry first (File > Export in Registry Editor) and follow the steps carefully.

  1. Press Win + R, type regedit, and press Enter.
  2. Navigate to the following key:
    HKEY_CURRENT_USER\Software\Classes\CLSID
  3. Right-click on CLSID, select New > Key, and name it:
    {e88865ea-0e73-43cb-9e37-0b7e16e2a4e1}
  4. Right-click the new key, select New > DWORD (32-bit) Value, and name it System.IsPinnedToNameSpaceTree.
  5. Double-click the new value and set its data to 0.
  6. Close Registry Editor and restart File Explorer (or sign out and back in).

After this, the Gallery will no longer appear in the navigation pane, even if you later toggle "Show all folders". To undo the change, simply delete the registry key you created.

Note: This registry tweak is the same one used to remove other built-in items like the "Home" or "Desktop" folders. It's a well-known method, but it's always wise to create a system restore point before making changes.

If you've followed Method 1 and the Gallery is still visible, try these troubleshooting steps:

  • Make sure you're on a recent Windows 11 update. The Gallery was introduced in version 23H2; older builds might not have the "Hide Gallery" option.
  • Check if you're in Tablet Mode or using a touch-optimized layout—some UI variants may ignore the setting temporarily.
  • Restart File Explorer completely, not just close and reopen the window. Use Task Manager to end "Windows Explorer" and then run it again.
  • If you used the registry method, double-check that the key and value names are spelled exactly as shown, including the curly braces.

If none of these work, you can also try a quick command-line approach: open Command Prompt as administrator and run reg add "HKCU\Software\Classes\CLSID\{e88865ea-0e73-43cb-9e37-0b7e16e2a4e1}" /v System.IsPinnedToNameSpaceTree /t REG_DWORD /d 0 /f, then restart Explorer.

No. The Gallery is just a virtual view—it doesn't store files. Removing it from File Explorer does not delete, move, or alter any of your photos or videos. Your actual files remain in their original folders (like Pictures, OneDrive\Pictures, or wherever you saved them). You can still access them through the regular folder tree or the Photos app.

It's also worth noting that the Gallery in File Explorer is separate from the "Gallery" feature in the Photos app. Hiding it in File Explorer has no effect on the Photos app's own Gallery tab.

If you don't want to remove it entirely but want a cleaner look, consider these options:

  • Collapse the navigation pane: Click the left arrow at the top of the pane to minimize it, giving you more space for your file list.
  • Use Quick access: Pin your most-used folders to Quick access so you don't need the Gallery at all.
  • Disable the Gallery's thumbnails: In Folder Options, uncheck "Show thumbnails in File Explorer" to speed up performance, though this affects all folders.
  • Move your media folders: If the Gallery is showing unwanted content, you can exclude folders from indexing via Settings > Privacy & security > Searching Windows, but this is more complex than hiding the Gallery.

These alternatives let you keep the Gallery but reduce its impact on your workflow.

Frequently Asked Questions

Is the Gallery the same as the Pictures folder?

No. The Pictures folder is a physical folder on your drive. The Gallery is a virtual collection that aggregates photos and videos from multiple locations, including the Pictures folder, OneDrive, and other indexed directories. Removing the Gallery doesn't affect the Pictures folder.

Will removing the Gallery speed up File Explorer?

It can, especially on older hardware. The Gallery generates thumbnails and indexes media, which can cause a slight delay when opening File Explorer. Hiding it removes that overhead, though the impact varies by system.

Can I re-add the Gallery later?

Yes. If you used Method 1, simply uncheck "Hide Gallery" in Folder Options. If you used the registry method, delete the registry key you created. Both changes are reversible.

Does the Gallery appear in Windows 10?

No. The Gallery is exclusive to Windows 11 (version 23H2 and later). Windows 10 has a different navigation pane without a Gallery item.

Why don't I see the "Hide Gallery" option?

If you're on an older Windows 11 build (before 23H2), the option may not exist. Check your Windows version by pressing Win + R, typing winver, and pressing Enter. If you're on 22H2 or earlier, you'll need to update to see the Gallery and the option to hide it.

Is it safe to edit the registry to remove the Gallery?

Yes, if you follow the steps carefully and back up your registry first. The specific key used here is a standard CLSID override that Microsoft itself supports for hiding navigation items. However, always create a restore point before making registry changes.