Error 640 Mac: How to Fix ZIP and Archive Expansion Problems

Saipansab Nadaf Saipansab Nadaf
Updated on: May 28, 2026

Seeing Error 640 Mac while opening a ZIP file? It can be confusing, especially when the file looks completely normal. The issue typically appears when Archive Utility cannot properly read or extract the compressed file on a Mac.

It is not a very serious macOS problem. This usually happens because of a corrupted download, an unsupported format, permission issues, or insufficient storage. Today, I will explain why ZIP files fail to expand and the safest ways to fix the Error 640 on Mac.

Quick Glance: What is Error 640 Mac Unzip?

  • Error 640 on Mac means that macOS is not able to properly extract a ZIP file or compressed archive.
  • Corrupted downloads, low storage, damaged ZIP files, or unsupported formats are some of the most common causes.
  • To fix the issue, try downloading the file again, make sure you have sufficient storage, or try using the Terminal commands.

Why Does Error 640 Unable to Expand Happen?

The “Error 640 expanding zip” issue appears when macOS cannot properly extract a ZIP or compressed archive file. The issue is often related to the archive itself rather than your Mac.

Unable to expand error

One of the biggest reasons is a corrupted or incomplete download. If the ZIP file was interrupted during download or transferred incorrectly, Finder’s built-in Archive Utility may fail to unzip in macOS.

Other common causes include:

  • Insufficient storage space.
  • Unsupported or damaged archive formats.
  • Incorrectly renamed file extensions.
  • Permission restrictions on the folder.
  • Compression errors during archive creation.
  • Missing parts from multi-volume archives.
  • iCloud placeholder files that are not fully downloaded yet.

Another thing many users miss is that .zip, .gz, .tar.gz, and .tgz files are not handled the same way in macOS. Some archive types work better through Finder, while others extract more reliably through Terminal using the tar command.

How to Fix Error 640 Mac?

The safest approach is to start with simple fixes instead of downloading random Mac repair tools. Here’s how you can fix the Error 640 and unzip in macOS:

1. Download the ZIP File Again

Surprisingly, this solves the Mac unzip file issue often. If the download was interrupted even slightly, the ZIP file may appear normal but fail during extraction. Here’s what you should do:

  • Delete the current ZIP file.
  • Download it again from the original source.
  • Wait for the download to complete.
  • Try extracting the file again.

If possible, compare the file size with the original download source to confirm that the archive downloaded correctly.

2. Check Available Storage Space

macOS needs enough free storage not just for the ZIP file itself, but also for the extracted contents. For example, a 2 GB ZIP file may temporarily require 4-6 GB during extraction. 

Check Storage on Mac

Just go to System Settings, select General, and click Storage to check available space. If storage is l ow, just remove unnecessary files or empty the Trash to free up disk space on Mac before trying again.

3. Move the ZIP File to Desktop

Move ZIP file to Desktop

Sometimes the issue comes from folder permissions. So, try moving the archive to the Desktop, Downloads, or Documents folder. Then, try extracting it again. Make sure to avoid protected system folders or incompatible external drives while testing the file.

4. Use Finder First

Many users immediately install third-party extraction tools, but Finder’s built-in Archive Utility should be your first option. To safely unzip documents on Macs, just double-click the ZIP file.

macOS will automatically attempt extraction. If Finder still fails, move to the next solution.

5. Use Terminal to Unzip the File

Terminal gives you more control and often reveals what is actually causing the problem. To unzip a ZIP file:

  • Open Terminal using Spotlight.
  • Next, navigate to the folder containing the ZIP file. For example: “cd ~/Downloads”.
  • Then, run this command: “Unzip filename.zip”. 
    Run “Unzip filename.zip” on Terminal
  • To open a gz file on Mac, use: “tar -xzf filename.tar.gz”.

This method works especially well when Archive Utility keeps failing, the archive contains minor corruption, or you need more detailed error information.

If nothing works for you, try to test another ZIP file. This step helps isolate the problem quickly. If every ZIP file fails, the issue may be system-related. This simple check can save a lot of unnecessary troubleshooting.

Also Read

How to Open Zip Files on MacBooks Properly (Prevention Tips)?

While fixing error 640 is important, preventing future extraction problems saves time and reduces the risk of file corruption. Here are some practical habits worth following:

  • Make sure the ZIP file is fully downloaded before opening it, especially on unstable internet connections.
  • Download archive files only from trusted or official sources to avoid damaged or unsupported formats.
  • Do not interrupt the extraction process or force-close Finder while files are expanding.
  • Keep enough free storage space available before extracting large ZIP files.
  • Use Finder first, and switch to Terminal only if the archive keeps failing to open.

Also, avoid downloading random Mac repair or extraction tools from unknown websites.

Also Read

Conclusion

Error 640 Mac can be easily fixed with the help of some simple troubleshooting methods. Finder, Archive Utility, and Terminal already provide most of the tools needed to fix the issue safely.

The simple approach mentioned in the guide can fix the majority of expansion problems without risking your files or installing unnecessary software.

Also Read

Frequently Asked Questions

What is Error 640 on Mac?

It usually occurs when macOS cannot properly extract a ZIP or compressed archive file.

Why can’t I unzip a file on Mac?

The ZIP file might be corrupted, incomplete, password-protected, or stored in a restricted folder.

How do I fix Error 640 when unzipping a file on a Mac?

You should try to re-download the archive, check available storage, and extract the file through Finder or Terminal.

How to open tar.zg or .tgz files on Mac?

You can open them through Finder or use the Terminal command: “tar -xzf filename.tar.gz”.

Why is my Mac not compressing a file?

This can happen because of storage issues, permission restrictions, damaged files, or temporary Finder problems.

Related Posts
Folder on Mac
File Management May 28, 2026
How to Make a Folder on Mac? Declutter your Home Screen

Is your Mac Desktop/Finder a mess of random files and screenshots? Don’t worry. You are at the right place because…

Select Multiple Files on Mac
File Management May 27, 2026
How to Select Multiple Files on Mac Quickly? Step-by-Step Guide

Selecting multiple files on a Mac sounds simple, but most people still waste time clicking one file at a time.…

reformat an sd card on mac
File Management May 21, 2026
How to Reformat an SD Card on Mac? 3 Practical Methods

Disk Utility is the main way to format an SD card on a Mac. This built-in tool can be used…

change directory cmd
File Management May 20, 2026
How to Change Directory in Command Prompt? Quick and Easy Methods

The Command Prompt is a powerful CLI (Command line interface) used for Windows interaction, mainly for file management, application execution,…

What is an HEIC file A Simple Beginner’s Guide (1)
File Management May 19, 2026
What is an HEIC file? A Simple Beginner’s Guide

Have you noticed that when you click a photo on your iPhone, it does not show up as PNG or…