How To Keep a Window Always On Top in Windows 10

No operating system has every feature, but there’s one essential feature missing from Windows 10: the ability to lock windows in the “top layer” of your desktop, displayed over everything else.

How To Keep a Window Always On Top in Windows 10

This feature is useful in many ways, from copying information manually between windows, to keeping content open when you need it on your screen, or keeping your video chat open while working on a project. You can watch a movie in the background of your computer while working on other projects, or you can keep your file browser on top of your web browser or word processor to always have access to your content.

No matter how you want to work, keeping windows on top is essential to boosting productivity. Unfortunately, Windows 10 excludes that feature, but you can easily add it to your PC using third-party software. For Mac users, see how to keep a window on top in MacOS.

How Do I Force a Window to Stay On Top in Windows 10?

Always on top example for Windows 10

Option #1: Use AutoHotKey with Custom Scripting

AutoHotkey is a free, open-source (GNU GPLv2) program that allows you to write custom scripts or use plugin scripts from other people to help you create macros on your computer.

The app is widely used and highly recommended, and its uses range from gaming to changing the direction of your mouse scroll.

If you’re looking to pin windows to your desktop, you can do so easily with AutoHotkey, although it’s worth noting that you’ll have to create the script by writing code manually. If you’re looking for something that comes prewritten, we would suggest sticking to the Always On Top application, which effectively comes as a pre-packaged AutoHotkey script. Some more technically inclined Windows users might prefer the customized scripting options available with AutoHotkey.

Here are the steps on how to get going with AutoHotkey:

  1. Download and install AutoHotkey if you don’t have it already.
  2. Create a folder where you can hold your hot key script along with any others you may make in the future. I named mine Hot Keys. (Right click on your desktop and select New and Folder)
  3. In the folder, Right-click and choose New and then AutoHotKey Script.
  4. Now right-click on that file and choose Edit Script.
  5. Type or paste the following onto the bottom of the file: ^SPACE:: Winset, Alwaysontop, , A
  6. Save the file by clicking on File and the Save at the top of the window or you can press CTRL + s.
  7. If your file icon matches mine, right-click on the file and select Run Script. And you’re done. Just press CTRL + SPACE on whatever window you want to stay on top.
  8. If it does not match mine, when you right-click, choose Open with and Choose another app.
  9. Find the app AutoHotkey Unicode 64-bit and check the box labeled Always use this app to open .ahk files. After you press OK, the file icon should look like a purple “H”.
  10. Now run the script and you’re all finished.

The “^” character represents the Ctrl key, and “SPACE” represents the space bar, creating a Ctrl + [Space] hotkey. You can also use “#” to represent the Windows key if preferred. Click Save.

Auto Hotkey does provide more customization than you’d otherwise get from Always On Top, but it’s also more work to use on your PC.

Option #2: Use DeskPins

Image result for deskpins

DeskPins has been around for years, since the days of Windows XP, and it still gets used today to place window pins on the PC. As a Free or Open Source Software (FOSS) program, you can easily use DeskPins on any computer. Here’s how to use it.

  1. Download and install Deskpins using the Windows 10-specific installer
  2. Double-click or right-click and select ‘Open‘ on deskpins.exe to run the program on your computer.
  3. Deskpins works a little bit differently than the script versions of Always On Top and AutoHotkey. Click the icon in your taskbar, and the mouse icon turns into a small, red pin.
  4. Instead of using a keyboard shortcut, you’ll need to pin your program by clicking on the top portion of a desktop window.
  5. A small red pin icon will appear in the title bar of the pinned window to show its status.
  6. To unpin the window, click the pin icon to turn the option off.
  7. Optional: You can still minimize and maximize the window when desired without losing the window’s “always-on-top” status.
How to keep a window always on top in Windows 10-3

DeskPins is just as easy to use as you might imagine, but there are two things you should be aware of when using it.

First, the program may not function on computers under administrative control, such as work or school PCs. Talk to your employer’s or school’s help desk or IT department for assistance on this matter, as they may have policies on what is permitted and whether or not they install it or let you handle it.

Second, the visual indicator is helpful, but for some, a keyboard shortcut is all they need to access this useful utility.

***

Ultimately, these three options represent the best methods for helping productivity and efficiency by pinning a window to the foreground in Windows 10.

Whether you’re looking to keep a video playing in the background, or you need to watch a file transfer while editing a photo in Photoshop, it’s super easy to use these programs to help you keep track of your content on the app.

8 thoughts on “How To Keep a Window Always On Top in Windows 10”

Avatar Eric says:
All these suck, where is just a simple pin on the title bar for heavens out loud! Microsoft is a failure of a company. Rather make apps that suck too…wtf.
Avatar Abir says:
When I downloaded the zip file of “Always on Top” tool using the provided link, it contained neither the exe file nor the readme file. Rather there was only an ahk file named “AlwaysOnTop.ahk”. My OS is windows 10
Avatar Kaneis says:
I know the article says the app is self-contained/portable, but the linked file has an .ahk extension which is what the second app, AutoHotKey, uses for its scripts. Perhaps they stopped making an .exe for this app? If you download AutoHotKey, this script should work with it. It’s fairly easy to use.
Avatar Thankfulguy says:
That was extremely light-weight and helpful, thanks a lot!
Avatar unfa says:
Argh. In KDE desktop environment on Linux I can just set any window to stayon top (or on bottom) and dozens other things.

I’ve learned to take such functionality for granted. But on Windows you need to install special software just to get that functionality accessible to the users.

I guess Linux has spoiled me…

Avatar Linus Torvalds says:
what a twat
Avatar Art Wang says:
Doesn’t work on Win 10.
Avatar Justin says:
Thank you so much. I just wanted the sticky notes app to stay on top of what I was typing so I could see my notes. Always on top works perfectly and is very simple.
Avatar Mike says:
Don’t use Turbotop with Windows 10. I know the article says it was updated, but it wasn’t. Doen’t work – EPIC FAIL!
Avatar hisajimah says:
“ALLWAYS ON TOP” does not seem to be displayed on the front of the full screen display application, why? (Example: When Youtube is displayed in full screen on Microsoft Edge)
Avatar Screenshot Help says:
can you show a screenshot of it.

Leave a Reply

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

Disclaimer: Some pages on this site may include an affiliate link. This does not effect our editorial in any way.