"Unable to expand" on a Mac: Archive Utility errors 79, 94, 1 and more
When Archive Utility can’t open an archive it says something like:
Unable to expand “file.zip”. (Error 79 - Inappropriate file type or format.)
The number and the words after it are a standard macOS system error, the same list every Mac app uses. They tell you what went wrong in general terms, not exactly why. Here’s what each common one usually means and what to try.
| Error | Message | Usually means |
|---|---|---|
| 1 | Operation not permitted | macOS blocked the write, or the archive is damaged |
| 2 | No such file or directory | The archive is incomplete or damaged |
| 13 | Permission denied | No permission to write where it’s expanding |
| 22 | Invalid argument | Damaged archive, or something Archive Utility can’t handle |
| 28 | No space left on device | The disk is full |
| 63 | File name too long | A path inside the archive is too long for macOS |
| 79 | Inappropriate file type or format | The ZIP uses a compression method Archive Utility can’t read |
| 94 | Bad message | The ZIP’s data is damaged or cut off |
These are the most likely causes, not certainties: macOS uses the same error for many different problems.
First, for any error
Download it again. If the archive came from the web or email, an interrupted download is the most common cause of damage.
See the real problem in Terminal:
unzip -t ~/Downloads/file.zipIt reports what it finds.
No errors detected, with no files skipped, means the ZIP is fine.
Error 1 and Error 13: permissions
Check where it’s expanding. Archive Utility puts files next to the archive by default. If the archive is in a folder you can’t write to, a network share, or a cloud folder that’s still syncing, move the ZIP to your Desktop or Downloads folder and try again. If Error 1 happens everywhere, treat it as damage (below).
Error 2, Error 22, and damage
The archive is usually incomplete or damaged. Download it again. If you can’t, recover what’s readable: see Repair a damaged ZIP.
An .aea that Archive Utility can’t verify also gives Error 22: I got it
with two test .aea files that weren’t signed by Apple, one of them cut off.
If it’s an Xcode download, see
How to install Xcode from an .aea file.
Error 28: no space
Expanding needs room for everything inside, which can be far more than the ZIP’s own size. Free up space, or expand it onto another drive.
Error 63: names too long
Some archives made on other systems have very long or deeply nested paths. Open it in an app that lets you take out just the files you need, such as Purrchiver or The Unarchiver, or extract to a location with a shorter path.
Error 79: compression Archive Utility can’t read
On macOS 27.2, Error 79 came from ZIPs compressed with Deflate64 (which
Windows is reported to use for some very large ZIPs) or Zstandard (used
by some WinZip .zipx files). The ZIP itself is usually fine. Terminal’s
unzip opens Deflate64; Zstandard needs 7-Zip or another app. See
“Error 79 - Inappropriate file type or format” for how to tell
which, and how to open it.
A file that isn’t a ZIP at all, such as a RAR renamed to .zip, doesn’t give
Error 79: Archive Utility says “It is in an unsupported format”, with no
number. See How to open RAR files
if that’s what you have.
Error 94: damaged or cut off
The data inside the ZIP doesn’t decode: part of it is corrupted, or the file stops before its end. Download it again; if that’s not possible, see “Error 94 - Bad message” for getting back the files that are still intact.
When nothing works
Try the original archive (not any .cpgz Archive Utility made) in another
app. Both Purrchiver and The Unarchiver open archives free and tell you more
about what’s wrong. If the file is damaged, see
Why a ZIP turns into a .cpgz and
Repair a damaged ZIP.