Skip to content
When the Network Is Missing

exFAT and FAT32 Limits for Removable Drives

4,294,967,295 bytes is the most a single FAT32 file can hold under Microsoft's documented Windows implementation. Microsoft, which develops Windows and publishes the exFAT specification, lists the FAT32 limit as 4 GiB in its comparison table. GiB stands for gibibyte, a binary unit of storage. The same table gives exFAT a much larger file-size ceiling: 2^64 minus 1 bytes. Each figure describes the size of one file. A drive's total capacity and the space still free on it are separate figures.

A small dark USB drive rests on a wooden table between the edges of closed laptops.
Window light falls across a dark USB drive on a shared wooden table.

A file system is the set of rules and records a device uses to organize stored data. It keeps track of where a file begins, how much data belongs to it, and what name appears in the directory, the drive's record of the contents of a folder. Those records matter when a removable drive carries work from one machine to another. The receiving machine has to interpret the same layout to connect a filename with the bytes that go with it.

exFAT and FAT32 limits at a glance

The file system comparison from Microsoft supplies the rows below. The exact FAT32 byte count comes from the company's File Access Services protocol notes. For exFAT, the detailed specification distinguishes the whole volume from the part that holds the storage units available for files and other records. A cluster is a group of sectors, the units into which the storage space is divided.

File and volume limits in Microsoft's documentation
FeatureexFATFAT32
Maximum size of one file2^64 minus 1 bytes (file-size field ceiling)4,294,967,295 bytes (4 GiB minus one byte)
Maximum volume size as listed in the comparison2^32 minus 1 clusters (see specification limit below)2^32 blocks
Maximum filename length255 Unicode characters255 Unicode characters
Last-access timestampDate and timeDate only
Metadata-only journalingNoNo

Microsoft lists the FAT32 volume limit in blocks and the exFAT limit in clusters. The size of the unit is needed to turn a count into bytes. Also, a volume is the complete formatted area, including space for the file system's own records. Its total size includes those records as well as the area that holds file contents. Free space is the portion still available for allocation, which means setting storage aside for data.

In the exFAT specification, Microsoft's field for total volume length counts sectors. Its separate field for the number of clusters caps the data region's managed pool at 2^32 minus 11 clusters. The comparison table's cluster figure is a summary; the detailed field limit is the one that governs that pool. The distinction matters when reading a figure labeled maximum volume size: the region where files live starts after other structures, so counting clusters there and measuring the full volume answer different questions.

The layout in the specification puts the main and backup boot regions at the start of the volume, before the file allocation table and the data region. The boot regions describe the layout; the table can link clusters that belong to the same file. Both take up space before the data region begins. The specification also provides for excess space after the cluster heap. A number for the whole volume can therefore cover space on either side of the heap, outside the pool from which the file system assigns clusters to a file.

How exFAT records a larger file

Microsoft, which publishes the exFAT specification, explains the design: "The exFAT file system uses 64 bits to describe file size, thereby enabling applications which depend on very large files." A bit is a binary digit. The file-length field is a place in the file system's records for a number: the length in bytes. Widening the field gives the format more possible values, including much larger ones. Storing a file also requires enough free clusters to hold all those bytes.

On exFAT, the filename and the information about the file's data belong to a set of directory entries, or related records. One record carries the length and the location of the first cluster. A separate structure called an allocation bitmap tells the file system which clusters are already in use. The length answers how many bytes to expect; the allocation record describes which storage units are spoken for. The file contents have to fit in the space the format can assign to them.

From a directory entry to stored bytes
Directory entry set
Connects the file's name with its data record
Data record
Gives the byte length and identifies the first cluster
Allocation bitmap
Marks which clusters are available for use
Cluster heap
Holds file contents, directories, and other file system structures

That is why the large exFAT number belongs in a reference table as a field ceiling. A real file still needs room in the cluster heap, the managed area where exFAT puts files and directories. The file system sets aside space within that area for some of its own records as well. The space available to a file depends on the layout of that particular volume and on what already occupies it. The length field can describe sizes well beyond that space.

