You can replace most HP laptop batteries yourself in under ten minutes
Most HP laptops let you swap the battery without opening the case or using tools. The battery sits in a slot on the bottom or side of the machine, held by a latch or two. You push the latch, the battery slides out, and you slide a new one in. If your HP is older than five or six years, or if it's a thin ultrabook model, the battery may be glued inside — in that case, you'll need to take it to a repair shop or send it to HP, because opening it yourself will void the warranty and risks damaging the screen or keyboard.
Before you buy a replacement, you need to know which battery your machine uses. HP makes dozens of battery models, and putting the wrong one in won't work. The easiest way is to look at the battery that's already in your laptop — the model number is printed on a label on the battery itself.
Key Takeaways
- The battery model number is printed on the battery itself; write it down before you shop for a replacement.
- Most HP laptops have a removable battery held by one or two latches on the bottom or side of the machine.
- If your HP is thinner than half an inch or more than five years old, the battery is likely glued in and requires professional removal.
- A replacement battery from HP costs more than a third-party battery but comes with HP's warranty; third-party batteries are cheaper but vary in quality.
- After you install the new battery, let it charge fully before you use the laptop on battery power.
Finding your battery model number
Shut down your laptop completely. Flip it over so you're looking at the bottom. Look for a removable panel or a battery that sticks out slightly from the case. The battery will have a white or silver label on it with text printed in small type.
Find the line that starts with "Model" or "P/N" (part number). It will look something like "PA5208U-1BRS" or "HS04". Write this number down exactly as it appears, including any hyphens or letters. This is the only number you need to buy the right replacement.
If you can't find a removable battery on the bottom or sides of your laptop, search online for your exact HP model number (printed on the bottom of the machine) plus the word "battery." If the search results show that the battery is internal or glued in, stop here — you'll need professional help to replace it.
Checking whether your battery is removable
Look at the bottom of your laptop for a battery compartment. It will either be a separate panel held by one or two screws, or the battery itself will be visible and held by a plastic latch on each end. If you see latches, you can remove the battery yourself. If you see a panel, unscrew it (usually with a Phillips head screwdriver) and check whether the battery underneath has latches or is glued down.
If the battery is glued to the case or if there's no removable battery compartment at all, the battery is internal. HP charges between $150 and $400 to replace an internal battery, depending on the model. You can contact HP support or visit an authorized HP service center to arrange the replacement. Some independent repair shops also do this work for less, though you'll lose any remaining manufacturer warranty.
Buying the right replacement battery
You have two main options: buy directly from HP, or buy from a third-party seller on Amazon, eBay, or other retailers. HP batteries cost more — usually $80 to $150 — but they come with a one-year warranty and you know they're genuine. Third-party batteries cost $30 to $80 but vary widely in how long they last. Some third-party batteries are rebranded versions of the same cells HP uses; others are lower quality and may hold a charge for only a year or two.
Before you buy, check the reviews on the retailer's site. If a battery has hundreds of reviews and most say it stopped working within a year, skip it. If reviews say it works as well as the original and lasts several years, it's probably safe to buy.
When you order, make sure the seller ships from within your country if possible. Batteries shipped from overseas sometimes get held up in customs or arrive damaged. Check the return policy — you want at least 30 days to test the battery and return it if it doesn't work.
Removing the old battery
Shut down your laptop completely and unplug the power adapter. Wait five minutes for the machine to cool down. Flip the laptop over so you're looking at the bottom.
If your battery is in a removable panel, unscrew the panel with a Phillips head screwdriver and set the screws somewhere you won't lose them. If the battery has latches on the ends, push each latch outward or downward — the direction will be marked with an arrow on the latch itself. The battery should slide out toward you. If it doesn't move, don't force it; check that both latches are fully released.
Once the battery is out, set it aside. Don't throw it away yet — you may need to return it to the seller if the new battery doesn't work, and old batteries should be recycled, not thrown in the trash. Most electronics retailers like Best Buy take old batteries for free.
Installing the new battery
Take the new battery out of its packaging. Line up the connectors on the battery with the connectors inside the laptop — they're usually gold-colored pins or a flat metal contact. Slide the battery in slowly until it sits flush with the case. You should hear or feel a click as the latches snap into place.
If your battery was in a removable panel, slide the panel back on and screw it down. Don't overtighten the screws — they only need to be snug.
Plug in the power adapter and turn on the laptop. The battery indicator in the system tray (bottom right on Windows, top right on Mac) should show that the battery is charging. If it shows "plugged in, not charging," the battery may not be seated correctly. Shut down, remove it, and try again, making sure the connectors are aligned.
Charging and testing the new battery
Leave your laptop plugged in for at least four hours, or until the battery indicator shows 100 percent. Don't use the laptop on battery power yet. After it reaches full charge, unplug the power adapter and use the laptop normally. The battery should power the machine for the number of hours listed in the product description — usually between four and eight hours, depending on the model and how much you're doing.
If the battery drains much faster than expected, or if the laptop shuts down suddenly when the battery indicator still shows charge remaining, the battery may be defective. Contact the seller and ask about a return. Most will send a replacement or refund within two weeks.
Frequently Asked Questions
Can I use my laptop while the new battery is charging for the first time?
Yes, but it's better not to. Let it charge fully without using it. Some batteries perform better if you give them a full charge cycle before you start relying on them. It only takes a few hours and costs you nothing.
What should I do with my old battery?
Don't throw it in the trash — batteries contain materials that are harmful to the environment. Take it to Best Buy, Staples, or your local electronics recycling center. Many accept old batteries for free. Some sellers also accept old batteries as part of a trade-in program.
My new battery shows as "plugged in, not charging" even though it's connected. What's wrong?
The battery may not be fully seated. Shut down the laptop, remove the battery, and check that the connectors are clean and aligned. Wipe the connectors gently with a dry cloth and try again. If it still doesn't work, the battery may be defective — contact the seller for a replacement.
How long should a replacement battery last?
Most HP batteries hold a useful charge for two to four years of regular use. After that, they gradually lose capacity — you might get six hours instead of eight. This is normal and doesn't mean the battery is broken. When it becomes inconvenient, you can replace it again.
Is it safe to leave my laptop plugged in all the time?
Yes. Modern HP laptops stop charging once the battery reaches 100 percent, so leaving it plugged in won't damage the battery. However, batteries last longer if you let them discharge to 20 or 30 percent occasionally, rather than staying at 100 percent all the time.