Most laptop keyboards can be replaced without tools or special skills
Replacing a laptop keyboard is usually a job you can do yourself in 15 to 30 minutes. The keyboard sits under the screen bezel — the plastic trim around the display — and connects to the motherboard with a ribbon cable. You do not need a soldering iron or a degree in electronics. What you need is the correct replacement keyboard for your exact model, a plastic pry tool or old credit card, and patience.
The hardest part is not the replacement itself. It is finding the right keyboard. Laptop keyboards are model-specific. A keyboard for a Dell Inspiron 15 will not fit a Dell Inspiron 14, even though they look similar. Before you order anything, you need your laptop's exact model number.
Key Takeaways
- Find your laptop's exact model number by checking the bottom case, the Windows System Information panel, or the original box — this determines which keyboard to order.
- Most laptop keyboards are held in by plastic clips under the screen bezel, not screws, so you pry the bezel up gently and disconnect the ribbon cable.
- Replacement keyboards cost between $30 and $150 depending on the brand and whether the keyboard has backlighting.
- If the keyboard is soldered to the motherboard rather than plugged in, replacement requires a technician and is usually not worth the cost.
Find your laptop's exact model number
Open the bottom case of your laptop and look for a sticker with the model number printed on it. It usually says something like "Model: XPS 13-9370" or "P/N: 5CB0K67607". Write this number down or take a photo.
If there is no sticker on the bottom, check the Windows System Information panel. Press the Windows key and type "System Information", then open it. Look for "System Model" — that is your model number. You can also check the original box or receipt if you still have it.
Once you have the model number, search for "[your model number] replacement keyboard" on Amazon, eBay, or the manufacturer's parts website. You will see keyboards listed with the same model number. Some are OEM (original equipment manufacturer) keyboards, which are the same as what came in your laptop. Some are third-party replacements, which are usually cheaper but may have different key feel or backlighting. Read the reviews to see whether the keyboard works well for your model.
Remove the screen bezel and disconnect the old keyboard
Power off your laptop completely and unplug it. Close the screen. Use a plastic pry tool, old credit card, or plastic spoon handle to gently lift the screen bezel — the plastic trim that runs around the top and sides of the display. Start at a corner and work your way around. The bezel is held in by plastic clips, not screws, so it will pop out with gentle pressure. Do not force it or you will crack the plastic.
Once the bezel is off, you will see the keyboard. It is usually held in by two or three plastic clips on the top edge. Gently lift the top edge of the keyboard toward you. The keyboard will tilt up, and you will see a ribbon cable connected to the bottom of the keyboard. This cable plugs into a socket on the motherboard. Pinch the small plastic tab on the connector and pull the ribbon cable straight out. Do not yank it sideways or you will damage the connector.
Lift the keyboard out of the laptop. If it does not come free easily, check that you have disconnected the ribbon cable and released all the clips. Some laptops have a second cable for backlighting — if your keyboard has backlighting, disconnect that cable too.
Install the new keyboard
Take the new keyboard out of the box and inspect it. Make sure the ribbon cable is intact and the keys are not damaged. Align the keyboard with the slot in the laptop case — the keyboard should sit flat and level. The ribbon cable should point toward the motherboard socket.
Insert the ribbon cable into the socket on the motherboard. Push it straight in until you hear or feel a click. The small plastic tab should lock the cable in place. If your keyboard has a backlighting cable, connect that too.
Lower the keyboard into the case. Press down gently on the top edge until the plastic clips snap into place. The keyboard should sit flush with the case and not rock or move. Snap the screen bezel back on by pressing it down around the edges until all the clips lock.
Power on your laptop and test the keyboard. Open a text editor and press every key to make sure they all work. Check the backlighting if your keyboard has it — you may need to adjust the brightness using a function key combination, usually Fn + up arrow or Fn + down arrow.
What to do if the keyboard is soldered to the motherboard
Some older or very thin laptops have keyboards that are soldered directly to the motherboard instead of plugged in with a ribbon cable. You cannot replace these yourself. If you remove the bezel and see no ribbon cable, or if the keyboard appears to be glued or welded to the board, stop. Attempting to desolder a keyboard requires specialized equipment and will likely damage the motherboard.
In this case, your options are to take the laptop to a repair shop — which usually costs $200 to $400 in labor — or to use an external USB keyboard. An external keyboard is cheaper and lets you keep using the laptop while you save up for a professional repair or a new device.
Keyboard replacement costs and where to buy
OEM replacement keyboards for common brands cost between $30 and $80. Backlit keyboards cost more, usually $60 to $150. Gaming laptops and premium brands like MacBook or ThinkPad often have more expensive keyboards because they have better build quality or special features.
Buy from the manufacturer's parts website if you want to be certain of compatibility — Dell, HP, Lenovo, and ASUS all sell replacement keyboards directly. Amazon and eBay usually have lower prices but offer more variety in sellers. Read the reviews carefully and check the return policy. If the keyboard does not work, you want to be able to send it back.
Avoid very cheap keyboards listed as "universal" or "fits most laptops". They rarely fit well and the keys often feel mushy or stick. Spend the extra $20 to $30 for a keyboard made for your specific model.
Common problems and how to fix them
The ribbon cable does not fit the socket. You have the wrong keyboard. Check the model number again and order the correct one. Do not force the cable into the socket or you will break the connector.
Some keys do not work after installation. The ribbon cable may not be fully inserted. Power off the laptop, remove the bezel, and reseat the cable by pulling it out and pushing it back in firmly. Make sure the plastic locking tab is engaged.
The keyboard sits crooked or rocks when you type. One of the plastic clips did not snap into place. Remove the bezel and press down on the corners of the keyboard until all clips lock. The keyboard should be completely flush with the case.
The backlighting does not turn on. Check that the backlighting cable is connected. Some laptops require you to enable backlighting in the BIOS or through a function key combination. Consult your laptop's manual or search "[your model] backlighting not working" to find the correct key combination.
Frequently Asked Questions
Do I need to remove the entire screen to replace the keyboard?
No. You only need to remove the screen bezel, which is the plastic trim around the display. The bezel pops off with a plastic pry tool and takes two minutes to remove. You do not need to disconnect the display cable or remove any screws.
What if I break the ribbon cable while removing it?
Order a replacement keyboard with a new ribbon cable. The cable itself cannot be repaired or replaced separately on most laptops. If you break the socket on the motherboard, the repair requires soldering and should be done by a technician.
Can I use a keyboard from a different laptop model?
Not reliably. Even keyboards from the same brand and generation often have different connector types, sizes, or mounting points. Using the wrong keyboard may damage the socket or cause the keyboard to sit crooked. Always order the keyboard for your exact model number.
How long does a replacement keyboard last?
A quality OEM keyboard typically lasts three to five years with normal use. Backlighting may fail before the keys do. Third-party keyboards vary widely — read reviews to see how long other users report them lasting.
Is it cheaper to replace the keyboard myself or take it to a repair shop?
Replacing it yourself is almost always cheaper. A technician charges $100 to $300 in labor plus the cost of the keyboard. You can buy and install a replacement keyboard yourself for $30 to $150 total, depending on the model.