How to Remap Caps Lock to Another Keyon Windows 11: Step-by-Step Guide 2026
To remap Caps Lock on Windows 11, add a remap in PowerToys Keyboard Manager for an instant change, or write a Scancode Map value in the registry for one that also works at the sign-in screen. Both are free. Below: exact steps, how to undo each, and what to do after.
Short answer: open PowerToys, go to Keyboard Manager, choose Remap a key, and map Caps Lock to the key you want. It takes effect immediately and needs no restart. If you need the remap to work for every account and at the sign-in screen, use the registry Scancode Map instead and restart Windows once.
| Fastest method | PowerToys Keyboard Manager, no restart |
|---|---|
| Works at sign-in | Registry Scancode Map only |
| Cost | Free for every method in this guide |
| Built-in Windows setting | None. Settings cannot remap or disable Caps Lock |
| Undo | Delete the PowerToys row, or delete the registry value and restart |
How to Remap Caps Lock to Another Key on Windows 11: Quick Answer
Most guides list every tool and leave you to guess. A faster way is to ask one question first: how far must the new key behavior reach? The answer picks the tool for you.
If the remap only has to work while you are signed in, PowerToys is the simplest choice. If it must also work on the sign-in screen, or for every account on a shared PC, only the registry Scancode Map can do it, because that map is read by Windows when it starts. And if you want Caps Lock to do one thing when tapped and another when held, PowerToys 0.102 or later can do that.
Windows 11 has no setting that remaps Caps Lock or turns it off. The Settings app can only change the tone that plays when Caps Lock turns on and the option to switch it off with Shift. Everything else needs one of the methods below.
Best Free Methods to Remap Caps Lock to Another Key on Windows 11
Four methods cover almost every case. Each is free. The table adds a column for reach, since that is the difference that decides which one you end up using.
| Method | Reach | Restart | Best for | Main limit |
|---|---|---|---|---|
| PowerToys Keyboard Manager | Your session | No | Fast, reversible remaps | Stops when PowerToys is closed; not at sign-in |
| Registry Scancode Map | All users, sign-in screen | Yes | Permanent, system-wide change | Manual editing; no tap and hold |
| SharpKeys | All users, sign-in screen | Log off or restart | Registry method with a window to click | Same limits as the registry map |
| AutoHotkey v2 | Your session | No | Custom logic, such as keeping Caps Lock on Shift | Script must keep running |
| Our pick | PowerToys for most people. The registry map when sign-in screen coverage matters. | |||
What you need first
Windows 11 and an account that can install software. For the registry route you need administrator rights. PowerToys needs Windows 11, or Windows 10 version 2004 or newer, on a 64-bit PC. If you plan to use PowerToys in programs that run as administrator, you will also need to run PowerToys itself as administrator.
Decide the target key before you start. Left Ctrl is the classic choice, since it sits where the strongest key on a typing keyboard should be. Esc suits people who edit in Vim. Left Shift or Backspace suit people who hit the key by accident and want it to do something harmless. The table in the registry section lists the scancodes for each.
Step-by-Step: Remap Caps Lock to Another Key on Windows 11
Method 1: PowerToys Keyboard Manager
PowerToys is a free utility from Microsoft. Install it from GitHub or the Microsoft Store, then follow these steps.
- Open Keyboard ManagerStart PowerToys, pick Keyboard Manager in the left list and switch Enable Keyboard Manager on.
- Choose Remap a keySelect Remap a key, then Add key remapping. The newer editor, the default since version 0.100, shows a row with a Select box and a To send box.
- Pick Caps LockIn the Select box press Caps Lock on your keyboard, or choose it from the list.
- Pick the new keyIn To send, press or choose the key you want, for example Left Ctrl or Esc.
- ConfirmPress OK. The remap applies at once. No restart is needed.
The remap only exists while PowerToys runs. Turn on Run at startup in the General page so it starts with Windows. It also does not apply on the sign-in or password screens, and it skips windows that run as administrator unless PowerToys is elevated too.
Different tap and hold in PowerToys
Version 0.102.2933.0, released on 21 October 2026, added tap-alone remaps. A common setup is to make Caps Lock send Esc when tapped and Left Ctrl when held. Open the same editor, add the remap and set the tap action separately from the hold action. Update PowerToys first if you do not see the option; the latest stable build at the time of writing is 0.102.3001.0.
If you remapped modifier keys on an earlier 0.100 build and Alt-based remaps deleted whole words, update to 0.100.1 or later. That release fixed remapped modifiers being delivered as system-key events.
Method 2: The registry Scancode Map
Windows reads a binary value called Scancode Map from the registry when it starts. It applies to every user and works at the sign-in screen. There is also an HKCU per-user location, but it does not take effect on modern Windows, so use the machine-wide one.
- Back up firstOpen Terminal as administrator and export the key so you can restore it.
- Add the valueRun the command in the box below. It creates a Scancode Map that turns Caps Lock into Left Ctrl.
- RestartRestart Windows. A sign-out is not enough for this method.
- CheckRun the query command to confirm that the value is present.
reg export "HKLM\SYSTEM\CurrentControlSet\Control\Keyboard Layout" "%USERPROFILE%\Desktop\keyboard-layout-backup.reg"reg add "HKLM\SYSTEM\CurrentControlSet\Control\Keyboard Layout" /v "Scancode Map" /t REG_BINARY /d 0000000000000000020000001D003A0000000000 /freg query "HKLM\SYSTEM\CurrentControlSet\Control\Keyboard Layout" /v "Scancode Map"The long hex string has a fixed structure. Eight zero bytes open it, then a count, then pairs of scancodes, then four zero bytes to close it. Inside each pair the new key comes first and the old key second, and each code is written low byte first.
| Caps Lock becomes | Hex value to use |
|---|---|
| Left Ctrl | 0000000000000000020000001D003A0000000000 |
| Esc | 00000000000000000200000001003A0000000000 |
| Left Shift | 0000000000000000020000002A003A0000000000 |
| Backspace | 0000000000000000020000000E003A0000000000 |
| Disabled | 00000000000000000200000000003A0000000000 |
| Swap Caps Lock and Left Ctrl | 0000000000000000030000001D003A003A001D0000000000 |
Paste the value for your key into the /d part of the reg add command in place of the Left Ctrl string. Each single remap uses a count of 02. The swap holds two pairs, so its count is 03.
Method 3: SharpKeys, the same registry change with a window
SharpKeys writes the same Scancode Map value for you. Open it, press Add, choose Caps Lock on the left and the target key on the right, press OK, then Write to Registry. Log off or restart afterwards. It is open source under the MS-PL licence and available from the Microsoft Store or GitHub. To reset, use Delete All and write to the registry again.
Method 4: AutoHotkey v2
AutoHotkey remaps with a script. Save the line below in a file ending in .ahk and run it with AutoHotkey v2 installed. The script has to keep running for the remap to hold. The AutoHotkey documentation itself says this approach is generally not as pure and effective as registry remapping, though it allows custom logic.
+CapsLock::CapsLock
CapsLock::CtrlHow to Verify It Worked After You Remap Caps Lock to Another Key on Windows 11
Run three quick checks so you know the change is real and not a leftover of another tool.
- Press the key in NotepadIf you mapped Caps Lock to Ctrl, select a word, press Caps Lock with C, then paste with Caps Lock and V. If you mapped it to Esc, open a menu and close it with the key.
- Watch the lightThe Caps Lock indicator on your keyboard should stay off. If it turns on, the original key still reaches Windows.
- Read back the settingFor PowerToys, reopen Remap a key and see the row. For the registry, run the query command and look for the Scancode Map line.
Test once on the sign-in screen if you used the registry route. Lock the PC with Win and L, then press the new key. Win and L itself cannot be remapped, which is why it is a reliable way to get there. If you are on a sign-in screen where the remap misbehaves, the Accessibility button opens the On-Screen Keyboard so you can still type a password.
Common Mistakes When You Remap Caps Lock to Another Key on Windows 11
What goes wrong
- Running a registry remap and a PowerToys remap on the same key, so they cancel or double up.
- Skipping the restart after a registry change and assuming it failed.
- Editing the Keyboard Layout key without an export.
- Remapping a key away and forgetting that nothing now toggles Caps Lock.
- Closing PowerToys from the tray and wondering why the remap stopped.
What works
- Use one tool per key and remove the other first.
- Restart Windows after every registry edit.
- Run
reg exportbefore the first change. - Plan a Shift or on-screen way to type capitals in a lock if you need it.
- Set PowerToys to start with Windows.
Is This Enough? What Else to Do After You Remap Caps Lock to Another Key on Windows 11
For many people a single remap is enough. If you find yourself still repeating long phrases, addresses or sign-offs, the next step is not another remap. It is text that types itself.
Three small habits make the remap stick. First, write down which method you used, in a note on the desktop, so the person who fixes the PC next year can find it. Second, test after major Windows updates. The registry map usually survives them, and the PowerToys settings file does too, but PowerToys must be running. Third, add one more tweak if Caps Lock still gets in your way: the Shift setting under Time and language, Typing, Advanced keyboard settings, Input language hot keys lets Shift turn Caps Lock off, which helps if you keep the key as it is.
The Accessibility page also has a Toggle keys option that plays a tone whenever Caps Lock, Num Lock or Scroll Lock changes. That tone is a decent safety net if you leave Caps Lock unmapped on a shared PC.
If the Remap Does Not Behave
Work from the bottom layer upward: registry first, then PowerToys, then the program in front of you. The separate page on remaps that stop working goes through each case in more depth.
| Symptom | Likely cause | Fix |
|---|---|---|
| Works in Notepad, not in one app | App runs as administrator | Run PowerToys as administrator, or close the elevated app |
| Works until I close PowerToys | Remap lives in the running process | Enable Run at startup, or use the registry map |
| Nothing changed after a registry edit | No restart, or value in the wrong place | Restart and run the query command |
| Wrong key appears | Mismatched scancode bytes | Delete the value and re-enter it from the table |
| Words deleted when using Alt remaps | Old PowerToys 0.100 build | Update to 0.100.1 or later |
What Keyboard Macros Can Automate
Remapping changes what one key does. A macro changes what a key press can produce. That might be a full email sign-off, a customer reply, a product code, a date in your preferred format, or the launch of a folder and a website together. Once a key can do that, Caps Lock becomes less interesting than it was.
Good candidates for macros are things you type the same way at least a few times each day: address blocks, form answers, support replies, long file paths, and repeated menu sequences. Poor candidates are anything that changes each time, or anything that should not be pasted blindly, such as a password.
Macros vs Keyboard Shortcuts vs Text Expansion
The three terms overlap, and tools mix them. Use the table to separate them.
| Type | What it does | Trigger | Typical limit |
|---|---|---|---|
| Keyboard shortcut | Runs one built-in command | A key combination | Only commands the program offers |
| Text expander | Swaps a short abbreviation for a longer block of text | Typing the abbreviation | Text only |
| Macro | Plays a stored sequence of keys, text or actions | A key, hotkey or prefix you choose | Can break if the screen changes |
Recording vs scripting macros
A recorder watches what you do and plays it back. It is quick to start and easy to follow, and it breaks when a window opens in a different place. A script describes each step in words or code. It takes longer to write, handles conditions, and survives layout changes. Text macros sit in between: you type the trigger and the text, and the tool pastes it when the trigger appears.
Macros for data entry and office workflows
The office wins are small and many. A prefix such as a comma followed by two letters can drop a product code. A hotkey can fill an address form in the right field order. A multiple-clipboard list lets you copy five items first and paste them one by one. None of that needs a script. All of it is easier to maintain when the macros are stored in a single exportable list.
Recording Your First Macro
This walk-through uses the screens of Macro Keys, a free Windows tool from NewSoftwares.net. Its main window has three tabs: Macro Shortcuts, Multiple Clipboards and Hotkey Launcher. Macros you add show in a list on the first tab.
- Open Macro ShortcutsThe first tab lists your macros. On a fresh install it is empty.
- Add a macroChoose Add. Type a short trigger, then the text to send.
- Insert special keysThe virtual keyboard in the dialog adds Tab, Enter, Date, Time and the arrow keys into the text, so one macro can fill a form field by field.
- Save and testSave, open Notepad and type the trigger with the prefix. The text appears.


