Skip to content
6 min fix 10 min read Recently reviewedBeginner
Quick Answer

Press Windows + Space to cycle back to your normal keyboard layout. An accidental press of that shortcut, or of Alt + Shift, is what swapped the at sign and the quote mark. Check the language code in the taskbar to confirm which layout is active.

How to Fix Your Keyboard Typing the Wrong Characters

Applies to: Windows 11, Windows 10
Article Type: Troubleshooting
Last Updated: 2026-07-29

Summary

When your keyboard starts producing the wrong symbols, the hardware is almost never at fault — Windows switched to a different keyboard layout, usually because a shortcut got pressed by accident. This article shows you how to identify which layout is active, switch back in two seconds, remove the layout so it cannot happen again, and handle the two lookalike problems that are not layout-related at all.

Symptoms

  • Pressing Shift + 2 produces " when you expected @, so email addresses come out wrong.
  • Pressing Shift + 3 produces £ when you expected #.
  • The @ sign has moved to the key next to Enter.
  • The backslash and hash keys appear to have swapped places.
  • Letters are in the wrong positions — pressing q produces a, or pressing y produces z.
  • A two- or three-letter code such as ENG, FRA, or DEU sits next to the clock in the taskbar, and you do not remember putting it there.
  • The problem started immediately after you reached for a keyboard shortcut, and it affects every application.

Prerequisites

  • Windows 11 or Windows 10.
  • No admin rights are needed. Every step here changes your own user profile only.

Instructions

1. Confirm Which Keyboard Layout Is Active

Before changing anything, confirm what Windows currently thinks your keyboard is. Two places tell you.

  1. Look at the notification area of the taskbar, to the left of the clock. A language indicator appears there whenever more than one input method is installed — a code such as ENG, sometimes with a second code beside it.
  2. Click the indicator. A flyout opens listing every installed keyboard, for example English (United States) — US keyboard and English (United Kingdom) — United Kingdom keyboard. The active one is highlighted and shows a tick.
  3. If no indicator is visible next to the clock, only one keyboard is installed. That rules out a layout switch — skip to Step 5.
  4. Match what you are typing against this table to confirm the diagnosis:
You pressYou getThe layout currently active is
Shift + 2" instead of @United Kingdom
Shift + 2@ instead of "United States
Shift + 3£ instead of #United Kingdom
Shift + apostrophe@ instead of "United Kingdom
The key left of Enter# or ~United Kingdom
qa, and w gives zFrench, known as AZERTY
yzGerman, known as QWERTZ

Note: The physical keys are not lying to you — the letters printed on the keycaps describe the hardware, and the layout is the software map Windows lays over it. A United Kingdom layout on a United States keyboard leaves every keycap in place while moving several symbols.

2. Switch Back to the Layout You Want

This takes two seconds and fixes the immediate problem. Do it before anything else.

  1. Press Windows + Space. A small panel appears near the taskbar showing the installed keyboards, and each press moves the highlight to the next one.
  2. Hold Windows and tap Space until the layout you want is highlighted, then release both keys.
  3. Test in any text box: type Shift + 2 and confirm you get the character printed on the keycap.
  4. If you prefer the mouse, click the language indicator next to the clock and select the correct keyboard from the flyout instead.

Verification: Type an email address into the search box on the taskbar. If the @ lands where you expect, the layout is correct.

3. Remove the Layout You Do Not Use

Switching back is temporary. Removing the spare layout is permanent, because a shortcut cannot cycle to a keyboard that is not installed.

  1. Press Windows + I to open Settings.
  2. Click Time & language in the left sidebar, then Language & region. On Windows 10 the path is Settings > Time & Language > Language.
  3. The Language section lists each installed language as a row, for example English (United Kingdom).
  4. To remove a whole language, click the three-dot More options button at the right end of its row and select Remove. The row disappears from the list.
  5. To remove one keyboard while keeping the language, click the three-dot button on the language row and select Language options instead. Scroll to the Keyboards section, click the three-dot button beside the keyboard you do not want, and select Remove.
  6. Return to Language & region and confirm only the layouts you want remain.

Note: Windows will not let you remove the last remaining keyboard for a language, and it will not remove your Windows display language. If Remove is greyed out, add the layout you do want first, then remove the other one.

Once a single keyboard is left, the language indicator disappears from the taskbar altogether. That is the sign the problem cannot recur.

4. Stop the Layout From Switching Again

If you need both layouts — a shared machine, or a second language you genuinely type in — turn off the legacy hotkeys instead. Alt + Shift and Ctrl + Shift date back to Windows 95, sit next to shortcuts people use constantly, and fire without any confirmation.

  1. Open Settings > Time & language > Typing. On Windows 10 the path is Settings > Devices > Typing.
  2. Scroll to the bottom and click Advanced keyboard settings.
  3. Under the heading Switching input methods, click the link reading Input language hot keys. The classic Text Services and Input Languages dialog opens on its Advanced Key Settings tab.
  4. In the Hot keys for input languages list, select the row reading Between input languages.
  5. Click Change Key Sequence at the bottom of the list. A small dialog opens with two halves.
  6. Under Switch Input Language, select Not Assigned. Under Switch Keyboard Layout, select Not Assigned.
  7. Click OK, then OK again to close the Text Services and Input Languages dialog. The Key sequence column now reads (None) for that row.

