Clear, practical technology insights BSOD Code Lookup · Windows Error Code Lookup · Wi-Fi Troubleshooting · PC Troubleshooting Checklist

How to Use NTFS Compression in Windows 11

Compress selected NTFS files, folders, or a drive without creating ZIP archives. Learn what saves space, how to apply or remove compression safely, and why the fsutil setting does not decompress existing files.

Table of Contents

Windows 11 can compress files directly on an NTFS drive while keeping them available to apps in their normal folders. Windows decompresses the data in memory when it is opened and compresses it again when it is written. You do not need to extract an archive before using the file.

NTFS compression is useful for documents, source code, logs and other data that compresses well. It usually saves little space on JPEG photos, MP4 videos, ZIP archives and many installers because those formats are already compressed.

Before you enable NTFS compression

  • Confirm the file system: in File Explorer, right-click the drive, choose Properties and check that File system is NTFS. The feature is not available on FAT32, exFAT or ReFS in the same way.
  • Check what is using space: open Settings > System > Storage. Removing unneeded temporary files or uninstalling a large unused app may reclaim more space with no runtime overhead. See TipsMake's guide to freeing storage space safely.
  • Keep a backup: compression is not a backup and does not protect against deletion, corruption or drive failure.
  • Choose a focused target: start with an archive or document folder rather than the entire system drive. Frequently updated databases, virtual machines and performance-sensitive game folders are poor first choices.

NTFS compression and Windows' Encrypting File System cannot be applied to the same file. If the checkbox is unavailable, check the drive format, file encryption and permissions.

Compress a folder and its existing files

  1. Open File Explorer, right-click the folder and select Properties.

Opening a folder's Properties in Windows 11

  1. On the General tab, select Advanced.

Advanced button in Windows folder Properties

  1. Under Compress or Encrypt attributes, select Compress contents to save disk space, then choose OK.

Compress contents to save disk space option

  1. Select Apply. To compress files already inside the folder, choose Apply changes to this folder, subfolders and files. Choosing “this folder only” mainly sets the attribute that newly created files and folders will inherit.

Applying NTFS compression to a folder, subfolders and files

Processing can take time and may report files that Windows cannot compress because they are open or protected. Do not shut down the PC while a large batch is being processed. File Explorer may display two blue arrows on compressed items, although icon indicators can be hidden by view settings.

Blue arrows indicating an NTFS-compressed folder

Check how much space you saved

Right-click the folder and open Properties. Size is the logical amount of file data; Size on disk is the storage currently allocated. The difference provides a practical estimate of the saving, although allocation size and sparse files can also affect it.

Test a representative folder before compressing a whole drive. If Size on disk barely changes, the files are not good candidates.

Compress an entire NTFS drive

  1. In File Explorer, open This PC, right-click the NTFS drive and select Properties.

Opening Properties for an NTFS drive

  1. On the General tab, select Compress this drive to save disk space, then select Apply.
  2. Choose the option that applies the change to the drive, subfolders and files if you want existing content compressed. Applying it only to the drive sets the default attribute without processing all current files.

Compress this drive to save disk space option in Windows

Whole-drive compression can take a long time and increases the scope of any performance or compatibility issue. Prefer targeted folders unless storage is critically limited and you have a verified backup. Windows may leave certain system files uncompressed.

Remove NTFS compression

Return to the same Advanced Attributes dialog and clear Compress contents to save disk space. Select Apply changes to this folder, subfolders and files to decompress existing contents. For a drive, clear Compress this drive to save disk space and apply the change to the drive, subfolders and files.

Make sure the drive has enough free space before decompressing a large folder. The operation can require substantially more storage than the compressed data occupies.

Use the Compact command when automation is needed

The built-in compact command is the command-line counterpart to the File Explorer control. In Command Prompt, run compact to display the compression state of files in the current folder. For recursive changes, check the supported syntax first with compact /? and verify the target path before using /C to compress or /U to uncompress.

Do not confuse this with:

fsutil behavior set disablecompression 0
fsutil behavior set disablecompression 1

Those commands enable or disable the availability of NTFS compression at the system level after a restart. They do not compress or decompress the files you select. A value of 0 enables NTFS compression; a value of 1 disables it. Most users should leave this system-wide behavior unchanged and use File Explorer or compact for specific data.

Command Prompt showing the system-wide NTFS compression behavior command

NTFS compression versus a ZIP archive

Use NTFS compression when…Use a ZIP archive when…
You want files to remain in place and open normallyYou want one portable file for sharing or storage
The data stays on an NTFS volumeThe recipient may use another file system or operating system
You need transparent, automatic decompressionYou are comfortable extracting files before normal use

For portable archives, follow TipsMake's guide to creating and extracting ZIP files in Windows 11.

What happens when compressed files are moved?

Moving a file within the same NTFS volume normally preserves its compression state because the directory entry changes without recreating the file. Copying it, or moving it to another volume, creates a new file that generally follows the destination folder and file-system rules. A non-NTFS destination cannot retain NTFS compression.

After a large move or copy, check the destination's Properties instead of assuming the blue-arrow icon tells the full story.

Discussion

Reader Comments 0

Sign in with email or Google to join the discussion.