How to Remove a Hard Drive From a CPU: Step-by-Step
In this article
To remove a hard drive from a computer, you do not actually take it out of the CPU. The CPU is the processor chip; the hard drive lives in the case, usually in a drive bay or cage. The shortest working method is: shut down and unplug the PC, open the side panel, disconnect the SATA data and power cables (or unscrew the M.2 screw for an NVMe drive), remove the mounting screws, and slide the drive out. Before you start, back up anything important and ground yourself to avoid static damage. The steps below cover a standard desktop tower with a 3.5-inch or 2.5-inch SATA drive, with notes for laptops and M.2 drives.
What You'll Need
- A Phillips-head screwdriver (usually #2) that fits your case screws
- An anti-static wrist strap, or touch a bare metal part of the case before touching components
- A small container or magnetic tray for screws
- A clean, well-lit workspace with room to lay the PC on its side
- Optional: a SATA-to-USB adapter if you plan to read the old drive after removal
Step-by-Step
- Back up your data first. Removing a drive does not erase it, but mistakes happen. Copy anything you cannot lose to another drive or cloud storage before you open the case.
- Shut down the PC completely. Use the Start menu to shut down, then flip the power supply switch on the back to the off position (marked O). Unplug the power cable from the wall.
- Press and hold the power button for about five seconds. This drains residual power from the motherboard and is a standard safety step before touching internal parts.
- Ground yourself. Put on an anti-static wrist strap clipped to bare metal on the case, or touch an unpainted metal surface of the case before handling the drive.
- Open the side panel. Most cases have two thumbscrews at the back. Remove them and slide or lift the panel off. Keep the screws with the panel so you do not lose them.
- Locate the hard drive. In a desktop it is usually in a front drive cage or bay, held by four screws on the sides, or in a tool-less tray. A 3.5-inch drive is about the size of a small book; a 2.5-inch SSD is smaller and may be mounted on the case floor or behind the motherboard tray.
- Disconnect the cables. A SATA drive has two cables: a wider data cable (usually with a small L-shaped connector) and a power cable from the power supply. Squeeze the latch on the data connector if it has one, then pull straight out. Never pull by the wires; grip the connector body.
- Remove the mounting screws. Support the drive with one hand while you take out the screws on both sides, or release the tool-less clip. Do not let the drive drop onto the motherboard.
- Slide the drive out. Pull it straight out of the bay. If it is an M.2 drive, first remove the single screw at the end of the stick, let it pop up at an angle, then pull it out of the slot.
- Check the bay for anything left behind. Look for a loose screw or a stray cable before you close the case. If you are replacing the drive, install the new one now and reconnect the same cables.
- Close the case and reconnect power. Refit the side panel and screws, plug the power cable back in, and switch the power supply on. Boot the PC and check in Disk Management (Windows) or Disk Utility (macOS) that the remaining drives are detected.
Common Mistakes
- Pulling cables by the wires. This can rip the connector off the drive or damage the motherboard port. Always grip the plastic connector.
- Forgetting to unplug the power. Even with the PC off, the power supply holds charge. Unplug it and flip the switch.
- Not grounding yourself. Static electricity you cannot feel can damage a drive's circuit board. Touch bare metal or wear a strap.
- Losing the mounting screws. Drive screws are often finer than case screws. Keep them in a tray.
- Confusing the CPU with the case. The CPU is a chip under a cooler; you never remove a hard drive from it. If someone says "remove the hard drive from the CPU," they mean the desktop tower.
- Forgetting the M.2 screw. On NVMe drives, the tiny screw at the end is easy to drop into the case. Use a magnetic screwdriver.
Tips
- Take a photo of the cable layout before disconnecting anything; it makes reassembly faster.
- If the drive is stuck, check for a hidden screw under a rubber grommet or a tool-less latch you have not released.
- Label the drive with a marker if you are keeping it, so you know what data is on it later.
- For laptops, the drive is usually under the bottom cover or behind a small access panel. The same rules apply: power off, unplug the battery if it is removable, ground yourself, then disconnect and unscrew.
- If you plan to reuse the drive externally, a SATA-to-USB adapter lets you read it without opening the PC again.
Troubleshooting
The drive will not slide out. Look for a second set of screws on the opposite side, a locking tab on the bay, or a cable still connected underneath. Do not force it; plastic trays crack easily.
The PC will not boot after removal. If the removed drive was the boot drive, the system has nothing to start from. Reinstall it or set the correct boot drive in BIOS/UEFI. If it was a data drive, check that the remaining drive's cables are firmly seated.
A screw fell into the case. Do not shake the PC. Tilt it gently and use a flashlight to find the screw; a magnetic screwdriver or tweezers can retrieve it. Never power on with a loose screw inside, as it can short a component.
The drive is not detected after reinstalling. Reseat both the data and power cables, try a different SATA port, and check Disk Management. If it still does not appear, the drive or cable may be faulty.
You stripped a screw head. Stop before you make it worse. A rubber band between the screwdriver and screw can add grip, or use a screw extractor. If the screw is in a drive tray, you may be able to remove the whole tray instead.
Frequently Asked Questions
Can I remove a hard drive while the PC is on?
No. Internal drives are not hot-swappable in a standard desktop. Shut down and unplug the power first. External USB drives are the exception, but you should still eject them safely in the operating system.
Will removing the hard drive delete my data?
No. The data stays on the drive. You only lose access to it from that PC until you reconnect it or put it in an enclosure.
Do I need to remove the CPU to get to the hard drive?
No. The CPU is under its own cooler and is unrelated to drive removal. You only open the case and disconnect the drive.
How do I remove a hard drive from a laptop?
Power off, unplug the charger, and remove the bottom cover or the dedicated drive access panel. Disconnect the battery if it is removable, then unscrew and slide out the drive. Some thin laptops use M.2 drives instead of 2.5-inch drives.
What tools do I need?
A Phillips screwdriver and an anti-static strap are usually enough. Some cases are tool-less, but a screwdriver is still handy for the side panel.
Can I put the removed drive in another computer?
Yes, if the other computer has a free SATA port and power connector, or you use a USB enclosure. The drive keeps its files, though you may need to take ownership of folders in Windows.