Warning: Windows + Space cannot be turned off in this dialog, and there is no supported setting anywhere in Windows that disables it. If accidental presses of that shortcut are the actual problem, Step 3 is the only reliable fix — remove the extra keyboard.

If the removed layout reappears after every restart or after signing in on another PC, your language settings are syncing across devices. Open Settings > Accounts > Windows backup, expand Remember my preferences, and clear the Language preferences checkbox. On a company-managed computer that setting can be enforced by policy — if it reappears anyway, tell IT:

"A second keyboard layout keeps being added to my Windows profile after every sign-in. Device name: your device name. The unwanted layout is the layout name shown in the taskbar flyout. Please check whether an input-language policy or a language-sync setting is adding it, and remove it from the policy scope."

5. Fix Numbers Appearing Instead of Letters on a Laptop

This one looks like a layout fault and is not. Compact laptop keyboards with no separate number pad hide one inside the letter area, and Num Lock switches it on.

  1. Look at the keycaps for u, i, o, j, k, l, and m. On an affected laptop each carries a small second character in a different color — 4, 5, 6, 1, 2, 3, 0.
  2. Check for a Num Lock indicator: a small light on the keyboard, or an on-screen banner that appeared when the mode changed.
  3. Press Num Lock. On keyboards without a dedicated key, the function is shared, so press Fn + Num Lock, or Fn + F11, or Shift + Num Lock — the correct combination is printed on the keycap in the same color as the Fn key.
  4. Type the affected letters again. They now produce letters.

Tip: If this keeps happening, check whether a docking station or external keyboard is plugged in. Num Lock state is shared between the laptop keyboard and any connected keyboard, so toggling it on a desk keyboard changes the laptop's behavior too.

6. Fix Keys Sticking, Repeating, or Being Ignored

Two accessibility features switch themselves on through key sequences that are undocumented on screen, and both change how ordinary typing registers.

Sticky Keys — triggered by pressing Shift five times in a row. Modifier keys latch, so Ctrl, Alt, and Shift stay active after you release them. The symptom is unexpected capital letters and shortcuts firing on their own.

Filter Keys — triggered by holding Right Shift for eight seconds. Windows ignores brief or repeated keystrokes. The symptom is dropped letters and a keyboard that feels unresponsive.

To turn both off:

  1. Open Settings > Accessibility > Keyboard. On Windows 10 the path is Settings > Ease of Access > Keyboard.
  2. Set the Sticky keys toggle to Off.
  3. Click the arrow at the right of the Sticky keys row to expand it, then set Keyboard shortcut for Sticky keys to Off. This stops the five-taps sequence from switching it back on.
  4. Set the Filter keys toggle to Off, expand that row, and set Keyboard shortcut for Filter keys to Off as well.
  5. Type a full sentence to confirm every character registers on the first press.

For the settings in this area you might genuinely want to keep, see How to Customize Keyboard Shortcuts for Accessibility.

Troubleshooting

TIP

Reach for Windows + Space the moment the symbols look wrong. It costs two seconds, it is reversible, and it identifies the cause instantly — if the characters come back, this was a layout switch and nothing is broken.

Symptom / ErrorPotential CauseSolution
@ and " are swappedUnited States and United Kingdom layouts differPress Windows + Space (Step 2), then remove the spare layout (Step 3).
# produces £United Kingdom layout is activeSame fix as above. The # character sits on the key left of Enter in that layout.
Layout changes several times a dayAlt + Shift pressed while reaching for another shortcutTurn off the legacy hotkeys (Step 4), or remove the extra keyboard entirely (Step 3).
Layout is correct in one app, wrong in anotherPer-window input method is enabledOpen Settings > Time & language > Typing > Advanced keyboard settings and clear Let me use a different input method for each app window.
Removed layout returns after every sign-inLanguage settings syncing, or IT policyClear the Language preferences checkbox under Settings > Accounts > Windows backup. If it persists, send IT the wording in Step 4.
Letters produce numbers on a laptopNum Lock and the embedded keypadPress Num Lock, or Fn + Num Lock (Step 5). Not a layout problem.
Some keystrokes never registerFilter Keys switched on by holding Right ShiftTurn off Filter keys and its shortcut under Settings > Accessibility > Keyboard (Step 6).
Nothing types at all in any applicationHardware, cable, or battery faultTry a different USB port or replace the batteries. If a second keyboard also fails, raise a hardware ticket.