You can replace an HP laptop hard drive yourself in about 30 minutes

Replacing a hard drive in an HP laptop is straightforward if you follow the steps in order and keep track of your screws. The process involves shutting down completely, removing the bottom panel, disconnecting the old drive, and sliding in the new one. Most HP laptops use either a 2.5-inch SATA drive or an M.2 solid-state drive (SSD), depending on your model year — you need to know which type yours uses before you buy a replacement.

The hardest part is usually not the replacement itself, but backing up your files first and then transferring your operating system to the new drive. If you are replacing a failed drive, you will need to reinstall Windows or recover from a backup. If you are upgrading a working drive, you should clone it to the new one before opening your laptop.

Key Takeaways

  • HP laptops use either 2.5-inch SATA drives or M.2 SSDs — check your model number on the bottom of your laptop to know which one to buy.
  • Back up all your files to an external drive or cloud storage before you start, because opening your laptop will void some warranties.
  • You will need a Phillips head screwdriver, an anti-static wrist strap (optional but recommended), and about 30 minutes of uninterrupted time.
  • After you install the new drive, you will need to either reinstall Windows using a USB recovery drive or clone your old drive using free software like Macrium Reflect.
  • If your old drive still works, keep it in an external enclosure as a backup — it becomes a portable external drive worth keeping.

Find out what type of drive your HP laptop uses

The first step is identifying your exact HP model and what kind of drive it has. Look at the bottom of your laptop for a sticker with the model number — it usually starts with "HP" followed by numbers like "15-ef1234ca" or "Pavilion 14-dv0000". Write this number down.

Go to HP's support website, enter your model number in the search box, and look for the specifications sheet or user manual. Search the page for "hard drive", "storage", "SATA", or "SSD". The manual will tell you the exact size and type. If you cannot find it online, you can also open your laptop and look at the drive itself — a 2.5-inch drive is rectangular and about the size of a deck of cards, while an M.2 drive is a thin stick about the length of a stick of gum.

Write down the drive type and size before you buy a replacement. A 2.5-inch SATA drive costs between $40 and $80 for 500GB to 1TB. An M.2 SSD costs between $30 and $100 for the same capacity. Do not buy a drive that is physically larger than what your laptop uses — it will not fit.

Back up your files and prepare your workspace

Before you open your laptop, back up everything you want to keep. Plug in an external hard drive or USB stick and copy your Documents, Pictures, Downloads, and Desktop folders to it. If you use cloud storage like OneDrive, Google Drive, or Dropbox, make sure your important files have synced to the cloud first.

Shut down your laptop completely — do not just put it to sleep. Unplug the power cable and wait 30 seconds for any remaining power to drain. Remove the battery if your model has a removable one (most newer HP laptops do not, but check your manual). This step prevents electrical damage to your laptop while you work.

Find a clean, flat workspace away from carpet or fabric that can generate static electricity. A wooden table or tile counter is better than carpet. If you have an anti-static wrist strap, put it on and clip it to a metal part of your laptop — this prevents static discharge from damaging the new drive. If you do not have one, just touch a metal part of the laptop frame every few minutes to discharge any static buildup.

Remove the bottom panel and locate the hard drive

Flip your laptop upside down so you can see the bottom. Look for screws around the edges — most HP laptops have between 8 and 12 screws holding the bottom panel on. Some screws may be hidden under rubber feet or stickers. Gently peel back any rubber feet to see if screws are underneath, and note which holes had feet so you can replace them later.

Use your Phillips head screwdriver to remove all the screws. Keep them in a small container or on a piece of tape so you do not lose them — they are all the same size, but you need every one to close the panel back up. Set the screws aside in order if your laptop has screws of different lengths (check your manual to be sure).

Once all screws are out, gently lift the bottom panel away from the laptop. It may be slightly stuck — do not force it. If it does not come free, check that you removed all the screws. The hard drive will be visible inside, usually near the center or toward one corner. It will be connected to the motherboard with a cable or sitting in a slot.

Disconnect the old drive and install the new one

For a 2.5-inch SATA drive: Look for a cable connected to the side of the drive — this is the SATA data cable. Gently pull it straight out. There may also be a power cable; pull that out too. The drive may be held in place by a bracket or screws. Remove any screws or clips, then slide the drive out of its slot. If the drive is mounted in a bracket, you may need to unscrew the bracket from the drive itself and attach it to the new drive before installing it.

