There’s also the possibility that the ESC key is defective, probably because of dirt, physical damage, or wear and tear from regular use. However, it’s best to work through the fixes that follow before coming to that conclusion.

1. Use the Keyboard Troubleshooter

Windows 10 and 11 have a dedicated troubleshooting utility that automatically detects and repairs problems specific to keyboards. To run it:

2. Switch USB Ports

USB ports can malfunction and prevent connected devices from working correctly. It’s a good idea to plug the keyboard into a different USB port and check if that fixes the problem. If you use a wireless keyboard, try another port for its wireless receiver. You should also avoid connecting the keyboard to any USB hubs; instead, plug it directly into a port on the CPU casing.

3. Reboot Your Computer

A computer restart clears temporary operating system data and flushes out the hardware driver cache, resolving various keyboard-related issues.
Just open the Start menu and select Power > Restart. If there are any unfinalized Windows updates, pick the Update and restart option.

4. Turn Off Filter Keys

Filter Keys is a built-in accessibility feature in Windows that filters accidental keystrokes but can also result in the ESC key not working. To deactivate it:

5. Disable Sticky Keys

Sticky Keys is another accessibility feature that activates the Ctrl, Alt, and Shift keys until you press another key. Try disabling it if the Esc key—including others such as the Function keys—responds erratically. To do that, uncheck the box next to Use Sticky Keys on the same screen above—Settings > Accessibility > Keyboard.

6. Disable Filter Keys and Sticky Keys (Alt Method)

If you have trouble opening the Windows Settings app, you can deactivate Filter Keys and Sticky Keys through the Control Panel on your computer. To do that:

7. Install Keyboard Manufacturer Software

Some keyboards may not function normally unless you download additional drivers and applications—e.g., Logi Options+ for Logitech-branded keyboards. Search the manufacturer’s website, download any available software, and check if that makes a difference. If you already have, try removing and reinstalling the software. To do that:

8. Check for Malware

Keyboard hijacking is a common attack vector for computer viruses, so the next fix involves checking your computer for malware. Use the built-in Windows Security utility to run an antivirus scan: Follow up with a third-party malware removal utility to scan for additional forms of malware. E.g., the free version of Malwarebytes does an exceptional job detecting and removing trojans, spyware, and keyloggers.

9. Run the Hardware and Devices Troubleshooter

The Hardware and Devices troubleshooter by Microsoft can fix additional keyboard issues that stem from hardware and software conflicts on your computer. To run it: msdt.exe -id DeviceDiagnostic

10. Update Keyboard Driver

If the problem with the ESC key persists, try updating the keyboard driver to its latest version. To do that:

11. Reinstall Keyboard Driver

A corrupt keyboard driver is another reason the ESC key does not work in Windows. Remove and reinstall it to fix the problem. To do that: Windows should automatically reinstall the keyboard drivers at computer startup. If the keyboard is unresponsive after the reboot, re-open the Device Manager and select Action > Scan for hardware changes on the menu bar.

12. Install Operating System Updates

Updating Windows to its latest version can resolve unexpected keyboard-related issues resulting from software and hardware incompatibilities.
Just open the Settings app, select Windows Update, and choose Check for updates. If Windows Update detects an update, select Download and install to install it.

13. Run an SFC and DISM Scan

Windows corruption prevents various ESC key-related functions and keyboard shortcuts from working—e.g., opening the Task Manager with the Ctrl–Shift–Esc hotkey. Run the System File Checker and DISM (Deployment Image Servicing and Management) tool to repair the operating system.

sfc /scannow DISM.exe /Online /Cleanup-Image /Restorehealth

14. Perform a System Restore

Restore Windows to an earlier state to resolve problems that result from conflicting program installations, hardware driver updates, and other recent changes to the operating system. To do that:

15. Check for Hardware Issues

If none of the fixes above help fix the ESC key, the problem is likely hardware-related. Here are several ways to help you determine if that is the case.

Load an online keyboard testing tool like KeyboardTester.com, press the ESC key, and check if it registers. Open the On-Screen Keyboard in Windows (via Start menu > All apps > Accessibility), perform an action that involves the ESC key (e.g., exiting a full-screen application), and check if it works. Connect the keyboard to a different computer and check if the same problem occurs. If you use a laptop device, connect an external keyboard to test whether Windows responds to the ESC key.

If all signs indicate a hardware issue with the Esc key, use a keycap puller to remove the key and inspect the mechanical switch or the membrane underneath for damage. Clean it or replace it if needed. You could also get the keyboard serviced by a PC technician, replace it under warranty, or buy yourself a new keyboard. In the meantime, you can use a third-party keyboard customization tool like SharpKeys to remap ESC to a different keyboard key.

ESC Key Not Working in Windows  15 Ways to Fix - 16ESC Key Not Working in Windows  15 Ways to Fix - 11ESC Key Not Working in Windows  15 Ways to Fix - 77ESC Key Not Working in Windows  15 Ways to Fix - 56ESC Key Not Working in Windows  15 Ways to Fix - 20ESC Key Not Working in Windows  15 Ways to Fix - 27ESC Key Not Working in Windows  15 Ways to Fix - 5ESC Key Not Working in Windows  15 Ways to Fix - 74ESC Key Not Working in Windows  15 Ways to Fix - 59ESC Key Not Working in Windows  15 Ways to Fix - 20ESC Key Not Working in Windows  15 Ways to Fix - 12ESC Key Not Working in Windows  15 Ways to Fix - 84ESC Key Not Working in Windows  15 Ways to Fix - 61ESC Key Not Working in Windows  15 Ways to Fix - 66ESC Key Not Working in Windows  15 Ways to Fix - 65ESC Key Not Working in Windows  15 Ways to Fix - 92ESC Key Not Working in Windows  15 Ways to Fix - 55ESC Key Not Working in Windows  15 Ways to Fix - 19ESC Key Not Working in Windows  15 Ways to Fix - 97ESC Key Not Working in Windows  15 Ways to Fix - 71ESC Key Not Working in Windows  15 Ways to Fix - 33ESC Key Not Working in Windows  15 Ways to Fix - 11ESC Key Not Working in Windows  15 Ways to Fix - 46ESC Key Not Working in Windows  15 Ways to Fix - 93ESC Key Not Working in Windows  15 Ways to Fix - 84ESC Key Not Working in Windows  15 Ways to Fix - 51ESC Key Not Working in Windows  15 Ways to Fix - 67ESC Key Not Working in Windows  15 Ways to Fix - 41ESC Key Not Working in Windows  15 Ways to Fix - 19ESC Key Not Working in Windows  15 Ways to Fix - 8ESC Key Not Working in Windows  15 Ways to Fix - 97ESC Key Not Working in Windows  15 Ways to Fix - 2ESC Key Not Working in Windows  15 Ways to Fix - 44ESC Key Not Working in Windows  15 Ways to Fix - 82