How to replace keyboard on MacBook Pro 13″, 15″, 17″

posted in: Apple Products | 38

MacBook Pro unibody

In this guide I explain how to remove and replace failed or damaged keyboard on a MacBook Pro 13″, 15″ or 17″ unibody laptop.

As an example, I am doing it on a MacBook Pro 15″ (Early 2011) but it will be very similar for most MacBook Pro unibody model years 2008-2013.

In my case some liquid was spilled

on the keyboard and some keyboard keys stopped working.

In a MacBook Pro the keyboard is mounted to the bottom side of the top case assembly. It means in order to replace the keyboard you will have to remove most internal components.

You will have to remove the logic board and cooling fans.

Remove MacBook Pro logic board

You will have to remove the optical drive.

Remove MacBook Pro optical drive

You can use iFixit MacBook Pro disassembly guides to remove these components.

You have to know the model year of your MacBook Pro in order to find the correct disassembly guide.

Here is how to find the model year:

1. Search for the serial number printed on the bottom cover.
2. Check your serial number on the Apple site.
3. When you run the serial number you will find the model year in the results. For example, it will say MacBook Pro (15-inch, Mid 2010).

Now you can go to the iFixit site and find the correct disassembly guide.

There are lots of different disassembly guides on that site. Search for the upper case removal or replacement guide. It’s the most complete set of disassembly instructions.

You’ll have to disassemble the laptop to the point where you have easy access to the keyboard, as it shown on the following picture.

As I mentioned earlier, you will have to remove the logic board, cooling fans, optical drive and un-route some cables.

It is NOT necessary to remove the battery, hard drive and display panel.

When it looks like one on the following picture, you are ready for the keyboard removal and replacement.

Removing MacBook Pro keyboard




In MacBook Pro the power button permanently attached to the keyboard via a ribbon cable.

Before you can remove the keyboard you will have to release the power button.

MacBook Pro power button

Remove two screws securing the power button.

Remove screws from power button


Lift up the power button and separate the ribbon cable from the case.

The ribbon cable is glued to the case with sticky tape.

Un-route the power button from under the antenna and display cables.

Un-route power button

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

MacBook Pro power button spring


Different MacBook Pro models have different trackpad cables.

In my case it was a long L-shaped cable.

Keyboard ready for replacement

If your trackpad cable looks like mine, carefully unglue it from the keyboard.

Separate trackpad cable

You can secure the trackpad cable to the case with sticky tape so it stays away from the keyboard.

Secure trackpad cable


A MacBook Pro keyboard has two parts – the keyboard itself and the backlight.

The backlight glued over the keyboard.

Carefully start separating the backlight from the keyboard.

You can be less careful, if you are not reusing the backlight.

When I have to replace a failed or damaged keyboard, I am always replacing the backlight too. It is just way easier to work with a brand new part.

Start separating keyboard backlight

The backlight has three different layers. Do not separate them from each other.

When you remove the backlight, you have to see the metal surface of the keyboard.

Continue removing keyboard backlight

Continue separating the backlight from the keyboard.

Continue separating backlight from keyboard

The backlight has been removed.

MacBook Pro keyboard backlight removed


Now you can start removing the keyboard.

You will see LOTs of tiny screws (over 60) securing the keyboard to the top cover assembly.

Remove all screws using a Phillips PH00 screwdriver (preferably magnetized).

Remove screws from keyboard


Remove the failed or damaged keyboard.

Remove MacBook Pro keyboard


Install a new keyboard and backlight into the laptop case.

I buy new keyboards on eBay.

1. For MacBook Pro 13″ available here.

2. For MacBook Pro 15″ available here.

3. For MacBook Pro 17″ available here.

The only difference between 2009-2010 and 2011-2012 models is the F3 and F4 keys logo but the function will be the same.


As I mentioned earlier, I always buy keyboards with backlight but you can reuse the old backlight if you wish.

Assemble everything back together.

New MacBook Pro keyboard and backlight

Instructions for MacBook Air laptops available here.

External Resources: Laptop Motherboard Shop

You can support my work!
It takes hours to create one disassembly guide and only a minute to donate.

