You can replace most laptop keyboards without taking the whole machine apart

Replacing a laptop keyboard is usually a job you can do at home with basic tools — a small screwdriver, a plastic pry tool, and about 30 minutes. The keyboard sits on top of your laptop's internal frame, held down by a few screws and clips. You remove the old one, disconnect its cable, plug in the new one, and screw it back down. The hardest part is usually getting the bezel (the plastic trim around the keyboard) off without cracking it.

The exact steps depend on your laptop model. A Dell keyboard comes out differently than a Lenovo or HP keyboard. Before you start, you need to know your specific model number — not just "Dell laptop", but something like "Dell XPS 13 9360" or "HP Pavilion 15-cc". You can find this in your system settings or by looking at a sticker on the bottom of your machine. Then search for "[your model] keyboard replacement" on YouTube. Watch the video all the way through before you touch anything. If the video shows someone removing the entire motherboard, your model is harder than most — you may want to take it to a repair shop instead.

Key Takeaways

  • Most laptop keyboards can be replaced by removing a plastic bezel, unscrewing a few fasteners, and disconnecting a ribbon cable — a task that takes 20 to 40 minutes.
  • You need your exact laptop model number (found in system settings or on a sticker underneath) to find the right replacement keyboard and the correct removal steps.
  • Replacement keyboards cost between $30 and $100 depending on your laptop brand and model, and you can order them from Amazon, eBay, or the manufacturer's parts site.
  • If the keyboard replacement video for your model shows removing the motherboard or more than five screws, the job is complex enough that a repair shop may be faster and safer.
  • Before ordering a replacement, test whether your keyboard is actually broken or just needs cleaning — stuck keys sometimes work again after compressed air clears out debris.

Find your exact laptop model and watch a video walkthrough

Open your laptop and go to Settings. On Windows, click System, then scroll down and click About. Look for "Device name" or "Model" — write down exactly what you see. On a Mac, click the Apple menu, then About This Mac. The model name appears at the top. If you cannot find it in settings, shut down the laptop, flip it over, and look for a sticker on the bottom. It will say something like "Model: HP Pavilion 15-cc043dx" or "Dell XPS 13-9360".

Once you have the model number, go to YouTube and search for "[your exact model] keyboard replacement". Watch at least two videos from different creators. Pay attention to how many screws they remove, whether they take off the entire bottom panel or just a bezel, and what tools they use. If every video shows the same basic steps — remove bezel, unscrew keyboard, disconnect ribbon cable, reverse the process — you are looking at a straightforward job. If videos differ wildly or show someone removing the motherboard, your model is an outlier and you should consider a repair shop instead.

Order the correct replacement keyboard before you start

Do not remove your old keyboard until you have the new one in hand. Ordering the wrong keyboard is the most common mistake, and you will be stuck with a laptop you cannot type on while you wait for a replacement order.

Search for your model number plus "keyboard" on Amazon or eBay. You should see listings that say "Compatible with [your model]" or "OEM replacement for [your model]". Read the reviews — if dozens of people say "works perfectly on my [your model]", that is the right part. If reviews say "did not fit" or "wrong connector", skip it. Replacement keyboards usually cost $30 to $100. OEM (original manufacturer) keyboards tend to be more reliable than third-party ones, but cost more. A third-party keyboard from a seller with thousands of positive reviews is usually fine.

Before you order, check whether your keyboard has a backlight. Look at your current keyboard in a dark room and see if it glows. If it does, make sure the replacement listing mentions backlighting. A non-backlit keyboard will not light up, even if everything else works.

Gather your tools and prepare your workspace

You need a small Phillips head screwdriver (the kind with a + shape), a plastic spoon or plastic pry tool, and a clean, flat surface. Do not use a metal screwdriver or a knife — metal can slip and scratch your laptop. A plastic spoon from a takeout container works just as well as a pry tool and costs nothing. You also need a small container to hold screws so you do not lose them. A bowl or a piece of paper with tape works fine.

Shut down your laptop completely and unplug it. Wait five minutes. This drains any remaining power and makes it safer to work on. Do not just put it to sleep — actually shut it down. Place the laptop on a clean table with good lighting. If you wear a watch or rings, take them off. Static electricity from your body can damage electronics, so touch a metal part of the laptop frame before you start and occasionally while you work.

