Repair a corrupted M4A audio file

An M4A file is an MP4 container holding audio, usually AAC. When it will not play or shows 0:00, the most common cause is that the recording was interrupted (app crash, phone shutdown, full storage) before the index was written. The audio frames are still in the file, and because AAC frames can be detected in the raw data, an M4A can usually be repaired without a reference file. FixMP4 does this in your browser: drop the file, listen to the free preview, then export.

Open the repair tool

Typical sources of broken M4A files

  • iPhone Voice Memos cut off by a call, a crash or a dead battery; see fix corrupted voice memo.
  • Android recorder apps that save M4A/AAC, such as Google Pixel Recorder.
  • Dictaphones and lecture recorders that lost power.
  • WhatsApp, Telegram and other messaging apps: incomplete downloads produce truncated M4A or AAC files.
  • Interrupted transfers from phone to computer.

Step 1: confirm it is really damaged

  1. Check the size. A file of a few KB or 0 bytes holds no audio; see MP4 is 0 bytes.
  2. Play it in VLC. If it plays there, the file is fine and your player does not support its codec (ALAC or HE-AAC in older players, for example).
  3. Run it through the MP4 file checker. "Index missing, media data present" confirms the classic interrupted recording.

Step 2: repair

In the repair tool, drop the M4A. The tool scans the media data for AAC frames, works out the sample rate and channel layout, and writes a new index. You hear a preview of the first 15 seconds before exporting.

If the recording came from an unusual app or device and the tool cannot identify the audio, add a short healthy M4A recorded with the same app and settings as a reference.

Free alternatives

If you are comfortable with the command line, FFmpeg can sometimes read the raw AAC stream when the file has ADTS headers (some recorders write them):

`` ffmpeg -f aac -i broken.m4a -c copy recovered.m4a ``

Most M4A files from phones store raw AAC without ADTS headers, so FFmpeg alone cannot rebuild them; untrunc can, with a reference file from the same app:

`` untrunc reference.m4a broken.m4a ``

Why M4A files lose their index

Like MP4 video, an M4A writes its audio data first and the index (moov box) at the end, when recording stops. If the app is killed or the device loses power, the end is never reached. The file then has a header (ftyp), a large block of audio data (mdat) with no stated length, and no index. Players open the file, find no index, and either refuse it or show 0:00.

iPhone Voice Memos has a further twist: recent iOS versions keep an in-progress recording in a temporary state and finalise it when you stop. If the app crashes, the memo may appear with 0:00 duration, or only in the app's recovery data.

AAC vs ALAC vs other audio in M4A

CodecCommon sourceRepair support
AAC-LCVoice Memos, most phones and appsYes, usually without reference
HE-AACSome streaming and messaging appsOften; reference helps
ALACApple Lossless rips and some recordersNot supported
Opus in M4ARareNot supported

After repair

After the rebuild you get an ordinary M4A: Apple Music, QuickTime, Windows Media Player, VLC and any modern browser open it without extra software. To convert it to MP3:

`` ffmpeg -i repaired.m4a -c:a libmp3lame -q:a 2 repaired.mp3 ``

Avoid losing recordings

Long recordings are the most at risk. Keep enough free storage, plug the phone in for lectures and interviews, and stop recordings now and then to save them. On iPhone, avoid force-quitting Voice Memos while it records.

Recovering a voice memo that disappeared

If the recording is not in the app at all, look in these places before assuming it is lost:

  • iPhone: Voice Memos > Recently Deleted (kept for 30 days by default), and iCloud if Voice Memos sync is on (Settings > your name > iCloud). A memo interrupted by a crash sometimes appears only after reopening the app.
  • Android: the recorder app's own trash folder, and the Recordings or Music folder in a file manager. Google Recorder keeps a backup at recorder.google.com when backup is enabled.
  • Messaging apps: ask the sender to send the voice message again; the copy on their phone is usually intact.
  • Computer backups: an iTunes or Finder backup of the phone contains Voice Memos and can be browsed with backup extraction tools.

What a successful repair sounds like

A good repair plays from the first second to the moment the recording stopped. The last fraction of a second may be cut, because the final audio frame was incomplete when the app stopped writing. If the preview is silent or noisy, the tool may have misidentified the audio parameters; try again with a reference recording from the same app, or contact us with the details shown in the diagnosis.

Large and long recordings

Lecture and interview recordings of several hours are no problem in size: the file is read in pieces, so even multi-hundred-megabyte M4A files repair in the browser without uploading.

Recorded on a PC with the built-in Windows app? See Windows Sound Recorder file corrupted.

FixMP4 compared with other options

FeatureFixMP4Desktop repair suitesuntrunc (CLI)VLC
Runs whereBrowser, on your deviceDesktop appCommand lineDesktop player
Keeps your file on your device✓✓✓✓
Nothing to install✓✕✕✕
Rebuilds a missing MP4/MOV index✓✓✓✕
Preview of your own repaired file before paying✓Trial (varies)Free tooln/a
Voice Memos / AAC without a referenceUsuallyVaries✕✕
Formats beyond MP4/MOV/M4A✕✓Many (FFmpeg)Plays many

Try it on your file

Free diagnosis and 15-second preview. Nothing is uploaded.

Open the repair tool

Frequently asked questions

Do I need a reference file to repair an M4A?

Usually not. Standard AAC-LC recordings can be rebuilt by detecting the audio frames directly. A reference helps for unusual encoders.

Can an M4A with 0:00 duration be repaired?

Yes, if the file has a real size. 0:00 usually means the index is missing while the audio is still there.

Can ALAC (Apple Lossless) M4A files be repaired?

FixMP4 rebuilds AAC audio. ALAC files with a missing index are not supported.

Is the audio uploaded?

No. The repair runs in your browser and the file stays on your device.