HP laptop batteries come out from the bottom or side, and you can do it yourself in under ten minutes with just a screwdriver

Most HP laptops let you swap the battery without taking the whole machine apart. You'll need a Phillips-head screwdriver, your replacement battery (matched to your model number), and about ten minutes. The battery sits in a compartment on the underside or side of your laptop — HP does not hide it behind the keyboard or motherboard the way some brands do.

The exact steps depend on whether your model has a removable battery door or requires you to unscrew a panel. Both are straightforward. The hardest part is usually finding the right replacement battery, because HP uses different part numbers for nearly identical batteries across their product lines.

Key Takeaways

  • Shut down your laptop completely and unplug the power adapter before you touch the battery — a running machine can damage the new battery on installation.
  • Find your laptop's model number (usually on a sticker on the bottom) and search for the exact replacement battery by that number, not by guessing the part.
  • Most HP batteries slide out after you flip two or three latches or remove four to six screws from a panel on the underside.
  • New HP batteries cost between $40 and $120 depending on capacity, and third-party replacements are usually cheaper than HP's official batteries.
  • If your battery is glued in or soldered to the motherboard, you cannot replace it yourself — take it to a repair shop instead.

Shut down and disconnect power completely

Turn off your laptop and wait for it to cool for a few minutes. Then unplug the power adapter from the wall and from the laptop. This step matters: if you install a new battery while the machine is powered on or plugged in, you risk damaging the battery or the charging circuit.

Once the laptop is cool and unplugged, flip it over so the bottom is facing up. Look for a sticker with your model number — it usually says something like "HP Pavilion 15-ab123dx" or "HP Envy x360 13-ag0023nr". Write down or photograph this number. You will need it to order the correct replacement battery.

Locate the battery compartment on your model

HP laptops store the battery in one of two ways. Some models have a removable battery door on the underside — it is a plastic or metal panel about the size of a deck of cards, usually marked with a battery icon. Others require you to remove a larger panel that covers the entire bottom of the machine.

Look around the edges of the bottom panel for a latch, a slot, or screw holes. If you see a small latch or clip near a rectangular panel, that is the battery door — you can usually flip it open by hand or with a fingernail. If the entire bottom is one panel held by screws, you will need your screwdriver to remove them. Most HP models use Phillips-head screws, and they are usually small — do not force them.

Remove the old battery

If your model has a removable door, open it and look inside. You will see the battery — a rectangular pack with a connector cable attached to the motherboard. On most HP models, the battery slides out toward you or to one side. Some have a small latch or tab you flip before sliding. Gently pull the battery toward you until it comes free, then disconnect the cable by pulling the connector straight out.

If your model requires removing a full panel, unscrew all the screws you see and set them aside in a small cup or on tape so you do not lose them. Lift the panel away carefully — there may be cables attached to the touchpad or keyboard, so do not yank it. Once the panel is off, you will see the battery. It is usually held in by two or three screws or clips. Remove those, then gently disconnect the cable.

If the battery appears to be glued or soldered directly to the motherboard with no removable connector, stop here. Your model requires professional service — do not try to pry it loose.

Install the new battery and reconnect

Take your new battery and align it with the slot or screw holes where the old one sat. The connector cable should face the same direction as before. Slide the battery in or lower it into place, then find it with the screws or latches you removed. Tighten screws firmly but do not overtighten — you are just holding it in place, not crushing it.

Next, connect the cable. The connector usually has a small tab or notch that only fits one way, so you cannot plug it in backward. Push it straight in until you hear or feel a click. Do not force it — if it does not slide in easily, check the alignment and try again.

Close the compartment and power on

If you removed a battery door, slide it back into place and flip the latch closed. If you removed a full panel, line up the screw holes and reinstall all the screws in the same order you removed them. Tighten them evenly so the panel sits flat.

Flip your laptop right-side up, plug in the power adapter, and turn it on. Your system should recognize the new battery within a few seconds. You may see a notification in the taskbar or battery icon that says the battery is charging. Let it charge for at least 30 minutes before unplugging, even if it shows 100 percent — new batteries need a full initial charge cycle.

Finding the right replacement battery for your HP model

HP uses different part numbers for batteries that look almost identical but have different voltage or capacity. Ordering the wrong one can prevent your laptop from charging or damage the charging circuit. The safest approach is to search for your exact model number plus "battery" on HP's official website or on a major retailer like Amazon or Best Buy.

You can also find the part number printed on your old battery itself — it usually starts with "HP" or "Compaq" and includes a string of numbers and letters. Search that number directly. Third-party batteries from brands like Anker or Lenoge are usually cheaper than HP's official replacements and work just as well, but buy from a seller with good reviews and a return policy in case the battery does not fit.

Frequently Asked Questions

How long does an HP laptop battery last before I need to replace it?

Most HP batteries hold a useful charge for two to four years of regular use. You will notice the battery drains faster or does not hold a charge as long as it used to. If your laptop shuts down at 20 percent battery or only lasts an hour unplugged when it used to last four, replacement is probably due.

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

Yes. Third-party batteries from reputable brands work fine in most HP models and cost less. Make sure the part number or specifications match your model exactly — voltage and connector type must be identical. Buy from a seller with a return policy in case there is a fit issue.

What if my laptop battery is glued in and I cannot remove it?

Some newer HP models, especially thin ultrabooks, have batteries soldered or glued to the motherboard. You cannot safely remove these yourself. Take your laptop to an HP service center or a local repair shop — they have the tools to disconnect it without damaging the board.

Do I need to drain the old battery before removing it?

No. Shut down the laptop and unplug it, and you are fine. You do not need to fully discharge the battery first. Just make sure the machine is completely powered off and cool before you start.

Why does my new battery not charge after I install it?

Check that the connector cable is fully seated — push it in again until you feel a click. If it still does not charge, power off the laptop, unplug it, and remove the battery. Wait 30 seconds, reinstall it, and plug in the power adapter again. If the battery still does not charge, it may be defective — contact the seller for a return.