Why you might disable your keyboard
Disabling your laptop keyboard is useful when you want to prevent accidental key presses, protect against unauthorized input, or force yourself or someone else to use an external keyboard. Parents sometimes disable the built-in keyboard to prevent children from typing when they shouldn't. IT administrators disable keyboards on shared devices to control which input methods are allowed. You might disable it temporarily while cleaning, or permanently if your keyboard is broken and you're using an external one instead.
The method you choose depends on whether you want a temporary solution (software-based) or a permanent one (hardware or BIOS-level), and whether you need the keyboard to stay disabled across restarts or just during your current session.
Key Takeaways
- Windows lets you disable a keyboard through Device Manager by right-clicking the keyboard device and selecting "Disable device," which takes effect when ready but resets if you restart.
- Mac users can disable the built-in keyboard by going to System Settings > Keyboard, then unchecking "Enable keyboard" or using Accessibility settings to remap all keys to "Do Nothing."
- Disabling a keyboard in the BIOS or UEFI settings persists across restarts and is harder to reverse without knowing your BIOS password, so use this method only if you're certain.
- External keyboards and mice will continue to work when the built-in keyboard is disabled, so you'll still be able to control your laptop.
- If you forget how you disabled the keyboard, you can usually re-enable it by booting into Safe Mode, accessing Device Manager, or using an external keyboard to navigate settings.
Disabling the keyboard in Windows Device Manager
The fastest way to disable your keyboard in Windows is through Device Manager, which is built into every version of Windows. This method disables the keyboard when ready but does not survive a restart — the keyboard will re-enable the next time you boot.
Open Device Manager by right-clicking the Start button and selecting "Device Manager," or by typing "Device Manager" into the Windows search box. Look for "Keyboards" in the list and click the arrow next to it to expand the category. You will see your keyboard listed — it is usually called "Standard PS/2 Keyboard" or "HID Keyboard Device" or something similar. Right-click on it and select "Disable device." A dialog will ask you to confirm; click "Yes." The keyboard will stop working when ready.
To re-enable it, go back to Device Manager, find the keyboard in the Keyboards category (it may have a down arrow next to it now), right-click it, and select "Enable device." The keyboard will work again within a few seconds.
Disabling the keyboard in Mac System Settings
On a Mac, the built-in keyboard can be disabled through System Settings. Open System Settings and go to Keyboard. Look for an option to disable the keyboard or uncheck "Enable keyboard" if that option appears — the exact wording varies by macOS version.
If you do not see a direct disable option, use Accessibility instead. Go to System Settings > Accessibility > Keyboard, then enable "Full Keyboard Access" and set it to control only external devices. Alternatively, go to System Settings > Accessibility > Motor and look for options to disable specific input devices.
Another approach is to remap every key on the built-in keyboard to "Do Nothing." Go to System Settings > Keyboard > Keyboard Shortcuts, then select each key and assign it no action. This is tedious but effective. Like the Windows method, these changes do not always survive a restart, depending on your macOS version.
Disabling the keyboard in BIOS or UEFI settings
Disabling the keyboard at the BIOS or UEFI level is more permanent than software methods. The keyboard will not work even before Windows or macOS loads, and the setting persists across restarts. However, this method is also harder to reverse if you change your mind, especially if you set a BIOS password.
To access BIOS or UEFI, restart your laptop and press a specific key during startup — usually Delete, F2, F10, or Esc, depending on your manufacturer. The correct key is often shown on the boot screen. Once inside BIOS or UEFI, look for a section called "Integrated Peripherals," "Onboard Devices," "Internal Devices," or something similar. Find the entry for the keyboard or "Keyboard Controller" and set it to "Disabled." Save your changes and exit. The keyboard will be disabled the next time you boot.
If you later want to re-enable it, you will need to boot back into BIOS or UEFI and change the setting again. If you set a BIOS password and forget it, you may need to contact your laptop manufacturer or take it to a repair shop to reset it.
What still works when the keyboard is disabled
When you disable your built-in keyboard, any external keyboard connected via USB or Bluetooth will continue to work normally. The same is true for a mouse, trackpad, or other input device — disabling the keyboard does not affect them. You can still control your laptop fully with an external keyboard and mouse.
If you disabled the keyboard through Device Manager or System Settings and now cannot access those menus without a keyboard, plug in an external keyboard, use it to navigate back to Device Manager or System Settings, and re-enable the built-in keyboard. If you disabled it in BIOS, you will need an external keyboard to boot into BIOS again and change the setting.
Re-enabling a keyboard you disabled
If you disabled your keyboard through Device Manager or System Settings and can still access your laptop with an external keyboard, straightforward reverse the steps: open Device Manager or System Settings again and re-enable the keyboard.
If you disabled the keyboard in BIOS and do not have an external keyboard available, you have a few options. If your laptop has a touchscreen, you can use the on-screen keyboard to navigate. You can also boot into Safe Mode by restarting and pressing F8 (on older Windows) or by holding Shift while clicking Restart (on newer Windows), then use the on-screen keyboard to access Device Manager and re-enable the keyboard. On a Mac, you can use Voice Control or dictation to navigate System Settings if the keyboard is disabled at the software level.
If you set a BIOS password and cannot remember it, contact your laptop manufacturer's support line with proof of ownership. They can walk you through a reset process, which varies by brand.
Protecting a disabled keyboard with a BIOS password
If you want to prevent someone from straightforward re-enabling the keyboard, set a BIOS password at the same time you disable the keyboard. This way, anyone trying to access BIOS to re-enable it will be locked out.
In BIOS or UEFI, look for "Security," "Password," or "Administrator Password" settings. Set a strong password that you will remember. Save and exit. Now the keyboard is disabled and cannot be re-enabled without the BIOS password. Write the password down and store it somewhere safe — if you lose it, you will need manufacturer support to reset it.
Do not use this method unless you are certain you will remember the password or have it written down securely. A forgotten BIOS password can lock you out of your own laptop.
Frequently Asked Questions
Will disabling the keyboard stop my laptop from starting?
No. Disabling the keyboard through Device Manager or System Settings does not affect startup. If you disable it in BIOS, the laptop will still start — you just will not be able to use the keyboard before the operating system loads. An external keyboard will work in both cases.
Can I disable only certain keys instead of the whole keyboard?
On Windows, you can use third-party software like AutoHotkey to remap specific keys to do nothing, but there is no built-in way to disable individual keys. On Mac, you can remap keys through System Settings > Keyboard > Keyboard Shortcuts, but this affects all keyboards, not just the built-in one. The easiest approach is to disable the entire keyboard and use an external one.
What if I disabled the keyboard and now I'm locked out?
Plug in an external USB keyboard or mouse. If your laptop has a touchscreen, use the on-screen keyboard. If you disabled it in BIOS and have no other input method, restart and try booting into Safe Mode, where you may be able to access an on-screen keyboard or use voice control to navigate back to BIOS settings.
Does disabling the keyboard affect my laptop's performance?
No. Disabling the keyboard has no effect on speed, battery life, or any other performance metric. It straightforward prevents that input device from sending signals to the operating system.
Can I disable the keyboard on a work laptop?
Check your company's IT policy first. Many organizations restrict changes to BIOS or Device Manager settings. If you need the keyboard disabled for accessibility or security reasons, contact your IT department — they may be able to do it for you or explain why it is not allowed.