Windows Guide · Updated 2026

What Does Compress This Drive
to Save Disk Space Mean in Windows?

A clear explanation of NTFS drive compression, how much space it can save, whether it is safe, and when you should—or should not—enable it.

📖 8 min read 🖥 Windows 10 & 11 💾 NTFS compression ⚖️ Benefits and drawbacks

What Does “Compress This Drive to Save Disk Space” Mean?

The Compress this drive to save disk space option tells Windows to use the built-in NTFS file system compression feature on a drive. Windows stores eligible files in a compressed form so they occupy less physical space, then automatically decompresses them in memory when programs open them.

This process is transparent and lossless. You continue opening, editing, copying, and saving files normally. It does not convert the drive into a ZIP archive, reduce image quality, or permanently remove information from files.

In practical terms: the file’s logical Size usually stays the same, while its physical Size on disk may become smaller.
🗜️ Technology NTFS Compression
Data Quality Lossless
🔄 File Access Automatic
💻 Main Tradeoff Extra CPU Work
ℹ️
Important Distinction Drive compression is not the same as deleting temporary files, enabling Storage Sense, creating a ZIP archive, or using CompactOS. It changes how NTFS stores individual files on the drive.

How NTFS Drive Compression Works in Windows 10 and Windows 11

NTFS compression works at the file-system level. Windows divides file data into blocks, compresses blocks that can be reduced efficiently, and stores the compressed result on the disk. When an application requests the file, NTFS decompresses the required data automatically. When the application saves changes, Windows compresses the data again before writing it to storage.

📄

Per-File Storage

Files can be compressed individually. A drive may contain compressed and uncompressed files at the same time.

📁

Folder Inheritance

A compressed folder is marked so new files added to it are normally compressed automatically.

🔍

Transparent Access

Programs use compressed files like ordinary files; no manual extraction step is required.

🧩

Selective Results

Data that does not compress well may remain close to its original size on disk.

When you select the checkbox in a drive’s Properties window and click Apply, Windows asks whether to apply the change only to the drive’s root or also to all subfolders and files. To compress existing content across the drive, choose Apply changes to drive, subfolders and files.

🔵
File Explorer Indicator Depending on your Explorer settings and Windows version, compressed files and folders may display a small double-blue-arrow icon overlay. The icon indicates NTFS compression; it does not mean the files are damaged.

Is “Compress This Drive to Save Disk Space” Safe?

Yes, NTFS compression is generally safe. It is a built-in Windows file-system feature and uses lossless compression, so decompressed data is identical to the original data. Clearing the checkbox later reverses the process and restores files to ordinary uncompressed NTFS storage.

However, safe does not always mean ideal. Compressing an entire drive can take a long time, use CPU resources, and produce little benefit if the drive mostly contains data that is already compressed. A power loss, failing disk, or file-system corruption is a risk during any large storage operation, so important data should always have a separate backup.

✓ What Compression Does

  • Reduces the physical space used by compressible files
  • Preserves the original file contents and quality
  • Works automatically when files are opened or saved
  • Can be removed later without reformatting the drive

✗ What Compression Does Not Do

  • It does not replace a backup
  • It does not repair disk errors or bad sectors
  • It does not make an almost-full drive permanently larger
  • It does not significantly shrink every file type
⚠️
Before Compressing a Large Drive Back up irreplaceable files and check the drive’s health if it has recently produced read errors, unusual noises, freezes, or Event Viewer disk warnings. Compression should not be used to hide symptoms of a failing HDD or SSD.

How Much Space Does NTFS Drive Compression Save?

There is no fixed compression percentage. The result depends almost entirely on the data stored on the drive. Plain text, source code, logs, database exports, XML files, and uncompressed bitmap images may shrink substantially. JPEG photos, MP4 videos, ZIP archives, application installers, and many modern game files are already compressed and often shrink very little.

File Type Typical Compressibility Examples Recommendation
Plain text and logs High .txt, .log, .csv, .xml Good candidates for compression
Source code and scripts High .html, .css, .js, .py Usually worthwhile for archives
Uncompressed images Medium to high .bmp, some .tif files Can save noticeable space
Modern documents Low to medium .docx, .xlsx, .pdf Results vary; many are already compressed internally
Photos, audio, and video Low .jpg, .png, .mp3, .mp4 Usually not worth compressing with NTFS
Archives and installers Very low .zip, .7z, .rar, .iso Little or no useful saving
📏
How to Measure the Result Right-click a file or folder and select Properties. Compare Size with Size on disk. The difference shows how much physical storage allocation has been reduced, although cluster allocation and sparse files can also affect the numbers.

Does Compressing a Drive Slow Down Windows?

Compression adds CPU work because data must be compressed when written and decompressed when read. The real-world impact depends on the processor, storage device, workload, and how compressible the files are.

