MediumAbout 20 minutesBoth

Dead keys sit in a diagonal line

Why are some keys on my laptop keyboard not working in a diagonal row?

CF

Written by The CommonFixes team · fact checked by CommonFixes review desk

Last updated

Short answer

A keyboard is not wired key by key. It is a grid of rows and columns, and each key sits where one row crosses one column. When one of those lines breaks, every key on that line stops working, and because of the way keys are staggered the failures look like a diagonal. It is nearly always a physical break in the flat ribbon or moisture on the membrane, not a driver problem. The quickest thing to try first: confirm it is the hardware, not windows — Plug in a USB keyboard and type the same keys. If they work there, the laptop keyboard is at fault. You can also open the on screen keyboard by pressing the Windows key and typing On-Screen Keyboard, and click the affected keys to check whether the letters appear. Most people are done in about 20 minutes.

Full walkthrough below: 6 steps for Windows and Mac, rated medium.

Sounds like this

  • Keys such as 5, t, g and b, or 4, r, f and v, all fail together
  • The dead keys form a slanted line across the keyboard
  • The rest of the keyboard types perfectly

Why it happens

A keyboard is not wired key by key. It is a grid of rows and columns, and each key sits where one row crosses one column. When one of those lines breaks, every key on that line stops working, and because of the way keys are staggered the failures look like a diagonal. It is nearly always a physical break in the flat ribbon or moisture on the membrane, not a driver problem.

Work through these in order

0% done
  1. 1

    Confirm it is the hardware, not Windows

    Plug in a USB keyboard and type the same keys. If they work there, the laptop keyboard is at fault. You can also open the on screen keyboard by pressing the Windows key and typing On-Screen Keyboard, and click the affected keys to check whether the letters appear.

  2. 2

    Reseat the keyboard ribbon cable

    Switch off and unplug. On many models the keyboard connects to the board through a flat ribbon under the bottom cover or under the keyboard itself. Lift the small brown or black latch on the connector, pull the ribbon out a millimetre, push it straight back in fully and close the latch. A ribbon that has crept out over years produces exactly this pattern.

  3. 3

    Think about anything spilled on it

    Even a small splash of tea or a cleaning spray dries into a film that bridges or corrodes one trace on the membrane. Once that line is damaged the whole row or column goes. This cannot be repaired reliably at home, but knowing the cause saves you chasing software fixes.

  4. 4

    Rule out a stuck key holding the line down

    Press every key on the affected line firmly a few times, especially any that feel spongy. A key jammed down keeps its line busy so nothing else on it registers.

  5. 5

    Update or reinstall the keyboard driver, just to be thorough

    Press the Windows key and X, open Device Manager, expand Keyboards, right click Standard PS/2 Keyboard or HID Keyboard Device, choose Uninstall device and restart. Windows puts it back. This rarely fixes a diagonal pattern, but it is quick and rules software out for good.

  6. 6

    Replace the keyboard if the pattern stays

    Laptop keyboards are one of the cheaper parts to replace and many models take a few screws from underneath. Search your exact model number with the words keyboard replacement to see the part price before deciding between doing it yourself and a shop.

If none of that worked

Until a replacement arrives you can remap the dead keys with Microsoft PowerToys Keyboard Manager, or plug in a slim USB keyboard, so the laptop stays usable.

Did this fix work for you?

A quick thumbs up helps other readers find the guides that actually work.

Share this fix

Related fixes worth reading

Chosen automatically from the 157 guides on CommonFixes, based on how closely they match this problem.

Still not it? Browse every fix or see more in printers, usb and mouse.

Who wrote this and how we checked it

CF

The CommonFixes team

Writer and researcher

We are a small group of people who spend our days repairing laptops and desktops for family, friends and small offices. Every guide here starts with a problem someone actually brought to us, and we only write down the steps that put the machine right.

  • Everyday repairs
  • Windows and Mac
  • Plain language
RD

CommonFixes review desk

Technical editor

Before a guide goes live, a second person walks through it on a real machine and checks each instruction against the maker's own support pages. Anything we cannot confirm is removed rather than guessed at.

  • Fact checking
  • Safety warnings
  • Source links

This guide was last updated on 15 August 2026. If a step no longer matches what you see on screen, tell us on the contact page and we will test it again.

A gentle reminder: back up anything you cannot afford to lose before major repairs. If a step ever feels risky, stop and ask a technician. There is no shame in that.