What you need to do before opening your device
Before you touch anything inside your device, power it off completely and unplug it from any charger or power source. This matters whether you're working on a laptop, phone, wireless mouse, or remote control — a powered-on device can damage components or hurt you if you accidentally touch the wrong part.
Let the device sit for a few minutes after shutting down. This gives any residual electrical charge time to drain. For laptops especially, this prevents a shock when you touch the metal frame or battery contacts.
Gather what you need: a screwdriver (usually Phillips head, sometimes flathead or Torx), a clean, flat workspace, and a small container to hold screws so you don't lose them. Some batteries slide out without tools; others are soldered to the motherboard and require professional replacement. Check your device manual or the manufacturer's website to find out which type yours is.
Key Takeaways
- Always power off and unplug your device before opening it, then wait a few minutes for electrical charge to dissipate.
- Different devices use different battery types — some slide out, some require screwdrivers, and some are permanently attached and need professional help.
- Take photos of the battery and its connections before you remove it so you know how to put the new one back in the same way.
- When inserting a new battery, match the plus and minus symbols on the battery to the plus and minus markings inside the device.
- If your device is still under warranty, opening it yourself may void that warranty — check before you start.
Removing the old battery from a laptop or desktop
On most laptops made in the last five years, the battery is a rectangular block that sits in a bay underneath the keyboard or along one edge. Flip the laptop over and look for a latch or release button near the battery. Press or slide it, and the battery should pop out slightly. Pull it the rest of the way out by hand.
Older laptops and some current models require you to remove the bottom panel first. Use your screwdriver to remove the screws holding the panel in place — again, keep them in a container. Once the panel is off, you'll see the battery mounted in a plastic frame. Look for clips or latches on either side of the battery. Press or slide these outward, and the battery will release. Gently pull it toward you.
Desktop computers rarely have user-replaceable batteries. The battery you see inside (usually a small, coin-shaped cell) powers the motherboard's clock and settings when the computer is off. If it needs replacing, it usually clips into a socket on the motherboard. Press down on the clip on one side, and the battery pops out. This is a two-minute job that doesn't require opening the whole case.
Removing the battery from a phone or tablet
Most phones and tablets sold today have batteries glued to the inside of the case. Opening one yourself risks damaging the screen, the internal circuits, or the battery itself — which can cause a fire. If your phone battery is failing, contact the manufacturer or an authorized repair shop instead.
Some older phones and a few current models have removable batteries. Power off the phone, then look for a small notch or line on the back cover. Use your fingernail or a plastic tool to pry the cover off. Once it's open, you'll see the battery sitting in a slot. Lift one edge gently and slide it out. Do not force it.
Removing the battery from a wireless device
Wireless mice, keyboards, remote controls, and game controllers all use standard batteries — usually AA, AAA, or button-cell types. These are the easiest to replace. Flip the device over and look for a battery compartment cover. It usually has a small arrow or line showing which direction to slide or twist it. Open the cover and note which way the batteries are facing: the flat end (negative) or the bumpy end (positive) should be pointing in the direction marked inside the compartment.
Pull out the old batteries by hand. If they're stuck, use a plastic tool or the edge of a coin to gently pry them out. Do not use a metal screwdriver, which can scratch the contacts and prevent the new batteries from making good electrical contact. Wipe the inside of the compartment with a dry cloth to remove any corrosion or dust, then insert the new batteries in the same direction as the old ones.
Installing the new battery correctly
Before you insert a new battery, take a photo of the old one and its connections with your phone camera. This gives you a reference if you forget which way it goes or how the cables attach. Most batteries have a label showing a plus sign (+) and a minus sign (−). Inside your device, you'll see matching markings near the battery slot.
For batteries that slide into a slot, align the plus and minus symbols and slide the battery in slowly. You should feel it settle into place. For batteries with cables attached, connect the cables to the motherboard first, matching the colors or labels (usually red to plus, black to minus). Then find the battery in its frame using any clips or latches.
Once the battery is in place, close any panels you removed and replace the screws. Power on the device and check that it recognizes the new battery. On a laptop, the battery indicator should show that it's charging. On a phone, you may see a "battery health" message the first time you turn it on.
When you should not replace the battery yourself
If your device is still under warranty, opening it may void that warranty. Check the manufacturer's website or your paperwork before you start. Many companies offer battery replacement as a service, sometimes for free if the device is new enough.
If the battery is soldered directly to the motherboard (common in newer phones, tablets, and thin laptops), you cannot remove it without specialized equipment. Attempting to do so will damage the device. Contact the manufacturer or an authorized repair center instead.
If you see any signs of battery damage — swelling, cracks, leaking fluid, or a burnt smell — do not touch it. A damaged battery can catch fire or release toxic chemicals. Dispose of it according to your local hazardous waste guidelines and take the device to a professional.
What to do with the old battery
Do not throw a used battery in the trash. Batteries contain materials that can harm the environment and are often recyclable. Most electronics stores (Best Buy, Micro Center) and many grocery stores have battery recycling bins near the customer service desk. Some manufacturers also offer mail-back programs — check their website for details.
If the battery is swollen or damaged, place it in a plastic bag away from other items and take it to a hazardous waste collection site. Your city or county's waste management website can tell you where the nearest site is.
Frequently Asked Questions
How do I know if my battery needs replacing?
A battery that drains in a few hours even when the device is off, or one that won't hold a charge even after a full night plugged in, is failing. On a laptop, you can also check the battery report by opening Command Prompt (Windows) or Terminal (Mac) and typing specific commands — the manufacturer's website has instructions for your model.
Can I use any battery as a replacement, or does it have to be the exact model?
It has to be the same type and size. Using the wrong battery can damage your device or cause it to overheat. Check your device manual or the manufacturer's website for the exact model number, then buy a replacement with that same number. Third-party batteries are usually cheaper than official ones but carry more risk of poor quality.
What if I put the battery in backwards?
For standard batteries in remotes and wireless devices, putting them in backwards straightforward means the device won't work — no damage occurs. For laptop or phone batteries with cables, connecting the cables backwards can damage the motherboard. This is why taking a photo before you remove the old battery matters. If you're unsure, do not power on the device; open it again and check the connections.
How long does a new battery last?
A new battery in a laptop or phone typically lasts two to five years before it starts to noticeably degrade, depending on how often you charge it and how hot the device gets. Batteries in wireless devices last months to years depending on how much you use them. Check the manufacturer's specifications for your specific battery model.
Is it safe to use the device while the battery is charging for the first time?
Yes. Modern devices manage charging automatically and will not overcharge. You do not need to let a new battery charge for a specific amount of time before using it. However, avoid using the device heavily (gaming, video editing) while it charges, as this generates heat and can stress a new battery.