Microsoft's specification also accounts for the unused portion at the end of a file's last cluster. Storage is assigned in whole clusters, while the length in the directory entry describes the file in bytes. A file ending partway through a cluster still occupies that cluster. This is why the number of bytes a file contains and the amount of room it takes up on the volume can differ even when the file is well within the length limit.

A hand holds a plain dark USB drive beside the open side port of a silver laptop.
A USB drive lines up with a port at the edge of a laptop.

What travels with the file name?

Microsoft's comparison gives both formats a maximum filename length of 255 Unicode characters. Unicode is the system that assigns values to characters from many scripts. The filename is the last part of an address through a directory tree. The full path includes the names of the folders that lead there, so filename length applies to a single part of that address.

Both file systems record creation timestamps, according to the same comparison. They differ on last access, the recorded time a file was last accessed: exFAT has a date and time, while FAT32 records the date only. That difference is visible when two accesses fall on the same calendar day. The FAT32 last-access record has day-level detail; the exFAT field can also describe a time within that day. What a copying application does with a timestamp is a separate matter from what the destination format can represent.

Metadata is information about a file or how it is stored. A metadata journal keeps a log of changes to those bookkeeping records. Microsoft lists metadata-only journaling for NTFS, another file system in the comparison, and marks the feature absent for both exFAT and FAT32. The row is useful next to the timestamp row: an access date is one value attached to a file; a journal is a record of changes to the file system's bookkeeping.

What has to match at a removable-drive handoff
  • File length
    The byte count fits the format's single-file field
  • Space available
    The volume has enough free allocation units for the file
  • Format support
    The receiving system can read the volume's directory and data layout

What determines whether the handoff works?

Each device needs software that can interpret the format. Microsoft's exFAT specification describes the layout that such software implements, including a field in the volume's opening record that identifies the format. Recognizing that name is the first step. The receiving system also has to read the directory and follow its records to the stored contents.

A scuffed dark external drive and its cable lie on a navy work mat.
A cable curves beside a worn external drive on a repair bench.

The specification even reserves a stretch of zeroed bytes where older FAT formats expect essential fields, to keep older implementations from mistakenly mounting an exFAT volume. Mounting is how a system makes a volume's files accessible. A copy can fit on the drive when it leaves one desk; at the other desk, the receiving machine still needs to know how that drive stores a directory.

Frequently Asked Questions

Can a removable drive with free space still reject a large file under FAT32?

Yes. Microsoft's Windows protocol notes say FAT32 can return a disk-full error when a file exceeds 2^32 minus 1 bytes. In that case the error reflects the limit on the file's length, even if the volume has space for more data in other files.

Does either exFAT or FAT32 have built-in compression?

Microsoft lists built-in compression as absent for both exFAT and FAT32. A compressed archive is a file in its own right, so its stored byte count is the one that matters for the file-size ceiling.

What does exFAT stand for?

Microsoft's specification expands exFAT as extensible File Allocation Table. A file allocation table is a bookkeeping structure that can describe a chain of clusters holding data. Extensible refers to the design's ability to accommodate additions to the format.

Which format does Microsoft's specification name as exFAT's predecessor?

Microsoft calls exFAT the successor to FAT32 in the FAT family. The allocation record changed along with the length field: the exFAT specification says its bitmap tracks which clusters are occupied, a job the file allocation table handled in FAT32.

Can exFAT and FAT32 preserve uppercase and lowercase letters in filenames?

Yes. Microsoft's comparison lists both formats as case-preserving and case-insensitive. They retain the capitalization of the stored name, while a name lookup treats a change of capitalization as the same name.

Sources

  • Microsoft: File System Functionality Comparison
  • Microsoft: exFAT File System Specification
  • Microsoft: File Access Services: Appendix A, Product Behavior