On a modern PC performing ordinary document, browsing, and office tasks, the difference may be small. In some read-heavy situations, compression can even reduce the amount of data that must be read from a slower disk. However, heavy write workloads and applications that constantly update large files can experience additional overhead.

Usually Minor Impact

Documents and Archives

Folders containing logs, text files, old projects, and rarely changed documents are generally suitable candidates.

Good use case
Workload Dependent

General System Files

Windows can use compressed files transparently, but whole-drive compression creates broader and more continuous CPU overhead.

Evaluate first
Potentially Noticeable

Write-Intensive Data

Virtual machines, active databases, build folders, caches, and frequently updated game data are poor candidates.

Avoid when possible

Does It Matter Whether the Drive Is an SSD or HDD?

NTFS compression works on both HDDs and SSDs. An HDD may benefit from reading fewer physical bytes, but its slower random access can still dominate performance. An SSD is already fast, so reducing I/O may be less valuable, while the CPU still performs compression and decompression. The best decision depends more on the workload and file types than on the storage technology alone.

Should You Compress the C Drive in Windows 10 or Windows 11?

You can compress the Windows system drive, and Microsoft includes this option as one possible way to free space when the OS drive is low. It can be useful as a temporary measure when you need enough free storage to install a Windows update or complete maintenance.

For permanent everyday use, compressing the entire C: drive is usually less efficient than cleaning temporary files, uninstalling unused applications, moving personal data, or upgrading storage. The system drive contains many files that change frequently, plus many program and media files that may not compress well.

Compress the entire C drive
Useful when space is critically low, but targeted cleanup or folder compression is normally the better long-term approach. Supported
Better First Steps Before compressing C:, open Settings → System → Storage, review Temporary files and Cleanup recommendations, enable Storage Sense, uninstall unused apps, and move large videos, ISO images, backups, or virtual machines to another drive.
⚠️
Do Not Confuse the Features The drive Properties checkbox applies ordinary NTFS compression across files and folders. CompactOS is a separate Windows feature designed specifically to store operating-system binaries in a compressed form.

Which Files and Folders Should You Compress in Windows?

Targeted compression is often better than compressing a whole drive. It gives you most of the potential storage benefit while limiting CPU overhead and avoiding workloads that react poorly to file-system compression.

✓ Good Candidates

  • Old project folders and document archives
  • Plain-text logs, reports, CSV exports, and source code
  • Folders that are read occasionally but rarely modified
  • Uncompressed bitmap images and similar raw data
  • Large collections of small, highly repetitive files

✗ Poor Candidates

  • ZIP, RAR, 7z, JPEG, MP3, MP4, and other pre-compressed files
  • Virtual machine disks and frequently updated databases
  • Application caches, browser profiles, and active build folders
  • High-performance game folders and scratch disks
  • Files protected with NTFS Encrypting File System (EFS)
🔐
Compression and EFS A file cannot use NTFS compression and EFS encryption at the same time. If a file is EFS-encrypted, Windows must decrypt it before it can be compressed with NTFS compression.

How to Enable “Compress This Drive to Save Disk Space”

The graphical procedure is almost identical in Windows 10 and Windows 11. The option is available for compatible NTFS volumes.

  1. Open File Explorer and select This PC.
  2. Right-click the drive you want to compress and select Properties.
  3. On the General tab, select Compress this drive to save disk space.
  4. Click Apply.
  5. Select Apply changes to drive, subfolders and files to compress existing content throughout the drive.
  6. Click OK and allow Windows to complete the operation.
Processing Time Compressing a large drive can take a long time. Keep a laptop connected to power, avoid restarting the PC, and do not disconnect an external drive while Windows is applying the attribute.

If Windows reports that some files are in use or access is denied, you may be able to choose Ignore All and let the process continue. Those particular files may remain uncompressed.

How to Compress a Folder or Individual File Instead of the Whole Drive

Compressing only selected folders is usually the best balance between saved space and performance. Use this method for archives, logs, source code, or other highly compressible data.

  1. Right-click the file or folder and select Properties.
  2. On the General tab, click Advanced.
  3. Select Compress contents to save disk space.
  4. Click OK, then click Apply.
  5. For a folder, choose whether to apply the change only to that folder or also to its subfolders and files.
Recommended approach: test compression on one representative folder, compare its Size on disk before and after, and check application performance before applying compression more widely.

How to Disable “Compress This Drive to Save Disk Space”

NTFS compression is reversible. Decompressing a drive or folder restores normal file storage without changing the file contents.

  1. Open File ExplorerThis PC.
  2. Right-click the compressed drive and select Properties.
  3. Clear Compress this drive to save disk space.
  4. Click Apply.
  5. Select Apply changes to drive, subfolders and files.
  6. Click OK and wait for decompression to finish.
💽
Free Space Required Decompressed files occupy more physical space. Before disabling compression across a large drive, make sure the drive has enough free capacity for the expanded data.

