YorozuyaIT
Everyday Tech Fixes

Keyboard Typing Wrong Characters or Some Keys Not Working? Fix It Step by Step

Written by the Yorozuya IT editorial team, based in Japan. Last updated above. Menus, apps, and rules change, so check the date.

Short answer

You type a password and it is rejected. You press the quote mark and get an at sign. Half the letters turn into numbers. The first thought is a broken keyboard, but this is usually a setting, not a fault. A few quick checks will find it.

Which kind of problem is it?

Look at what goes wrong.

Triage for a keyboard problem: wrong characters point to the input layout, odd behaviour to lock keys and accessibility settings, dead keys to hardware or dirt

Wrong characters: the input language or layout

A keyboard layout tells the computer which character each key makes. If it does not match the printed keys, the output is wrong. This often happens after a system update, after adding a second language, or when someone presses a shortcut by accident.

The classic sign is the @ and quote marks swapped, which happens when a computer set to a UK layout is used with a US keyboard, or the other way round. Pick the layout that matches the printed keys.

Odd behaviour: lock keys and accessibility features

Dead keys: hardware or dirt

  1. Test in more than one app, such as a notes app and the browser. If only one app misbehaves, the cause is that app.
  2. Plug in an external keyboard. If it works, the laptop keyboard is the problem. If it fails too, look at the settings and software.
  3. Restart the computer. This clears many odd states.
  4. Look for a stuck key or debris. Turn the laptop upside down and tap it gently. Use a soft brush or short bursts of compressed air at the keys.
  5. Check for a loose key cap, which can be pressed back into place on many keyboards.

After a spill

A spill needs quick action.

  1. Switch the laptop off immediately and unplug it.
  2. Turn it upside down to let liquid out.
  3. Do not charge or restart it until it is fully dry, which can take a day or more.
  4. Ask a technician to check it. Liquid can leave residue that damages the board over time, even when the laptop seems to recover.

Wireless keyboards

Software and drivers

Common mistakes

Make it reliable

  1. Keep only the layouts you use.
  2. Learn the switching shortcut, so you can fix it in a second.
  3. Check the lock lights when letters behave oddly.
  4. Keep drinks away from the keyboard.
  5. Keep a spare external keyboard for testing.

If it is the hardware

A dead key or a few failed keys on a laptop may need a keyboard replacement, which is often possible. Use the maker's service or an authorised repairer. Meanwhile, an external keyboard lets you keep working.

Quick checklist

Save this cheat sheet

Cheat sheet: fixing a keyboard that types the wrong characters or has dead keys

Screenshot this or save the image. It is the short version of the guide, and it is easier to find in a hurry than a web page.

FAQ

Why are my @ and quote keys swapped?

Different regions use different keyboard layouts, and the two characters sit in different places on the US and UK layouts. Your computer is probably set to a layout that does not match the printed keys. Switch to the layout that matches your keyboard in the language and input settings.

Why do some letters type numbers?

Many laptops have a built-in number pad on the letter keys that is turned on by Num Lock or an Fn key combination. Switch it off with the same key, or check for a Num Lock or Fn Lock light.

A key types twice or repeats. What now?

It may be debris under the key, a worn switch, or a keyboard setting such as repeat rate or Filter Keys. Clean around the key gently, check the accessibility settings, and test an external keyboard.

Part of my keyboard stopped working after a spill. What should I do?

Switch the laptop off and unplug it at once. Turn it upside down to let liquid run out, and do not charge or restart it until it is dry. Ask a technician to check it, since liquid can damage the board.

Could it be a virus?

Rarely. Wrong characters are almost always a setting, a lock key, or hardware. If strange text appears on its own or windows open without you, scan the computer and check for unfamiliar software.

Keep reading