Replacing keyboard on MacBook Pro 13-inch (Late 2011)

posted in: Apple Products | 17
MacBook Pro 13-inch Late 2011 keyboard replacement

In this guide I explain how to replace the keyboard on a MacBook Pro 13-inch (Late 2011).

According to Apple, the keyboard is part of the palmrest assembly and if the keyboard fails, the entire palmrest assembly has to be replaced.

This is not 100% correct.  Of course, you can buy a new palmrest/keyboard/trackpad assembly and replace the whole thing but it’s possible to replace just the keyboard itself.

For this repair you’ll need the following tools:
– T6 torx screwdriver.
– PH0 Phillips screwdriver.
– PH00 Phillips screwdriver.

New replacement keyboard available here:

Also, I would recommend making notes of all removed screws (they all have different length). It will help greatly during the reassembly process.

Before you start, make sure the computer is turned off.


Remove all screws from the bottom cover. Lift up and remove the bottom cover.

Remove MacBook Pro bottom cover


You can leave the battery attached to the case but it’s necessary to unplug it from the logic board.

Laptop battery

Disconnect the battery cable from the logic board.

Disconnect MacBook Pro battery


Remove three screws securing the cooling fan.

Disconnect the fan cable from the logic board.

Disconnect cooling fan

Here’s how to disconnect the fan cable.

Unplug fan cable from motherboard


Remove the cooling fan.

Remove MacBook Pro cooling fan


Now we’ll have to disconnect all other cables from the logic board. I will show how to disconnect them in the following steps.

Cables to disconnect:
1. Speaker/subwoofer cable.
2. Camera cable.
3. AirPort/Bluetooth cable.
4. Optical drive cable.
5. Hard drive cable.
6. Trackpad cable.
7. Keyboard cable.
8. Keyboard backlight cable.
9. Battery indicator light cable.
10. Display video cable.

Cables to disconnect

Here’s how to disconnect the display video cable connector.

Lift up the metal retainer securing the connector and disconnect the cable from the logic board by the black tab.

Unplug video cable from motherboard

Connectors 1, 3, 4, 5, 6 and 9 disconnect the same way.

Simply lift up the connector and unplug it from the logic board.

Disconnect cables

Here’s how to unplug the camera cable.

Disconnect cable

You have to be very careful with the keyboard and backlight connectors. They are fragile.

Here’s how to unlock the connectors.

Lift up the retainer with your fingernail. The retainer will open up at a 90 degree angle.

Unlock keyboard and backlight connectors

After both connectors unlocked, you can pull cables from the connectors.

Disconnect keyboard and backlight cables


Remove three screws securing the silver grounding plate and display cable retainer.

Remove the grounding plate.

Remove screws from right bracket


Remove the display cable retaining bracket.

Remove right bracket


Here’s a tricky part.

In this MacBook Pro the microphone is glued to the palmrest assembly.

It’s possible to lift up the logic board, unplug the microphone cable, unroute the cable and remove the logic board without separating the microphone from the logic board BUT… it will be very difficult to install the logic board back into the laptop and connect the microphone cable. You might easily damage the microphone cable connector during this procedure.

Here’s an easy way.

Using a sharp object carefully unglue the microphone from the palmrest assembly.

Most likely it will not come out clean and some sticky tape and cushion rubber will remain attached to the cover but that’s OK.

Separate microphone from cover


Remove all screws securing the logic board and MagSafe board (power connector board).

Remove screws securing motherboard

STEP 10.

Start separating the logic board from the palmrest assembly.

Lift up motherboard

STEP 11.

Remove the logic board.

Remove MacBook Pro 13 motherboard

STEP 12.

The logic board was removed with the MagSafe board and microphone attached to it.

Now you can see why we separated the microphone from the palmrest assembly in the step 8.

The microphone cable routed very tightly and hard to access.

Bottom side of motherboard

STEP 13.

Remove four screws securing the AirPort/Bluetooth/speaker assembly.

Remove screws securing subwoofer

STEP 14.

Move the assembly a little bit to the right so you can access one screw securing the optical drive.

Remove the screw.

Remove DVD drive screw

STEP 15.

Remove two more screws securing the optical drive.

Remove two more DVD drive screws

STEP 16.

Remove the optical drive.

Remove MacBook Pro DVD drive

STEP 17.

Unroute the speaker cable from the center bracket.

Unroute speaker cable

STEP 18.

Move the AirPort/Bluetooth/speaker assembly aside.

Remove subwoofer

STEP 19.

Remove two screws securing the center bracket.

Lift up and remove the center bracket.

Remove two screws from center bracket

STEP 20.

Remove two screws securing the power button to the palmrest assembly.

Remove two screws from power button

STEP 21.

Lift up the power button.

Lift up power button

STEP 22.

The power button cable routed under other cables.

Unroute the power button cable.

NOTE: the power button is part of the keyboard. When you remove the keyboard the power button also has to be removed.

