What is ALAC?
How ALAC Compresses Audio
ALAC (Apple Lossless Audio Codec) is Apple's answer to FLAC: a format that shrinks audio files without losing a single sample. Like all lossless codecs, it does not discard sound the way MP3 or AAC do; instead it removes mathematical redundancy and can reconstruct the original PCM audio exactly, bit for bit, when decoded. A typical ALAC file is roughly 40 to 60 percent the size of the equivalent uncompressed WAV or AIFF, with zero quality cost.
The technique is the same family used by FLAC. The encoder predicts each audio sample from the samples just before it, then stores only the small residual, the difference between the prediction and the real value, rather than the full sample. Because audio is highly predictable over short spans, those residuals are small numbers that compress efficiently through entropy coding. On playback the decoder runs the prediction in reverse to recover the exact original samples.
ALAC audio is carried inside an MPEG-4 container, usually with an .m4a extension, the same wrapper that holds lossy AAC. This is a common source of confusion: an .m4a file can contain either lossy AAC or lossless ALAC, and you cannot tell which from the extension alone. You have to check the file's details to know whether a given M4A is the lossy or lossless kind.
From Proprietary to Open Source
Apple introduced ALAC in 2004 as a proprietary, closed format tied to iTunes and the iPod, at a time when it wanted a lossless option that fit neatly into its own ecosystem. For years this closed nature was ALAC's biggest drawback compared with the already-open FLAC, since other software could not freely implement it.
That changed in October 2011, when Apple open-sourced ALAC under a permissive license and published its reference encoder and decoder. Opening the format meant any developer could implement it without restriction, which broadened support beyond Apple's own software. Even so, FLAC had a decade's head start as the open lossless standard, so ALAC's adoption outside the Apple world remained narrower.
ALAC vs FLAC: Which Should You Choose?
ALAC and FLAC are both lossless and produce very similar file sizes, FLAC is often marginally smaller, but the difference is small and there is no audible difference at all, since both are perfect copies. The real decision is about your ecosystem, not sound quality.
Choose ALAC if you live in the Apple world: it is the lossless format that works natively across the Music app, iTunes, iPhone, iPad, and Mac, and it syncs cleanly through Apple's software without conversion. Choose FLAC for the broadest cross-platform support, since it is the de facto open standard supported by virtually every non-Apple player, network streamer, and hi-fi device. Notably, Apple's own devices historically did not play FLAC natively, which is the main reason ALAC still exists rather than everyone simply using FLAC. If your library needs to work both inside and outside Apple's ecosystem, many people keep FLAC as the master and convert to ALAC only when needed.
Limitations
ALAC's limitations are mostly about reach. Outside the Apple ecosystem its support, while now possible thanks to open-sourcing, is still less universal than FLAC's, so for maximum compatibility FLAC is the safer archival choice. Its metadata and tagging support is also less rich and standardized than FLAC's. And like any lossless format, ALAC files are several times larger than lossy MP3 or AAC, which makes them impractical for streaming or for fitting large libraries onto small devices, the reason Apple Music streams AAC rather than ALAC by default for most use.
ALAC vs Other Audio Formats
| Feature | ALAC | FLAC | MP3 |
|---|---|---|---|
| Compression | Lossless[1] | Lossless | Lossy |
| Quality | Bit-perfect[4] | Bit-perfect | Reduced |
| Developer | Apple[1] | Xiph.Org | Fraunhofer / MPEG |
| License | Open source[2] | Open | Patented (now free) |
| Device support | Apple-centric | Wide | Universal |
| Best for | Apple lossless | Lossless archiving | General music |
ALAC and FLAC offer equivalent lossless quality, but ALAC integrates best with Apple devices while FLAC has broader cross-platform support.
Pros and Cons
Advantages
Perfect Quality Preservation | FileFormer, Lossless compression means the decoded audio is identical to the original - no quality loss ever.
Native Apple Support | FileFormer, Plays natively on all Apple devices and software without any codec installation needed.
Apple Music Lossless | FileFormer, The format Apple uses to deliver lossless streaming, supporting up to 24-bit/192 kHz audio.
Open Source | FileFormer, The codec is open source and freely usable since 2011, despite its Apple origins.
Disadvantages
Larger Files than AAC | FileFormer, Lossless files are 2 to 3 times larger than equivalent AAC files - high quality comes at a storage cost.
Limited Non-Apple Support | FileFormer, While open source, ALAC is less widely supported in non-Apple software and hardware players compared to FLAC.
No Quality Advantage over FLAC | FileFormer, FLAC and ALAC are both lossless and produce identical audio quality; FLAC has broader support outside the Apple ecosystem.
Larger than Streaming Formats | FileFormer, Significantly larger than MP3 or AAC files, requiring more storage and download bandwidth.
When to Use ALAC
Here are the most common situations where ALAC is the right choice:
Apple Music Library | FileFormer
Use ALAC when building a lossless music library intended for Apple devices and software.
iTunes and Music App | FileFormer
ALAC is the recommended lossless format for importing CDs into the Apple Music app on Mac.
Audio Archiving on Apple | FileFormer
Archive ripped CDs and high-resolution audio downloads in ALAC for permanent lossless storage.
High-Resolution Audio | FileFormer
ALAC supports up to 24-bit/384 kHz, making it appropriate for high-resolution audiophile recordings.
Frequently Asked Questions about ALAC
Is ALAC the same quality as FLAC?
Yes. Both are lossless audio codecs - the decoded audio from ALAC and FLAC is bit-for-bit identical to the source. The choice between them is purely about software ecosystem compatibility.
Why does ALAC use .m4a extension instead of .alac?
ALAC is stored inside the MPEG-4 container format (M4A), which is the same container used for AAC audio. The .m4a extension is shared between ALAC and AAC files; you need to check the encoding to know which codec is inside.
Does Apple Music use ALAC for lossless?
Yes. Apple Music's Lossless Audio tier (launched in 2021) streams in ALAC format at up to 24-bit/48 kHz, and Hi-Res Lossless at up to 24-bit/192 kHz.
Can I play ALAC on Android?
Android does not support ALAC natively, but many third-party players like VLC, Poweramp, and USB Audio Player Pro can play ALAC files. Alternatively, convert ALAC to FLAC for universal Android support.
Which is better: ALAC or FLAC?
For Apple-only use, ALAC is more convenient. For cross-platform use, FLAC has broader hardware and software support. Audio quality is identical between the two.