Battery location depends on your HP model and design

The battery on an HP laptop is almost always underneath the machine, but the exact location and how you reach it varies by model. Some HP laptops have the battery in a removable compartment on the bottom panel — you slide it out without opening the case. Others have the battery soldered directly to the motherboard inside, which means you need to disassemble the laptop to replace it. A few newer models hide the battery under the keyboard or integrated into the chassis itself.

The fastest way to know which type you have is to flip your laptop over and look for a battery compartment door — usually a rectangular panel with a latch or screws. If you see one, your battery is user-removable. If the bottom is smooth or has only a large panel covering the whole underside, your battery is likely internal and requires opening the case.

Key Takeaways

  • Removable batteries sit in a compartment on the bottom of the laptop and slide out with a latch or release button — no tools needed.
  • Internal batteries are soldered to the motherboard and require you to remove the bottom panel and disconnect a cable, which voids some warranties if done incorrectly.
  • Your specific HP model number (found on a sticker on the bottom or in Settings) tells you which type you have when you search the HP support website.
  • If your battery is internal and you are not comfortable opening the laptop, an HP service center or local repair shop can replace it for a fee.

How to identify a removable battery compartment

Look at the bottom of your closed laptop. A removable battery compartment is usually a rectangular or slightly curved panel, often darker than the rest of the case, with either a small latch, a release button, or two screws holding it in place. The panel is typically 3 to 4 inches wide and sits near the center or toward one edge of the bottom.

If you see a latch, push or slide it in the direction the arrow points — the battery door should pop open slightly. If you see a release button, press it and the door should spring out. If there are screws, use a Phillips head screwdriver (usually size #0 or #1) to remove them, then gently pry the panel away from the case with a plastic spoon or old credit card so you do not scratch the plastic.

Once the compartment is open, you will see the battery itself — a rectangular block with two metal contacts on one end. To remove it, look for a small tab or handle. Pull the tab toward you, and the battery should slide out. Some batteries have a latch you press down first before pulling.

What to do if your battery is built into the case

If the bottom of your laptop is one solid panel with no compartment door, or if you removed the bottom panel and see a battery glued or soldered to the motherboard with a cable running to it, your battery is internal. This is common on newer HP models, especially thin ultrabooks and gaming laptops.

Replacing an internal battery yourself requires removing multiple screws, disconnecting a cable from the motherboard, and prying the old battery away — a process that can damage nearby components if you are not careful. It also voids the warranty on many HP models if you do the work yourself. The safer route is to contact HP support or visit an authorized HP service center, where a technician can do the replacement and keep your warranty intact.

If cost is a concern, local computer repair shops often charge less than HP service centers for internal battery replacement. Call ahead and ask for a quote before you bring the laptop in.

Finding your exact HP model number

Your HP model number is printed on a sticker on the bottom of the laptop, usually near the battery compartment or along one edge. It looks like "HP Pavilion 15-ab123nr" or "HP Envy x360 13-ay0043dx" — a combination of letters, numbers, and sometimes hyphens. Write this number down or take a photo of the sticker.

You can also find your model number in Windows by right-clicking the Start button, selecting "System," and looking for "System Model" in the window that opens. On a Mac (if you have an HP Envy or Spectre), click the Apple menu, select "About This Mac," and look for "Model Identifier."

Once you have the model number, go to the HP support website, search for your model, and look for the "Specifications" or "Manuals" section. The manual will show you exactly where the battery is located on your specific laptop and whether it is removable or internal.

Steps to remove a removable battery safely

Before you touch the battery, shut down your laptop completely and unplug the power adapter. Wait 30 seconds for any residual charge to drain. This prevents electrical damage to the battery and the laptop.

Flip the laptop over so the bottom faces you. Locate the battery compartment door and open it using the method described above — latch, button, or screws. Look inside and identify the battery and any release mechanism.

If there is a tab or handle, pull it gently toward you until the battery slides out. If the battery has a latch, press the latch down first, then pull. Do not force it — if it does not move easily, check that you are pulling in the right direction or that you have released all latches.

Once the battery is out, set it aside on a clean, dry surface. Do not drop it or expose it to water. If you are replacing it with a new one, insert the new battery into the compartment with the metal contacts facing toward the back of the laptop, then push it in until you hear a click or feel it lock into place. Close the compartment door and power on the laptop.

When to contact HP support or a repair shop

If you cannot find a battery compartment door after checking the entire bottom of your laptop, or if you opened the bottom panel and see the battery is soldered to the motherboard, stop and contact HP support. They can tell you whether your battery is replaceable and, if so, whether you should do it yourself or bring it in for service.

You should also reach out to HP support if your battery compartment door is stuck, cracked, or missing — forcing it open can damage the hinges or the case. HP can send you a replacement door or walk you through a safe removal method.

If you are uncomfortable opening your laptop or unsure which direction to pull the battery, a local repair shop or HP service center is worth the cost. A wrong move can damage the motherboard or battery connector, which is far more expensive to fix than paying for professional removal.

Frequently Asked Questions

Can I use my HP laptop while the battery is removed?

Yes, as long as the power adapter is plugged in. The laptop will run on AC power alone. However, if the power cuts out, you will lose all unsaved work, so it is safer to keep the battery installed even if you are not using it.

What if my battery compartment door is stuck?

Do not force it — you can crack the plastic. Try gently tapping the door with a rubber mallet or the handle of a screwdriver to loosen it, or explore a small amount of penetrating oil around the edges and wait 10 minutes. If it still will not budge, contact HP support or a repair shop.

Is it safe to replace the battery myself if it is internal?

It is possible but risky. You risk damaging the motherboard, battery connector, or nearby components. It also voids your warranty on most HP models. Unless you have experience with laptop repair, a service center is the safer choice.

How do I know if my battery needs to be replaced?

If your laptop shuts down suddenly even when plugged in, drains in minutes, or no longer charges past 1 percent, the battery is likely failing. You can also check battery health in Windows by opening Command Prompt as administrator and typing "powercfg /batteryreport" — this generates a report showing battery capacity and wear.

Can I buy a replacement battery online and install it myself?

Yes, if your battery is removable. Make sure you buy the exact model number for your laptop — search for your model number plus "replacement battery" on the HP website or a retailer like Amazon. For internal batteries, you can buy them online, but installation requires opening the laptop, which is why most people use a service center.