Most HP laptops let you swap the battery yourself in under five minutes

Whether your HP battery no longer holds a charge or you want a spare for travel, you can replace it without tools or a technician. The process differs slightly between models—some batteries slide out from the bottom, others require you to remove the keyboard or back panel—but the basic steps are the same across nearly all HP laptops made in the last decade.

The first thing to check is whether your specific model has a user-replaceable battery. Most do, but some ultrabooks and gaming laptops have batteries soldered to the motherboard. Your model number (usually on a sticker on the bottom) and the HP support website will tell you which category yours falls into.

Key Takeaways

  • Power off your laptop completely and unplug the charger before you touch the battery.
  • Find your HP model number on the bottom sticker, then search "HP [model number] battery replacement" to see the exact steps for your machine.
  • Most HP batteries slide out from the bottom or require removing a back panel—no soldering or special tools needed.
  • Buy a replacement battery with the same part number as your original to avoid compatibility problems.
  • If your battery is soldered in place, a technician or HP service center will need to replace it.

Shut down and disconnect power completely

Before you touch anything inside or around the battery, shut down your laptop fully. Do not just close the lid or put it to sleep—use the power menu and wait for the machine to turn off completely. Then unplug the charger and any USB devices.

Wait a few minutes after shutdown. This lets any residual charge drain and reduces the risk of a short circuit. If your laptop feels warm, wait longer. You want it cool to the touch before you proceed.

Locate your model number and find the replacement instructions

Flip your laptop over and look for a sticker on the bottom panel. It will show your model number—something like "HP Pavilion 15-ab123nr" or "HP Envy x360 13-ag0xxx". Write this down or take a photo.

Go to the HP support website, search for your model number, and look for the "Specifications" or "Manuals" section. read the user manual or search for "battery replacement" on that page. HP publishes step-by-step guides with photos for nearly every model. If you cannot find it there, search "[your model number] battery replacement" in a search engine—many tech sites have documented the process with photos.

This step is crucial because battery location and removal method vary widely. Some models have the battery accessible from the bottom; others require removing the keyboard or the entire back panel.

Remove the battery from your specific HP model

For bottom-access batteries: Look for a latch or release button on the bottom panel near the battery. Push or slide it, and the battery should pop out slightly. Gently pull it toward you until it slides free. Disconnect the cable connector if there is one—it usually unplugs like a small USB connector.

For back-panel batteries: You will need to remove several screws from the bottom panel. Use a Phillips-head screwdriver (usually size #0 or #1) and keep the screws in a small container so you do not lose them. Once the panel is off, locate the battery—it is usually a rectangular block with a cable running to the motherboard. Unplug the connector first, then unscrew or unclip the battery from its bracket.

For keyboard-access batteries: Some models require removing the keyboard. This is more involved but still doable. Gently pry up the keyboard using a plastic spoon or guitar pick along the top edge. Disconnect the ribbon cable underneath, then access the battery beneath. Again, unplug the connector before removing the battery itself.

If you encounter resistance at any point, stop and recheck the manual. Forcing a component can break it.

Buy the correct replacement battery

Your old battery has a part number printed on its label—something like "RE03047XL" or "PA06XL". This number is your key to finding the right replacement. Search for that exact part number on Amazon, eBay, or the HP store. Do not guess or buy a battery that looks similar; the wrong part number can cause charging problems or not fit at all.

Check the voltage and capacity (measured in watt-hours, or Wh) on the label. Your replacement should match exactly. Buying from HP directly costs more but guarantees compatibility. Third-party batteries from reputable sellers like Anker or Lenmar are usually cheaper and work well, but read recent reviews to avoid counterfeits.

Install the new battery and reconnect power

Unpack the new battery and check that it matches your old one's part number. If your old battery had a cable connector, plug the new battery's connector into the motherboard first—it should click into place. Then slide or clip the battery into its bracket or slot until it sits flush.

If you removed screws or the keyboard, reverse those steps now. Screw the back panel back on, making sure all screws are tight but not over-tightened. Reconnect the keyboard ribbon cable if you removed it. Close everything up and flip the laptop right-side up.

Plug in the charger and power on your laptop. The battery should begin charging when ready. You may see a low-battery warning briefly—this is normal. Let it charge for at least 30 minutes before unplugging.

What to do if your battery is soldered in place

Some HP ultrabooks and gaming laptops have batteries permanently attached to the motherboard. If the manual says the battery is not user-replaceable, or if you open the back panel and see the battery glued or soldered down, do not attempt to remove it yourself.

Contact an HP service center or an authorized repair shop. They have the tools and training to safely disconnect a soldered battery without damaging the motherboard. Expect to pay a service fee on top of the battery cost. Alternatively, you can mail your laptop to HP for repair, though this takes longer.

Frequently Asked Questions

How long does a new HP laptop battery last?

A new battery typically holds a full charge for 3 to 7 years, depending on how often you use it and whether you leave it plugged in constantly. Batteries degrade faster if you regularly drain them completely or expose them to heat. If your new battery stops holding a charge within a year, it may be defective—contact the seller about a replacement.

Can I use my laptop while the new battery charges?

Yes, but it will charge more slowly. For the first charge, it is better to let the battery charge fully without using the laptop. After that, you can use it normally while plugged in.

What should I do with my old battery?

Do not throw it in the trash. Lithium batteries can catch fire in landfills. Take it to an electronics recycling center, a Best Buy, or a battery retailer that accepts old batteries. Many accept them for free. Some HP stores will also take old batteries when you buy a replacement.

My laptop won't turn on after I put the new battery in. What went wrong?

The battery connector may not be fully plugged in. Power off the laptop, remove the battery, and reseat the connector—push it straight in until you hear a click. If the connector looks damaged, the battery may be defective. Also check that you did not accidentally disconnect any other cables while working inside the laptop.

Is it safe to replace the battery myself, or should I take it to a technician?

It is safe if you follow the manual for your model and take basic precautions—power off, unplug, and avoid forcing components. If you are uncomfortable opening your laptop or your model requires removing the keyboard, a technician can do it faster and with less risk of accidental damage. The cost is usually $50 to $100 in labor plus the battery price.