What happens when you replace a hard drive
Replacing a hard drive means removing the old storage device from your computer and installing a new one in its place. The physical swap takes 15 to 45 minutes depending on your computer type, but what happens after matters more: you either move your old files to the new drive, or you start fresh with a blank drive and reinstall Windows or macOS from scratch.
Most people choose to transfer their files because starting over means losing everything—documents, photos, email, installed programs. Moving files requires either an external drive as a temporary holding space, or a cloning tool that copies your entire old drive to the new one while it sits in the computer. Cloning is faster and simpler if your new drive is the same size or larger than the old one.
The reason to replace a drive is usually that the old one is failing (making clicking sounds, freezing the computer, or showing error messages), or you need more storage space. A failing drive can stop working without warning, so if you hear unusual noises or see repeated errors, replacement is urgent.
Key Takeaways
- Back up your files to an external drive or cloud storage before you open the computer, because the replacement process can fail and destroy data.
- Identify whether your computer uses a 2.5-inch SATA drive, an M.2 NVMe drive, or a 3.5-inch desktop drive, because the physical shape and connector type determine what you can buy.
- Cloning your old drive to the new one preserves all your files and settings, but requires the new drive to be the same size or larger, and a cloning tool like Macrium Reflect or AOMEI Backupper.
- If you transfer files manually instead, you will need an external drive large enough to hold everything, plus time to reinstall Windows or macOS and all your programs on the new drive.
- Opening the computer case requires only a screwdriver, but static electricity can damage components, so touch a metal part of the case before you touch anything inside.
Identify what type of drive your computer uses
The shape and connector type of your drive determine what replacement you can buy. Laptop drives are almost always 2.5 inches wide and use either a SATA connector (a flat L-shaped plug) or an M.2 slot (a thin rectangular notch). Desktop computers usually have 3.5-inch drives with SATA connectors, though newer desktops and all modern laptops increasingly use M.2 NVMe drives instead.
To find out which one you have without opening the computer, go to your system information. On Windows, right-click the Start button, select "System," scroll down, and click "About." Look for "Storage" or "Disk" information. On a Mac, click the Apple menu, select "About This Mac," then click "Storage." Both will tell you the drive model and size.
If you want to see the physical drive before buying a replacement, you can open the computer case. Shut down completely, unplug the power cable, and wait five minutes. Open the case (usually four to eight screws on the side or back). Touch a metal part of the case to discharge static electricity before you touch anything inside. Look at the drive: if it is a thin stick about the size of a stick of gum, it is M.2 NVMe. If it is a flat rectangle the size of a deck of cards, it is a 2.5-inch SATA. If it is a larger rectangle, it is a 3.5-inch SATA.
Back up your files before you start
Replacing a drive can go wrong—the new drive might be defective, the cloning process might fail, or you might accidentally erase the wrong drive. If you do not have a backup, you lose everything. Spend an hour backing up before you touch the hardware.
The easiest method is to plug in an external hard drive (at least as large as your current drive) and let Windows or macOS copy everything automatically. On Windows, plug in the external drive, open File Explorer, right-click "This PC," and select "Back up now" under "Backup settings." On a Mac, plug in the external drive, open System Settings, click "General," then "Time Machine," and toggle it on. Both will run in the background and update the backup each time you plug in the drive.
If you do not have an external drive, use cloud storage: Google Drive, OneDrive, iCloud, or Dropbox will sync your Documents, Desktop, and Pictures folders automatically. This is slower than an external drive but costs nothing if you stay under the free storage limit (usually 5 to 15 GB).
Clone your old drive to the new one (the simpler path)
Cloning copies everything from your old drive to the new one—all files, all settings, all installed programs—so the new drive works exactly like the old one the moment you boot it. This works only if the new drive is the same size or larger than the old one, and it requires a cloning tool.
Macrium Reflect Free and AOMEI Backupper Standard are both free cloning tools that work on Windows. read one on your current computer, install it, and plug in the new drive using an external USB adapter (a $15 to $25 device that lets you connect the new drive to your computer via USB before you install it). Open the cloning tool, select your old drive as the source and the new drive as the destination, and start the clone. It will take 30 minutes to several hours depending on how much data you have.
Once cloning finishes, shut down, unplug the power cable, and wait five minutes. Open the case, remove the old drive (usually two to four screws holding it in place), and install the new drive in the same slot using the same screws. Close the case, plug in the power cable, and boot up. Your computer should start normally with all your files intact. If it does not recognize the new drive, restart the computer and check the BIOS or UEFI settings (usually by pressing Delete or F2 during startup) to make sure the new drive is listed.
Transfer files manually and reinstall Windows or macOS
If your new drive is smaller than the old one, or if cloning fails, you can transfer files manually. This means copying your important files to an external drive, installing the new drive in the computer, reinstalling the operating system, and then copying your files back. It takes longer and you will lose installed programs (you have to reinstall them), but it works with any size combination.
First, plug in an external drive and copy your Documents, Desktop, Pictures, Downloads, and any other folders with files you want to keep. Do not copy the entire C: drive or the Macintosh HD folder—just the folders that contain your own files. This usually takes 30 minutes to a few hours depending on how much data you have.
Once your files are backed up, shut down, unplug the power cable, and wait five minutes. Open the case, remove the old drive, and install the new drive in the same slot. Close the case and plug in the power cable. The computer will not boot because the new drive is blank. Insert a Windows or macOS installation disk (or a USB drive with the installer on it) and follow the on-screen prompts to install the operating system. This takes 20 to 45 minutes. Once installation finishes, plug in your external drive and copy your files back to the new drive.
Install the new drive step by step
The physical installation is the same whether you are cloning or transferring files manually. Shut down the computer completely and unplug the power cable. Wait five minutes for the capacitors to discharge. Open the case by removing the screws on the side or back panel—usually four to eight screws, all the same size.
Before you touch anything inside, touch a metal part of the case to discharge static electricity from your body. This prevents damage to sensitive components. Locate the old drive. On a laptop, it is usually in a slot on the side or bottom of the motherboard. On a desktop, it is usually mounted in a cage or bracket in the front or middle of the case. Remove the screws holding the drive in place (usually two to four screws) and gently pull the drive straight out. If it has a cable attached, disconnect it by pulling the connector straight out—do not twist or bend it.
Slide the new drive into the same slot or cage, align the screw holes, and insert the screws. Tighten them by hand first, then use a screwdriver to snug them down—do not over-tighten, as this can crack the circuit board. If the drive has a cable, reconnect it by pushing the connector straight in until it clicks. Close the case, plug in the power cable, and power on the computer.
Troubleshoot if the computer does not recognize the new drive
If you install the new drive and the computer does not boot, or it boots but does not show the new drive in File Explorer or Finder, the drive may not be detected by the BIOS or UEFI. Restart the computer and watch the screen for a message like "Press Delete to enter Setup" or "Press F2 to enter BIOS." Press that key repeatedly as the computer starts up. Look for a menu item called "Storage," "Drives," "SATA," or "NVMe." The new drive should be listed there. If it is not, the drive may be defective, or the cable may not be fully connected. Shut down, unplug the power cable, wait five minutes, and reseat the drive by removing and reinstalling it, making sure the connector clicks into place.
If the drive is listed in the BIOS but Windows or macOS still does not see it, the drive may need to be initialized. On Windows, right-click the Start button, select "Disk Management," find the new drive in the list (it will show as "Unknown" or "Not Initialized"), right-click it, and select "Initialize Disk." On a Mac, open Disk Utility (in Applications > Utilities), select the new drive, and click "Erase." Both will prepare the drive to hold files.
When to call a professional
If the old drive is making clicking or beeping sounds, do not try to clone it—the drive is failing and may stop working mid-clone. Take the computer to a repair shop instead. They have tools to recover data from failing drives, which costs $200 to $500 but is worth it if the files are important.
If you are uncomfortable opening the computer case, or if the case requires special tools to open, a repair shop can do the physical installation for $50 to $150 plus the cost of the drive. If you have a laptop under warranty, opening the case may void the warranty, so check the warranty terms first.
Frequently Asked Questions
How much does a replacement hard drive cost?
A 1 TB SATA drive costs $40 to $70. A 1 TB M.2 NVMe drive costs $50 to $100. A 2 TB drive costs roughly double. Prices vary by brand and retailer, so compare options before you buy. Make sure the drive matches your computer type (laptop vs. desktop) and connector type (SATA vs. NVMe).
Can I use a larger drive than my original?
Yes. If your original drive is 500 GB and you install a 2 TB drive, the new drive will work fine and give you more storage space. Cloning works as long as the new drive is the same size or larger. If you transfer files manually, size does not matter at all.
Do I need to uninstall the old drive before installing the new one?
No. You remove the old drive and install the new one in its place. You do not need to uninstall anything in software—just physically remove the old hardware and put the new hardware in the same slot.
Will replacing the drive erase my files?
Not if you clone the old drive to the new one—cloning copies everything. If you transfer files manually, you control what gets copied, so you only lose files you did not back up. Always back up before you start, just in case something goes wrong.
What if the new drive does not fit in the same slot?
This usually means you bought the wrong type of drive. Check the shape and connector type again. If you bought an M.2 drive but your computer has a SATA slot, they will not fit. Return the drive and buy the correct type. If the drive is the right type but the slot is blocked by cables or other hardware, you may need a professional to reroute cables or find an alternative mounting location.