Software & OS

Always On Top in Windows 11: Pin Any Window with PowerToys

To keep a window always on top in Windows 11, install Microsoft PowerToys, click the window you want to pin, and press Win+Ctrl+T. Press the same keys again, or close the window, to unpin it.

This is the method Microsoft documents for pinning any window above the others. It is a free Microsoft utility, so the rest of this article covers installing it, the settings that matter and the cases where a pinned window can still end up hidden.

Install PowerToys

PowerToys needs Windows 11, or Windows 10 version 2004 (build 19041) or newer, on a 64-bit x64 or ARM64 processor. During setup it also installs the Microsoft Edge WebView2 Runtime if that is missing. Microsoft recommends two sources: the PowerToys releases page on GitHub or the Microsoft Store. If you prefer the command line, this command from PowerShell installs it with WinGet:

winget install --id Microsoft.PowerToys --source winget

Microsoft's install page also lists community-maintained Chocolatey (choco install powertoys) and Scoop packages. After the first install, an overview window opens with a short introduction to each utility.

The GitHub installer comes in two kinds. The "Per User" installer installs for the current account only, under %userprofile%\AppData\Local\Programs. The "Machine wide" installer installs for every account, under %ProgramFiles%. Both receive updates and the same features.

Pin a window with the keyboard shortcut

  1. Open the window you want to keep visible, and click it so it is the active window.
  2. Press Win+Ctrl+T.
  3. The window now stays above other windows, even when you click on something else.

If the shortcut does nothing, open PowerToys Settings and check that the Always On Top utility is switched on in its own page. The Home page of Settings also lets you turn individual utilities on and off and shows an overview of their shortcuts.

Unpin a window

Press the activation shortcut again while the pinned window is active. Closing the window also removes the pin.

Pin from the title bar menu instead

If you would rather click than remember a shortcut, enable Show Always on Top in the title bar context menu in the Always On Top settings. You can then right-click a window's title bar and turn the pin on or off from that menu.

Settings that change how it behaves

These are the options on the Always On Top page of PowerToys Settings, as described in Microsoft's documentation (the exact layout can change between PowerToys versions):

SettingWhat it does
Activation shortcutThe keyboard command that turns the pin on or off for the active window. Default is Win+Ctrl+T.
Do not activate when Game Mode is onPrevents pinning while a game is being played.
Show Always on Top in the title bar context menuAdds the pin option to the right-click menu of a window's title bar.
Show a border around the pinned windowDraws a coloured border so you can tell which window is pinned.
Color mode, ColorChoose Windows default, or Custom color. Color is only available with Custom color.
Opacity (%), Thickness (px)How see-through and how wide the border is.
Enable rounded cornersGives the border rounded corners.
Play a sound when pinning a windowPlays a sound when you turn the pin on or off.
Excluded appsApps that cannot be pinned.

The border is worth keeping on. A pinned window looks like any other window until it covers something, and the border makes it obvious why a corner of your screen is blocked.

Stop certain apps from being pinned

Add an app's name to Excluded apps. Matching includes partial names: entering Notepad prevents both Notepad.exe and Notepad++.exe from being pinned. To block only one program, enter its full file name, for example Notepad.exe. This is useful for apps where a pinned window would get in the way, such as a full-screen game or a video player. If a full-screen window is your problem rather than your goal, see how to exit full screen in Windows 11.

When a pinned window still goes behind another one

Windows has a "topmost" window property, and Always On Top sets it. Microsoft explains that a topmost window should be placed above all non-topmost windows and stay above them even when it is deactivated. What the utility cannot promise is that the window will sit above other topmost windows.

Microsoft's compatibility table lists three known cases, each tracked as an issue in the PowerToys repository on GitHub:

  • Citrix (issue 15680): Citrix windows may be topmost, so a pinned window might appear behind them.
  • Remote Desktop (RDP) (issue 16631): Remote Desktop windows may be topmost for the same reason.
  • VMware (issue 18834): VMware windows may be topmost, so a pinned window might appear behind them.

If you pin a notes window and then connect to a remote machine, the notes might fall behind the remote session window. The documentation names the cause but does not list a fix.

Useful ways to use a pinned window

  • A small calculator, notepad or chat window beside the document you are writing.
  • A reference page, such as documentation or a spreadsheet, while you type into another app.
  • A timer or monitoring window you want to glance at while working elsewhere.

Pinning works best with small windows. A maximized window pinned above everything leaves you unable to reach the windows below without unpinning it first. If you want several full-size windows organised instead, switching between virtual desktops in Windows 11 is often a better fit than pinning.

If it still does not work

Check these in order. First, confirm the window was active when you pressed the shortcut, because the pin applies to the active window. Second, confirm the app is not on the Excluded apps list. Third, check that Game Mode is not active if you enabled Do not activate when Game Mode is on. Fourth, if another program already uses Win+Ctrl+T, change the activation shortcut in the Always On Top settings. Last, if the window is pinned but hidden, look for a Citrix, RDP or VMware window as described above.

PowerToys checks for new versions while it is running and can show a toast notification when an update is available. You can also check manually from PowerToys Settings, which is worth doing if the behaviour differs from what is described here.

Frequently asked questions

What is the shortcut for always on top in Windows 11?
With Microsoft PowerToys installed, the default shortcut is Win+Ctrl+T. Press it while a window is active to pin that window above others, and press it again to unpin. You can change the shortcut in the Always On Top page of PowerToys Settings.
Does Windows 11 have an always on top setting built in?
Microsoft's documented route for pinning an arbitrary window is the Always On Top utility in PowerToys. This article does not cover individual apps that have their own pin option, because those only work for that one app.
Why does my pinned window still disappear behind another window?
Microsoft says Always On Top cannot guarantee a window stays above other windows that are themselves set as topmost. Its compatibility table lists Citrix, Remote Desktop (RDP) and VMware windows as known cases.
How do I stop one app from being pinned?
Open PowerToys Settings, go to Always On Top, and add the app to Excluded apps. Matching includes partial names, so Notepad also blocks Notepad++.exe. Enter Notepad.exe to block only Notepad.

Sources