A hard disk drive is the part of your computer that stores everything permanently

A hard disk drive (HDD) is a piece of hardware inside your computer that holds all your files, programs, and operating system when the power is off. Unlike your computer's memory (RAM), which erases everything when you shut down, a hard disk keeps data safe indefinitely. When you turn your computer back on, the hard disk retrieves that data so you can use it again.

Think of it this way: RAM is like your desk — it holds what you are working on right now, but clears when you leave. A hard disk is like a filing cabinet — it stores everything you need to keep, and it stays there until you delete it or the drive fails.

Most desktop computers and laptops have at least one hard disk. Some newer computers use a solid-state drive (SSD) instead, which works faster but costs more per gigabyte. Many computers now use both: a fast SSD for the operating system and programs, plus a larger HDD for storing photos, videos, and documents.

Key Takeaways

  • A hard disk drive stores all your files, programs, and operating system permanently, even when your computer is powered off.
  • Hard disks use spinning magnetic platters and a moving read-write head to find and retrieve data, which makes them slower than solid-state drives.
  • Storage capacity is measured in gigabytes (GB) or terabytes (TB), with 1 TB equal to 1,000 GB.
  • Hard disks are cheaper per gigabyte than SSDs, making them useful for storing large amounts of photos, videos, and backups.
  • A failing hard disk shows warning signs like clicking sounds, freezing, or files that suddenly become inaccessible.

How a hard disk physically stores data

Inside a hard disk are one or more platters — thin, circular disks coated with a magnetic material. These platters spin constantly when your computer is on, rotating at speeds between 5,400 and 7,200 revolutions per minute (RPM) on most consumer drives. A read-write head hovers just above the spinning platter and reads or writes data by detecting and changing tiny magnetic patterns on the surface.

The platter is divided into concentric circles called tracks, and each track is split into smaller sections called sectors. When you save a file, the drive writes it to available sectors and keeps a record of where those sectors are. When you open the file later, the drive finds those sectors and reads the data back to you.

This mechanical process is why hard disks are slower than SSDs. The platter has to spin to the right position, and the read-write head has to move to find your data. If you need to read files scattered across different parts of the platter, the head has to move multiple times, which takes longer.

Storage capacity and what it means for your files

Hard disk capacity is measured in gigabytes (GB) or terabytes (TB). One terabyte equals 1,000 gigabytes. A typical laptop hard disk holds 500 GB to 2 TB. A desktop computer might have 2 TB to 4 TB or more.

How much space you need depends on what you store. A single high-definition movie takes about 4 to 8 GB. A year of photos from a smartphone might take 20 to 50 GB. Your operating system and programs take 50 to 200 GB depending on how many programs you install. If you store a lot of video, music, or backups, you will fill a smaller drive quickly.

When a hard disk gets full, your computer slows down because the drive has less free space to work with. Most people keep at least 10 to 20 percent of their drive empty to avoid performance problems. If you regularly run out of space, you can add a second hard disk, use an external drive for backups, or move old files to cloud storage.

Hard disk speed and how it affects your computer

Hard disk speed is measured in RPM — how fast the platter spins. A 7,200 RPM drive is faster than a 5,400 RPM drive because the read-write head encounters data more frequently. However, even a fast hard disk is much slower than an SSD.

A typical hard disk can read or write data at speeds between 80 and 160 megabytes per second (MB/s). An SSD typically reads and writes at 500 MB/s or faster. This difference matters most when you are opening programs, starting your computer, or moving large files. If your computer feels slow when you open programs or files, a slow hard disk is often the cause.

The speed also depends on how fragmented the drive is. Over time, files get split across different parts of the platter, forcing the read-write head to move more. Older Windows systems benefited from defragmentation — a process that reorganized files to sit next to each other. Modern operating systems handle this automatically, so you rarely need to defragment manually.

Hard disks versus solid-state drives

