If your keyboard types in ALL CAPS when Caps Lock is off, and types lowercase when Caps Lock is on, the Caps Lock function is reversed. This is almost always caused by a Windows registry setting or a misconfigured keyboard driver, and you can fix it in about two minutes without any special software.
Why Does Caps Lock Get Reversed?
The Caps Lock key is a toggle: it switches between two keyboard states. On a standard Windows PC, the registry key HKEY_CURRENT_USER\Keyboard Layout\Toggle contains a value called Scancode Map. If that value is modified—by a third-party remapping tool, a game, or an accidental registry edit—the Caps Lock scancode can be swapped with another key, most commonly the left Shift key. That swap makes Caps Lock behave like Shift (temporary caps) and Shift behave like Caps Lock (latching caps), which is exactly the reversed behavior you see.
On macOS, a similar reversal can happen if you use a Windows keyboard with a third-party driver or if you remap modifier keys in System Settings. But the most common scenario by far is Windows, because the Scancode Map registry value is a well-known target for remapping utilities like SharpKeys or PowerToys Keyboard Manager.
How to Fix a Reversed Caps Lock on Windows
Here are the three most reliable fixes, in order of simplicity. Try the first one before touching the registry.
- Restart your computer. A temporary driver glitch or a stuck key state can cause reversed behavior until the next reboot. This fixes about 10% of cases.
- Check your keyboard language and layout. Go to Settings > Time & Language > Language & region, click your language, then Options. Make sure the keyboard layout matches your physical keyboard (e.g., US QWERTY vs. UK QWERTY). A mismatched layout can make Caps Lock act like Shift on some keyboards.
- Remove the Scancode Map from the registry. Press Win+R, type
regedit, and press Enter. Navigate toHKEY_CURRENT_USER\Keyboard Layout. If you see a value namedScancode Mapon the right, right-click it and choose Delete. Then restart your PC. This is the most common fix.
If you don’t see Scancode Map, it may be under HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout. Deleting it there requires administrator rights.
How to Fix a Reversed Caps Lock on Mac
On macOS, the reversal is usually caused by a modifier key remap. Go to System Settings > Keyboard > Keyboard Shortcuts > Modifier Keys. Select your keyboard and check the dropdowns for Caps Lock and Shift. If Caps Lock is set to “Shift” and Shift is set to “Caps Lock,” change them back to their default actions. If you use a third-party app like Karabiner-Elements, disable it temporarily to see if it’s the culprit.
What If the Fix Doesn’t Work?
If the registry is clean and the layout is correct, the problem may be hardware or firmware:
- Stuck key: Press and hold Caps Lock for 5 seconds, then release. This resets the toggle state on many keyboards.
- Keyboard firmware: Some gaming keyboards have onboard memory that stores remaps. Check your keyboard manufacturer’s software (e.g., Logitech G Hub, Corsair iCUE) for a “Caps Lock swap” option.
- Wireless dongle interference: Rare, but a faulty dongle can send wrong scancodes. Try a different USB port or re-pair the keyboard.
- Try a different keyboard: If a second keyboard works normally, the original keyboard’s controller is failing.
Common Misconceptions About Caps Lock Reversal
Many people assume the Caps Lock key is broken or the keyboard is “stuck.” In fact, a reversed Caps Lock is almost never a hardware failure—it’s a software remap. Another misconception is that you need to reinstall the keyboard driver. That rarely helps because the driver is not what interprets Caps Lock; the OS does, using the scancode map. Also, some users think pressing Ctrl+Shift+Caps Lock toggles a “reverse caps” mode—this is not a standard Windows feature, though some third-party tools like AutoHotkey can create that behavior.
How to Prevent It From Happening Again
If you use a remapping tool, be careful when assigning Caps Lock to another function. Always export your current registry settings before making changes. If you use PowerToys, check the Keyboard Manager tab to see if any keys are remapped. For shared computers, a user profile with a corrupted Scancode Map can affect only that user, so check other accounts to isolate the issue.
Frequently Asked Questions
Why is my Caps Lock reversed only in some programs?
If the reversal only happens in a specific game or app, that program may have its own keybinding that swaps Caps Lock and Shift. Check the game’s control settings. If it happens everywhere, including the login screen, it’s a system-level remap.
Can a virus cause reversed Caps Lock?
Yes, but it’s rare. Malware can modify the Scancode Map registry value. If you’ve deleted the value and it reappears after a reboot, run a full antivirus scan.
Does this happen on laptops?
Yes, laptops are just as susceptible because they use the same Windows registry mechanism. The fix is identical.
How do I type uppercase if Caps Lock is broken?
While you fix the issue, hold the Shift key to type uppercase letters. On Windows, you can also use the on-screen keyboard (press Win+Ctrl+O) to toggle Caps Lock with your mouse.
Is there a way to reverse Caps Lock intentionally?
Yes, some users prefer Caps Lock to act as Shift. You can do this by editing the Scancode Map registry value, but it’s safer to use a dedicated tool like SharpKeys, which writes the correct hex value for you.
Related
Formula used
in t | Finish time | min | 50 | 0 in d | Distance | km | 10 | 0 | 100000 out pace | Average pace | min/km | t / d | 2 out speed | Average speed | km/h | d / (t / 60) | 2
Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work
Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.
More cards in this drawer
- Kick an Uma Codes? Meaning & Use
- Google Forms as Expense Tracker: Step-by-Step
- Smart Lock Modules Worth Buying Early
- Wi-Fi Name Exposes More Info Than You Think?
- GBP to INR Business Payments: Bank vs Fintech vs FX Broker1,049,725.00 INR
- Evaluate Claude for Enterprise Workloads: Checklist