Cursor Lock

Windows 2000/XP, Windows 9x, Windows Vista/7

Cursor Lock is a utility program that confines the mouse cursor to a selected area on the screen. This is most useful in multi-monitor setups, addressing a common oversight in some applications (mostly games) whereby they allow the mouse cursor to drift into other unwanted screens. In video games, this can also lead to minimizing the game window if the cursor has drifted into another screen and the mouse is clicked accidentally. Cursor Lock can also overcome cursor drifting problems in windowed applications and games.

Here’s a list of games that Cursor Lock is reported or confirmed to fix.


  • Locking only when focused–requires no special user interaction, nor does it interfere with task switching between screens
  • Uses a superior method of capturing the cursor compared to other solutions (e.g. MouseTrap)
  • Ability to open one program and lock another allows Cursor Lock to work well with launcher programs
  • Can confine the cursor to window borders, in addition to a whole screen
  • Customizable hotkeys allow for complete control of locking in any situation
  • Alternate locking modes that run in the background for full user control and special circumstances
  • Intuitive GUI support program for quick setup of Cursor Lock shortcuts
  • Integrated help system for shortcut setup program
  • Highly optimized and efficient locking program that uses practically no memory or CPU





Cursor Lock

221 kB - EXE



via Paypal

If Cursor Lock has fixed a game or two for you, consider supporting development with a donation.

Or you can help by translating Cursor Lock into one of the following languages: French, Spanish, Portuguese, German, Italian, Russian, Mandarin Chinese, Japanese, Korean, Hindi, or Arabic.  Download the following file for more information.

Cursor Lock Translation Template (2301 downloads)


