Remove the old battery before you install the new one
Most HP laptops let you swap the battery yourself without tools or a technician. The process takes about 15 minutes and requires only the new battery and your hands. Before you start, shut down your laptop completely and unplug the power adapter—do not just close the lid or put it to sleep.
Flip the laptop over so you can see the bottom panel. Look for a battery release latch or button near the battery compartment. On many HP models, this is a small plastic lever or button labeled with a battery icon. Slide or press it away from the battery, and the battery will pop out slightly. Grip the edges of the battery and pull it straight toward you until it clears the connector pins inside the laptop.
Set the old battery aside on a clean, dry surface. Do not force the battery out—if it does not slide smoothly, check that you have fully released the latch and try again. The connector pins inside the laptop are fragile and can bend if you pull at an angle.
Key Takeaways
- Power off your laptop completely and unplug the adapter before removing the old battery.
- Locate the battery release latch on the bottom of your laptop and slide or press it to free the battery.
- Pull the battery straight out by its edges, then align the new battery's connector pins with the slot and push until you hear a click.
- Leave the laptop unplugged for 30 seconds after installation, then plug in the power adapter to begin the first charge cycle.
- The first full charge may take 2 to 4 hours depending on your battery model and whether you use the laptop while charging.
Install the new battery and find it
Take the new HP battery out of its packaging and inspect the connector pins on the back—they should be clean and free of dust or corrosion. If you see any discoloration, gently wipe the pins with a dry, lint-free cloth. Do not use water or cleaning solution.
Hold the new battery so the connector pins face into the laptop. Align the pins with the slot inside the battery compartment and push the battery straight in until you feel resistance. You should hear or feel a small click as the battery locks into place. If the battery does not click, remove it and check that the pins are aligned correctly, then try again.
Once the battery is seated, the release latch should snap back into its locked position automatically. If it does not, gently push the latch toward the battery until it clicks. Flip your laptop over and set it on a flat surface.
Charge the new battery for the first time
Leave your laptop unplugged for 30 seconds after installation. This allows the battery management system to recognize the new battery. Then plug in the power adapter and turn on your laptop. You should see a charging indicator light near the power button or on the adapter itself.
For the first charge cycle, let the battery charge to 100 percent without interruption. This usually takes 2 to 4 hours depending on your laptop model and whether you are using the laptop while it charges. Using the laptop during the first charge will extend the time but will not damage the battery. Many HP laptops show the charging percentage in the system tray at the bottom right of the screen (Windows) or top right (Mac).
Once the battery reaches 100 percent, you can unplug the adapter and use the laptop on battery power. The battery does not need to fully drain before you charge it again—modern HP batteries use lithium-ion chemistry and perform best when you charge them frequently, even if they are not completely empty.
Find the correct replacement battery for your HP model
HP batteries are model-specific, so you need to know your exact laptop model before you order a replacement. The easiest way to find this is to look at the bottom of your laptop—most HP models have a sticker with the model number printed on it. The model number usually starts with letters like "Pavilion," "Envy," or "ProBook" followed by numbers like "15-ef1234ca."
Once you have the model number, search for it on the HP support website or on the retailer where you plan to buy the battery. Enter your model number in the search box, and the site will show you compatible batteries. Write down the battery part number (it usually starts with "HP" or "Compaq" followed by numbers) so you can verify it matches when your new battery arrives.
You can buy HP batteries from the official HP store, Amazon, Best Buy, or other electronics retailers. Prices vary but typically range from $40 to $120 depending on the battery capacity and your laptop model. Avoid very cheap batteries from unknown sellers, as they may not hold a charge or could be counterfeit.
Troubleshoot if the new battery does not charge
If you plug in the power adapter and the charging light does not appear, first check that the adapter itself is working. Unplug the adapter from the wall, wait 10 seconds, and plug it back in. If the light still does not appear, try a different power outlet to rule out a problem with the wall socket.
If the adapter light comes on but the laptop does not recognize the battery, shut down the laptop completely and leave it unplugged for 2 minutes. This resets the battery management system. Plug the adapter back in and turn on the laptop. If the battery still does not charge after this step, the battery may be defective and should be returned to the retailer.
In rare cases, the battery connector pins inside the laptop may be bent or corroded. If you see visible damage to the pins when you look into the battery compartment, do not insert a new battery—contact HP support or take the laptop to a repair shop. Inserting a battery into a damaged connector can cause electrical problems.
Extend the life of your new battery
HP laptop batteries degrade over time, but you can slow the process by following a few straightforward habits. Keep your laptop in a cool environment—heat is the enemy of lithium-ion batteries. If your laptop feels hot to the touch, shut it down and let it cool for 15 minutes before using it again. Do not leave your laptop in a hot car or direct sunlight for extended periods.
Avoid letting the battery drain completely to zero percent on a regular basis. Instead, charge the battery when it reaches 20 percent. You can also enable Battery Saver mode in Windows (Settings > System > Battery) or Low Power Mode on Mac (System Preferences > Battery) to reduce power consumption and extend the time between charges.
If you plan to store your laptop for more than a month, charge the battery to about 50 percent before putting it away. Do not store a completely drained or fully charged battery, as both states stress the cells. Keep the laptop in a cool, dry place away from moisture and extreme temperatures.
Frequently Asked Questions
Do I need to remove the battery before I update Windows or install software?
No. You can leave the battery installed while you update Windows or install software. The battery does not interfere with these processes. However, if your laptop is plugged in during an update, keep the power adapter connected until the update is complete to avoid losing power if the battery is low.
Can I use a third-party battery instead of an official HP battery?
Third-party batteries are cheaper but may not last as long or hold a charge as well as official HP batteries. They also carry a higher risk of being counterfeit or defective. If you choose a third-party battery, buy from a reputable seller and check the reviews. Official HP batteries come with a one-year warranty, while third-party batteries often do not.
What should I do with my old battery?
Do not throw lithium-ion batteries in the trash—they can catch fire in landfills or recycling trucks. Most electronics retailers like Best Buy accept old laptop batteries for recycling at no charge. You can also search for a battery recycling center near you on the Call2Recycle website or contact your local waste management department.
How do I know if my battery is wearing out?
If your laptop shuts down suddenly even though the battery shows 20 or 30 percent charge, or if the battery drains much faster than it used to, the battery is likely wearing out. You can also check the battery health report in Windows by opening Command Prompt as administrator and typing "powercfg /batteryreport"—this generates a detailed report showing the battery's design capacity versus its current capacity.
Can I replace the battery while the laptop is in sleep mode?
No. Always shut down your laptop completely before removing the battery. Sleep mode leaves power flowing to the motherboard, and removing the battery while the laptop is asleep can corrupt files or damage the system. A full shutdown ensures all power is cut off before you touch the battery.