inputhost.dll Error in Windows 10 and 11: Windows input interface crashes

A touch keyboard or text input interface closes and the crash details identify inputhost.dll.
What this DLL does
This Windows filename is associated with host support for some Windows input interfaces.
Start with this check
Test a physical keyboard and the affected Windows input interface independently. Record whether one app, keyboard mode or device triggers the failure.
Record the exact error, when it occurred, and the full module path if available. For a crash, open View reliability history from Start and look for the matching entry. The affected app, faulting module and exception code help distinguish an app problem from a system-wide one.
Choose the repair that fits
Use Windows and OEM updates for the affected input device. If only one program triggers it, update or repair that application through its publisher.
Start with Microsoft’s app repair options if only one supported application fails. If unrelated built-in Windows features also fail and you suspect system file corruption, use Microsoft’s DISM and System File Checker instructions. Use supported packages and avoid downloading individual DLL files.
Verify the repair
Repeat the same typing action and verify the intended interface remains responsive.
For a related check, see winuiedit.dll troubleshooting. Browse the DLL Errors & Fixes Library. Official reference: Microsoft’s Text Services Framework documentation.