Stop On-Screen Keyboard From Popping Up
In this article
If your touch keyboard keeps appearing on a Windows laptop or tablet, the fix is usually a single setting called "Show the touch keyboard when not in tablet mode and there's no keyboard attached." Turning that off stops the on-screen keyboard from popping up automatically when you tap a text field, while still letting you open it manually when you need it.
Why the On-Screen Keyboard Appears
Windows shows the touch keyboard in two different situations. The first is when you have a touchscreen device and you tap a text box—Windows assumes you want to type with your fingers. The second is when you have a device without a physical keyboard, like a tablet or a 2-in-1 with the keyboard detached. In both cases, the OS is trying to be helpful, but it can be annoying if you prefer a physical keyboard or an external one.
The on-screen keyboard is different from the touch keyboard. The on-screen keyboard is a separate accessibility tool (osk.exe) that you can pin to the taskbar. The touch keyboard is the one that slides up from the bottom of the screen. This article focuses on the touch keyboard, which is the one that most people complain about.
How to Disable the Touch Keyboard in Windows 10 and 11
Here are the steps for both Windows 10 and Windows 11, which are nearly identical.
- Right-click on an empty area of the taskbar.
- Select Taskbar settings (Windows 11) or Taskbar settings (Windows 10) from the menu.
- Scroll down to the Touch keyboard section. In Windows 11 it's under "Taskbar items"; in Windows 10 it's under "Taskbar corner icons" or a separate section.
- Uncheck the box that says "Show the touch keyboard when not in tablet mode and there's no keyboard attached." In Windows 11, this is a toggle switch. In Windows 10, it's a checkbox.
After you do this, the touch keyboard will not appear automatically when you tap a text field with your finger, as long as you're not in tablet mode. If you have a detachable keyboard, you might still see it when the keyboard is detached—that's by design, because Windows thinks you need it.
If the Setting Doesn't Work
Sometimes the setting above doesn't stop the keyboard from popping up. Here are a few things to check:
- Tablet mode is on. If your device is in tablet mode, the touch keyboard will always appear when you tap a text field. Turn off tablet mode (Action Center > Tablet mode) or switch to laptop mode.
- Your device is a tablet. If you have a pure tablet (like a Surface Go without a keyboard), Windows may force the touch keyboard to appear because it assumes you have no physical keyboard. In that case, you can't fully disable it, but you can move it or resize it.
- You're using a new text field. Some apps, especially browsers and chat apps, have their own settings that force the keyboard to show. Check the app's settings for a "keyboard" or "input" option.
- Registry tweak (advanced). If the setting is grayed out or missing, you can edit the registry. Press Win+R, type
regedit, and go toHKEY_CURRENT_USER\Software\Microsoft\TabletTip\1.7. Create a DWORD calledEnableDesktopModeAutoInvokeand set it to0. Restart your computer. This is a more drastic step, so back up your registry first.
How to Open the Touch Keyboard Manually
Even after disabling auto-invoke, you might still want to use the touch keyboard occasionally. Here's how to open it on demand:
- Right-click the taskbar and select Show touch keyboard button. A small keyboard icon will appear in the system tray (bottom-right). Click it to open the touch keyboard.
- Press Win + Ctrl + O to open the on-screen keyboard (osk.exe), which is a separate floating keyboard.
- On a touch screen, swipe up from the bottom of the screen to open the touch keyboard (if you have that gesture enabled).
Why the On-Screen Keyboard Keeps Appearing in Specific Apps
Some apps have their own logic for showing the keyboard. For example, in Chrome or Edge, tapping the address bar might trigger the keyboard even if you disabled it globally. This is because the browser is telling Windows it needs input. In these cases, you can't fully prevent it without changing the app's settings or using a browser extension that blocks the keyboard. Similarly, some games and remote-desktop apps force the keyboard for text input. There's no universal fix; you have to look at each app's settings.
Common Misconceptions
One common myth is that uninstalling the touch keyboard service will fix the problem. That's not a good idea—the touch keyboard is a system component, and removing it can cause issues with other input features. Another misconception is that the setting "Show text suggestions as I type" is related. That's a different setting that controls word suggestions, not the keyboard's appearance. Also, some people think that disabling the touch keyboard in Device Manager will work, but that's not a supported method and can cause instability.
Frequently Asked Questions
Why does my on-screen keyboard pop up when I plug in an external keyboard?
Windows may still show the touch keyboard if the external keyboard is not detected as a physical keyboard. Try unplugging and replugging the USB receiver, or check if the keyboard has a switch to put it in "wired" mode. Also, make sure the setting "Show the touch keyboard when not in tablet mode..." is unchecked.
Can I disable the on-screen keyboard on a tablet?
On a pure tablet, you cannot fully disable it because Windows relies on it for text input. You can, however, use a physical keyboard (Bluetooth or USB) and the touch keyboard will not appear when the physical keyboard is in use. Some tablets have a setting in the BIOS to disable the touch screen, but that's drastic.
Why does the on-screen keyboard keep appearing in Windows 11 even after I turned it off?
Check if you're in tablet mode. Windows 11 has a tablet mode that is automatically enabled when you detach a keyboard. Also, some apps can override the setting. Try the registry tweak mentioned above if the setting doesn't stick.
Is there a way to make the on-screen keyboard not cover the screen?
Yes, you can resize the touch keyboard or move it. In Windows 10, you can undock the keyboard and move it anywhere. In Windows 11, you can also resize it by dragging the top edge. The on-screen keyboard (osk.exe) can be moved and resized freely.
Does the on-screen keyboard slow down my computer?
No, the touch keyboard is a lightweight component that only runs when visible. It does not affect performance when hidden. The on-screen keyboard (osk.exe) is also lightweight.
Can I disable the touch keyboard for a specific user only?
Yes, the setting is per-user. Each Windows account has its own touch keyboard settings. You can change it for one user without affecting others.