Keyboard typing wrong characters or symbols

Pressing a key and getting the wrong symbol — @ producing ", or punctuation landing in the wrong place — is a layout or language mismatch in about 95% of cases, not a hardware fault. Your keyboard sends the same physical signal every time; it's the operating system that decides which character that signal maps to. Check the software layer first, then confirm the hardware is innocent with a live test.

Test your keyboard right now — it takes one click. Run the keyboard test →

Step-by-step fix

  1. Recognize the pattern: if @ types " and vice versa, or # won't appear at all, that's the classic US-versus-UK QWERTY mismatch — the physical keys are identical, but the OS is reading them through the wrong layout.
  2. On Windows 11, check for stray input languages at Settings → Time & language → Language & region. Any extra language listed there adds its own keyboard layout to the rotation, and it's easy to switch into one by accident and not notice.
  3. Watch out for Win+Space: it silently cycles between installed layouts and is the single most common cause of this problem. If typing suddenly goes wrong mid-session, you likely hit it without realizing — press it again (or repeatedly) to cycle back, then remove the extra layout so it can't happen again.
  4. On macOS, check input sources the same way: Control+Space (or the globe/🌐 key) cycles between them, and the active one shows in the menu bar. Remove any input source you don't actually use in System Settings → Keyboard → Input Sources.
  5. If it's specifically the number pad or arrow-looking behavior, check NumLock — with it off, the numeric keypad sends navigation codes (arrows, Home, End) instead of digits on keyboards that share those keys.
  6. Confirm it's software with the CheckMyMic keyboard test: press the problem key and watch which physical key the tester highlights. If the tester shows the correct physical key lighting up while your document shows the wrong character, that's proof the mapping is wrong, not the keyboard.
  7. Check remapping software last: PowerToys Keyboard Manager on Windows and Karabiner-Elements on macOS can leave a stale remap active from a previous configuration. Open the tool and review or disable its active remaps, then retest.

Frequently asked questions

Why does my @ key type a quotation mark instead?

That's the US and UK keyboard layouts disagreeing about where @ and " live — a very common mismatch when a UK physical keyboard is set to a US layout in software, or vice versa. Set the correct layout for your physical keyboard in your OS language settings and the symbols line back up immediately.

How do I find and remove a stray keyboard language?

On Windows 11, go to Settings → Time & language → Language & region, open each installed language, and remove any keyboard layout you don't recognize or use. On a Mac, do the same under System Settings → Keyboard → Input Sources. Removing the extra layout also stops it from being cycled into by accident.

Why did my whole keyboard suddenly start typing wrong?

You most likely pressed Win+Space, which cycles between installed keyboard layouts on Windows without any visual warning beyond a small on-screen indicator. Press it again to step through the layouts back to the correct one, then remove any layout you never meant to install.

I've tried everything and it still types the wrong characters — what now?

Confirm the physical key is correct with the CheckMyMic keyboard test first — if the right key highlights but the wrong character appears in your document, the problem is 100% software mapping, so audit every input language, remapping tool, and app-specific shortcut layer until you find the culprit. If the keyboard also feels slow on top of this, see our keyboard input lag guide.

Fixed it? Confirm with a quick test. Run the test →

Related guides

← All troubleshooting guides · Interview-ready check →