Someone sent you a .zip, you double-click it on your Mac, and either it opens like magic — or it spits out a mysterious .cpgz file, throws “Error 1,” or does absolutely nothing. Here’s the short version: zips open natively on every Mac with a double-click; RAR and 7z files don’t open at all without a free tool; and almost every unzip error has a known, fixable cause. This guide covers the built-in way, the two free tools worth installing, and what to do when double-clicking fails — the part most tutorials skip entirely.
Quick answer: double-click any .zip file and macOS expands it into the same folder (usually Downloads). If that fails, right-click the file and choose Open With → Archive Utility, or extract it from Terminal with unzip file.zip. For RAR or 7z archives, install The Unarchiver (free) or Keka (free from its website), then double-click as usual.

How to unzip a file on Mac with built-in tools
Archive Utility, the small app macOS uses for archives, has no window and no icon in your Dock — it just works when you need it:
- Double-click the .zip file in Finder. A progress window may flash briefly, and the extracted contents appear in the same folder as the archive.
- If nothing happens, right-click the file and choose Open With → Archive Utility. This forces the same extractor explicitly.
- To choose where files land, open Archive Utility directly (it lives in System → Library → CoreServices → Applications, which you can reach from Finder with the shortcut Shift+Command+G) and set a default extraction folder in its settings. Most people never need this — same-folder is fine.
Zipping works the same way in reverse: select files or a folder, right-click, and choose Compress. macOS creates archive.zip next to the originals — handy once you’ve extracted something and want to send it back in one piece.
That’s genuinely all there is to it — Apple’s own guide covers exactly this much. The rest of this article exists because real archives misbehave in ways Apple’s two-sentence troubleshooting section doesn’t touch.
RAR, 7z and other formats: what Mac can and can’t open
macOS handles .zip natively. It does not open RAR, 7z, or most other archive formats — double-clicking them either does nothing or prompts you to search the App Store. Here’s the lay of the land:
| Format | Opens on Mac without extra software? | Best free option |
|---|---|---|
| .zip / .zipx | Yes (Archive Utility; encrypted .zipx needs help) | Built-in, or The Unarchiver for encryption |
| .tar / .tar.gz | Yes (double-click, or Terminal) | Built-in |
| .rar | No | The Unarchiver or Keka |
| .7z | No | Keka, The Unarchiver, or official 7-Zip |
| .exe self-extractors | No (Windows program) | Ask for a plain .zip or .7z instead |
Two free tools cover everything above:
- The Unarchiver — free, no ads or upsells, made by MacPaw. It quietly handles RAR (including multi-part and password-protected archives), 7z, old StuffIt files, and dozens of legacy formats. After installing, it offers to take over archive handling from Archive Utility — accept that.
- Keka — the more capable of the two: it extracts and creates archives, including encrypted 7z files. It’s free to download from the developer’s site, while the App Store version costs a few dollars — same app, essentially a tip jar. The website version is the answer to “is Keka free?”
One more name you’ll see: 7-Zip. The famous Windows tool now ships an official macOS console version — powerful, but command-line only. And WinRAR for Mac? Also command-line only, and trialware. For everyday extraction, a GUI tool is the sensible pick. (If your archives are huge, extract to an external drive or clear space first — clearing system caches is a quick way to reclaim several gigabytes.) And if the archives you receive are mostly paperwork, scanning documents on your Mac the right way keeps the paper versions optional.

