How to turn off or disable a laptop keyboard

Updated: 07/31/2022 by Computer Hope
Laptop computer keyboard.

Laptops are handy in that they come with all the necessary components for basic computer operation: a pointing device (touchpad), screen, and a keyboard. Some users, however, prefer to use external peripherals for various reasons. Consequently, they may want or need to disable the laptop keyboard.

There are different methods used to disable or turn off the keyboard in various operating systems, and specific limitations. The following sections show you the details of these processes for Windows, macOS, and ChromeOS.


These steps also work for desktop computers.

How to temporarily disable the keyboard in Windows

  1. Press the Windows key and X at the same time.
  2. Select Device Manager from the pop-up menu.

Device Manager selector.

  1. In the list of hardware components, click the down arrow Down arrow in Windows. next to Keyboards to expand the section.

Expanding the keyboard section in Device Manager.

  1. Right-click the appropriate keyboard(s) and select Disable device or Uninstall device.

Uninstall device selector in Device Manager.

  1. If you're prompted to do so, confirm the uninstallation by clicking Uninstall.

Confirming uninstall in Device Manager.


Windows automatically reinstalls your keyboard(s) on startup. Using the method described above only disables the keyboard until you restart your computer.

How to disable the keyboard in macOS

With macOS, you cannot disable the MacBook keyboard without third-party software. We recommend downloading Karabiner Elements to do the job. Once you've downloaded and installed this program, follow the steps below.


Karabiner Elements only disables your Mac's laptop keyboard when a different one is connected. In other words, you need to connect an external keyboard to disable the internal one.

  1. Connect an external keyboard to your MacBook.
  2. Open the Karabiner Elements program.
  3. Select Preferences.
  4. Click the Devices tab, then Advanced.
  5. Under the Disable the built-in keyboard while one of the following selected devices is connected section, check the box next to your external keyboard.

How to disable the on-screen keyboard on a Chromebook

If you're on a Chromebook, only the on-screen keyboard may be disabled, not the physical one. To do so, follow the steps below.

  1. Using the keyboard or a mouse, click the bottom-right corner of the Chromebook screen, where the time and battery icons are located.
  2. In the window that pops up, click the gear icon , usually located near the top-right or bottom-left corner, to access the Chromebook settings.
  3. In the Settings window, in the left navigation menu, click the arrow next to Advanced to expand that section, and then click the Accessibility option.
  4. Under Accessibility, click the toggle switch next to the Always show accessibility options in the system menu, so it's in the on Toggle on switch on a Chromebook. position.
  5. In the Chromebook system menu, click Accessibility and select Manage Accessibility Features.
  6. In the Keyboard section, click the toggle switch in the Enable on-screen keyboard section, so it's in the off Toggle off switch on a Chromebook. position.