You can replace a laptop hard drive yourself if you have the right tools and follow the steps in order

A laptop hard drive can fail, fill up, or slow down — and replacing it is one of the few hardware repairs you can do without special training. The process takes 30 minutes to an hour, costs between $50 and $300 depending on the drive you buy, and requires only a screwdriver and a way to transfer your files. The hardest part is usually opening the laptop case without breaking the clips that hold it together.

Before you start, you need to know what kind of drive your laptop uses. Most modern laptops use either a 2.5-inch SATA drive (the older standard) or an M.2 NVMe drive (the newer, faster standard that looks like a small stick of RAM). A few older models use 3.5-inch drives, which are too large for most laptops. You can find out which one you have by opening your laptop's system settings, searching for "disk management" on Windows or "Disk Utility" on Mac, or looking up your exact laptop model online.

Key Takeaways

  • Most modern laptops use either a 2.5-inch SATA drive or an M.2 NVMe drive, and you must buy the correct type or the new drive will not fit.
  • Back up all your files to an external drive or cloud storage before you open the laptop, because the old drive will be removed and you will not be able to recover data from it afterward.
  • You will need a Phillips head screwdriver, an anti-static wrist strap (optional but recommended), and a clean flat surface to work on.
  • After you install the new drive, you will need to reinstall Windows or macOS from a USB stick or recovery partition, or restore from a backup if you created one.

Back up your files before you touch anything

Once you remove the old drive, you cannot get your files back from it without specialized equipment. Before you open the laptop, copy everything you want to keep to an external hard drive, a USB stick, or a cloud service like Google Drive, OneDrive, or iCloud. This takes longer than the actual drive replacement, so start here.

If your laptop still turns on and you have time, the easiest route is to plug in an external drive and drag your Documents, Pictures, Desktop, and Downloads folders onto it. If the laptop is broken or too slow to use, you can still remove the old drive and plug it into another computer using a USB adapter (a $10 to $20 tool that lets you connect a laptop drive to a desktop or another laptop). This way you can copy files from the broken laptop to a working one before you throw the old drive away.

Gather your tools and workspace

You need a Phillips head screwdriver — the kind with a cross-shaped tip — and a clean, flat surface to work on. A desk or table is better than a bed or carpet, because static electricity can damage the new drive before you even install it. If you have an anti-static wrist strap (a $5 to $10 item that clips to your wrist and grounds you to the laptop), wear it. If you do not have one, touch a metal part of the laptop case before you handle the new drive to discharge any static buildup.

Shut down the laptop completely and unplug the power cable. If it has a removable battery, take it out. Let the laptop sit for a few minutes so any residual power drains away. This is a safety step — you are less likely to damage the drive or hurt yourself if there is no power running through the machine.

Open the laptop case and locate the drive

Most laptops have a panel on the bottom that covers the hard drive, RAM, and other upgradeable parts. Look for a panel that is slightly smaller than the whole bottom of the case, or check your laptop's manual to see where the drive lives. Use the screwdriver to remove the screws holding that panel in place. Keep the screws in a small container or on a piece of tape so you do not lose them.

Once the panel is off, you will see the hard drive. On a 2.5-inch SATA drive, it will look like a small rectangular box about the size of a deck of cards, usually held in place by a bracket and two screws. On an M.2 NVMe drive, it will look like a thin stick about 2 inches long, inserted at an angle into a slot on the motherboard. The location varies by laptop model, so if you cannot find it, search for "[your laptop model] hard drive replacement" on YouTube — watching someone else do it takes the guesswork out.

Remove the old drive

For a 2.5-inch SATA drive: unscrew the two screws holding the bracket, then gently pull the drive out of its slot at a 45-degree angle. You will feel it slide out. Disconnect the flat ribbon cable from the back of the drive by pulling the connector straight out. Set the old drive aside.

For an M.2 NVMe drive: unscrew the single screw holding the drive in place (it is usually very small). Gently push the drive down at an angle, and it will pop out of the slot like a stick of RAM. You do not need to disconnect anything — the drive is held in by the slot alone. Set the old drive aside.

Install the new drive

Before you touch the new drive, ground yourself by touching a metal part of the laptop case. Then remove the new drive from its packaging.

For a 2.5-inch SATA drive: connect the flat ribbon cable to the back of the new drive, then slide the drive into the slot at a 45-degree angle until it sits flat. Screw the bracket back in place with the two screws.

For an M.2 NVMe drive: insert the drive into the slot at a 45-degree angle, then push down gently until it clicks into place. Screw the single screw back in to hold it down.

Close the bottom panel and screw it back in. Plug the power cable back in and turn on the laptop. It will not boot into Windows or macOS yet — that comes next.

Reinstall your operating system or restore from backup

A brand-new drive is blank. You need to put Windows or macOS back on it before you can use the laptop. You have two options: reinstall from scratch, or restore from a backup if you created one before you started.

To reinstall Windows: you need a USB stick with Windows installation media on it. You can create one on another computer by downloading the Windows installation tool from Microsoft's website, plugging in the USB stick, and following the prompts. Then plug the USB stick into your laptop, turn it on, and follow the on-screen steps to install Windows. This takes 20 to 40 minutes and gives you a clean system with no old files or programs.

To reinstall macOS: restart the laptop and hold down Command + R while it boots. This opens the recovery partition, which is built into every Mac. Choose "Reinstall macOS" and follow the prompts. This also takes 20 to 40 minutes.

If you backed up your files before you started, you can restore them after the operating system is installed. Plug in the external drive or USB stick you used for backup, and drag your files back onto the laptop. If you used a cloud service like iCloud or OneDrive, sign in and let the files sync back down.

Frequently Asked Questions

What if I do not want to reinstall Windows or macOS from scratch?

If you created a full backup of your old drive before you removed it, you can restore that backup to the new drive using backup software like Macrium Reflect (Windows) or Time Machine (Mac). This copies everything — your files, your programs, your settings — to the new drive. You will need to restore the backup from another computer, because your laptop cannot run the backup software until the operating system is installed.

Can I use the old drive in another laptop or as external storage?

Yes. If the old drive still works, you can plug it into another laptop using a USB adapter, or install it in a desktop computer if it has room. You can also buy an external enclosure ($15 to $30) that turns the old drive into a portable external hard drive. This is useful for backup or for transferring files between computers.

What if the laptop will not turn on after I install the new drive?

Make sure the drive is fully seated in its slot and the screws are tight. If it still does not turn on, remove the drive and reinstall it, making sure you hear or feel it click into place. If the laptop turns on but gets stuck on a black screen, the operating system installation may have failed — try creating the Windows or macOS installation media again on another computer and reinstalling.

How do I know if my laptop uses a SATA or NVMe drive?

Open Disk Management on Windows (right-click the Start button and select it) or Disk Utility on Mac (in Applications > Utilities). Look for your drive and check the bus type — it will say "SATA" or "NVMe". If you cannot find it there, search for your exact laptop model plus "hard drive specifications" online, or look in the manual that came with the laptop.

Is it safe to replace the drive myself, or should I take it to a repair shop?

It is safe if you work slowly, keep track of screws, and ground yourself before touching the new drive. The main risk is dropping a screw inside the laptop or damaging a cable, both of which are fixable. A repair shop will charge $100 to $300 in labor on top of the cost of the drive. If you are uncomfortable opening the laptop, a shop is worth the cost — but most people find it straightforward after watching a video of someone doing it first.