What a disk check does and when to run one

A disk check scans your hard drive or solid-state drive for errors — bad sectors, corrupted files, and broken links between files and their storage locations. It does not delete your files or back them up; it finds problems and, depending on which tool you use and how you configure it, either reports them or attempts to repair them.

Run a disk check if your computer is slow to start, freezes during normal use, shows error messages about corrupted files, or will not open certain programs. You should also run one after an unexpected shutdown or power loss, since those events can damage the file system.

A full disk check can take anywhere from a few minutes to several hours depending on drive size and how many errors exist. Plan to run it when you do not need the computer, or schedule it to run overnight.

Key Takeaways

  • Windows includes Check Disk (chkdsk), which you can run from the command prompt or schedule to run at startup before Windows loads.
  • Mac includes Disk Utility, which you access from Recovery Mode and can use to repair disk errors without restarting into a special mode on newer Macs.
  • A disk check that runs at startup takes longer but can repair more problems because Windows is not using the drive while it works.
  • If a disk check finds errors it cannot repair, the drive may be failing and you should back up your files immediately.

Running Check Disk on Windows

Windows includes a built-in tool called Check Disk (chkdsk) that scans for file system errors. You can run it in two ways: from within Windows while you are using the computer, or scheduled to run at the next startup before Windows fully loads.

To run Check Disk from within Windows, open the Start menu, type cmd, right-click Command Prompt, and select Run as Administrator. Type the command chkdsk C: /F (replace C with your drive letter if you are checking a different drive). The /F flag tells it to fix errors it finds. Press Enter. Windows will tell you it cannot check the drive while it is in use and ask if you want to schedule it for the next restart. Type Y and restart your computer.

At startup, before Windows loads, Check Disk will run automatically. Let it finish — do not interrupt it. This can take 30 minutes to several hours on a large drive. When it finishes, Windows will load normally. Check the Event Viewer afterward to see what errors were found: open Start, type Event Viewer, navigate to Windows Logs > System, and look for entries from "Chkdsk" to see the results.

If you want to see what Check Disk will do without letting it repair anything, run chkdsk C: without the /F flag. It will scan and report errors but not fix them.

Running Disk Utility on Mac

Mac includes Disk Utility, which checks and repairs disk errors. On newer Macs with Apple Silicon chips (M1, M2, M3, and later), you can run Disk Utility from within macOS without restarting. On Intel Macs, you may need to restart into Recovery Mode for a full repair, though basic checks work from the regular desktop.

To run Disk Utility on any Mac, open Applications > Utilities > Disk Utility. Select your drive in the left sidebar — usually named "Macintosh HD" or similar. Click the First Aid button at the top. Disk Utility will scan the drive and report any errors. If it finds problems, it will attempt to repair them automatically. This process usually takes a few minutes.

If First Aid reports that it cannot repair the drive, or if errors persist after repair, restart into Recovery Mode for a deeper scan. Shut down your Mac, then turn it back on and immediately hold Command + R until you see the Apple logo. When Recovery Mode loads, open Disk Utility from the Utilities menu and run First Aid again. Recovery Mode can sometimes repair problems that the regular Disk Utility cannot.

On Intel Macs, you can also use the command line tool fsck in Recovery Mode for additional control, though Disk Utility's First Aid button is usually sufficient for most users.

Understanding disk check results

When a disk check finishes, it reports what it found. Common results include "no errors detected" (your drive is healthy), "errors found and repaired" (the check fixed the problems), or "errors found but not repaired" (the drive has damage the tool cannot fix).

If the check reports no errors, your drive is fine and you can use your computer normally. If it repaired errors, the problems are solved and your computer should run better. If it found errors it could not repair, your drive may be failing. Back up your files to an external drive or cloud storage immediately, and consider replacing the drive soon.

Some disk checks report "bad sectors" — physical damage to the drive itself. A few bad sectors are normal on older drives and can usually be worked around. Many bad sectors appearing suddenly, or a drive that keeps developing new bad sectors, means the drive is failing and should be replaced.

When to use command-line options

Both Windows and Mac offer command-line tools with more options than the graphical interfaces. Most users do not need these, but they exist if you want more control.

On Windows, chkdsk C: /F /R adds the /R flag, which locates bad sectors and recovers readable information from them — this is slower but more thorough than /F alone. chkdsk C: /B rewrites bad sectors on SSDs. These options are rarely necessary unless your drive is showing signs of physical failure.

On Mac, the command-line tool fsck can be run in Recovery Mode by opening Terminal from the Utilities menu. Type fsck -fy / to check and repair the startup drive. This is more aggressive than Disk Utility's First Aid and is useful if Disk Utility cannot repair the drive, but most users should try Disk Utility first.

What to do if the disk check fails

If a disk check cannot repair errors, or if errors keep reappearing after repair, your drive is likely failing. Do not ignore this — a failing drive can lose data suddenly.

Back up your files immediately to an external drive or cloud service. Copy your most important files first in case the drive fails during the backup. Once your files are safe, you can replace the drive without losing data. If the drive is under warranty, contact the manufacturer for a replacement. If it is out of warranty, you will need to buy a new drive and reinstall your operating system.

If you cannot back up because the drive is too damaged to read, a data recovery service may be able to retrieve your files, but this is expensive and not always successful. Prevention — regular backups — is far cheaper than recovery.

Frequently Asked Questions

How often should I run a disk check?

Run a disk check if your computer is slow, freezes, or shows error messages. You do not need to run it on a schedule if your computer is working normally. If you run one and it finds no errors, you can wait months or years before running another one unless problems appear.

Will a disk check delete my files?

No. A disk check scans for errors and repairs the file system, but it does not delete files. If it cannot repair a file, it may move it to a folder called "Found Files" or similar, but the data is not erased. Back up your files before running a disk check if you are concerned, but data loss from a disk check itself is extremely rare.

Can I use my computer while a disk check is running?

If the check is running from within Windows or macOS, you can use the computer, but it will be slow. If the check is scheduled to run at startup on Windows, you cannot use the computer until it finishes. On Mac, you can usually continue working while First Aid runs in the background, though performance will be reduced.

What does "bad sector" mean?

A bad sector is a small area of the drive that cannot store or read data reliably. A few bad sectors are normal wear on older drives. Many bad sectors appearing suddenly, or a drive that keeps developing new ones, means the drive is failing and should be replaced soon.

Is a disk check the same as defragmentation?

No. A disk check finds and repairs file system errors. Defragmentation reorganizes files on the drive to improve speed. On SSDs, defragmentation is not necessary and can shorten the drive's lifespan. On older hard drives, defragmentation can help, but it is separate from a disk check.