Key Takeaways

  • You can save screen space by automatically hiding the taskbar on Windows 10.
  • To hide the taskbar, right-click empty space on your desktop, then go to Personalization > Taskbar, and enable the toggle next to “Automatically Hide.”
  • Alternatively, you can use the Command Prompt or PowerShell to toggle the auto-hide option.

The Windows taskbar is great for quickly accessing frequently used applications on your computer. However, some users prefer to hide it in order to save screen space. Here’s how to hide the taskbar on Windows 10.

Automatically Hide the Taskbar in Settings

To automatically hide your taskbar, right-click anywhere on your PC’s desktop and select “Personalize” from the pop-up menu.

Right-click empty space on your desktop, then select 'Personalize.'

The “Settings” window will appear. In the left-hand pane, select “Taskbar.” From here, toggle the slider to “On” under “Automatically Hide The Taskbar In Desktop Mode.” If your PC is able to switch over to tablet mode, you can hide the taskbar by toggling that option to “On,” as well.

Select the 'Taskbar' tab, then enable 'Automatically hide the taskbar in desktop mode' and 'automatically hide the taskbar in tablet mode.'

You can also right-click the taskbar and select “Taskbar Settings” to access the same Settings window, if you prefer that.

Right-click the taskbar, then select 'Taskbar Settings.'

Your taskbar will now automatically hide. This means that, unless you get a notification from an app in the taskbar or you hover your mouse over where the taskbar should be, it won’t show up.

GIF showing the taskbar auto hiding

You can undo these settings by toggling the sliders back to the “Off” position.

Automatically Hide the Taskbar Using Command Prompt

If you’re feeling like a hacker, you can also toggle the auto-hide option between on and off by running commands using the Command Prompt.

First, open the Command Prompt by typing “command prompt” in the Windows Search bar and then select the “Command Prompt” app from the search results.

Search 'command prompt' in the Start menu search, then open the result.

In Command Prompt, run this command to toggle the taskbar automatically hide option to on:

powershell -command "&{$p='HKCU:SOFTWAREMicrosoftWindowsCurrentVersionExplorerStuckRects3';$v=(Get-ItemProperty -Path $p).Settings;$v[8]=3;&Set-ItemProperty -Path $p -Name Settings -Value $v;&Stop-Process -f -ProcessName explorer}"
toggle autohide option to on from command prompt

And to toggle the taskbar auto-hide option to off, run this command:

powershell -command "&{$p='HKCU:SOFTWAREMicrosoftWindowsCurrentVersionExplorerStuckRects3';$v=(Get-ItemProperty -Path $p).Settings;$v[8]=2;&Set-ItemProperty -Path $p -Name Settings -Value $v;&Stop-Process -f -ProcessName explorer}"
toggle autohide option to off from command prompt

Hide Taskbar with a PowerShell Command

You may have noticed that the command we used in Command Prompt actually invoked PowerShell first. You can skip the middleman and just run it with PowerShell directly, if you want.

Search for “PowerShell” in the Start menu search, then launch it. It doesn’t need to be run as administrator, but it won’t hurt anything if you do.

Search for 'powershell' in the Start menu search bar, then click

To auto-hide your taskbar, copy and paste the following command into PowerShell:

$p='HKCU:SOFTWAREMicrosoftWindowsCurrentVersionExplorerStuckRects3';$v=(Get-ItemProperty -Path $p).Settings;$v[8]=3;&Set-ItemProperty -Path $p -Name Settings -Value $v;&Stop-Process -f -ProcessName explorer
The command to auto-hide the taskbar in PowerShell.

If you want to re-enable your taskbar, you need to change “$v[8]=3” to “$v[8]=2” instead. Your complete command will look like this:

$p='HKCU:SOFTWAREMicrosoftWindowsCurrentVersionExplorerStuckRects3';$v=(Get-ItemProperty -Path $p).Settings;$v[8]=2;&Set-ItemProperty -Path $p -Name Settings -Value $v;&Stop-Process -f -ProcessName explorer
Re-enable the taskbar through PowerShell.

If you just don’t like how the taskbar looks, you may want to try customizing the taskbar instead of hiding it. There are even third-party apps, like Start11, that give you even more granular control.