Assigning Macros to Specific Keys
With a text tool, the trigger is typed, not a single key. Macro Keys uses a prefix, set to a comma by default in the screens we reviewed, followed by your short code. A hotkey launcher gives each program, folder or website its own key combination, which is how you reach a single-key feel without a remap.
Before you assign anything, check for conflicts. Windows and your programs already use many Ctrl, Alt and Win combinations. A hotkey that collides with one of them can silently stop working in that program.
A second keyboard or keypad
Windows merges all keyboards into one stream, so a typical software tool cannot tell which one sent a key. If you want a keypad that does only macros, pick hardware that stores them in its own memory, or give the keypad a distinctive combination such as Ctrl, Alt and a function key. F1 to F24 can all be mapped in PowerToys, so the upper function keys make good trigger keys for a separate pad.
What We Recommend After the Remap
For the remap itself, use PowerToys or the registry. Macro Keys is not a key remapper and we do not claim it is. It is the tool we point to for what comes after: text macros, form auto-fill, multiple clipboards and a hotkey launcher for software, folders, websites and email.
It is free, Windows only, and it can protect your macro list with a password and encryption. Its Options area also has Start at Windows Startup, Import and Export for your macro list. We did not find a macro recorder, a multi-keyboard mode or a stated list of system requirements on the product page, so test it on your own PC before you rely on it.
Our view is that this suits people who type the same things all day and want a small, local tool. If you need mouse recording, conditional logic or per-keyboard remapping, a larger automation tool such as AutoHotkey fits better.
Cost: Macro Keys is free.

