How to Fix Alt+F4 Not Working on Windows: Easy Troubleshooting Tips

The Alt + F4 shortcut is a handy tool for closing windows quickly on Windows operating systems. However, sometimes users may find that this combination stops working, leading to frustration and disrupted workflow. The issue can be caused by a variety of factors including background programs, hardware malfunctions, or incorrect system settings. Fortunately, fixing it often involves simple troubleshooting steps.
Below are several easy-to-follow tips to help resolve the problem of Alt + F4 not working on a Windows PC.
1. Check If the Problem Is with the Keyboard
The first step is to ensure your keyboard is functioning properly. Try the following:
- Test the F4 key independently in another application.
- Press Alt and another key combination to verify its function.
- Connect a different keyboard to your PC and test the shortcut again.
If the shortcut works with a different keyboard, it could indicate a hardware issue with your original keyboard.

2. Make Sure Function Lock (Fn Lock) Is Not Enabled
On many laptops, the function keys are dual-purpose and governed by the Fn (Function) key. If Fn Lock is enabled, the top-row keys like F4 may not behave as expected.
Here’s what to do:
- Press the Fn + Esc keys to toggle Function Lock on or off (varies by manufacturer).
- Try using Alt + Fn + F4 to see if that executes the command correctly.
3. Close Conflicting Background Applications
Certain programs run in the background and may override or block global keyboard shortcuts like Alt + F4. Common culprits include:
- Screen recording software
- Custom keyboard shortcut utilities
- Third-party driver or hardware utilities
Open the Task Manager by pressing Ctrl + Shift + Esc and disable anything suspicious running in the background. Re-check if Alt + F4 works afterward.
4. Check Windows Settings
Sometimes, certain system settings or accessibility features may interfere with keyboard shortcuts.
To inspect relevant settings:
- Navigate to Settings > Ease of Access > Keyboard.
- Ensure options like Sticky Keys or Filter Keys are turned off.
- Under Multitasking Settings, confirm the system is set to recognize keyboard shortcuts normally.

5. Update or Reinstall Keyboard Drivers
Outdated or corrupt keyboard drivers can cause shortcuts to stop working. Follow these steps to update them:
- Right-click on the Start menu and select Device Manager.
- Expand the Keyboards section and right-click your keyboard device.
- Choose Update Driver and follow the instructions.
If updating doesn’t help, uninstall the driver and restart your PC. Windows will reinstall it automatically.
6. Test in Safe Mode
If all else fails, try entering Safe Mode to check whether a third-party application is causing the issue. In this minimal environment, only essential Windows processes are active.
To do this:
- Open the Start Menu, click the Power button, hold down Shift, and click Restart.
- Navigate to Troubleshoot > Advanced Options > Startup Settings and click Restart.
- Select Enable Safe Mode and test the Alt + F4 shortcut once the system reboots.
Conclusion
The Alt + F4 shortcut not working can be caused by anything from hardware failure to software conflicts. By following the steps listed above, most users will be able to identify and resolve the issue without needing advanced technical knowledge.
FAQs
- Q: What does Alt + F4 do in Windows?
A: It closes the currently focused application or window. - Q: Why is only the F4 key not working?
A: It could be due to function lock, faulty keys, or specific app behavior that disables function keys. - Q: How can I check if there’s a keyboard shortcut conflict?
A: Try using Alt + F4 after a clean boot or in Safe Mode to see if the problem persists. - Q: Can I remap Alt + F4 to another key combination?
A: Yes, tools like SharpKeys, PowerToys, or AutoHotKey allow you to remap keys and shortcuts.