A solid-state drive (SSD) has no moving parts. Instead, it stores data in flash memory chips, similar to a USB thumb drive. Because there is no platter to spin or head to move, SSDs are much faster — typically 3 to 5 times faster than hard disks for everyday tasks. Your computer starts up in seconds instead of minutes, and programs open when ready.

The trade-off is cost. Hard disks cost roughly $15 to $25 per terabyte. SSDs cost $80 to $150 per terabyte. For a 2 TB drive, that is a difference of $30 to $50 versus $160 to $300. This is why many computers use both: a 256 GB or 512 GB SSD for the operating system and programs, plus a 1 TB or 2 TB hard disk for storage.

Hard disks are also more durable in some ways. They tolerate physical shock and vibration better than SSDs, and they can be recovered more easily if they fail. However, hard disks fail more often overall because of their moving parts. An SSD has no moving parts to wear out, so it lasts longer in normal use.

Warning signs that a hard disk is failing

Hard disks fail eventually. The read-write head can crash into the platter, the motor can wear out, or the magnetic coating can degrade. You cannot prevent failure, but you can recognize the warning signs and back up your files before it happens.

Listen for a clicking or beeping sound coming from your computer. This usually means the read-write head is hitting the platter or the motor is struggling. A grinding sound suggests the platter is damaged. If you hear either, shut down your computer when ready and do not use it until you have backed up your files.

Other warning signs include files that become inaccessible or corrupt, your computer freezing or crashing randomly, or the drive taking much longer than usual to respond. Your operating system may also show a SMART error — a warning from the drive itself that it is failing. If you see a SMART error, back up when ready.

Once a hard disk starts failing, it can stop working completely within days or weeks. The best protection is a regular backup. Back up your important files to an external drive or cloud storage at least once a month, or more often if you create important files frequently.

How to check your hard disk's health

You can check whether your hard disk is healthy using built-in tools or free software. On Windows, open Settings, go to System, then Storage, and look for a Storage health section. This shows whether Windows has detected any problems.

For more detailed information, read free software like CrystalDiskInfo or Hard Disk Sentinel. These programs read the SMART data from your drive — a built-in health report that the drive itself maintains. The report shows the drive's temperature, how many errors it has detected, and whether it predicts failure soon.

On a Mac, open Disk Utility (in Applications > Utilities) and select your hard disk. Click First Aid to check for errors. If errors are found, the tool will attempt to repair them. If the drive fails the test repeatedly, it is likely failing and should be replaced.

Frequently Asked Questions

Can I replace my hard disk myself?

Yes, on most desktop computers and many laptops. The process takes 15 to 30 minutes and requires a screwdriver and a new drive. Shut down your computer, unplug it, open the case, disconnect the old drive, and connect the new one. You will need to reinstall your operating system and programs on the new drive, or restore from a backup. If you are uncomfortable opening your computer, a technician can do it for $50 to $150.

What is the difference between internal and external hard disks?

An internal hard disk is installed inside your computer and holds your operating system and programs. An external hard disk connects via USB and is used mainly for backups and extra storage. External drives are slower because they connect through USB, but they are portable and do not take up space inside your computer.

How long does a hard disk last?

A hard disk typically lasts 3 to 5 years with normal use, though some last 10 years or longer. Failure is unpredictable — some drives fail after a year, others run for a decade. The best approach is to assume any drive could fail at any time and keep regular backups.

Should I defragment my hard disk?

On Windows, defragmentation happens automatically in the background, so you do not need to do it manually. On a Mac, defragmentation is not necessary because the file system handles it automatically. If you use an SSD instead of a hard disk, never defragment — it can shorten the drive's lifespan.

What does it mean when my computer says the disk is full?

Your hard disk has run out of free space. Delete files you no longer need, move large files to an external drive or cloud storage, or uninstall programs you do not use. Keep at least 10 to 20 percent of your drive empty for your operating system to function smoothly.