Windows

How to Fix Alt+F4 Not Working in Windows 10

Learn how to fix Alt+F4 when it stops working in Windows 10, including keyboard checks, Windows settings, driver issues, and app-specific problems.

Chris Anderson
Chris Anderson
How-To Writer  •  Sep 21, 2026  •  7 min read

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.

How to Fix Alt+F4 Not Working in Windows 10

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.

Why It Matters This first test helps you avoid unnecessary fixes. A shortcut that works in one place but not another usually points to software behavior, while a shortcut that fails everywhere often points to input hardware or a system-level setting.

Make Sure the Keys Are Actually Being Detected

  1. Open an app that can display keystrokes, such as the On-Screen Keyboard or a key testing tool.
  2. Press the Alt key and confirm it registers.
  3. Press F4 and confirm it registers.
  4. Try the shortcut again using the other Alt key and the function row F4 key.
  5. 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.

Quick Tip Try the shortcut with the other Alt key. A damaged left Alt key is common, and the right Alt key can sometimes still work normally.

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.

  1. Open the app or tray icon for the keyboard utility.
  2. Look for hotkey remapping, macro profiles, or application-specific rules.
  3. Temporarily disable the utility or exit it completely.
  4. Test Alt+F4 again.
  5. If it works after disabling the tool, review the remap settings and remove the conflicting shortcut.
Warning If you use custom macros or remaps for games or work, changing them can affect other shortcuts. Note your current settings before removing anything.

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.

  1. Press both Alt keys a few times to unstick them.
  2. Tap the F4 key several times.
  3. Press Ctrl, Shift, and Windows key individually to make sure none are stuck.
  4. Try another keyboard if available.
  5. If you use a laptop, disconnect external peripherals and retest.
Note Spilled liquid, dust, or a worn key switch can make a key register intermittently, even if it looks fine on the outside.

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.

Key Fact If only one key in the shortcut is unreliable, the whole shortcut may fail even though the rest of the keyboard appears to work normally.

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.

  1. Right-click the Start button and open Device Manager.
  2. Expand Keyboards.
  3. Right-click your keyboard device and choose Update driver.
  4. If that does not help, right-click the device again and choose Uninstall device.
  5. 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.

  1. Open Settings.
  2. Go to Ease of Access.
  3. Select Keyboard.
  4. Turn off Sticky Keys, Toggle Keys, and Filter Keys if they are enabled.
  5. Test Alt+F4 again.
Note The exact menu names may vary slightly depending on your Windows 10 version.

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.

Why It Matters If Alt+F4 works outside the app, Windows is probably fine. That means the app is either overriding the shortcut or intentionally preventing it from closing that way.

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.

  1. Open Command Prompt as administrator.
  2. Run sfc /scannow and wait for it to finish.
  3. If problems remain, run DISM /Online /Cleanup-Image /RestoreHealth.
  4. Restart after the repairs complete and test Alt+F4 again.
Warning Do not close the Command Prompt window while these tools are running. Interrupting them can leave the repair incomplete.

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.

  1. Press Windows + R, type msconfig, and press Enter.
  2. On the Services tab, hide Microsoft services, then disable the remaining services.
  3. Open Task Manager and disable startup items.
  4. Restart the PC and test Alt+F4.
  5. If the shortcut works, re-enable items in batches to find the conflicting program.
Best For Users who suspect a third-party app, macro tool, or system utility is interfering with standard keyboard shortcuts.

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.

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.

Topics

More from Windows

View all →
How to Fix DISM Error 0x800f0915 in Windows
Windows

How to Fix DISM Error 0x800f0915 in Windows

How to Fix Command Prompt When You Can’t Run It as Administrator
Windows

How to Fix Command Prompt When You Can’t Run It as Administrator

5 Ways to Fix HP Support Assistant When It Won’t Install
Windows

5 Ways to Fix HP Support Assistant When It Won’t Install

Why USB Devices Show Up as Unknown in Windows 11
Windows

Why USB Devices Show Up as Unknown in Windows 11

How to Fix the Windows Fast Startup Error 0xc00000d4
Windows

How to Fix the Windows Fast Startup Error 0xc00000d4

How to Fix a Volume Bar That Keeps Appearing in Windows
Windows

How to Fix a Volume Bar That Keeps Appearing in Windows