PC Test Suite

TestMyPC

Keyboard Typing Wrong Characters? (@ and " Swapped) — Fix It

Keyboard Typing Wrong Characters? (@ and " Swapped) — Fix It

⚡ Quick Answer

If your keyboard types @ when you press " (or £ gives #), your computer is set to the wrong keyboard layout — usually US instead of UK. On Windows 11, go to Settings → Time & language → Language & region, and set the keyboard layout to United Kingdom (and remove the US layout to stop it recurring). On Mac, System Settings → Keyboard → Input Sources → add British. Random letters typing as numbers usually means Num Lock is on.

Decode the Symptom: It's Usually Not Broken

You press the quote key and get @. Shift+3 gives # instead of £. Email addresses become a hunt for the @ symbol. It feels like a broken keyboard — but the hardware is fine. Your operating system is interpreting the keys with the wrong map.

The @/" swap is the signature of a US layout applied to a UK keyboard (or vice versa). It happens after Windows updates, when a new user account defaults to US English, after installing software that adds input languages, or after accidentally pressing the layout-switch shortcut — Windows key + Space on Windows, which many people hit without ever knowing it exists.

Not sure whether it's a layout issue or genuinely faulty keys? Two minutes with the online keyboard tester settles it: the tester shows which physical key you pressed. If every key registers correctly there but produces the wrong character in documents, it's 100% a layout setting.

Free Tool

⌨ Test Your Keys First

Confirm every key registers — then you'll know it's a settings fix, not a hardware fault.

Open Keyboard Tester →

Fix the Layout on Windows 11

  1. Open Settings → Time & language → Language & region.
  2. Check your language entry — You want "English (United Kingdom)", not "English (United States)". Add UK if it's missing.
  3. Check the keyboard under that language — Click the three dots next to English (United Kingdom) → Language options → under Keyboards, ensure United Kingdom QWERTY is listed. Remove any US keyboard listed there.
  4. Remove the US language entirely if you don't need it — This is the step that stops the problem coming back. While two layouts are installed, Win+Space silently toggles between them.
  5. Check the taskbar — If you see "ENG UK" / "ENG US" near the clock, that indicator both shows and switches the active layout. One layout installed = indicator disappears = problem can't recur.

👤 Real-Life Scenario

Hannah, a copywriter in Brighton, had the @/" swap strike mid-deadline, on and off, seemingly at random. The cause: both UK and US layouts were installed, and her palm was brushing Win+Space as she typed, toggling layouts several times an hour. Removing the US layout ended six months of intermittent 'keyboard gremlins' permanently.

Fix the Layout on a Mac

  1. Open System Settings → Keyboard.
  2. Under Text Input, click Edit next to Input Sources.
  3. Add "British" (or "British – PC" for a Windows-style keyboard) — and remove "U.S." if present.
  4. Watch the menu bar — If multiple input sources remain, the flag/abbreviation icon in the menu bar shows which is active, and Ctrl+Space (or Fn/Globe) may be switching them.

Note one permanent quirk: even correctly configured, Mac and UK-PC layouts genuinely differ in a few places — on a Mac layout, @ sits on the 2 key and " next to Enter, which catches out anyone switching between a MacBook and a Windows PC daily. That's design, not a fault.

Numbers Instead of Letters, and the Stranger Cases

Letters typing as numbers (u=4, i=5, o=6)

Classic Num Lock on a laptop without a separate numeric pad: part of the letter block doubles as a number pad. Press Fn + Num Lock (sometimes Fn + F11 or a key marked NumLk) to toggle it off.

Keys repeating or ignoring presses

Check Sticky Keys and Filter Keys: Settings → Accessibility → Keyboard. Filter Keys in particular makes a keyboard feel possessed — it deliberately ignores brief or repeated presses. Our guide to why laptop keyboards stop working covers the full set of causes.

Entirely wrong symbols everywhere

If it's not just @/" but the whole punctuation row, check you haven't ended up on a genuinely different layout — Dvorak, Colemak, or another language entirely — via the same Settings pages above.

Characters typing themselves

Ghost keystrokes you didn't make deserve prompt attention: run the keyboard tester and watch for keys firing on their own (a hardware fault — often liquid damage or a failing membrane). If the hardware tests clean but text still appears by itself, run a full anti-malware scan as a precaution — keyloggers and remote-access malware are rare but real causes of 'possessed' typing.

SymptomCauseFix
@ and " swapped, # instead of £US layout activeSet UK layout, remove US
Layout randomly flips backWin+Space toggling two layoutsRemove unused layout
u/i/o type as 4/5/6Num Lock onFn + NumLk
Presses ignored or repeatedFilter/Sticky KeysAccessibility settings
Keys fire by themselvesHardware fault (or malware)Keyboard test, then scan

Frequently Asked Questions

Why does my keyboard type @ instead of "?
Your computer is using the US keyboard layout, which places @ on Shift+2 and " beside Enter. Switch the layout to United Kingdom in your language settings and remove the US layout so a shortcut can't switch it back.
How do I change my keyboard back to UK layout on Windows 11?
Settings → Time & language → Language & region → three dots beside English (United Kingdom) → Language options → ensure United Kingdom QWERTY is the keyboard listed, and remove any US keyboard. Removing the unused layout prevents accidental switching via Win+Space.
Why is my laptop typing numbers instead of letters?
Num Lock is on. Laptops without a separate number pad overlay numbers on the letter block (u=4, i=5, o=6). Press Fn plus the NumLk key to toggle it off.
Why does my keyboard layout keep changing by itself?
Two or more layouts are installed and a shortcut — Win+Space on Windows, Ctrl+Space on Mac — is switching between them, often from an accidental press. Removing the layouts you don't use stops it permanently.
How do I know if it's a settings problem or a broken keyboard?
Use an online keyboard tester: it shows which physical key registered. If keys register correctly in the tester but produce wrong characters in documents, it's a layout setting. If keys don't register at all, it's hardware.

Related Articles