Unroute power button cable

There is a silver spring located under the power button. Do not lose the spring.

Make sure the spring is in place when you install the new power button/keyboard.

Power button spring

STEP 23.

Now the keyboard and backlight ready for the removal.

Keyboard backlight ready for removal

STEP 24.

Start separating the old backlight from the keyboard/plamrest assembly.

Start removing keyboard backlight

The backlight has a few layers. If you plan to reuse the bakclight, make sure those layers don’t get separated.

Continue removing keyboard backlight

STEP 25.

The keyboard backlight removed.

Remove keyboard backlight

STEP 26.

Now you are ready for the keyboard removal.

There are many tiny screws (about 60) securing the keyboard to the palmrest assembly.

Remove all screws.

Remove keyboard screws

STEP 27.

Now you can remove the old failed or damaged keyboard and replace it with a new one.

Assemble the laptop following all steps in the reverse direction.

By the way, sometimes it’s possible to repair damaged keyboard keys instead of replacing the entire keyboard.

Remove keyboard

When I replace the keyboard I always replace the backlight too. It’s easier to install a new backlight than reuse the old one.

It looks cleaner and sticks better to the new keyboard and palmrest assembly.

New replacement keyboards (with or without backlight) for MacBook Pro 13-inch available on eBay.

Replace MacBook Pro 13 keyboard and backlight

By the way, if the keyboard failed because of liquid spill, you should go though the liquid spill diagnostic first.

Related articles:

Replacing keyboard on MacBook Pro 15″ (Mid 2010).

17 Responses

  1. Brian

    what screwdriver did you use to remove the keyboard screws? i have tried 0, 00 and 000 and no luck, i wound up drilling the screws out and super gluing the keyboard on and works great but now i purchased a 2011 15″ and have the same problem keyboard not working and want to do it the right way by removing the screws

    • IML Tech

      @ Brian,

      what screwdriver did you use to remove the keyboard screws?

      I’m using Wiha PH00 Phillips screwdriver. It’s a very good one and perfect for removing keyboard screws.

  2. danny

    Amazing detail thank you! I have one broken key, and rather than pay $350 at Apple to have the whole bottom replaced, I’ve purchased an OEM keyboard online for $30. How difficult will this be if I decide to try and do it myself? I’m a handy guy and good at following instructions, but by no means a computer tech. Would you advise against it and recommend I take it to an apple mechanic, or put a few hours aside and try it myself? Of course the last thing i’d want to do is break something in my computer….

    • IML Tech

      @ danny,

      How difficult will this be if I decide to try and do it myself?

      It’s pretty difficult and probably wouldn’t be my first repair attempt on a laptop.

      I have one broken key

      How badly it’s broken? Is it missing or stopped working? Take a look at this key repair guide.

  3. Danny

    Thanks for the response. All of my keys are intact physically, but my DELETE key stopped working, and it failed the diagnostic test.

    • IML Tech

      @ Danny,
      Yeah, this sounds like keyboard failure. If you decide to do it yourself, proceed with caution.

  4. chitra b

    I have macbook pro 17 inch os x. Everything fine with macbook but keyboard types numbers only. power button not working black light also not working. Power on from f5 key. From external keyboard it works fine. Why this happening. Is this require keyboard replacement or something else ?

  5. Carl Freeman

    Great pictures and instructions. I had liquid damage and had to replace the keyboard. I went cheap and bought a used one. It fixed the keyboard problem but the backlight was bad so I got to do the whole thing twice. Thanks for the helpful website.

  6. Michael

    absolutely wonderful tutorial. step for step, spot on. thank you.

  7. Molly

    So I have a 2010 MacBook Pro. My battery overcharged (and basically exploded) while still in the computer. I’m not a techy person so I apologize if my lingo isn’t correct. Anyway. I replaced the battery but I believe I snapped the Battery indicator light cable in the process. The thing that doesn’t make sense to me is when I originally replaced the battery it worked fine. For over a month now. Well last night my computer was on and running and went black. I thought it just needed charged. Plugged it in and nothing, the light for the charger Itself lights up, but when I press the power button, the light on the bottom right does not light up and the screen stays black. Is this fixable or am I totally screwed?

  8. toni

    when removing the cable from the camera I’ve broken. I bought the cable and my idea is to welding wire cable old. but for this I need to know the pinout, can you help?

  9. Prince

    Can someone please tell me where i can get the part that the light cable should go in??.. 🙁 theres none in my mac. my keyboard works fine but the is no connector to connect the light to..

  10. Jonathan

    Hi, only the down arrow is not working after liquid damage. Do I have to replace the whole keyboard, or do I just need to clean the area where is the down arrow key?


  11. Alejandro Guerrero

    Thank you Sir for this tutorial, It worked flawlessly and you have saved me a lot of money!

Leave a Reply

Your email address will not be published. Required fields are marked *