Skip to content
Follow
Windows 🟡 Intermediate

How to Turn “Expand to Open Folder” On or Off in File Explorer’s Navigation Pane in Windows 11

Richard
Written by
Richard
Aug 16, 2026 5 min read
How to Turn “Expand to Open Folder” On or Off in File Explorer’s Navigation Pane in Windows 11
How to Turn “Expand to Open Folder” On or Off in File Explorer’s Navigation Pane in Windows 11

Expand to open folder is a File Explorer setting in Windows 11 that automatically opens folders in the left sidebar to match the exact path of the folder you are currently looking at. Turning this feature on helps you see where you are stored in your computer, while turning it off keeps the sidebar clean and stops the folder list from growing too long.

You can turn this feature on or off in a few moments using either the File Explorer Options menu or the Registry Editor. Setting up your sidebar takes less than a minute, and you can change your mind and switch it back at any time.

⚡ Quick Answer

Open File Explorer , right-click any empty space in the left sidebar, and click Expand to current folder to toggle the feature on or off. You can also open the three-dot menu, select Options, go to the View tab, and check or uncheck the expand setting to update your view.

Step 1Use the Quick File Explorer Menu

Using the quick File Explorer menu is the fastest way to turn the expand to open folder setting on or off in Windows 11. You can do this directly from the left sidebar without needing any special administrator permissions. Just open File Explorer, right-click any empty space in the sidebar, and click on the expand option in the menu that pops up.

  1. Press the Win+E on your keyboard to open File Explorer .
  2. Look at the left sidebar, which is called the Navigation pane. Right-click any empty space in that blank area.
  3. Click on Expand to current folder in the menu that pops up.
Right-click menu in Windows 11 File Explorer showing Expand to current folder option
Right-click menu in Windows 11 File Explorer showing Expand to current folder option

If you see a checkmark next to the option, the feature is turned on, and your folders will open automatically. If the checkmark is gone, the feature is turned off, and your sidebar stays still.

📝Note
This setting only changes your own personal user profile. If other people share your computer, their File Explorer settings stay just the way they left them.

Step 2Adjust Settings in Folder Options

Adjusting settings in Folder Options gives you another easy way to control how folders behave in the navigation pane. You can find this switch by opening the folder options window from the top toolbar, going to the view tab, and locating the specific setting in the advanced list. This method works well if you prefer using standard Windows menus.

  1. Open File Explorer by pressing Windows Key + E.
  2. Click the three horizontal dots in the top toolbar to open the extra menu.
  3. Select Options from the list to open the Folder Options window.
  4. Click on the View tab at the top of the new window.
  5. Scroll down the advanced settings list until you find Expand to open folder.
  6. Check the box to turn the feature on, or uncheck it to turn it off.
  7. Click Apply, and then click OK to save your changes.

Step 3Hide the Sidebar Completely for Maximum Focus

Hiding the sidebar completely for maximum focus is a great choice if File Explorer still feels too crowded. You can remove the entire left-hand navigation pane in just a few clicks by going to the View menu at the top of the window and turning off the sidebar option. This trick clears up your screen and requires no admin rights at all.

  1. Open File Explorer using Windows Key + E.
  2. Click the View button in the top toolbar.
  3. Hover your mouse over Show in the menu.
  4. Click on Navigation pane to remove the checkmark.

Your sidebar instantly disappears, giving you a wider, distraction-free window for browsing your files. Repeat the steps and check the box again to bring the sidebar back.

Step 4Edit the Windows Registry for Advanced Control

Editing the Windows Registry for advanced control lets you change this navigation pane setting directly inside the system database. This method is ideal if you manage multiple computers or prefer setting up your system through the registry. Always make sure to back up your registry before changing anything to avoid unexpected system problems.

⚠️Warning
Making mistakes in the Registry can cause system problems. Always back up your registry before changing anything, and make sure you have administrator rights.
  1. Press Windows Key + R on your keyboard to open the Run box.
  2. Type regedit into the box and press Enter to open the Registry Editor. Click Yes if a prompt asks for permission.
  3. Copy and paste this address into the address bar at the top of the window, then press Enter: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced
  4. Look through the list on the right side for a value named NavPaneExpandToCurrentFolder.
  5. If you do not see it, right-click any empty space in the right pane, select New, and then click DWORD (32-bit) Value. Name the new value NavPaneExpandToCurrentFolder.
  6. Double-click the value and change its number data: type 1 to turn the auto-expand feature on, or type 0 to turn it off.
  7. Click OK and close the Registry Editor. Restart File Explorer or your computer to apply the changes.

Step 5Automate the Setting Using PowerShell

Automating the "Expand to Open Folder" setting using PowerShell lets you apply this folder change quickly across computers. You can use this command-line tool by opening the terminal with administrator privileges and running a simple command. This saves you from clicking through traditional menus when setting up multiple machines.

  1. Right-click the Start menu button and select Terminal (Admin) or PowerShell (Admin). (Requires administrator privileges)
  2. If you want to turn the expand folder feature on, paste this command and press Enter:Set-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" -Name "NavPaneExpandToCurrentFolder" -Value 1Stop-Process -Name explorer -Force
  3. If you want to turn the expand folder feature off, paste this command instead and press Enter:Set-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" -Name "NavPaneExpandToCurrentFolder" -Value 0Stop-Process -Name explorer -Force

The second command restarts File Explorer automatically so your new sidebar settings take effect right away.

Summary

Controlling how folders open in your File Explorer sidebar helps you keep your computer organized and free of clutter. You can quickly toggle this feature using the right-click menu, the folder options window, or by hiding the sidebar entirely. Advanced users can also update the Windows Registry or run a quick script to manage the setting.

Was this guide helpful?

Tags: #Windows 11
Was this helpful?
Richard

About the Author

Richard

Tech Writer, IT Professional

Richard, a writer for Geek Rewind, is a tech enthusiast who loves breaking down complex IT topics into simple, easy-to-understand ideas. With years of hands-on experience in system administration and enterprise IT operations, he’s developed a knack for offering practical tips and solutions. Richard aims to make technology more accessible and actionable. He's deeply committed to the Geek Rewind community, always ready to answer questions and engage in discussions.

📚 Related Tutorials

How to Back Up and Restore Windows 11 Registry
Windows How to Back Up and Restore Windows 11 Registry

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

Leave a Comment

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