Alt+F4 is one of the quickest Windows shortcuts for closing the active window, but when it stops working it can be frustrating and confusing. The problem is usually caused by a keyboard issue, a stuck modifier key, a driver problem, or an app that is intercepting the shortcut.
This guide walks through the most likely causes first, then moves into deeper fixes so you can get Alt+F4 working again on Windows 10 without wasting time on unnecessary steps.
Check Whether the Keyboard Shortcut Works Anywhere
Before changing Windows settings, confirm whether the problem is with the keyboard itself or only with certain programs. Open a normal desktop window such as File Explorer and try Alt+F4 there.
- If Alt+F4 works in some apps but not others, the issue is probably app-specific.
- If it does not work anywhere, the problem is more likely the keyboard, Windows, or a background utility.
- If only one side of the shortcut seems broken, such as Alt or F4, the key itself may be failing.
Make Sure the Keys Are Actually Being Detected
- Open an app that can display keystrokes, such as the On-Screen Keyboard or a key testing tool.
- Press the Alt key and confirm it registers.
- Press F4 and confirm it registers.
- Try the shortcut again using the other Alt key and the function row F4 key.
- If you are using a laptop, check whether you must hold Fn as well to use the function keys.
Some keyboards, especially compact laptops and gaming keyboards, use a function-lock mode. If F4 is mapped to a media action instead of a true function key, Alt+F4 may not behave as expected unless Fn is held or function lock is disabled.
Close Keyboard Utilities That May Be Interfering
Keyboard remapping tools, gaming software, macro programs, and vendor utilities can override or block shortcuts. This is especially common on PCs with software from keyboard manufacturers or gaming peripherals.
- Logitech G HUB or SetPoint
- Razer Synapse
- Corsair iCUE
- SteelSeries GG
- AutoHotkey scripts
- PowerToys Keyboard Manager
- Gaming overlays or macro tools
- Open the app or tray icon for the keyboard utility.
- Look for hotkey remapping, macro profiles, or application-specific rules.
- Temporarily disable the utility or exit it completely.
- Test Alt+F4 again.
- If it works after disabling the tool, review the remap settings and remove the conflicting shortcut.
Check for Stuck Modifier Keys
If Windows thinks Alt, Ctrl, or Shift is being held down, shortcuts can behave strangely or stop working normally. This can happen because of a physically stuck key, accessibility settings, or a keyboard driver issue.
- Press both Alt keys a few times to unstick them.
- Tap the F4 key several times.
- Press Ctrl, Shift, and Windows key individually to make sure none are stuck.
- Try another keyboard if available.
- If you use a laptop, disconnect external peripherals and retest.
Test the Keyboard in Another Program or on Another PC
A hardware problem is much easier to confirm if you test the keyboard outside the current Windows installation. If possible, connect the keyboard to another computer and try Alt+F4 there.
- If the shortcut fails on another PC, the keyboard is likely faulty.
- If the shortcut works elsewhere, Windows 10 or a local program on the original PC is more likely causing the issue.
- If you are using a wireless keyboard, also check the battery and receiver connection.
Update or Reinstall the Keyboard Driver
Windows uses keyboard drivers to interpret input. A corrupted or outdated driver can cause shortcuts to stop responding correctly, especially after updates or hardware changes.
- Right-click the Start button and open Device Manager.
- Expand Keyboards.
- Right-click your keyboard device and choose Update driver.
- If that does not help, right-click the device again and choose Uninstall device.
- Restart the PC so Windows reinstalls the driver automatically.
If you are using a branded keyboard with its own software, also check the manufacturer’s support site for updated software or firmware.
Turn Off Sticky Keys and Related Accessibility Features
Accessibility features can change how modifier keys behave. Sticky Keys, for example, lets you press modifier keys one at a time instead of together. In some cases, it can create confusing shortcut behavior if it is enabled accidentally.
- Open Settings.
- Go to Ease of Access.
- Select Keyboard.
- Turn off Sticky Keys, Toggle Keys, and Filter Keys if they are enabled.
- Test Alt+F4 again.
Check Whether a Full-Screen App Is Blocking the Shortcut
Some full-screen games, remote desktop sessions, browser modes, or kiosk-style apps intercept Alt+F4 or handle it differently. In those cases, Windows may not see the shortcut at all.
- Try the shortcut on the desktop or in File Explorer.
- Exit full-screen mode and test again.
- If the problem happens only in one game or app, check that app’s own shortcut settings.
- Some games use Alt+F4 as a prompt to quit, while others block it entirely.
Use System File and Windows Repair Tools
If the shortcut stopped working after a system update, crash, or file corruption issue, Windows repair tools can help restore damaged system components.
- Open Command Prompt as administrator.
- Run sfc /scannow and wait for it to finish.
- If problems remain, run DISM /Online /Cleanup-Image /RestoreHealth.
- Restart after the repairs complete and test Alt+F4 again.
Perform a Clean Boot if the Problem Persists
If Alt+F4 fails because of a background service or startup app, a clean boot can help isolate the conflict. This is useful when the shortcut worked before but stopped after installing new software.
- Press Windows + R, type msconfig, and press Enter.
- On the Services tab, hide Microsoft services, then disable the remaining services.
- Open Task Manager and disable startup items.
- Restart the PC and test Alt+F4.
- If the shortcut works, re-enable items in batches to find the conflicting program.
When to Replace the Keyboard
If Alt+F4 still does not work after testing on another computer, checking drivers, and disabling conflicting software, the keyboard is likely the issue. A failing switch, damaged membrane, or worn connection can prevent one or both keys from registering reliably.
- Replace the keyboard if the same key fails on multiple PCs.
- Use an external keyboard to confirm the laptop itself is not the problem.
- If the issue is limited to one laptop key, a repair shop may be needed for key replacement or cleaning.
What Usually Fixes Alt+F4 Problems Fastest
The quickest wins are usually checking whether a keyboard utility is remapping the shortcut, testing the other Alt key, and confirming whether the problem happens only in one app. If those do not help, move on to driver updates and Windows repair tools.
If you want the shortest path to a solution, start with hardware testing first, then remove software conflicts, then repair Windows only if the shortcut is broken system-wide.