Keyboard macros
Text macros and form auto-fill.
Multiple clipboards
Keep several copied items ready.
Hotkey launcher
Open software, folders and sites.
Macro protection
Password and encryption for your list.

Two independent write-ups describe the same set of features. One is a German review on datacenter-insider.de from 2022, and the other a Dutch article on id.nl. Both are in languages other than English. See the German review or the Dutch article.
Fixing Macros That Misfire
When a macro does the wrong thing, one of five causes is usually behind it. Work through them in order.
- Check the triggerA trigger that is also a normal word will fire while you type. Add the prefix, or make the code unusual.
- Check the windowSome programs run as administrator and ignore tools running at normal rights. Close and reopen the macro tool as administrator to test.
- Slow the targetIf keys arrive faster than a program can take them, fields get skipped. Use paste from the clipboard, which is faster and more reliable than typed keys.
- Check focusThe right field must have focus before the macro runs. Click into it, then trigger.
- Check for clashesAnother tool may use the same hotkey. Turn it off and test again.
Backing Up and Sharing Your Macros
A macro list is worth hours of work, so treat it like any other document. In Macro Keys, the Options area includes Import and Export for macros. Export after each batch of new macros and keep the file on cloud storage or a USB drive, not only on the PC.
To share a list with a colleague, export it and send the file. They import it on their PC. Remove anything personal first, such as a home address or a phone number. If you protect the list with a password, share the password through a different channel from the file.