For an M.2 SSD: Look for a small screw at one end of the drive slot. Remove it. The drive will be at an angle in the slot. Gently push the drive down and pull it toward you at a 30-degree angle — it will slide out. There are no cables to disconnect. To install the new one, reverse the process: insert it at an angle, push down gently, and tighten the screw.

Before you insert the new drive, touch the metal frame of your laptop again to discharge any static. Slide the new drive into the slot or bracket in the same position the old one was in. If it is a 2.5-inch drive, reconnect the SATA and power cables. Make sure everything is seated firmly — you should hear or feel a small click when it is fully inserted. Do not force it; if it does not slide in easily, check that you have the right type of drive and that it is oriented correctly.

Close the panel and prepare your drive for use

Once the new drive is installed, replace the bottom panel by aligning it with the edges of the laptop and pressing down gently until it sits flush. Screw all the screws back in — make sure they are tight but do not overtighten them, as you can strip the threads. Replace any rubber feet you removed.

Plug in the power cable and turn on your laptop. It will likely show an error or boot to a black screen because the new drive is empty. This is normal. You now have two options: reinstall Windows from a USB recovery drive, or clone your old drive if it still works.

If you are upgrading from a working drive, the easiest path is to clone it first before you install it in the laptop. You can buy a USB adapter for your old drive (about $15), connect it to another computer, and use free software like Macrium Reflect or EaseUS Todo Backup to copy everything to the new drive. Then install the cloned drive in your laptop and it will boot up exactly as it was.

If your old drive failed or you want a fresh start, you will need to reinstall Windows. HP usually provides a recovery partition or recovery USB — check your manual or HP's support website for instructions on creating a recovery drive. You will need another computer and a USB stick to create it.

Verify the new drive is working and secure your old one

Once your laptop boots up and Windows loads, open File Explorer and check that the new drive shows the correct capacity. Right-click on "This PC" or "My Computer" and select "Manage" to open Disk Management — your new drive should appear in the list with the correct size. If it shows as "Unallocated", right-click it and select "New Simple Volume" to format it and make it usable.

If you cloned your old drive, all your files and programs should be there and working. If you reinstalled Windows, you will need to reinstall your programs and restore your files from your backup. This usually takes a few hours depending on how much software you use.

Your old drive is now spare hardware. If it still works, put it in a USB external enclosure (about $10 to $20) and use it as a backup drive. If it failed, you can recycle it at an electronics recycling center — do not throw it in the trash, as hard drives contain materials that should not go to landfills.

Frequently Asked Questions

Will replacing my hard drive void my HP warranty?

Opening your laptop may void the warranty depending on your model and when you bought it. Check your warranty paperwork or call HP support before you start. Some HP laptops have user-replaceable drives and opening them does not void the warranty, while others do not. If you are still under warranty and unsure, contact HP first — they may replace the drive for you.

What should I do if my new drive is not showing up in Windows?

If the drive does not appear in File Explorer, open Disk Management (right-click "This PC" and select "Manage"). If it shows there but is marked "Unallocated", right-click it and create a new volume to format it. If it does not show in Disk Management at all, the drive may not be fully seated — shut down, open the panel again, and make sure the drive is pushed in all the way until you hear a click.

Can I use an SSD if my HP laptop originally came with a SATA drive?

It depends on your model. Some HP laptops have both a 2.5-inch SATA slot and an M.2 slot, so you can add an SSD without removing the old drive. Others have only one slot. Check your manual or look inside before you buy. If your laptop has only a SATA slot and you want an SSD, you will need to replace the SATA drive with an SSD in a 2.5-inch enclosure, which is slower than a native M.2 SSD but still faster than a mechanical drive.

How long does it take to clone a hard drive to the new one?

Cloning usually takes 30 minutes to 2 hours depending on how much data you have and the speed of your drives and USB adapter. A 500GB drive takes about 30 to 45 minutes. A full 1TB drive can take 1 to 2 hours. The process runs in the background — you can use the computer while it clones, though it will be slower.

What if I drop a screw inside my laptop while replacing the drive?

If a screw falls inside the case, do not turn on your laptop — a loose screw can short-circuit the motherboard. Tilt your laptop gently and try to shake the screw out, or use a flashlight to locate it and carefully retrieve it with tweezers or a magnetic screwdriver. If you cannot get it out, contact HP support or take it to a repair shop before powering it on.