Quick fix: Open Settings → Accessibility → Keyboard and toggle On-Screen Keyboard Off. Then open Settings → Time & language → Typing → Touch keyboard and set Show the touch keyboard to Never. Together these stop both the desktop On-Screen Keyboard and the touch keyboard from auto-launching.
The on-screen keyboard pops up every time you tap a text field, dock/undock your laptop, or rotate a 2-in-1. Sometimes it stays even after you press Esc or click outside. The Windows 11 touch keyboard is the usual culprit; the legacy On-Screen Keyboard (OSK) is separate but often confused with it. Disabling each in its own location stops the auto-appearance.
Affects: Windows 11 (and Windows 10) 2-in-1 laptops, tablets, and PCs with the Touch Keyboard and Handwriting Panel Service running.
Fix time: ~5 minutes.
What causes this
Two distinct keyboards exist in Windows. Touch keyboard: shows automatically on 2-in-1 devices when the screen is touched and no physical keyboard is attached or unfolded. It’s controlled by the Touch Keyboard and Handwriting Panel Service. On-Screen Keyboard (OSK): a legacy accessibility tool launched via Win+Ctrl+O or Settings → Accessibility. It’s separate from the touch keyboard.
Auto-popping is usually the touch keyboard. The trigger conditions: tablet mode, undocked physical keyboard, focus on a text field, or a misbehaving app that claims to be in a text-entry context.
Method 1: Disable touch keyboard auto-popup
The standard fix for the most common cause.
- Open Settings → Time & language → Typing.
- Click Touch keyboard to expand the section.
- Find Show the touch keyboard. Three options: When no keyboard attached, Always, Never.
- Set to Never. The touch keyboard now never auto-pops; you can still launch it manually via taskbar icon if needed.
- Also toggle off Show the touch keyboard icon in the system tray if you don’t want the icon present.
- Close Settings. Test by tapping/clicking on text fields in various apps — the touch keyboard should not appear.
This is the right fix when the auto-popup is the touch keyboard on a 2-in-1 or tablet.
Method 2: Disable the On-Screen Keyboard accessibility option
If Settings → Typing changes don’t fix it, OSK is the culprit (less common, but happens after accessibility settings get toggled).
- Open Settings → Accessibility → Keyboard.
- Toggle On-Screen Keyboard to Off.
- Also open Settings → Accessibility → Interaction. Verify no related toggle (e.g., Sticky Keys, Mouse Keys) is auto-launching OSK on certain keystrokes.
- Disable the OSK Ease of Access option in the sign-in screen: open Control Panel → Ease of Access Center → Change sign-in settings. Untick the OSK box.
- Press
Win + Ctrl + O— this is the OSK toggle hotkey. If OSK launches with this hotkey, it’s available; if not, you’ve disabled it correctly.
Use this when the keyboard popup persists even after Method 1.
Method 3: Stop the Touch Keyboard service (last resort)
For when the touch keyboard pops despite the Settings toggle being Off — indicates a stuck service state or a third-party app forcing focus.
- Press
Win + R, typeservices.msc, press Enter. - Find Touch Keyboard and Handwriting Panel Service.
- Right-click → Properties.
- Set Startup type to Disabled.
- Click Stop if running, then Apply → OK.
- Reboot.
- The touch keyboard can no longer launch at all. You can re-enable later by setting Startup type back to Manual.
- Alternative for diagnosing: open Task Manager → Processes. Look for TabTip.exe, TextInputHost.exe, or InputApp.exe — these are the touch keyboard’s processes. End task on each and see if it stays gone.
The trade-off: disabling the service means handwriting input doesn’t work either. Use only on PCs where you definitely don’t want any touch input features.
How to verify the fix worked
- Click into a text field in any app (Notepad, browser address bar, Word). The keyboard should not appear.
- If on a 2-in-1: undock or fold to tablet mode. The keyboard should still not appear.
- Run
Get-Service TabletInputServicein PowerShell. Status should be Stopped and StartType Disabled (if you applied Method 3).
If none of these work
If the touch keyboard still pops after all three methods, a third-party app is forcing focus on a text element that triggers the keyboard. Common offenders: PDF reader plugins that focus annotation text fields, accessibility tools like NVDA that explicitly request input focus, language-input utilities like Microsoft IME or Google Japanese IME during mode switching. Identify by elimination: close apps one at a time until the popup stops. The last-closed app is the trigger. For 2-in-1 devices specifically: check whether the laptop firmware is correctly detecting screen orientation. Update the chipset and ACPI drivers from the manufacturer’s support page — outdated sensors sometimes report “tablet mode” falsely, which causes Windows to keep popping the keyboard. For Surface devices, the Surface Tools app under Settings → Apps controls many touch behaviors and may be overriding Settings → Typing.
Bottom line: Set touch keyboard to “Never” in Settings → Typing, disable On-Screen Keyboard in Accessibility, and as a final resort stop the Touch Keyboard service entirely. One of these will silence the auto-popup.