294 Responses to Cursor Lock

  1. Don Mularz USA says:

    I used this for Gears of War 4 and it worked great, the next day I went to play again and it won’t lock the cursor at all in any program. I had to use the hotkeys because UWP games (or at least GoW4, it’s the only one I own and the last one I’ll buy) don’t work like normal programs, but the hotkey combination no longer locks the cursor, and no other hotkey will work either. Any suggestions? I’m on windows 10 up to date.

  2. The MaskedGeek GBR says:

    Hi. I’ve checked the game compatibility list mainly because I play Skyrim Special Edition. I know the list shows Skyrim as reported but because special links needs to be created by the app to lock the cursor, I’m not sure how this would work.

    You see, I have over 50 mods installed using Vortex. For a good number of mods they require Skyrim Script Extender to run which is a separate .exe file. Vortex is just a GUI front end. I could run SSE64.exe from Windows Explorer without Vortex and the mods would still work.

    The problem is, SSE64.exe first runs, starts SkyrimSE.exe with a modified script, then unloads from memory. Whether I run the game in windowed mode or fullscreen, the cursor still drifts across to my other monitor. Even though the cursor is invisible, if I use the mouse wheel to scroll through menu options, if the windows cursor location is on my second monitor it’ll manipulate the open app on that monitor in the normal fashion a scroll wheel would (such as scrolling up and down a webpage).

    Since 2 separate .exe files are run, could Cursor Lock be setup to recognize when more than one .exe is used to run a game even if the 2nd .exe is called by the 1st .exe automatically and independently?

    • Snake USA says:

      Yes, this setup will work. You want to choose a different executable for the lock program and open program settings. You’ll find more information about using this setup in the documentation under “Usage Guides > Typical Usage with Launchers” and in the following post:

      • The MaskedGeek GBR says:

        I will admit this took me a little while to figure it out, but I got it working properly. Thank you. I spent around 30 minutes in Skyrim just running around and getting in random fights and can confirm this works. Great job.

        Makes me wonder if you can do it in a tiny little app, why are devs too lazy to implement a better mouse lock in their games? 🤷‍♂️

        You, sir, are a knight in shining armor. This is the perfect app I’ve been looking for. 😁👍

  3. Tom ITA says:

    Thank you so much! The utility worked on Baldur’s Gate Enhanced Edition like a charm at the first try, it’s just perfect! Feature rich, highly customizable, very clear instructions and highly supported, couldn’t ask for more… good job!!!

  4. WarMachine USA says:

    Hey Snake, This may seem like a dumb problem and im probably missing something very simple, but How do you change the hotkey for the cursor lock? Its currently enter and it gets in the way with me typing, so most the time i cant sent anything. Ive tried Changing it by rebinding it in Post and Pre setting up the shortcut, im just at a loss. Thank you!

    • Snake USA says:

      Not sure how you managed to change the hotkey to Enter, but to further change the hotkeys, you go to the Cursor Lock Setup program and then the hotkey tab.

  5. Jo_Ko DEU says:

    Yo this works for Rainbow six siege its perfect 😀

  6. John GBR says:

    I’m trying to get Cursor Lock to run on most of my Windows programs. Do I really have to create a special shortcut for every one of my programs? Cann’t I just tell Cursor Lock to apply to all running programs, perhaps with an exceptions list? Or just give it a list of programs to apply to?

    • Snake USA says:

      Just use the shortcut that’s called “user mode” and control it via shortcuts. Yes, if I was able to, I would update Cursor Lock to stay in memory all the time and remember the programs you wanted locked. But back when I made it, everyone didn’t have 16GB of RAM. 😛

      • John GBR says:

        Thanks for the reply, Snake! :)

      • John GBR says:

        Hi Snake. I tried using “user mode” and that does the job of making it work for all windows. The only trouble is, it also works with Explorer windows. I really would like to exclude them. OR to make Cursor Lock only apply for programs that are maximised. Is there any way to do this please?

  7. packdaddy USA says:

    how do we get this to work for league of legends i cant find anything about it

  8. Lin Cereal USA says:

    I’ve been using this for Overwatch and it’s saved my life because I get really bad simulation sickness and need to play in Windowed Mode. However, as of the most recent update to Overwatch, the cursor is now able to drift out of the window, though it does quickly snap back. I’m not sure what is causing this or how to fix it, any advice? Thank you so much for this software!

    • Snake USA says:

      Increase the poll rate?

      • Lin Cereal USA says:

        That seems to have fixed the problem functionally, but the mouse is still able to exit the boundaries of the screen (if only for a single millisecond). Ah well, it works fine enough – thank you for the reply!

  9. Hamada EGY says:

    How can I lock the mouse pointer to a custom area on the screen ?

  10. Gil Carter USA says:

    Snake, been using your app for a few years now and it does everything I’ve needed it to do do…until now.Out of the blue, when I minimize my screen, my curser wants to grab the left side and drag it in if I’m anywhere near it.Can’t find a fix for this. Also, your software isn’t showing up as installed software on the computer (Windows 10) so I can’t uninstall it long enough to see if a reinstall would fix my problem.

  11. Tycho NLD says:

    hey man, could you make a tutorial or something for overwatch windowed mode? im not talking about borderless windowed, and i also play on one screen. please help me, also there isn’t a app id for overwatch.

  12. Dude you are awesome fixed Battletech for me on my multimonitor setup, wish i’d known about this earlier will fix so many games <3

  13. Blake USA says:

    I cant figure out how to make the hotkeys work. I’ll set one up but them when im in the game I cant use the hotkey.

  14. Christopher m Goslant USA says:

    tried to use for jagged alliance 2, cursor lock just does not work. only works in its own test window

  15. memotie BHR says:

    hey, is there a way to update your program in a way that forces the mouse into the middle of the window? i used it with the witness and when i alt+tab and come back to it, the curse is still locked to the window but i am still able to click out. also able to click out if the game is in fullscreen mode.

  16. Sean Smith says:

    I have four monitors but I don’t use them all, all the time. It’s annoying to lose the mouse cursor to a monitor which is turned off so I’d like to be able to restrict the mouse to the monitors which are in use. There are plenty of solutions to restrict the mouse cursor to any particular single monitor but I want it to be able to move the cursor across multiple monitors and use hotkeys to toggle which displays are included.

  17. Chrozinel FIN says:

    I’m using SoftTH with LoL and it disables the native screenlock, and Cursor Lock fixes it beautifully so thanks! Just wanted to point out that my Panda Antivirus detected both exes as viruses. I assume it’s a false positive, probably similar code as viruses to be able to hook into other apps? Removed them from quarantine and works fine for me but might push back some users. Just as an fyi if you’re able to do something about it.

    • Snake USA says:

      Yeh, virus scanners do that on occasion. Not really worth it for me to worry about it. False positives should be on the virus scanners to fix, anyways. But thanks for the report.

Leave a Reply