Skip to main content

Introduction

The upper case assembly includes the keyboard. Use this guide to replace the entire case/keyboard assembly as a single unit.

  1. Retina MacBook 2017 Upper Case Assembly Replacement, Disable Auto Boot: step 1, image 1 of 3 Retina MacBook 2017 Upper Case Assembly Replacement, Disable Auto Boot: step 1, image 2 of 3 Retina MacBook 2017 Upper Case Assembly Replacement, Disable Auto Boot: step 1, image 3 of 3
    • Before starting this procedure, you must disable your Mac's Auto Boot feature. Auto Boot powers on your Mac when you open the lid, and may be accidentally triggered during disassembly. Use this guide or follow the abbreviated instructions below to disable Auto Boot. This command may not work on all Macs.

    • Power on your Mac and launch Terminal.

    • Copy and paste the following command (or type it exactly) into Terminal:

    • sudo nvram AutoBoot=%00

    • Press [return]. If prompted, enter your administrator password and press [return] again. Note: Your return key may also be labeled ⏎ or "enter."

    • You can now safely power down your Mac and open the bottom case, without it accidentally powering on.

    • When your repair is complete and your Mac is successfully reassembled, re-enable Auto Boot with the following command:

    • sudo nvram AutoBoot=%03

    • Before proceeding, unplug and power down your MacBook. Close the display and lay it on a soft surface, top-side down.

    • Remove the following eight screws securing the lower case:

    • Two 1.8 mm P5 Pentalobe screws

    • Four 2.9 mm P5 Pentalobe screws

    • Two 6.1 mm P5 Pentalobe screws

    • Note the orientation of the screws as you remove them—they need to be reinstalled at a slight angle.

    • Throughout this repair, keep track of each screw and make sure it goes back exactly where it came from to avoid damaging your device.

  2. Retina MacBook 2017 Upper Case Assembly Replacement: step 3, image 1 of 3 Retina MacBook 2017 Upper Case Assembly Replacement: step 3, image 2 of 3 Retina MacBook 2017 Upper Case Assembly Replacement: step 3, image 3 of 3
    • Wedge your fingers between the upper case and the lower case, starting from the rear of the MacBook between the hinges.

    • Lift the lower case only slightly to avoid damaging the cables that connect the lower case to the upper case.

    • Keeping a firm grip, lift steadily until the lower case separates slightly from the upper case.

    • You may experience a lot of resistance when lifting the lower case. If necessary, slide an opening pick or other ESD-safe pry tool down the side edges of the lower case to pop the two hidden retaining clips free.

    • During reassembly, to re-engage the clips, press firmly near both side edges of the lower case (near where the pick is inserted in the third image) until you hear the clips snap into place.

  3. Retina MacBook 2017 Upper Case Assembly Replacement: step 4, image 1 of 1
    • While holding the lower case in place, carefully flip the MacBook over so the Apple logo faces up.

  4. Retina MacBook 2017 Upper Case Assembly Replacement: step 5, image 1 of 2 Retina MacBook 2017 Upper Case Assembly Replacement: step 5, image 2 of 2
    • Lift the upper case and display together from the front edge and raise it to about a 45˚ angle.

    • It may be helpful to prop the MacBook open in this position for the next step.

  5. Retina MacBook 2017 Upper Case Assembly Replacement: step 6, image 1 of 3 Retina MacBook 2017 Upper Case Assembly Replacement: step 6, image 2 of 3 Retina MacBook 2017 Upper Case Assembly Replacement: step 6, image 3 of 3
    • Use the flat end of a spudger to press and hold the small gold 'battery disconnect' button.

    • If the power LED is lit up, continue holding the button until the LED goes dark, and then release. This may take up to 10 seconds.

    • If the LED does not light, release the button after 5-10 seconds. Press and hold it again for 5-10 seconds, and release. Finally, press and hold it a third time for 5-10 seconds, and release.

    • This step ensures the MacBook is fully powered down and safe to work on.

  6. Retina MacBook 2017 Upper Case Assembly Replacement: step 7, image 1 of 1
    • Close the MacBook and carefully flip it upside-down.

  7. Retina MacBook 2017 Upper Case Assembly Replacement: step 8, image 1 of 1
    • Lifting from the front edge, open the lower case to an angle of about 45°.

    • Take care not to damage the ribbon cables that still attach the lower case to the MacBook.

  8. Retina MacBook 2017 Upper Case Assembly Replacement: step 9, image 1 of 2 Retina MacBook 2017 Upper Case Assembly Replacement: step 9, image 2 of 2
    • Use tweezers to peel back the tape covering the trackpad cable ZIF connector.

  9. Retina MacBook 2017 Upper Case Assembly Replacement: step 10, image 1 of 3 Retina MacBook 2017 Upper Case Assembly Replacement: step 10, image 2 of 3 Retina MacBook 2017 Upper Case Assembly Replacement: step 10, image 3 of 3
    • Use a spudger to carefully flip up the retaining flap on the trackpad cable ZIF connector.

  10. Retina MacBook 2017 Upper Case Assembly Replacement: step 11, image 1 of 2 Retina MacBook 2017 Upper Case Assembly Replacement: step 11, image 2 of 2
    • Disconnect the trackpad ribbon cable from the trackpad by pulling it gently through its slot in the frame.

  11. Retina MacBook 2017 Upper Case Assembly Replacement: step 12, image 1 of 3 Retina MacBook 2017 Upper Case Assembly Replacement: step 12, image 2 of 3 Retina MacBook 2017 Upper Case Assembly Replacement: step 12, image 3 of 3
    • Carefully close the MacBook and flip it over once again, so that the Apple logo faces up.

    • Lifting from the front edge, raise the upper case/display assembly to about a 90° angle, and prop it up against something sturdy so you don't have to hold it.

    • Add a piece of tape near the track pad to secure the upper case and prevent accidental movement.

    • It's possible to open the MacBook all the way and lay both sides down flat, but this may damage the flex cables and is not recommended.

  12. Retina MacBook 2017 Upper Case Assembly Replacement: step 13, image 1 of 1
    • Remove the single 2.9 mm T5 Torx screw securing the battery connector to the logic board.

    • As an added precaution, you may physically disconnect the battery by inserting a battery isolation pick between the logic board and the battery connector.

  13. Retina MacBook 2017 Upper Case Assembly Replacement, USB-C and Audio Jack Disconnect: step 15, image 1 of 1
    • Remove the two screws securing the USB-C port cable bracket:

    • 1.1 mm Phillips #00 screw

    • 3.5 mm T5 Torx screw

  14. Retina MacBook 2017 Upper Case Assembly Replacement: step 16, image 1 of 2 Retina MacBook 2017 Upper Case Assembly Replacement: step 16, image 2 of 2
    • Use the flat end of a spudger to disconnect the USB-C port cable bracket by prying it straight up from the logic board.

    • To reconnect this cable, first line up the metal bracket over the screw holes, then press down on the middle of the bracket. Make sure it's aligned correctly, or you may damage the connector.

  15. Retina MacBook 2017 Upper Case Assembly Replacement: step 17, image 1 of 2 Retina MacBook 2017 Upper Case Assembly Replacement: step 17, image 2 of 2
    • Use a spudger to flip open the retaining flap on the audio jack board cable ZIF connector.

  16. Retina MacBook 2017 Upper Case Assembly Replacement: step 18, image 1 of 1
    • Disconnect the audio jack board ribbon cable by pulling it straight back out of the ZIF connector.

    • During reassembly, orient the ribbon cable so that the side with the white stripe faces you, as shown.

    • At this point it is possible to open the macbook all the way and to lay it flat on a table without causing any damage to the flex cables.

  17. Retina MacBook 2017 Upper Case Assembly Replacement, Lower Case Assembly Removal: step 19, image 1 of 2 Retina MacBook 2017 Upper Case Assembly Replacement, Lower Case Assembly Removal: step 19, image 2 of 2
    • Use tweezers to peel back the tape covering the display cable connector.

  18. Retina MacBook 2017 Upper Case Assembly Replacement: step 20, image 1 of 2 Retina MacBook 2017 Upper Case Assembly Replacement: step 20, image 2 of 2
    • It's possible the metal retaining flap on the display cable connector may flip open, remaining stuck to the tape.

    • If so, use the flat end of a spudger to hold down the retaining flap while peeling the tape away with the tweezers.

  19. Retina MacBook 2017 Upper Case Assembly Replacement: step 21, image 1 of 1
    • Use the flat end of a spudger to flip open the retaining flap on the display cable connector.

    • Try to keep it clear of the tape, or it may re-adhere and make cable removal difficult.

    • Carefully slide the flat end of a spudger underneath the display cable to separate the adhesive holding it to the lower case.

    • Take care not to damage the cable. If the adhesive is very strong, heat the case directly beneath the cable with an iOpener to soften the adhesive, and then try again.

  20. Retina MacBook 2017 Upper Case Assembly Replacement: step 23, image 1 of 1
    • Disconnect the display cable by gently pulling it straight out of its connector.

    • Immediately close the retaining flap.

    • The flap must remain closed when the cable is reinserted during reassembly. Line up the cable with the gold contacts facing down, and gently slide it into the closed connector. Take care not to crimp or damage the cable. When fully inserted, the indentations on the sides should not be visible.

  21. Retina MacBook 2017 Upper Case Assembly Replacement: step 24, image 1 of 1
    • Separate the upper case assembly from the lower case assembly.

  22. Retina MacBook 2017 Upper Case Assembly Replacement, Audio Jack Board: step 25, image 1 of 2 Retina MacBook 2017 Upper Case Assembly Replacement, Audio Jack Board: step 25, image 2 of 2
    • Use a spudger to flip open the ZIF connector retaining flap for the dual microphone assembly ribbon cable.

  23. Retina MacBook 2017 Upper Case Assembly Replacement: step 26, image 1 of 2 Retina MacBook 2017 Upper Case Assembly Replacement: step 26, image 2 of 2
    • Disconnect the microphone assembly ribbon cable by pulling it straight out of its connector.

  24. Retina MacBook 2017 Upper Case Assembly Replacement: step 27, image 1 of 1
    • Remove the two 3.2 mm T5 Torx screws securing the audio jack board to the case.

  25. Retina MacBook 2017 Upper Case Assembly Replacement: step 28, image 1 of 1
    • Remove the audio jack board.

  26. Retina MacBook 2017 Upper Case Assembly Replacement, Dual Microphone Assembly: step 29, image 1 of 1
    • Prepare an iOpener and apply heat to the upper case directly behind the microphone assembly.

  27. Retina MacBook 2017 Upper Case Assembly Replacement: step 30, image 1 of 3 Retina MacBook 2017 Upper Case Assembly Replacement: step 30, image 2 of 3 Retina MacBook 2017 Upper Case Assembly Replacement: step 30, image 3 of 3
    • Use a fine-tip probe or pick to gently peel the dual microphone assembly away from the case.

  28. Retina MacBook 2017 Upper Case Assembly Replacement: step 31, image 1 of 1
    • Remove the dual microphone assembly.

  29. Retina MacBook 2017 Upper Case Assembly Replacement, USB-C Port: step 32, image 1 of 1
    • Remove two 2.5 mm Phillips #00 screws securing the USB-C port.

  30. Retina MacBook 2017 Upper Case Assembly Replacement: step 33, image 1 of 3 Retina MacBook 2017 Upper Case Assembly Replacement: step 33, image 2 of 3 Retina MacBook 2017 Upper Case Assembly Replacement: step 33, image 3 of 3
    • Use tweezers to lift the USB-C port just over the hinge screws.

    • Slide the port out and up over the display hinge to remove it.

    • There's very little clearance when removing and installing the USB-C port. If there's not enough room, don't force it. Try removing the display hinge screws and moving the hinges for additional clearance, if necessary.

  31. Retina MacBook 2017 Upper Case Assembly Replacement, Display Assembly: step 34, image 1 of 3 Retina MacBook 2017 Upper Case Assembly Replacement, Display Assembly: step 34, image 2 of 3 Retina MacBook 2017 Upper Case Assembly Replacement, Display Assembly: step 34, image 3 of 3
    • Remove the two 3.3 mm T5 Torx screws securing the display cable assembly.

    • Take care not to lose the small retaining bracket located under the right screw. If it comes loose, note the orientation shown here for reassembly. The small tab on the outer left edge should be hooked under the perforated metal shield.

  32. Retina MacBook 2017 Upper Case Assembly Replacement: step 35, image 1 of 1
    • Fully open the display.

    • Set the MacBook down on its right edge with the display facing away from you, as shown.

  33. Retina MacBook 2017 Upper Case Assembly Replacement: step 36, image 1 of 2 Retina MacBook 2017 Upper Case Assembly Replacement: step 36, image 2 of 2
    • Remove the four 4.8 mm T8 Torx screws securing the display hinges.

    • There may be a rubber cover on the hinge screws. Remove this before removing the screws and replace it during reassembly.

  34. Retina MacBook 2017 Upper Case Assembly Replacement: step 37, image 1 of 3 Retina MacBook 2017 Upper Case Assembly Replacement: step 37, image 2 of 3 Retina MacBook 2017 Upper Case Assembly Replacement: step 37, image 3 of 3
    • Holding the display assembly with one hand and the upper case with the other, push them together slightly to move the hinges out of their recesses in the the upper case.

    • There are only a few millimeters of play between the hinges and the case, so you won't need to push far.

    • Push the upper case forward while pulling back gently on the display.

    • Once the two display hinges have cleared the upper case, remove the display and set it aside.

  35. Retina MacBook 2017 Upper Case Assembly Replacement, Trackpad Assembly: step 38, image 1 of 2 Retina MacBook 2017 Upper Case Assembly Replacement, Trackpad Assembly: step 38, image 2 of 2
    • Use a pair of tweezers to remove the tape covering the keyboard ribbon cable connector on the trackpad.

  36. Retina MacBook 2017 Upper Case Assembly Replacement: step 39, image 1 of 2 Retina MacBook 2017 Upper Case Assembly Replacement: step 39, image 2 of 2
    • Using a spudger, flip open the retaining flap on the keyboard ribbon cable ZIF connector.

  37. Retina MacBook 2017 Upper Case Assembly Replacement: step 40, image 1 of 2 Retina MacBook 2017 Upper Case Assembly Replacement: step 40, image 2 of 2
    • Gently pull the keyboard ribbon cable out of its slot in the frame.

  38. Retina MacBook 2017 Upper Case Assembly Replacement: step 41, image 1 of 1
    • Remove the five 2.5 mm T3 Torx screws securing the trackpad to the case.

    • On some driver sets, a T4 driver may fit better.

  39. Retina MacBook 2017 Upper Case Assembly Replacement: step 42, image 1 of 1
    • Remove the trackpad assembly.

    • Metal brackets on each side of the trackpad may fall away during removal. Be sure to position them as shown in the photo during reassembly.

  40. Retina MacBook 2017 Upper Case Assembly Replacement: step 43, image 1 of 2 Retina MacBook 2017 Upper Case Assembly Replacement: step 43, image 2 of 2
    • Use a spudger to flip up the retaining flap on the keyboard ribbon cable ZIF connector.

  41. Retina MacBook 2017 Upper Case Assembly Replacement: step 44, image 1 of 3 Retina MacBook 2017 Upper Case Assembly Replacement: step 44, image 2 of 3 Retina MacBook 2017 Upper Case Assembly Replacement: step 44, image 3 of 3
    • Gently peel the keyboard ribbon cable up from the case, and remove the cable.

  42. Retina MacBook 2017 Upper Case Assembly Replacement: step 45, image 1 of 1
    • The upper case remains.

Conclusion

To reassemble your device, follow these instructions in reverse order.

9 other people completed this guide.

Tobias Isakeit

Member since: 03/31/2014

102,065 Reputation

183 Guides authored

Team

iFixit Member of iFixit

Community

145 Members

15,571 Guides authored

3 Comments

kann ich mein deutsches Topcase mit einem z.B. UK Topcase austauschen

diese sind leichter zu kaufen und das andere Tastaturlayout wäre auch nicht das Problem

benny.joos98 - Reply

Hallo benny.joos98, es ist sehr wahrscheinlich möglich ein UK Topcase zu verwenden. Frage aber sicherheitshalber noch mal im Forum nach; eventuell hat bereits schon jemand diese Art von Tausch gemacht und kann mehr/genaueres darüber sagen: https://www.ifixit.com/Answers/Device/Re...

Tobias Isakeit -

Thanks for the guide! Is there any reason I couldn’t change my EU keyboard top case with a US keyboard top case for this model?

Thomas - Reply

Add Comment

View Statistics:

Past 24 Hours: 8

Past 7 Days: 55

Past 30 Days: 230

All Time: 12,717