Skip to content

How to Change and Check the Keyboard Layout in Windows

Published: · Updated: · 7 min reading time

In Windows 11 two different shortcuts change your keyboard layout, and only one of them is meant to be pressed on purpose. Windows plus Space cycles through the layouts you have installed and shows a small panel while it does so. Left Alt plus Shift does much the same thing silently, which is why a keyboard that suddenly prints the wrong characters is usually a switched layout rather than a broken board.

Which layout is active right now?

Once a second layout is installed, Windows puts an indicator in the taskbar next to the clock, showing a short code such as ENG or DEU. That indicator is the fastest diagnosis available, because it tells you which layout is active in the window you are typing in right now.

The catch is that the setting can be per window. Windows has an option called let me set a different input method for each app window, and when it is on, your browser and your text editor can sit on different layouts at the same time. A problem that follows one application and not another is almost always this setting.

Advertisement

How do you add, remove and reorder layouts?

Layouts live under Settings, then Time and language, then Language and region. Each installed language has a menu with Language options, and inside it a Keyboards section where you add or remove a layout. A language can hold several: English can carry both the plain United States layout and United States International at once, which is how most people end up cycling between two arrangements they did not knowingly install.

Removing what you do not use is the permanent fix. If only one layout remains, Windows plus Space has nothing to cycle to, the taskbar indicator disappears, and the accidental switch stops being possible.

The two hotkeys themselves live in a different place, under Advanced keyboard settings, behind a link named input language hot keys. The dialog that opens is the old Text Services panel, and it lets you set the switch between input languages to none. Left Alt plus Shift sits a thumb’s width from the combinations people use all day, so turning it off is a reasonable choice.

Why are wrong characters almost never a hardware fault?

A keyboard sends the position of the key that moved. The character is decided afterwards by the active layout, which is why the same physical key can produce three different symbols on three machines. Two properties describe this split precisely: KeyboardEvent.code names the physical position, and KeyboardEvent.key names the character the layout produced.

Our keyboard test shows both for every keypress. If you press the key to the right of L and the position reports correctly while the character is wrong, the layout is wrong and the hardware is fine. If the position itself never arrives, the switch or the cable is the suspect.

SymptomWhat is actually activeFix
Double quote and at sign trade places, hash gives a pound signa United Kingdom layout against a United States oneswitch layout, or remove the one you do not use
Y and Z swap and the right hand punctuation movesGerman QWERTZ, covered in ISO against ANSIswitch layout
An accent key prints nothing until you press a second keya dead key working correctly, as on US Internationalnothing is wrong; press space to get the accent alone
The problem follows one application and not anotherper window input method is switched onturn off the per window option in Settings
The numeric keypad sends arrows instead of digitsNum Lock is offpress Num Lock; this is not a layout issue at all
Advertisement

How do you confirm a layout before trusting it?

After a change, type a line that reaches beyond the letters. Digits, an apostrophe, a period, a comma, a question mark and the key next to Enter cover most of the positions that move between national arrangements. The letters agree across almost all Latin layouts, so testing with letters alone proves very little.

If you are moving between arrangements that differ by only a few keys, the keyboard test shows the physical position of every key next to the character it produces, which is a quick way to identify what a colleague’s machine was actually set to. The historical reason these variants differ by so little is in why the QWERTY layout exists.

For an unhurried check, start with Lewis Carroll’s opening of Alice in Wonderland, published in 1865, where a bored child on a riverbank refuses to read her sister’s book. Its vocabulary is plain, but those 302 characters turn on a colon, close on a question mark and carry a pair of quotation marks, and all of those sit on keys that move between national layouts. Digits move too, so follow it with the list of old English standards from the Encyclopaedia Britannica of 1911, 315 characters with a year in brackets after almost every entry, or with Gilbert White’s description of his Hampshire parish from 1789, whose 393 characters carry distances and a latitude among the place names. If they come out clean, your layout and your hands agree. All three are waiting in the typing test, each with its author, year and source on its own page.

What to do first, and what to change permanently

Check first, before touching any setting: read the language indicator in the taskbar next to the clock. It names the layout active in the window you are typing in right now, and it settles most cases in a second.

Change permanently by removing layouts you never chose. If only one remains, Windows plus Space has nothing to cycle to, the indicator disappears, and the accidental switch becomes impossible. The second permanent fix is the hotkey itself: under Advanced keyboard settings, behind the link named input language hot keys, the old Text Services panel lets you set the switch between input languages to none.

Where to start if the indicator looks right and the characters are still wrong: press the key and compare its physical position against the character that arrives. Our keyboard test shows both. Position correct and character wrong means the layout; no position at all means the switch or the cable.

Advertisement

When changing the layout will not help

FAQ

How do I change the keyboard layout in Windows 11?

Windows plus Space cycles through the layouts you have installed and shows a small panel while it does. To add or remove one, go to Settings, then Time and language, then Language and region, open Language options for the language you want and use the Keyboards section.

Why did my keyboard layout change by itself?

Almost certainly left Alt plus Shift, which switches layouts silently and sits a thumb’s width from combinations people use all day. You can disable it under Advanced keyboard settings, behind the link named input language hot keys, by setting the switch between input languages to none.

Why does only one program type the wrong characters?

Because Windows has an option called let me set a different input method for each app window. With it on, your browser and your text editor can sit on different layouts at the same time. A problem that follows one application and not another is nearly always this setting.

How do I tell a wrong layout from a broken keyboard?

A keyboard sends the position of the key that moved; the character is decided afterwards by the active layout. KeyboardEvent.code names the position and KeyboardEvent.key names the character, and the keyboard test shows both for every press. Correct position with the wrong character means the layout. No position at all means the hardware.

Which characters should I type to confirm a layout?

The ones that move between national arrangements: digits, an apostrophe, a comma, a period, a question mark, and the key immediately to the left of Enter. Letters prove very little, because they agree across almost every Latin layout.

Pick a text

Advertisement

More from the blog

What you can do here

Keyboard test

Press a key and watch it light up. It shows keys that stay silent, keys that fire twice, and how many keys your board reads at once.

Check your keyboard

Type texts worth knowing

A hundred short passages, from Lewis Carroll to the US Constitution. You type one and find out where it comes from and what it is about.

Pick a text