Sample Macros You Can Copy
Copy any of these into your macro tool and change the details. Use your own text; none of these include passwords or personal data.
Hello,
I am following up on my earlier message. Please let me know if you need anything further from me.
Kind regardsCould we find 20 minutes this week to go over this? I am free on Tuesday and Thursday afternoons.C:\\Projects\\Reports\\2026\\MonthlyOrder reference: Thank you for contacting us. We have received your message and will reply within one working day.Notes for Safe Macro Use at Work
Treat macros like any other software on a managed PC. Ask IT before installing, keep sensitive data out of macros, and prefer tools that store data locally. Never store passwords in a plain macro, and do not use a macro to get around a control that someone put there on purpose.
If you use the NewSoftwares.net range elsewhere, Folder Lock can password-protect folders on your PC, USB Block controls which USB devices connect, and USB Secure protects files on USB drives. They sit well beside a macro list that holds office text.
Which Tool for Which Job
| Tool | Remaps keys | Text macros | Clipboard list | Cost |
|---|---|---|---|---|
| PowerToys | Yes | No | No | Free |
| Registry Scancode Map | Yes | No | No | Free |
| SharpKeys | Yes | No | No | Free |
| AutoHotkey v2 | Yes | Yes, by script | By script | Free |
| Macro Keys | No | Yes | Yes | Free |
Just want Caps Lock changed
PowerToys. Add one row and move on.
Shared PC or sign-in screen
Registry Scancode Map. Restart once.
Typing the same text daily
A macro tool such as Macro Keys, after your remap is done.



