Clean up and defragment your hard drive in Windows

by TurboTax •   33
Updated December 11, 2025 8:27 AM

Your Windows computer will perform more efficiently if you periodically remove unnecessary files from your hard disk and consolidate disk space.

You can use Disk Cleanup and Disk Defragmenter to perform these maintenance tasks.

Disk Cleanup

The Disk Cleanup utility frees up space on your hard disk by finding files you can safely delete. You can decide which files you want to delete.

The method for using the Disk Cleanup utility depends on your version of Windows:

Disk Defragmenter

The Disk Defragmenter utility consolidates files so they occupy space more efficiently. The end result is that files are accessed faster, improving your computer's overall performance.

Defragmenting can take an hour or more, so it's best to do this when you don't need to use your computer.

  • Select Start, Windows Administrative Tools, and Defragment and Optimize Drives.

  • Select the hard drive to be defragmented (usually the C drive).

  • Select the Optimize button. If a User Account Control message appears, select Yes.

If you have multiple hard drives, repeat these steps for each drive.

Found what you need?

Already have an account? Sign in

(4.6/5 | 323,971 reviews)

TurboTax flag icon

Unlock tailored help options in your account

Person smiling while representing TurboTax

Get answers to all your tax questions

Our experts are available on-demand, no appointment needed. Get help all year long with TurboTax Expert Assist.

Intuit Logo
TurboTax LogoCreditKarma LogoQuickBooks LogoMailChimp Logo

©1997-2025 Intuit, Inc. All rights reserved.
Intuit, QuickBooks, QB, TurboTax, Credit Karma, and Mailchimp are registered trademarks of Intuit Inc. Terms and conditions, features, support, pricing, and service options subject to change without notice.

Security Certification of the TurboTax Online application has been performed by C-Level Security.

By accessing and using this page you agree to the Terms of Use.