How to Check, Compress, or Decompress Files with the Compact Command

The built-in compact command displays or changes NTFS compression for files and directories. Open Command Prompt or Windows Terminal; administrator rights may be required for protected locations.

Check Compression in the Current Folder

Command Promptcompact

Compress a Folder and Its Contents

Command Promptcompact /c /s:"D:\Archive" /i

Decompress a Folder and Its Contents

Command Promptcompact /u /s:"D:\Archive" /i
Parameter Meaning
/c Compresses the specified files or directories.
/u Decompresses the specified files or directories.
/s:"path" Processes the specified directory and its subdirectories.
/i Continues the operation after errors whenever possible.
💡
Directory Behavior Marking a directory as compressed controls the default compression state of new files added later. Existing files are changed only when you explicitly apply compression to them, such as by processing subfolders and files.

Why Is “Compress This Drive to Save Disk Space” Missing or Unavailable?

The option normally appears only when the volume supports NTFS file compression. Check the drive’s Properties window and look at the File system field.

Possible Cause Explanation What to Do
The drive uses FAT32 or exFAT The Explorer checkbox uses NTFS file-system compression. Use ZIP archives, move data to an NTFS volume, or reformat only after backing up all files.
The NTFS allocation unit is larger than 4 KB NTFS compression is not available on volumes formatted with allocation units larger than 4 KB. Check the cluster size. Changing it normally requires backing up and reformatting the volume.
The file is EFS-encrypted NTFS compression and EFS encryption cannot be active on the same file. Keep the file encrypted, or decrypt it before enabling compression.
You do not have permission Protected system or shared files may require elevated rights or may be in use. Sign in as an administrator and close applications using the files.
The drive is read-only or has errors Windows cannot rewrite file data when the volume is write-protected or unavailable. Remove write protection and check the file system before retrying.

Check the Allocation Unit Size

Open Command Prompt and run the following command, replacing C: with the required drive letter:

Command Promptfsutil fsinfo ntfsinfo C:

Find Bytes Per Cluster. A value of 4096 means a 4 KB allocation unit.

NTFS Drive Compression vs ZIP, Storage Sense, and OneDrive Files On-Demand

Method How It Saves Space File Access Best Use
NTFS compression Stores individual files in compressed form on an NTFS volume Transparent; files open normally Compressible folders that must remain directly accessible
ZIP or 7z archive Combines files into a separate compressed archive Files may need extraction or archive-aware software Long-term storage and transferring groups of files
Storage Sense Deletes selected temporary or unnecessary local files Deleted files are no longer available locally Automatic routine cleanup
OneDrive Files On-Demand Keeps selected files online-only instead of storing full local copies Internet may be required to download online-only files Cloud-synced personal and work files
CompactOS Compresses Windows operating-system binaries Managed automatically by Windows Reducing the Windows installation footprint

Frequently Asked Questions About Windows Drive Compression

Q Will compressing a drive delete or damage my files?
No. NTFS compression is lossless and is designed to preserve file contents. However, any large disk operation should be performed only after important files have been backed up, especially if the drive may be unhealthy.
Q Can I still use files normally after compressing the drive?
Yes. Windows decompresses data automatically when applications read it and compresses eligible data again when it is written. You do not need to extract files manually.
Q Is it a good idea to compress an SSD?
It can be useful for highly compressible, rarely modified data, but compressing an entire SSD is not automatically beneficial. Test a representative folder first and compare space savings with any performance impact.
Q Why did compression save almost no space?
The drive probably contains files that are already compressed, such as JPEG photos, MP4 videos, ZIP archives, installers, or packaged game assets. Recompressing this data usually produces little additional reduction.
Q Can I stop the compression process?
You can cancel the Properties operation, but files already processed may remain compressed while unprocessed files remain unchanged. You can later run the operation again or clear the checkbox to decompress everything recursively.
Q Does formatting a drive with compression enabled compress future files?
Yes. NTFS can be formatted so files created on the new volume are compressed by default. In normal File Explorer use, selecting the drive compression checkbox marks directories so newly added files inherit the compressed state.
Q Is drive compression better than buying a larger SSD?
Compression can temporarily recover space, but it is not a substitute for adequate storage capacity. If the drive repeatedly becomes full after cleanup, moving data or upgrading the SSD is the more reliable long-term solution.

Final Thoughts

Compress this drive to save disk space enables lossless NTFS compression for files and folders on a compatible Windows volume. It is generally safe and completely reversible, but the amount of storage saved depends on file types, and Windows must use additional CPU time whenever compressed data is read or written.

For most PCs, the best strategy is to compress selected folders containing text-heavy or rarely changed data rather than the entire system drive. Use whole-drive compression when you understand the tradeoffs or need temporary space, and use Storage Sense, Cleanup recommendations, data migration, or a larger drive for a more permanent solution.