How To Keep a Window Always On Top in Windows 10

Windows 10 is widely regarded as the best consumer version of Windows ever released. While some prior releases of Microsoft’s desktop operating system have been received with fair amounts of criticism, the advent of Windows 10 changed the overall mindset on the Windows OS.

TechJunkie's Fast Answer
Read the article for more information

Windows 10 is a well-built Operating System (OS) that receives both security patches and major updates on a regular basis, helping to keep the final version of Windows stronger than ever, even four years after its launch. From now on there won’t be a Windows 11, Windows 12, Windows 13, etc., but Microsoft will continue to improve the current Windows and will focus on Windows 10 as a service model, which is more or less a subscription model.

One of the things driving this popularity is the productivity features that Windows 10 makes available. Features like Timeline help to keep your productivity always flowing and the ability to view recently-opened documents and sync files between your computer and your smartphone.

Snap has been available since Windows Vista, allowing you to easily split-screen the apps on your computer, or to resize them quickly in any shape you want. Action Center helps you to stay focused on whatever you might be working on at any given moment, giving you updates on emails, security installations, and much more.

Meanwhile, Cortana allows you to launch your actions quickly and succinctly with just your voice, while also providing answers to every query you could ever dream of, and more.

No operating system has every feature, however, and there’s one feature missing from Windows 10: the ability to lock windows into being the “top layer” of your desktop, displayed over everything else. This is useful in a 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 simply keep your file browser on top of your web browser or word processor to always have access to your content.

However you want to work, being able to keep your programs on the front of your computer is a massively important tool in your arsenal of computing assistants. Unfortunately, that ability isn’t in Windows 10 proper, but you can easily add it to your PC with third-party software.

Let’s take a look at three of the best ways to pin a window to the top in Windows 10.

How do I force a window to stay on top in Windows 10?

Image result for always on top windows 10

Always on Top

Our favorite way to access this functionality is to use Always On Top, a small third-party tool that automatically configures your desktop to keep a single-window on top of the program. If you want to pin a Window to the top layer of your screen so you can really focus on that window, then Always on Top is a good choice of tools.

Always on Top uses a very simple script to allow you to configure what window you want to be prioritized, and allows you to change or remove this prioritization with the press of a button.

It’s lightweight, easy to use, and portable since the file is completely self-contained in a zipped folder. Let’s take a look at this must-have utility for windows.

To grab Always On Top, you’ll want to head over to this site to download the AlwaysOnTop.ahk script file.

Once the file is unzipped, you’ll see the application and a ReadMe file that will tell you everything you need to know about the program.

As we mentioned, Always On Top is a portable application, which means nothing needs to be installed or programmed on your computer.

Just unzip the file and run the application to open it on your PC.

Once you’ve done that, you’ll find that Always On top is now running in your hidden icons tray, which you can preview by clicking on the small arrow to the right of your taskbar. The icon is marked with “DI,” using white text on a black backdrop making Always on Top easy to find.

How to keep a window always on top in Windows 10-2

This means the program is properly running on your computer, and you can use the app as you wish. The ReadMe file has the instructions on how to designate a specific application as the one you want to use Always On Top.

With the application running, simply select the window you want to be pinned to the top of the page, and select Ctrl+ [Space] to keep it pinned to the top.

That’s it—there’s no designation or anything that appears on the window, no noises to announce something’s been pinned. But, if you click off into another window or application, you’ll find the app you had selected on your desktop doesn’t fade behind your new window, instead it stays open unless purposefully minimized.

And really, that’s all there is to it. The script is automatically run in the background, and that quick keyboard shortcut is easy to use to improve your productivity in just a moment.

The app is lightweight and runs well in the background, and can be closed completely with just a touch of a button right from the bottom of the taskbar. Always On Top is one of our favorite utilities on Windows, and well recommended for anyone who wants a simple tool for a simple job.

No piece of software is without its fair share of flaws, and some users may find that they need more or less options depending on what they like in a hardware platform.

If you tried out Always On Top and it didn’t work well for you, or of you’re just looking for something a little different, here are two additional options you might want to check out.

Image result for autohotkey


AutoHotkey is an essentially free program that allows you to write your own scripts, or to plug in scripts from other people, to help you to create macros on your computer.

It’s a widely used and highly recommended internet application 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 manually create the script by writing code.

With AutoHotkey this is pretty easy to do, but if you’re looking for something that comes prewritten, we would suggest sticking to the easier Always On Top, which effectively comes as a pre-packaged AutoHotkey script. Some more technically inclined Windows users might prefer the control and additional things you can do with the scripting options available with AutoHotkey.

Regardless, here are the steps on how to get going with AutoHotkey.

  1. Download and install AutoHotkey if you don’t have it already.
  2. Place the script in a folder on your PC’s hard drive that won’t be moved or deleted.
  3. Open the program and select File, Edit Script.
  4. Type or paste ^SPACE:: Winset, Alwaysontop, A then click Save.
  5. Select File and Reload Script in AutoHotKey to run.

The script uses the same Ctrl + [Space] command as we saw with Always On Top to prioritize one window over the others on your desktop. You can, however, change it to something else by changing ‘^SPACE’. For example, change it to ‘#q’ to change the key to Win + Q.

#q:: Winset, Alwaysontop, A

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

Image result for deskpins


DeskPins has been around for years, since the days of Windows XP, and it’s still used to make it easy to place your pins on your computer. As a Free and Open Source (FOSS) program you can easily use DeskPins on any computer, and it works nearly identically to what we’ve come to expect from apps like Always On Top.

To start, download and install Deskpins using the Windows 10-specific installer and run the program on your computer.

With DeskPins, the utility actually works a little bit differently than the script versions of Always On Top and AutoHotkey.

Click the icon in your taskbar and see that you mouse has turned into a small pin. Instead of using a keyboard shortcut, you’ll need to pin your program by clicking on the top portion of a desktop window.

A small red pin icon will appear in the pinned window at the top of the page. To unpin the window, simply click this icon to turn it off.

How to keep a window always on top in Windows 10-3

DeskPins’ is just as easy to use as you might imagine most other programs like this, but there’s two things you should be aware of while using DeskPins.

First, the need to install the program means it may not work properly on some work computers, especially those with limits on what can and can’t be run. Talk with your work help desk or IT contact for assistance on this as they may have policies on what can be installed and they may have to install it for you either in person or remotely, depending on your work situation.

Second, the visual indicator is nice, but for some, an easy keyboard shortcut is all they need to access this useful utility. The main appeal of AutoHotkey is, after all, right in the name.


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

Whether you’re looking to keep 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.

If you found this article helpful, learn more about Windows 10 with other TechJunkie how-to articles, including these:

Do you know of any other ways to pin a Window in Windows 10? If so, please tell us about it in a comment below! We really appreciate your input.

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

Avatar Rob says:
Hi, this article was very helpfull. thanks
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 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…b

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.