How to Fix ‘Unable to Expand Zip File’ (Error 1) in macOS Archive Utility

Double-clicking a downloaded compressed ZIP archive in macOS Finder typically triggers the built-in Archive Utility to decompress the files into your current directory. However, macOS can occasionally interrupt extraction with a blocking error alert: ‘Unable to expand [filename.zip] into [folder]. (Error 1 – Operation not permitted)’ or ‘The archive is in an unknown format or damaged.’ When Archive Utility fails to unpack the payload, users cannot access the contained documents, images, or development bundles, even though the ZIP file appears intact.

Why Does macOS Archive Utility Fail to Expand Zip Files?

The native macOS Archive Utility application operates under strict security and format parsing constraints. Extraction errors usually stem from:

  • macOS Gatekeeper Quarantine and TCC Restrictions: Security policies in macOS Sonoma and Sequoia blocking Archive Utility from writing extracted content into protected folders (such as Downloads, Desktop, or external drives) without explicit entitlements.
  • Incomplete or Truncated File Downloads: An interrupted network connection or prematurely severed browser transfer resulting in an incomplete central directory record at the end of the ZIP archive.
  • Unsupported Compression Algorithms: The archive being compressed using modern algorithms (such as 7z Deflate64, WinRAR RAR5, or BZIP2) that standard Apple Archive Utility cannot decode natively.
  • POSIX File Permission Anomalies: Archives created on Linux or Windows containing files with restrictive permissions or invalid filename characters (such as colons or backslashes) that the APFS filesystem rejects.
  • Corrupted Temporary Extraction Folders: Stale temporary swap buffers in /private/var/folders/ blocking Archive Utility from allocating extraction caches.

Step 1: Extract the Archive Using macOS Terminal

The command-line unzip binary provides robust decompression that frequently bypasses Archive Utility GUI sandboxing bugs.

  1. Open Terminal from Applications > Utilities (or press Cmd + Space and type Terminal).
  2. Type unzip followed by a space.
  3. Drag and drop the problematic .zip file from Finder directly into the Terminal window to automatically populate the exact file path:
    unzip /Users/username/Downloads/archive.zip
  4. Press Enter. Terminal will decompress the archive and print the extracted file names directly into the shell.
  5. If you want to extract the files into a specific clean directory, use the -d flag:
    unzip /path/to/archive.zip -d ~/Desktop/ExtractedFolder/

Step 2: Strip Quarantine Extended Attributes

Files downloaded via web browsers receive an Apple quarantine attribute that can cause extraction operations to fail.

  1. In Terminal, inspect the file’s extended attributes:
    xattr -l /path/to/archive.zip
  2. If the output displays com.apple.quarantine, strip the security flag by running:
    xattr -d com.apple.quarantine /path/to/archive.zip
  3. Once removed, double-click the archive in Finder to test if Archive Utility now decompresses it without prompting Error 1.

Step 3: Test and Repair the Archive with Zip Diagnostics

Check whether the underlying ZIP container is structurally sound or truncated.

  1. Run the zip testing utility in Terminal:
    zip -T /path/to/archive.zip
  2. If the output reports test of archive.zip OK, the archive is healthy.
  3. If it reports errors in the central directory header, attempt an automated repair using:
    zip -FF /path/to/archive.zip --out ~/Desktop/repaired.zip
  4. Extract the resulting repaired.zip file to recover intact payload files.

Step 4: Use Dedicated Third-Party Unarchivers

Advanced third-party utilities support broader compression variants and corrupted archive tolerance.

  1. Download and install The Unarchiver or Keka from the Mac App Store or official developer websites.
  2. Right-click your ZIP archive in Finder.
  3. Select Open With > The Unarchiver (or Keka).
  4. These utilities handle non-standard character encodings and alternate compression headers seamlessly, bypassing Apple’s native restrictions.

Step 5: Grant Full Disk Access to Archive Utility

Ensure that macOS Transparency, Consent, and Control (TCC) security does not prevent file writes.

  1. Open System Settings from the Apple menu.
  2. Navigate to Privacy & Security > Full Disk Access.
  3. Click the plus (+) icon at the bottom.
  4. Press Cmd + Shift + G in the file selection dialogue, type /System/Library/CoreServices/, and press Enter.
  5. Select Archive Utility and click Open.
  6. Ensure the toggle switch next to Archive Utility is turned On, then retry expanding your archive.

Get the best tech tips delivered straight to your inbox.

Join thousands of readers mastering Apple, Google, Microsoft, and Linux.