When double-click fails: every common unzip error, fixed
This is where forum threads multiply, because the error messages are cryptic. Match yours below.
“Unable to expand zip file” — Error 1 (Operation not permitted)
Usually one of three causes, in order of likelihood: the download didn’t finish (the archive is truncated), the file has a quarantine/permission quirk, or the path it’s expanding into has a problem. Fix ladder: re-download the file first — a partial download is the most common culprit. Then try moving the .zip out of Downloads to your Desktop and expanding there. If it still fails, open Terminal, type unzip followed by a space, drag the .zip into the Terminal window, and press Return — the command-line extractor is more tolerant than Archive Utility and prints the real reason.
Error 21 — “Is a directory”
The archive contains a file that wants to overwrite an existing folder (or vice versa). You’ll see this when a previous partial extraction left a half-made folder in the target. Fix: delete the half-extracted folder from Downloads, then extract again. Extracting to a fresh, empty folder avoids the collision entirely.
The zip turns into a .cpgz file (the infinite loop)
Double-click a .zip, and you get file.cpgz; double-click that, and you’re back to a .zip — forever. This loop means Archive Utility can’t parse the archive: it’s typically a very large file, a zip64 archive, or a multi-part archive that macOS’s built-in unzip (an old codebase) can’t handle. The fixes, in order of effort:
- Use The Unarchiver or Keka — their modern extraction engines handle zip64 and multi-part archives that Archive Utility chokes on.
- Verify the archive from Terminal with
unzip -t file.zip— “test” mode reports whether the file is intact or truncated. If it reports missing bytes, the download is incomplete; re-download it. - If you have Homebrew, a current
unzipor thep7zippackage extracts archives the system tools reject.
“End-of-central-directory signature not found”
Technically, this means the unzipper reached the end of the file without finding the archive’s index. Practically, it means one of two things: the download was cut short, or the “zip” isn’t actually a zip (sometimes it’s an HTML error page saved with a .zip name). Re-download first; if the error persists, open the file with a text editor and see what’s actually inside — if it’s readable text, the source served you an error page, not an archive.
“There is not enough disk space” during extraction
Extraction needs room for the decompressed contents — a 2 GB zip can easily expand to 10 GB. If your startup disk is nearly full, clear space before extracting (macOS also refuses when “purgeable” space hasn’t been released yet; a restart usually helps). If low storage is a recurring theme, our guides to freeing up space without losing your files cover the habit side of the problem.
Terminal one-liners worth knowing
No Terminal experience needed — open it from Applications → Utilities, and note that every command below was verified on a current Mac:
unzip ~/Downloads/file.zip— extracts into the current folder; add-d ~/Documents/Projectto choose a destination.unzip -t file.zip— integrity test without extracting (your first move on any suspicious archive).ditto -x -k file.zip ~/Documents/Extracted/— macOS’s native extraction tool, better with resource forks and odd filenames.tar -xf file.zip— yes, macOS’s tar reads zip archives too; handy when unzip isn’t available.
Drag-and-drop a file into the Terminal window instead of typing its path — it pastes the full location correctly, quotes and all.
Comparison: built-in vs free tools
| Tool | Cost | Formats | Best for |
|---|---|---|---|
| Archive Utility (built-in) | Free | Zip, tar | Everyday zips — zero setup |
| The Unarchiver | Free | Zip, RAR, 7z, 30+ legacy | Set-and-forget RAR/7z opening |
| Keka | Free (site) / paid (App Store) | Everything, plus creating encrypted archives | People who also need to make 7z/encrypted zips |
| 7-Zip for macOS | Free, open source | All 7z formats | Terminal users; scripted extraction |
| Online unzip sites | Free | Zip | Avoid — uploading archives to a stranger’s server is a privacy risk |
FAQ
Can a Mac open RAR files natively?
No. RAR is a proprietary format and macOS has no built-in support — RAR’s own publisher only ships a command-line Mac version. The Unarchiver or Keka opens RAR files with a double-click after a one-time install.
Is The Unarchiver safe and really free?
Yes on both counts — it’s a long-standing App Store fixture with no in-app purchases, developed by MacPaw (which monetizes other products, not this one). Review what permissions it asks for on first launch; it wants association with archive formats, nothing more.
Why does my zip file keep turning into a .cpgz file?
Because Archive Utility can’t parse it, and its fallback (converting to compressed CPIO) just circles back. It’s a signal, not a bug you caused: the archive is too large, zip64-based, or damaged. Open it with The Unarchiver or Keka instead, and test it with unzip -t if you suspect corruption.
How do I open a password-protected zip on Mac?
Double-clicking prompts for the password on encrypted zips; if macOS balks, The Unarchiver and Keka both handle password prompts cleanly. Never use an online “unzip” service for a password-protected archive — the password plus the file contents would leave your machine.
Do I need to install anything to unzip files on a Mac?
Only if you’ll encounter RAR or 7z files, or very large archives. Plain zips and tarballs open with built-in tools, and that covers most of what people email and download daily.