38 Responses

  1. Hello,
    I just got done with changing my keyboard on a late 2011 15” Macbook Pro, I followed this guide and it worked perfectly, I bought the keyboard on ebay for $45, and a set of small screwdrivers for another $10.
    Thanks for the help

  2. @ Jeff,
    You are welcome!
    I’m glad it worked out well for you.
    The keyboard replacement takes lots of time, patience and skills.

  3. Hello, how many hours this kind of job will take?

  4. IML Tech

    @ Maria,
    It takes me about 1 hour to replace the keyboard but… I’m an experienced tech. :)

  5. Hello. How much would you charge to do the work yourself? I do not trust myself to do it. I have my macbook backed up.

  6. Hey there, thanks for the great guide! Exactly what I’ve been looking for to clean up my”coffee-leak-macbook” :)
    Actually I do have one addition or correction: I believe the keyboard screws are PH000, not PH00. At least the 000 fits better on my MBP 13″ late 09.

    Thanks for the great guide!

  7. @ Chris,
    PH00 works well for me. I’m using a Wiha screwdriver and it fits perfectly.

  8. Is the 15″ Mid 2012 MBP the same as the MacBook Pro (15-inch, Early-Late 2011). Motherboard looks similar and has the same pads. Just want to check before I short something out,

  9. Distshore

    What is the part number for the keyboard? I’m also looking for 15″ MBP mid-2010 but what I see online seems to be complete top cases
    Thanks for your help!

  10. IML Tech

    @ Distshore,
    There is no part number for the keyboard. Apple doesn’t sell it separately.
    You can find a replacement on eBay. Just search for “MacBook Pro 15 2010 keyboard”.

  11. Courtney Smith

    Hi there. Do you have any keyboards that you suggest buying over any others? I have a macbook pro 13 a1278 2012 model. Thanks.

  12. IML Tech

    @ Courtney Smith,
    Not really. Just make sure to buy a new one.
    If you search for “A1278 new keyboard” on eBay, you’ll find one with the backlight for $39.95 with free shipping.
    That’s should be good enough.

  13. Al Santoro

    I have a 13″ macbook late 2009 model. Any particular keyboard and backlight model number? I have a few keys that are simply not working, so I am thinking the keyboard has just worn out from intense use. Any thoughts? thanks

  14. IML Tech

    @ Al Santoto,

    I have a 13″ macbook late 2009 model. Any particular keyboard and backlight model number?

    There is no model number. You can use any keyboard and backlight designed for MBP 13″ A1278 2009-2010 models.
    You can even use 2011-2012 models but they will have different logo on the F3 and F4 keys.

    I just updated the post and added links to keyboard listings on eBay.

  15. Thank you for this post – very helpful!

    I had an incredible amount of trouble with this and I don’t know why. I’ve been doing hardware repair for several years but this one really got me. The first two times I reassembled there was no response to the power button and the wer adapter wouldn’t light up. After two more tear-downs and rebuilds, I finally got everything working except for sound.

    I don’t feel like I did anything different each time so I can’t even guess what was going on. Anyone have any suggestions for getting the sound working again? The system recognizes the sound card but system prefs claim there’s no driver for the device. So far, I’ve installed a new system and zapped the PRAM.

  16. Hi, I have a macbook 5.1 end 2008, I can replace the keyboard with 2009 backlit keyboard, the contact in logic board is compatibile. Thanks Dan :)

  17. IML Tech

    @ simon,
    I think this Apple discussion can be helpful.
    Apparently, if your laptop has a 2GHz processor, it doesn’t support backlight keyboards.

  18. Ah ok I don’t know this, thanks IML Tech good work.

  19. Working thru these instructions, I dropped one of the screws holding the power button. Do you know where I can buy a replacement?

  20. Yogesch

    Great guide!

    I have a quick question: Which screwdrivers are needed for this job? Specifically, do you ever need the Y screwdrivers?

  21. Hello there gr8 guide
    i have a late 2008 mac book Uni-body 2.4ghz with lid keyboard, would the 2010/11/12 keyboards will fit my mac book ?
    thanks in advance

  22. thank you very much! just replaced mine keyboard.

  23. I used this guide to replace my MacBook keyboard, and when I got done the right half of the keyboard won’t work. Any ideas?

  24. IML Tech

    @ Ben,
    Check if the keyboard cable plugged correctly. Try resetting the cable, make sure it’s in all the way.

  25. Yeah, that keyboard and backlight cable are nasty little suckers. This job would have only taken me and 1 1/2 hours if it wasn’t for those things. I had to walk away from everything for a couple of hours or I would have made things far worse. I still don’t know how I managed to reconnect them, but I saved myself a nice chunk of change doing it myself!

  26. I can’t seem to disconnect the camera cable from the logic board. Seems in there pretty tight, and I don’t want to break it by pulling too hard. There’s a bit of paste around it but I think that’s only holding the socket in, not the cable. Anyone have a trick for this?

    (early 2011 Macbook Pro 13 inch A1278)

  27. Hi! In Ifixit guide for replacing the upper case, they claim that if you have a broken keyboard you are obliged to replace the entire upper case, which costs about $200. Yet, the ebay link you are providing (the one for Macbook Pro 13″) there are keyboards being offered without the upper case, and with a final cost of $30 approximately. Is there something I am missing? Thanks in advance.

  28. IML Tech

    @ Juan,
    No you are not missing anything.
    iFixit recommendation is the same as Apple recommendation. They say if the keyboard failed you will have to replace the entire top cover.
    This is not 100% accurate.
    If you have a MacBook Pro unibody model 2008-1012 it IS possible to replace JUST the keyboard without replacing the top cover. You will have to buy the correct keyboard on eBay and replace it as I explained in my guide. It takes more time than replacing just the top cover but you can save lots of money.

  29. why did my effin builtin keyboard and mouse disable after removing battery ? mbp 13″ a1278 emc:2554 nothings ripped or connected incorrectly. i do this all day with other non-mac laptops and older macs with no issue,.but this model w/ those sticker sensors i think had something to do wit it wtf i cant use my laptop w/out usb wired keyboard and mouse hella gheto and annoying.

  30. Hi,
    I spilled some liquid on my keyboard and it doesn’t work. I can go to the mac store and pay $250 to get it fixed, or buy one from EBAY and fix it myself.
    my question is-
    the like you have attached in your article, are they internal keyboards, or are they external keyboards?
    I need to replace the internal keyboard. is that what you have linked to in the above article?

  31. Barbie

    i seem to have several issues with my 13 inch late macbook white unibody. thanks to you i have solved one: got it booted up by shorting across the power up pads. the keyboard is flaky and i’m guessing i will need to replace it. but because the power button doesn’t work i’m also assuming i’ll have to replace the top cover? questions are; 1. should one of these be done first? i’ve never done this and guess i might fry something so i will probably go with the cheapest repair first. 2. do you have instructions for replacement of macbook cover and keyboard? can i follow the ones here for replacing the mbp keyboard for my mb? thank you so much.. this is a great website. i had given up on my laptop. cant afford another.

  32. Just finished replacing kybd for coffee spill,now all the keys work, but still getting strange characters on screen, think it maybe the kybd encoder on logic board?? Your comments please…and how do I go about finding those itty bitty silver screws for the kybd…had 60 to start but lost two along the way, they just vanish, earth must swallow them, any part number ?? Thanks so much!!!

  33. Franck

    Hi thks for the tutorial,
    I’m having trouble with the connection flat cable on my 2009 mac book pro, actually the blue film on it doesn’t seems to fit in connector!!! Can it be removd or maybe there is a trick?

  34. Franck

    Ok I had to take a “tweezer” to onsert it properly…. Cool thks to your tutorial

  35. Binuraj

    Hello Sir,

    I have a macbook pro late 2008 model a1286 mb470/ll edition. Due to spillage my keyboard not working now. I searched everywhere in indian websites as i am from india and i couldnt procure one spare. Can i use 2009 or 2010 models or even 2011 model keyboard for my above specified laptop..?? You said in some of your comments here that only two of the keys differ in newer model keyboards…please help me


  36. Abraham Brody

    I have a MacBook Pro 5,3 and see the prices on iFixit for the keyboard are in the $250-$350 range. Is there any place I can get the keyboard and parts necessary to fix it for less? Please e-mail abrody AT if you have a good source in the United States.

  37. Bill Edsall

    I spilled a little wine on mine and according to the tech there the price just went up to close to $1300 for them to fix it. Thanks for doing this!

  38. I would like to remove the keyboard, and use it as a usb keyboard for my other non apple product custom built pc, is this possible? Can’t seem to find any guide online anywhere on this matter

Leave a Reply