How to pin any window on top in Windows 11
Windows 11 still has no "always on top" button for normal windows. But there are safe, free ways to keep a calculator, a video, a chat or a notes window in front of everything else. This guide covers seven of them, from the official Microsoft tool to options already built into apps you have, plus fixes for when pinning doesn’t work.
- Best for most people: Microsoft PowerToys "Always On Top". Click a window and press Windows + Ctrl + T.
- No install needed: Calculator, the Clock app, Task Manager and browser picture-in-picture each have their own "keep on top" option.
- For power users: a one-line AutoHotkey script pins the active window with your own shortcut, and can make it see-through too.
- If pinning fails: the usual causes are an app running as administrator, a game in exclusive full-screen, or PowerToys not running.
- For notes: a pinned note window covers your work. Screen-edge tabs keep notes on top without the clutter.
Why Windows has no "always on top" button
Windows keeps every open window in a stack, and the one you clicked last goes to the top. That’s what makes switching apps feel natural: click your browser and it comes forward, click your spreadsheet and that comes forward instead.
Windows does support a special "topmost" layer above that stack. Windows in it stay in front even when you click something else. That’s how the taskbar, some video players and Task Manager’s "always on top" mode work. But Windows 11 only lets an app put itself in that layer. There’s no menu or setting that lets you, the user, move an ordinary window there.
So every method below works in one of three ways:
- A helper tool moves the window into the topmost layer for you (PowerToys, AutoHotkey, DeskPins).
- The app has its own switch to put itself on top (Calculator, Clock, Task Manager, browser picture-in-picture).
- You avoid overlapping altogether by giving the window its own space on screen (Snap layouts, FancyZones, screen-edge tabs).
1. PowerToys Always On Top (free, recommended)
Always On Top is part of Microsoft PowerToys, a free, open-source set of tools made by Microsoft. It works with almost any window, adds a coloured border so you can always tell what’s pinned, and costs nothing.
How to set it up
- Install Microsoft PowerToys from the Microsoft Store. If you prefer the command line, run
winget install Microsoft.PowerToys. - Open PowerToys from the Start menu, choose Always On Top in the left list, and make sure it’s switched on.
- Click the window you want to pin and press Windows + Ctrl + T. A coloured border appears around it.
- Press the same shortcut again on that window to unpin it.
You can pin several windows at once. They all stay above your normal windows, and among themselves the one you clicked last is in front.
Settings worth changing
- Activation shortcut: if Windows + Ctrl + T clashes with another app, choose a different combination.
- Border: change the colour, thickness and opacity, or turn it off. Keeping it on is a good idea: it’s easy to forget a window is pinned.
- Sound: play a short sound when you pin or unpin, which is handy if you turn the border off.
- Game mode: stop the shortcut from working while Windows Game Mode is on, so you don’t pin something by accident mid-game.
- Excluded apps: list apps that should never be pinned.
Good for: almost everyone. Trade-off: PowerToys has to be running in the background (it starts with Windows by default), and a pinned window covers whatever is behind it, so resize it to be small before you pin it.
2. Apps that can keep themselves on top
Before installing anything, check whether the app you want to pin already has its own option. Several apps that come with Windows do:
- Calculator: in Standard mode, click the Keep on top button next to the mode name. The calculator shrinks into a small window that stays in front, perfect while you work in a spreadsheet or an invoice.
- Clock app: open a timer or the stopwatch and use the Keep on top button. A small countdown floats over your work, which suits focus sessions and timed tasks.
- Task Manager: open Settings in Task Manager and turn on Always on top. Useful when an app is freezing and you need Task Manager to stay visible to close it.
- Microsoft Sticky Notes: the new Sticky Notes experience (Windows + Alt + S) can dock to the side of the screen and stays on top while docked.
Many third-party apps have the same feature under a different name. Look for "Always on top", "Keep on top", "Pin", "Mini player" or "Compact view" in the app’s menu or settings. Media players, music apps, chat apps and screen-recording tools often have it.
3. Picture-in-picture for videos and calls
If what you want on top is a video, such as a tutorial, a lecture or a live stream, you don’t need to pin the whole browser. Use picture-in-picture instead. The video pops out into a small floating window that stays on top of every app, and you can drag it to any corner and resize it.
- Microsoft Edge and Google Chrome: right-click a playing video and choose Picture in picture. On YouTube, right-click twice to get the browser’s menu instead of YouTube’s. Many videos also show a picture-in-picture button when you hover over them.
- Firefox: hover over a video and click the small picture-in-picture button that appears on its side.
- Video calls: some web meeting tools, including Google Meet in Chrome, can pop the call out into a floating window so you can see people while you take notes or share your screen.
Good for: following a tutorial step by step while you do it in another app. Trade-off: it only works for video, and some sites block it.
4. A one-line AutoHotkey script
If you like to customise, the free automation tool AutoHotkey can pin the active window with any shortcut you choose. It’s more flexible than PowerToys and very light, but you set it up yourself.
- Install AutoHotkey v2 from the official website.
- Create a new text file, for example pin.ahk, and paste this line:
^Space::WinSetAlwaysOnTop -1, "A" - Double-click the file. A green "H" icon appears in the system tray.
- Click any window and press Ctrl + Space to pin it. Press it again to unpin.
Two useful extras you can add as new lines in the same file:
- A see-through pinned window:
^!t::WinSetTransparent 200, "A"makes the active window slightly transparent with Ctrl + Alt + T, so you can read what’s behind it. UseWinSetTransparent "Off", "A"on another shortcut to undo it. - Start with Windows: press Windows + R, type shell:startup, and put a shortcut to your pin.ahk file in the folder that opens.
If you use the older AutoHotkey v1, the equivalent line is ^Space::WinSet, AlwaysOnTop, Toggle, A. Trade-off: there’s no border to show which window is pinned, and the script has to be running.
5. DeskPins, a tiny pinning tool
DeskPins is a small, free, open-source tool that has been around for many years. It puts a pin icon in the system tray: click the icon, then click any window to "pin" it on top, and a little red pin appears on that window’s title bar. Click the pin to remove it.
Good for: people who prefer clicking to shortcuts, or who can’t install PowerToys. Trade-off: it hasn’t been updated in a long time, so it may look dated on high-resolution screens. If you’re on a work PC, PowerToys is the safer choice because it comes from Microsoft.
6. Snap layouts and FancyZones, if you only need it visible
Often you don’t really need a window on top, you just need to see it while you work. Then the cleanest solution is to stop windows overlapping at all.
- Snap layouts (built in): click the window, press Windows + Z, and choose a layout. On a wide monitor, a layout with a narrow column keeps a chat, a document or a to-do list in view next to your main app.
- FancyZones (PowerToys): design your own layout, for example a slim strip on the right for notes, then hold Shift while dragging a window to drop it into a zone. Your layout stays the same every day.
Trade-off: the window permanently uses part of your screen, and maximising another app will cover it again.
7. For notes: screen-edge tabs
Pinning a full note window is fine for an hour. Over a whole day it gets in the way: it covers part of every app you open, so most people unpin it, and the note is buried again. If what you really want is notes that are always in sight, a different design works better.
NotePebble keeps each note as a thin tab on the edge of the screen, above every app, including full-screen browsers and video calls. The tabs take only a few pixels until you need them:
- Rest your mouse on the screen edge and the tabs show each note’s title.
- Hover a tab to peek at the note, and click to open it in the middle of the screen.
- Press Esc and it tucks back into the edge. Ctrl + Alt + N makes a new note from any app.
It’s free for 7 days, then $9.99 once. For every way to keep notes visible, including free ones, see how to keep sticky notes on top in Windows 11, and for a wider view of note apps, the best sticky notes apps for Windows 11.
What to pin: 8 everyday uses
Pinning is most useful when you’re working in one app but need information from another. Some common examples:
- Calculator over a spreadsheet or invoice, so you don’t lose your place switching back and forth.
- A video tutorial over the app you’re learning, using picture-in-picture, so you can pause and copy each step.
- A focus timer from the Clock app, so you can see how long is left without opening anything.
- Meeting notes during a video call, so you can write while you still see people. Our guide to remembering everything a client says on a call has a simple 3-line template for this.
- A reference document such as a brief, a style guide or translation notes while you write.
- A chat window during a handover, so you can follow instructions as you work.
- A recipe or checklist while you do the steps in another app.
- Task Manager when an app keeps freezing, so you can close it quickly.
A good rule: pin small, pin briefly. Shrink the window before pinning it, place it in a corner you don’t use, and unpin it when the task is done.
When pinning doesn’t work
The shortcut does nothing
- Check that PowerToys is running: look for its icon in the system tray, and open it if it isn’t there.
- Make sure Always On Top is switched on inside PowerToys.
- Another app may be using the same shortcut. Change the activation shortcut in PowerToys and try again.
- Click the window first. The shortcut always pins the window that is currently active.
It works for some windows but not others
Windows protects apps that run as administrator, such as some installers, system tools and admin consoles. A normal app can’t pin them. In PowerToys settings, turn on Always run as administrator (under General) and restart PowerToys. AutoHotkey has the same limit unless the script also runs as administrator.
The pinned window still disappears behind a game
Games in exclusive full-screen mode take over the whole display, and nothing can draw above them. Open the game’s display settings and switch to borderless or windowed full-screen. Pinned windows and screen-edge tabs can then show again.
The pinned window covers the button I need
Drag the pinned window to another corner, make it smaller, or make it see-through with the AutoHotkey line above. If you need the space back often, a side-by-side layout from section 6 is probably a better fit than pinning.
I forgot which window is pinned
With PowerToys, the coloured border shows it. Turn the border back on in PowerToys settings if you disabled it. With AutoHotkey there’s no border, so press the shortcut on the window again to toggle it off.
Quick comparison
| Method | Works with | Install needed? | Cost |
|---|---|---|---|
| PowerToys Always On Top | Almost any window | Yes (from Microsoft) | Free |
| Built-in "Keep on top" | Calculator, Clock, Task Manager and some other apps | No | Free |
| Picture-in-picture | Videos and some web calls | No | Free |
| AutoHotkey script | Any window, with your own shortcut | Yes | Free |
| DeskPins | Most windows, by clicking | Yes | Free |
| Snap layouts / FancyZones | Any window (side by side, not on top) | Snap: no. FancyZones: PowerToys | Free |
| NotePebble edge tabs | Your notes | Yes | 7 days free, then $9.99 once |
Questions people ask
What is the shortcut for always on top in Windows 11?
Windows itself has no shortcut for it. With Microsoft PowerToys installed, the shortcut is Windows + Ctrl + T, and you can change it in PowerToys settings.
Is PowerToys safe to install?
Yes. PowerToys is made by Microsoft, it’s open source, and you can install it from the Microsoft Store. On a work PC, check with your IT team first, as some companies limit what you can install.
Can I pin more than one window?
Yes. With PowerToys or AutoHotkey you can pin several windows. They all stay above normal windows, and between themselves the one you clicked last is in front.
Can I make a pinned window transparent?
PowerToys Always On Top doesn’t change transparency. The AutoHotkey line in method 4 does, and some apps have their own transparency setting.
Why doesn’t the pinned window stay on top of my game?
Games in exclusive full-screen mode take over the whole display. Switch the game to borderless or windowed full-screen in its display settings and pinned windows can show again.
Does this work in Windows 10?
Yes. PowerToys, picture-in-picture, AutoHotkey, DeskPins and the Calculator option all work in Windows 10. Snap layouts with Windows + Z are a Windows 11 feature; Windows 10 has simpler snapping.