Keyboard Not Working? Fixes for Windows and Mac
A keyboard that suddenly stops typing is one of the most disruptive problems you can have at a desk. The good news is that most cases are caused by something simple: a flat battery, a loose USB connection, a lost Bluetooth pairing or an accessibility setting that was switched on by accident.
This guide walks through the fixes in order, from the quickest checks to the more involved steps, for both Windows and Mac. It covers external USB and wireless keyboards as well as built-in laptop keyboards. Work through the steps in order and stop when your keyboard comes back to life.
If you need to type while you troubleshoot, both systems have an on-screen keyboard you can use with your mouse or trackpad. On Windows it is under Settings > Accessibility > Keyboard > On-screen keyboard. On a Mac, Apple suggests using the Keyboard Viewer from the Input menu in the menu bar.
Quick checklist before you start
- Is it every key, or only some keys? If no keys work, the problem is usually power, connection or drivers. If only certain keys fail, it is more likely to be a setting, the wrong layout, dirt under the keys or physical wear.
- Is it one computer or every computer? Try the keyboard on another PC or Mac. If it fails everywhere, the keyboard is the problem. If it works elsewhere, the problem is with your computer.
- Did anything change recently? A spill, a system update, a new USB hub or a new Bluetooth device can all point you to the cause.
Fix 1: Restart the computer
It sounds obvious, but a restart clears stuck drivers and Bluetooth sessions more often than you would expect. Save your work with the mouse, then restart (not just sleep) the computer. On Windows, use Start > Power > Restart. On a Mac, choose Apple menu > Restart.
Fix 2: Check power and batteries on wireless keyboards
A flat or weak battery is the most common reason a wireless keyboard stops working, or works only intermittently.
- Check the power switch. Many keyboards have a small switch on the top edge or underside that is easy to knock off when you move the keyboard.
- Replace AA or AAA batteries with fresh ones, or charge a rechargeable keyboard with its cable for at least 15 to 30 minutes.
- For Apple Magic Keyboards, Apple’s advice is to slide the switch off (no green visible) and back on (green visible), then connect the keyboard to the Mac with its cable for about a minute. This both charges the battery and re-pairs the keyboard.
- On a Mac, you can check the battery level of a Bluetooth keyboard by clicking Control Centre in the menu bar and then Bluetooth.
If your laptop’s built-in keyboard has stopped working, Apple also notes that a Mac may stop responding to key presses when its battery is very low. Plug in the charger and wait a few minutes before you try again.
Fix 3: Check the USB connection
For wired keyboards and wireless keyboards that use a USB receiver (dongle):
- Unplug the cable or receiver and plug it back in firmly.
- Try a different USB port, preferably one directly on the computer rather than on the front panel of a desktop.
- If you use a USB hub, dock or monitor USB port, plug the keyboard straight into the computer. Unpowered hubs sometimes cannot supply enough power to every device. Our guide to the best USB-C hubs and docking stations explains which hubs have their own power supply.
- Check that the cable is not damaged, especially near the plug, where it bends most.
- For a wireless receiver, move it closer to the keyboard. A receiver plugged into the back of a desktop tower under the desk can be blocked by the metal case. A short USB extension cable that brings the receiver onto the desk often fixes lag and dropped keys.
Fix 4: Re-pair a Bluetooth keyboard
Bluetooth pairings sometimes break after an update, after the keyboard was paired to another device, or after the batteries ran flat.
On Windows 11
- Open Settings > Bluetooth & devices and make sure Bluetooth is turned on.
- Find your keyboard in the device list, select the three-dot menu and choose Remove device.
- Put the keyboard into pairing mode. This is usually done by holding a dedicated pairing or Bluetooth key until a light blinks. Check the manual for your model.
- Select Add device > Bluetooth and choose the keyboard from the list. If Windows shows a code, type it on the keyboard and press Enter.
On a Mac
- Open Apple menu > System Settings > Bluetooth and make sure Bluetooth is on. If you only have the keyboard and no mouse, Apple suggests pressing Command-Space, typing “Bluetooth File Exchange” and pressing Return to turn Bluetooth on.
- Find the keyboard in the list, click the info button next to it and choose Forget This Device.
- For an Apple keyboard, connect it with its cable to re-pair. For other brands, put the keyboard into pairing mode and click Connect when it appears.
Apple’s support page If you can’t connect your Magic Keyboard, Magic Mouse, or Magic Trackpad to your Mac has the official steps, including which cable to use for each model.
Multi-device keyboards, such as many Logitech models, can be paired with up to three computers or tablets and switch between them with “Easy-Switch” style keys. If your keyboard seems dead, it may simply be switched to another channel. Press each channel key in turn and watch which one your computer responds to.
Fix 5: Rule out wireless interference
If a wireless keyboard keeps disconnecting or misses keystrokes, interference may be the cause. This is common in HDB flats and condominiums where many Wi-Fi networks overlap, and in offices full of wireless devices.
- Keep the keyboard within a metre or two of the receiver or computer, with a clear line of sight.
- Move Wi-Fi routers, cordless phones, microwave ovens and USB 3.0 hard drives away from the receiver. USB 3.0 ports and devices are a known source of 2.4 GHz interference.
- Avoid placing the computer or receiver behind metal objects such as a steel cabinet or monitor stand.
If you are also having trouble with your router, our guide to the best WiFi routers in Singapore covers modern dual-band and tri-band options.
Fix 6: Turn off accessibility settings that block keys
If the keyboard is connected but some keys only respond when held down, or not at all, an accessibility feature may have been switched on by accident.
Windows: Filter Keys and Sticky Keys
Filter Keys tells Windows to ignore brief or repeated keystrokes. It is useful for some users, but if it is switched on unintentionally, short key presses seem to do nothing. Holding the right Shift key for eight seconds can turn it on without you noticing.
- Open Settings > Accessibility > Keyboard.
- Turn off Filter keys, and check that Sticky keys is also off unless you use it on purpose.
- You can also turn off the keyboard shortcut for each feature so it is not switched on by accident again.
Mac: Slow Keys and Mouse Keys
Apple’s guide If your Mac doesn’t respond to key presses lists two settings to check:
- Slow Keys: Choose Apple menu > System Settings, click Accessibility in the sidebar, then click Keyboard. Make sure Slow Keys is turned off. When it is on, you must hold a key longer before the Mac registers it.
- Mouse Keys: Choose Apple menu > System Settings, click Accessibility, then Pointer Control. Make sure Mouse Keys is off. When it is on, the number keys move the pointer instead of typing. You can also press Option-Command-F5 to open the Accessibility Shortcuts panel and deselect Mouse Keys.
Apple also notes that the Caps Lock key and the Media Eject key are designed to need a slightly longer press, so a quick tap may not register.
Fix 7: Check the keyboard layout and language
If the keyboard types the wrong characters, for example @ and ” are swapped, or Y and Z are swapped, the computer is probably using the wrong keyboard layout.
- Windows: Go to Settings > Time & language > Language & region. Select your language, open Language options and check the keyboards listed. Most keyboards sold in Singapore use the US (QWERTY) layout. Remove layouts you do not use. The shortcut Windows key + Space switches between layouts, which is a common way to change layout by accident.
- Mac: Choose Apple menu > System Settings > Keyboard. Under Text Input, click Edit, turn on Show Input menu in menu bar, then use the Input menu to confirm the correct layout is selected.
Also check whether Num Lock is off when the number pad will not type numbers, and whether a laptop’s Fn Lock is changing what the top row of keys does.
Fix 8: Update or reinstall the keyboard driver (Windows)
Windows uses a standard driver for most keyboards, but it can become corrupted, especially after a major update.
- Right-click the Start button and choose Device Manager.
- Expand Keyboards. Look for any entry with a yellow warning icon.
- Right-click your keyboard and choose Update driver > Search automatically for drivers.
- If that does not help, right-click the keyboard again, choose Uninstall device, then restart the computer. Windows reinstalls the driver automatically when it starts.
- For Bluetooth keyboards, also check the Bluetooth adapter under Bluetooth in Device Manager.
For laptops, check the manufacturer’s support site (for example Dell, HP, Lenovo, ASUS or Acer) for chipset and keyboard driver updates for your exact model. Then run Settings > Windows Update to install any pending updates.
If you use brand software such as Logitech Options+ or Razer Synapse, update it or try uninstalling it. Outdated companion software can occasionally remap or block keys.
Fix 9: Keep the Mac up to date
On a Mac there is no separate keyboard driver to reinstall. Instead, install the latest macOS updates from Apple menu > System Settings > General > Software Update. Updates sometimes include fixes for Bluetooth and accessory problems. For third-party keyboards, check whether the brand offers updated companion software for your macOS version.
Fix 10: Clean the keyboard
If only a few keys stick, double-type or fail, dirt and crumbs under the keycaps are a likely cause. Singapore’s humidity can also make spills and grime stickier over time.
- Turn off the computer, or switch off and unplug the keyboard.
- Turn the keyboard upside down and tap it gently to shake out loose debris.
- Use compressed air at an angle between the keys.
- Wipe the keycaps with a cloth that is slightly damp, never wet.
Our step-by-step guide on how to clean a keyboard safely covers membrane, laptop and mechanical keyboards in detail, including what to do immediately after a spill.
Fix 11: Test whether the problem is hardware or software
If nothing has worked so far, a simple test tells you whether you need a new keyboard or a repair.
- Try the keyboard on another computer. If it fails there too, the keyboard is faulty.
- Try another keyboard on your computer. If a different keyboard works, your original keyboard is faulty. If no keyboard works, the problem lies with the computer’s USB ports, Bluetooth or operating system.
- Test a laptop keyboard outside Windows. Restart and press the key that opens the BIOS or UEFI setup (often F2, F10, F12 or Delete, depending on the brand). If the keys work there, the hardware is probably fine and the issue is in Windows. If they do not, the keyboard or its internal cable may be faulty.
For mechanical keyboards, a single dead key is often a faulty switch. Hot-swappable boards let you replace the switch without soldering. Our explainer on mechanical keyboard switches describes the common switch types.
When to get it repaired or call support
Stop troubleshooting and contact support or a repair shop if:
- Liquid was spilled on a laptop keyboard. Switch the laptop off, unplug it and get it checked. Liquid can damage the motherboard as well as the keyboard, and the longer it sits, the worse the corrosion.
- Several keys in one row or area have failed on a laptop. This often points to a damaged keyboard ribbon cable or keyboard assembly.
- The keyboard is under warranty. Opening it yourself may void the warranty. Contact the brand’s authorised service centre in Singapore or the retailer you bought it from. Apple users can book a repair through Apple Support or at an Apple Store in Singapore.
- Keys are physically broken or the laptop keyboard is swollen or lifting. A raised keyboard on a laptop can be a sign of a swelling battery, which should be checked promptly.
For a basic external keyboard that has failed out of warranty, replacing it is usually cheaper than repairing it. Our tips for buying the perfect keyboard can help you pick a replacement, and you can browse options on our keyboards page. Mac users can also compare the best wireless keyboards for Mac.
Do not throw an old keyboard into the general waste bin. In Singapore, keyboards and other ICT equipment can be dropped off for recycling through the national e-waste recycling programme, at e-waste bins and collection points listed on the NEA website.
Frequently asked questions
Why has my keyboard stopped working but my mouse still works?
The two devices are separate, so a working mouse points to a problem specific to the keyboard: a flat battery, a lost Bluetooth pairing, a loose USB plug or an accessibility setting such as Filter Keys or Slow Keys. Start with Fixes 2 to 6 above.
Why do some keys work and others don’t?
When only some keys fail, check the keyboard layout, Num Lock and Fn Lock first. If the same keys fail on another computer, dirt under the keys or a worn switch or membrane is the likely cause.
How do I type if my keyboard isn’t working at all?
Use the on-screen keyboard. On Windows, go to Settings > Accessibility > Keyboard > On-screen keyboard. On a Mac, use the Keyboard Viewer from the Input menu. You can then type with your mouse or trackpad until the keyboard is fixed or replaced.
My laptop keyboard stopped working after a Windows update. What should I do?
Restart the laptop first. Then open Device Manager, uninstall the keyboard under Keyboards and restart again so Windows reinstalls the driver. Also check the laptop maker’s support site for updated drivers for your model.
Is it worth repairing a laptop keyboard?
Often, yes, because a laptop keyboard is built in and replacing the whole laptop costs far more. Ask an authorised service centre for a quote first. If the laptop is old, compare the repair cost with using an external keyboard or upgrading.