Remove the bezel and unscrew the keyboard

The bezel is the plastic strip that runs along the top and sides of your keyboard. On most laptops, it clips in place and has one or two screws underneath. Look at your video again to see exactly where the screws are on your model. Using your plastic spoon or pry tool, gently push up on the bezel from the bottom edge. Start at one corner and work your way along. You will hear small clicks as the clips release. Do not force it — if it is not moving, you are probably prying in the wrong spot. Once the bezel is loose, lift it away and set it aside.

Now you can see the keyboard. It is held down by three to five screws, usually located at the top corners and sometimes in the middle. These screws are small and easy to strip, so use a screwdriver that fits snugly in the head. Turn slowly and stop as soon as you feel resistance — do not force it. Remove each screw and place it in your container. Gently lift the keyboard up from the bottom edge. It will not come all the way out yet — a ribbon cable connects it to the motherboard.

Disconnect the old keyboard and connect the new one

Lift the keyboard up at an angle so you can see the ribbon cable underneath. The cable plugs into a connector on the motherboard. This connector usually has a small clip or latch on top. Look at your video to see exactly how it works on your model. Some latches flip up, some slide to the side. Gently move the latch in the direction it is meant to go — usually just a few millimeters — and the ribbon cable will slide out. Do not pull the cable itself. If you pull the cable instead of releasing the latch, you can damage the connector.

Set the old keyboard aside. Take your new keyboard and insert the ribbon cable into the same connector. Make sure it goes in straight and all the way. Then flip or slide the latch back into place. You should hear or feel a small click. Gently tug the cable to make sure it is seated — it should not slide out. If it does, the latch is not fully closed.

Screw down the new keyboard and test it

Lower the keyboard into place and align the screw holes. Insert each screw and turn it slowly until it is snug. Do not overtighten — you are just holding the keyboard in place, not crushing it. Once all screws are in, press down gently on different parts of the keyboard to make sure it sits flat. If one corner is higher than the others, remove the screws, reseat the keyboard, and try again.

Snap the bezel back into place. You should hear clicks as the clips engage. If it does not sit flush, remove it and check that the keyboard is fully seated underneath. Once the bezel is secure, flip the laptop over and plug it in. Turn it on. Open a text editor and press every key to make sure they all work. Test the spacebar, shift, and enter keys especially — these take the most abuse and are most likely to fail. If any key does not register, turn off the laptop, remove the bezel, and check that the ribbon cable is fully seated.

Frequently Asked Questions

What if I break the bezel while prying it off?

The bezel is plastic and can crack if you pry too hard or in the wrong spot. If it breaks, you can still use your laptop — the bezel is just trim. You can order a replacement bezel from the same place you got the keyboard, or you can leave it off. Some people use clear tape to hold a broken bezel in place temporarily.

Can I clean my keyboard instead of replacing it?

If only a few keys are stuck, try compressed air first. Shut down the laptop, flip it upside down, and spray compressed air between the keys for 10 seconds. Let any moisture dry for an hour before turning it back on. This works for keys stuck by dust or crumbs. If the entire keyboard is not working or multiple keys are broken, cleaning will not help — you need a replacement.

How do I know if I ordered the wrong keyboard?

The ribbon cable connector is the biggest clue. When you open the new keyboard box, look at the cable end. It should look identical to the cable on your old keyboard — same width, same number of pins, same connector type. If it looks different, do not install it. Contact the seller and order the correct part.

What if the keyboard still does not work after I install it?

Turn off the laptop and remove the bezel again. Check that the ribbon cable is fully inserted into the connector and that the latch is fully closed. Reseat the cable by pulling it out gently and pushing it back in. If it still does not work, the new keyboard may be defective. Contact the seller for a replacement.

Can I replace a keyboard on a MacBook?

MacBook keyboards are glued to the case and require removing the entire bottom panel and sometimes the battery. The process is much more involved than on Windows laptops. If your MacBook keyboard is broken, Apple or an authorized repair shop is usually the better option.