Frequently Asked Questions
Type of question? Filter the list by what you want to do.
How to remap Caps Lock to another key on Windows 11?
Open PowerToys, choose Keyboard Manager, then Remap a key. Add a row, pick Caps Lock as the key to change and the new key as the result. It works at once. For a remap that also works at the sign-in screen, add a Scancode Map value in the registry and restart.
Can I remap Caps Lock to another key on Windows 11 without paid software?
Yes. PowerToys, SharpKeys and AutoHotkey are all free, and the registry edit needs no extra software at all. Windows 11 has no Settings page for this, so one of those routes is required.
What is the fastest way to remap Caps Lock to another key on Windows 11?
PowerToys Keyboard Manager. You add one row in a dialog and the change applies straight away with no restart. The registry route takes a few extra minutes and a restart.
What mistakes should I avoid when I remap Caps Lock to another key on Windows 11?
Do not mix two tools on the same key, do not forget that a registry change needs a restart, and do not edit the registry without exporting the key first. Also remember that PowerToys remaps stop when PowerToys is not running.
How do I check that the Caps Lock remap worked on Windows 11?
Open Notepad and press the key. If Caps Lock now acts as Ctrl, press it with C after selecting text and check that the text copies. Watch the Caps Lock light: it should no longer turn on. A registry remap shows in reg query output.
What is the difference between a macro and a keyboard shortcut?
A shortcut is a key combination that triggers one built-in command. A macro is a stored sequence of keystrokes, text or clicks that plays back on a trigger you choose. A macro can paste a whole paragraph; a shortcut cannot.
Can I assign macros to a second keyboard?
Windows treats all keyboards as one input stream, so most tools cannot tell them apart. Dedicated keypads that store macros in their own firmware avoid that. Macro Keys is a Windows program and works with whichever keyboard sends the trigger.
Are keyboard macros allowed at work?
That depends on your IT policy. Text macros that paste your own phrases are usually fine. Macros that log in, move data between systems or press buttons for you may be restricted. Ask before you install anything on a managed PC.
Will macros work inside every application?
Not always. Programs running as administrator ignore tools that run at normal rights, and some games and secure fields block simulated typing. Text pasted from the clipboard works in more places than keystrokes typed one by one.
How do I back up my macros?
Use the export option in your macro tool and keep the file somewhere other than the PC. In Macro Keys the Options area has Import and Export for this. Export again whenever you add several new macros.
Does a Caps Lock remap survive a Windows 11 update?
Usually yes. A registry Scancode Map sits in the system hive and stays through feature updates. A PowerToys remap is stored in its own settings file and also stays, but PowerToys itself must be running after the update.
Can I still turn on Caps Lock after remapping it?
Only if you keep a way to type it. Windows has no spare Caps Lock key after the remap, so choose a tool that supports a combination such as Shift plus the new key, or use the On-Screen Keyboard. AutoHotkey can keep the toggle on a Shift combination.
Why does my remapped key still toggle capital letters?
Two causes are common. A registry change has not been applied because Windows has not restarted, or a second tool is mapping the same key back. Check the value, restart, and close any other remapper.
Does the remap work on the Windows sign-in screen?
Only the registry Scancode Map does. PowerToys and AutoHotkey start after you sign in, so the sign-in and password screens still see the original key.
Can I remap Caps Lock on one keyboard only?
PowerToys applies to every keyboard on the PC and has no per-keyboard option. The registry map is system wide as well. Per-device remapping needs a different tool or a keyboard with its own firmware settings.
The Short Version
Use PowerToys if the remap only has to work after you sign in. Use the registry Scancode Map if it has to work on the sign-in screen or for every account, and export the key before you touch it. Keep a note of what you chose.
Once Caps Lock is sorted, put the same effort into the text you type every day. A free macro tool does that without much setup.
Macro Keys is free and runs on Windows. It handles text macros, multiple clipboards and a hotkey launcher.