SMB compression is one of the least used features in SMB 3.1.1. It arrived with Windows Server 2019 and is present in Windows 11 and Windows Server 2022: client and server agree to compress data while it travels and expand it on arrival. The file on disk is not touched, no archive is created and nothing has to be unpacked later.
That makes it a bandwidth tool rather than a storage tool, and it is only worth enabling where the link is the bottleneck. On a fast LAN the CPU cost can outweigh the saving. The sections below cover what it does, where the bytes go, how to switch it on, and how it behaves in a backup job that has to cross a slow link.
SMB 3.1.1 added compression as a transport option negotiated per session. Both ends advertise the algorithms they can handle, and the payload is compressed in chunks, so a large copy does not wait for a whole file before the first packet leaves. If a chunk refuses to shrink it is sent as it is, which means an incompressible file wastes a little CPU and nothing else.
The important distinction is that nothing on disk changes. NTFS compression and ZIP archives alter the stored form of the data, while SMB compression alters only the packet in flight. Copy a text file through a compressed share and the remote copy is byte for byte identical, with the same size and the same attributes. Only the wire saw less traffic.
The feature needs a matching dialect on both sides. A client that speaks only SMB 3.0 or 2.1 keeps transferring uncompressed, so a mixed site still works.
Gains follow entropy, not file type. Plain text, logs, CSV exports, source code, JSON and XML usually shrink to a third or half of their size. Virtual disk images vary: a mostly empty VHDX with long runs of zeros compresses very well, while one holding encrypted or already-compressed data does not. Databases and mail stores sit in between and depend on how much of the file is text.
Media is where expectations should be reset. JPEG, MP4, HEVC, MP3, ZIP and most PDFs are compressed already, so SMB compression typically saves a few percent at best while still paying the CPU. The same applies to encrypted files and to archives produced by backup software, which have usually squeezed the data once already.
Because the decision is made per chunk, a mixed folder is not a problem: compressible chunks shrink and the rest pass through. Measure rather than assume: time a copy of a representative file with compression on and off.
The setting lives on the share, not on the folder. In Windows, the share object carries a compression property that can be switched on for new and existing shares, and the SMB server then offers compression to capable clients. Shares left at the default keep the old behaviour, which is why a single enabled share is easy to miss when only some transfers get faster.
Per-file control is narrower. Compression is requested when a file is opened for a copy, so some copy tools expose it as a copy option while File Explorer offers no switch at all. That is deliberate: the decision depends on the link and the data, and neither is known to the shell.
Two cautions are worth repeating. First, older clients and appliances that do not implement 3.1.1 simply transfer without compression, so enabling it is safe but may do nothing. Second, compression is negotiated with the dialect, and SMB 1, which should be disabled anyway, has no such feature.
Compression is paid twice: once to squeeze the data on the sending side and once to expand it on the receiving side. The work is modest per megabyte but it happens on one core per stream, so a single large copy can be limited by single-thread speed rather than by the network. Encrypted CPU extensions do not help here; the algorithms are not the AES family.
On Gigabit Ethernet there is usually headroom. The link caps a stream near 118 MB/s and any modern processor keeps up, so compression is close to free and the saving is real. On 10GbE and 25GbE the arithmetic inverts, and a CPU-bound stream can end up slower than an uncompressed one. The break-even point is roughly the ratio of compressible data: a two-to-one saving on a slow link is a large win, one-to-one on a fast link is a pure loss.
Where the link is a WAN or a VPN, compression pays from both sides, because bandwidth is metered and round trips are long. It also composes with the security features: compression happens before encryption, so the order is compress, then encrypt, then sign. SMB over QUIC can compress as well, and the SMB signing article explains the protection layer that sits above it.
Backups mix highly compressible metadata with image data that may not compress at all. Catalogues, file names and logs gain a great deal, while a backup image that the backup tool already compressed gains almost nothing. The practical consequence is a choice: either let the backup tool compress the image and skip SMB compression, or store the image with light or no compression and let SMB compression do the work on the wire. Doing both spends CPU twice for one saving.
Step 1. Launch Qiling Disk Master and open System backup from the home screen.

Step 2. Keep the system backup option selected and confirm the source disk.

Step 3. Choose the network destination and add the NAS device that hosts the compressed share.

Step 4. Click Proceed, then compare the task duration with an earlier uncompressed run.

No. It compresses packets in flight and expands them on arrival. The stored file keeps its size, its attributes and its bytes, unlike NTFS compression or a ZIP archive.
SMB compression needs dialect 3.1.1, so Windows 11 and Windows Server 2019 or later on both ends. Older clients and most consumer NAS firmware transfer uncompressed instead.
It can, when the data is already compressed or the CPU is the limiting factor. Test with one representative file; if the transfer rate does not improve, turn compression off for that share.