How to Turn “Expand to Open Folder” On or Off in File Explorer’s Navigation Pane in Windows 11
Expand to open folder in Windows 11 automatically highlights and expands your current folder path in the File Explorer sidebar as you browse. This feature shows your exact location within your drive structure, but it can also make the folder list long and cluttered if you open many directories.
You can turn this setting on or off in under a minute using either the File Explorer Options menu or the Registry Editor (a tool for changing advanced Windows settings ). Changing this preference lets you control how much detail appears in your navigation pane.
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
You can turn expand to open folder on or off in File Explorer directly from the sidebar without opening menus. Right-click any empty space in the left-hand navigation pane and click the expand option in the pop-up menu to change this setting instantly.
- Press the Win+E on your keyboard to open File Explorer .
- Look at the left sidebar, which is called the Navigation pane. Right-click any empty space in that blank area.
- Click on Expand to current folder in the menu that pops up.

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.
If other people share your computer, their File Explorer settings stay just the way they left them.
Step 2Adjust Settings in Folder Options
Folder Options provides a reliable way to manage expand to open folder in Windows 11 through traditional menus. Open the folder options window from the top toolbar, go to the View tab, and find the setting in the advanced list to toggle it.
- Open File Explorer by pressing Windows Key + E.
- Click the three horizontal dots in the top toolbar to open the extra menu.
- Select Options from the list to open the Folder Options window.
- Click on the View tab at the top of the new window.
- Scroll down the advanced settings list until you find Expand to open folder.
- Check the box to turn the feature on, or uncheck it to turn it off.
- Click Apply, and then click OK to save your changes.
Step 3Hide the Sidebar Completely for Maximum Focus
Hiding the sidebar completely removes the navigation pane from File Explorer to clear up your screen. Open the View menu at the top of any folder window and turn off the sidebar option to clear clutter instantly without admin rights.
- Open File Explorer using Windows Key + E.
- Click the View button in the top toolbar.
- Hover your mouse over Show in the menu.
- 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
The Windows Registry (the central database for system settings) lets you change expand to open folder for advanced control. Update the correct registry key to configure this setting across your system, which works well for managing multiple computers.
Always back up your registry before changing anything, and make sure you have administrator rights.
- Press Windows Key + R on your keyboard to open the Run box.
- Type
regeditinto the box and press Enter to open the Registry Editor. Click Yes if a prompt asks for permission. - 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 - Look through the list on the right side for a value named
NavPaneExpandToCurrentFolder. - 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. - Double-click the value and change its number data: type
1to turn the auto-expand feature on, or type0to turn it off. - Click OK and close the Registry Editor. Restart File Explorer or your computer to apply the changes.
Step 5Automate the Setting Using PowerShell
PowerShell (a command-line shell for system administration) lets you automate expand to open folder across multiple computers at once. Open the terminal with administrator privileges and run a quick command to apply the change without clicking through traditional menus.
- Right-click the Start menu button and select Terminal (Admin) or PowerShell (Admin). (Requires administrator privileges)
- 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 - 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 expand to open folder in your File Explorer sidebar helps you keep your computer organized and free of clutter. You can toggle this feature using the right-click menu, the folder options window, the Windows Registry, or PowerShell.
Was this guide helpful?
50% of readers found this helpful (2 votes)
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.
No comments yet — be the first to share your thoughts!