When and how to replace your MacBook battery

You can replace a MacBook battery yourself if your model has a removable battery, but most modern MacBooks have the battery glued or soldered to the logic board, which means you will need to open the entire bottom case and disconnect internal cables. The process takes 30 minutes to two hours depending on your model and your comfort with small screws and ribbon connectors. Before you start, check your exact MacBook model and year on Apple's support site — the steps differ significantly between a 2015 MacBook Air and a 2020 M1 MacBook Pro.

If your battery is swollen, leaking, or your MacBook shuts down at 40% charge, replacement is necessary. A battery that no longer holds a charge for more than an hour is also a sign it has reached the end of its lifespan. You will need a replacement battery (usually $40 to $100), a pentalobe screwdriver (the five-pointed security screw used by Apple), a spudger or plastic pry tool, and tweezers for handling small connectors.

Key Takeaways

  • Most MacBooks made after 2012 require opening the entire bottom case to access the battery, which is glued or soldered in place.
  • You will need a pentalobe screwdriver (P5 size for most models), a plastic spudger, and a replacement battery specific to your MacBook model and year.
  • Disconnect the battery connector from the logic board before removing the old battery to avoid electrical damage to your MacBook.
  • The entire process typically takes 30 minutes to two hours, and the hardest part is usually prying open the bottom case without damaging the aluminum.

Gather the right tools and parts before you start

Order a replacement battery that matches your MacBook's exact model and year — the part number is printed on the old battery itself. Search for your model number (found in Apple menu > About This Mac) plus "replacement battery" to find the correct part. Batteries cost between $40 and $100 depending on capacity. Buy from a reputable electronics supplier, not a marketplace seller with no reviews, because counterfeit batteries can overheat or fail suddenly.

You will also need a pentalobe screwdriver in size P5 (the most common for MacBooks), a plastic spudger or old credit card to pry the case open, tweezers for handling ribbon connectors, and a small container to keep screws organized by location. Do not use a metal screwdriver or knife to pry the case — aluminum scratches easily and metal tools can short circuit the logic board. A clean, well-lit workspace and a small flashlight or headlamp are also helpful because the connectors inside are small and hard to see.

Power down completely and ground yourself

Shut down your MacBook fully — do not just close the lid or put it to sleep. Go to the Apple menu, select Shut Down, and wait for the screen to go black and the fans to stop. Wait at least five minutes after shutdown before opening the case, because the internal components are still warm and may still carry a charge.

Before you touch any internal parts, ground yourself by touching a metal part of the MacBook case or wearing an anti-static wrist strap. This prevents static electricity from damaging the logic board or other components. If you are working on a carpeted floor, touch the metal case frequently as you work. Do not work on a bed, couch, or other fabric surface where static can build up.

Remove the bottom case and locate the battery

Flip your MacBook upside down on a soft cloth or towel to protect the screen and keyboard. Use your pentalobe screwdriver to remove all the screws holding the bottom case in place — there are usually 8 to 10 screws around the perimeter. Keep them in order: some MacBooks have different screw lengths, and putting a long screw in a short hole can damage the logic board. Take a photo of the screw locations before you remove them.

Once all screws are out, gently pry up one corner of the case using your plastic spudger. Work slowly around the edges — the case is glued or clipped in place and will resist. Do not force it or you will crack the aluminum. Lift the case away and set it aside. The battery is usually the largest component you see, taking up a third to half of the interior space. It is a rectangular black or silver box with a cable running to the logic board.

Disconnect the battery connector and remove the old battery

Before you touch the battery itself, locate the battery connector — a small plastic plug where a ribbon cable connects the battery to the logic board. This is usually near the top or side of the battery. Gently pull the connector straight out of its socket using your tweezers or fingers. Do not yank on the cable itself; pull on the plastic connector body. This step is critical because it cuts power to the battery and prevents electrical damage while you work.

The battery is usually held in place with strong adhesive strips underneath. Slide your plastic spudger under one edge of the battery and gently pry upward. Work your way around all four sides, lifting a little at a time. The adhesive will stretch and eventually release. This can take several minutes — patience is more important than force. Once the battery is loose, carefully lift it out and set it aside. Do not bend or puncture the old battery, even though it is no longer in use.

Install the new battery and reconnect the cable

Remove the adhesive backing from the new battery (most come with pre-applied strips) or explore new adhesive strips if your replacement battery does not have them. Position the new battery in the same location as the old one, making sure the connector cable can reach the logic board without stretching. Press down firmly on all edges to seat the adhesive, then wait 30 seconds for it to set.

Reconnect the battery cable by aligning the connector with the socket on the logic board and pushing straight in until you hear or feel a small click. The connector should sit flush against the logic board with no gap. If it does not click in, pull it out and try again — forcing a misaligned connector can bend the pins inside the socket.

Reassemble the case and test the battery

Position the bottom case over the MacBook and press down around all the edges to reseat any clips. Insert all the screws back into their original holes in the correct order. Tighten them by hand first, then use your pentalobe screwdriver to snug them down — they should be tight but not over-tightened, which can crack the case or strip the threads.

Flip the MacBook right-side up and press the power button to turn it on. You should see the Apple logo and the startup sequence. Once the system boots, go to Apple menu > About This Mac > System Report and click Battery to verify that the new battery is recognized and shows the correct capacity. The battery should show as "Normal" condition. If it shows as "Replace Now" or is not recognized, power down, open the case again, and check that the connector is fully seated.

Frequently Asked Questions

What if I break the battery connector while removing it?

If the plastic connector breaks but the pins inside the socket are intact, you may be able to solder a new connector onto the battery cable, but this requires electronics repair skills. If the socket on the logic board is damaged, the MacBook will need professional repair. This is why gentle, patient work is important — the connector is fragile and expensive to replace.

Can I use a third-party battery instead of an Apple battery?

Yes, many third-party batteries work reliably and cost less than Apple batteries. Look for batteries from established electronics suppliers with good reviews and a warranty. Avoid very cheap batteries from unknown sellers, which may have lower capacity, shorter lifespan, or safety issues. Check the part number and capacity to make sure it matches your MacBook model.

How long does a new MacBook battery last?

A new battery typically lasts 3 to 5 years or 1000 charge cycles, whichever comes first. Battery lifespan depends on how often you charge it and whether you let it fully drain. Keeping your MacBook plugged in most of the time can extend battery life because the system stops charging once it reaches 100%.

What should I do with the old battery?

Do not throw a lithium battery in the trash — it is a fire hazard in landfills and garbage trucks. Take it to an electronics recycling center, a Best Buy, or an Apple Store, which all accept old batteries for free recycling. Some areas have mail-back programs for batteries as well.

Do I need to calibrate the new battery after installation?

Modern MacBooks do not require manual calibration. The system will recognize the new battery automatically and begin learning its charge patterns over the first few charge cycles. You do not need to do anything special — just use your MacBook normally.