AudioUtils

M4A vs FLAC: Apple AAC vs Lossless Quality Compared

Compare M4A (Apple AAC) and FLAC audio quality at different bitrates. Learn when the quality difference is audible and which format to choose.

The M4A vs FLAC question gets simpler the moment you realize M4A is not actually a codec — it is a container that usually holds AAC (lossy) but can equally hold ALAC (lossless). FLAC is always lossless. So the real comparison is not "M4A vs FLAC" but "what's inside that M4A?" The answer changes everything about audible quality, file size, and which format you should choose for which job.

M4A Is a Container, Not a Codec

M4A is the file extension Apple chose for MPEG-4 audio files. The container itself (technically an MP4 with audio-only content) does not determine quality — the codec inside does. Two codecs are commonly used:

  • AAC (Advanced Audio Coding) — the lossy codec used by iTunes Store purchases (256 kbps), Apple Music streaming (256 kbps), iPhone Voice Memos (~64 kbps), and most M4A files in the wild. AAC is part of the MPEG-4 specification and is extremely efficient at perceptual coding.
  • ALAC (Apple Lossless Audio Codec) — Apple's own lossless compression, equivalent to FLAC in quality. ALAC files use the .m4a extension (or sometimes .alac) and look identical to AAC files in Finder. The codec became open-source in 2011.

This is the source of confusion. Two M4A files in the same folder can have completely different audio quality characteristics — one a 256 kbps lossy AAC, the other a 1,000+ kbps lossless ALAC. You cannot tell which is which from the filename or extension. Use ffprobe, MediaInfo, or any media player's "info" panel to check the actual codec before drawing conclusions.

ffprobe -hide_banner -i file.m4a 2>&1 | grep Audio

If the output says 'aac', the file is lossy. If it says 'alac', it is lossless.

FLAC Is Always Lossless

FLAC (Free Lossless Audio Codec) was released by Xiph.Org in 2001. It uses linear prediction and Rice coding to compress PCM losslessly — the decoded output is bit-identical to the original WAV. FLAC files typically run 50–60% the size of equivalent WAV. There is no "lossy FLAC mode." Every FLAC file decodes back to the exact PCM samples that went in.

FLAC is open, royalty-free, and supported across Linux, Windows, Android, and most desktop media players. Apple historically refused to add native FLAC playback, preferring its own ALAC, but iOS 11 (2017) added Files app support and modern macOS handles FLAC in QuickTime and Music with some limitations.

The Audible Quality Comparison

M4A as ALAC vs FLAC: identical. Both are lossless. Both decode to bit-identical PCM. Audio quality is the same down to the sample. There is no quality reason to prefer one over the other — only ecosystem reasons (ALAC plays natively on Apple, FLAC plays natively almost everywhere else).

M4A as AAC vs FLAC: depends on bitrate. AAC at 256 kbps (iTunes Store, Apple Music) is widely accepted as transparent or near-transparent for most listeners on most music. Multiple controlled ABX listening tests have shown that even trained listeners struggle to reliably distinguish 256 kbps AAC from lossless at better than chance rates on typical music material. The iTunes Store moved to 256 kbps AAC specifically because the Fraunhofer and AAC-LC encoder generations had reached the point where lossy artifacts became inaudible to most listeners at that bitrate.

At 128 kbps AAC and below, the gap widens. Cymbals lose air. Reverb tails get blurry. Solo piano shows pre-echo. FLAC has none of those artifacts at any bitrate because nothing is discarded.

At 64 kbps AAC (iPhone Voice Memos default), FLAC sounds dramatically better — the AAC artifacts are obvious to most listeners, especially on speech consonants and music transients.

File Size: The Trade-Off

For a typical 4-minute song at 16-bit/44.1 kHz CD quality:

| Format / setting | Approximate size | |---|---| | WAV (uncompressed PCM) | ~42 MB | | FLAC (lossless compressed) | ~25 MB | | ALAC inside M4A (lossless) | ~25 MB (often within a few percent of FLAC) | | AAC 320 kbps M4A | ~9.6 MB | | AAC 256 kbps M4A (iTunes/Apple Music) | ~7.5 MB | | AAC 128 kbps M4A | ~3.7 MB | | AAC 64 kbps M4A (Voice Memo) | ~1.8 MB |

The file size advantage of AAC 256 kbps is enormous — about a quarter the size of FLAC for quality differences most listeners cannot reliably hear. This is why streaming services use AAC: the per-listener bandwidth savings vs lossless are substantial.

FLAC is roughly 3–5× larger than AAC 256 kbps but bit-perfect. ALAC and FLAC are essentially the same size (FLAC's compression is marginally tighter on most material, but the difference is small enough to ignore).

Apple Ecosystem Behavior

iTunes purchased music: 256 kbps AAC inside M4A. Lossy. iTunes Match: 256 kbps AAC. Apple Music streaming standard quality: 256 kbps AAC. Apple Music Lossless (introduced 2021): ALAC at up to 24-bit/192 kHz, no extra cost, but requires the Apple Music app and sometimes specific hardware to deliver the full lossless stream. Apple Music Hi-Res Lossless: ALAC at up to 24-bit/192 kHz, requires a USB DAC to actually output above 24-bit/48 kHz on iPhone.

iPhone Voice Memos: AAC at roughly 64 kbps mono in M4A. Heavily lossy by design — the format prioritizes file size over fidelity for spoken audio.

GarageBand and Logic export: AIFF (uncompressed) by default; AAC and ALAC selectable.

The Right Choice Depends on the M4A Source

Decide based on the codec inside the M4A:

  • M4A is ALAC (lossless): No quality reason to convert to FLAC. They are equivalent. Convert only for compatibility — FLAC plays on more non-Apple hardware than ALAC. Use M4A to FLAC if you need FLAC for a Linux server, an Android phone, or a media player that does not handle ALAC.
  • M4A is AAC at 256 kbps: Converting to FLAC does not improve quality. AAC's lost data is gone permanently — FLAC cannot reconstruct it. The FLAC file will be larger but still contain the AAC artifacts. Conversion makes sense only if you need lossless format for further editing or processing (the FLAC will not degrade with re-saves the way an MP3 transcode would).
  • M4A is AAC at 128 kbps or below: Same logic, more strongly. The AAC artifacts are baked in. A FLAC re-encode preserves the existing damage in a larger file. If quality matters, find a higher-quality source.
  • You have a lossless source (CD, WAV) and need to choose: FLAC for non-Apple distribution, ALAC inside M4A for Apple ecosystem (iTunes, Apple Music sync, iOS).

Conversion Implications

Going from FLAC to M4A is a one-way trip if the M4A side is AAC. Lossy encoding discards data permanently. You can convert FLAC to M4A AAC for portable devices or to save space, but keep the FLAC original — converting AAC back to FLAC later does not recover the lost information.

Going from FLAC to ALAC inside M4A is lossless both ways. The audio is bit-identical. Convert freely between FLAC and ALAC as ecosystem needs change. Use the FLAC to M4A converter and verify the encoder is set to ALAC, not AAC.

For more on the underlying formats, see What Is M4A, What Is FLAC, What Is AAC, and the dedicated FLAC vs ALAC comparison.