What to Do When a ZIP File Won't Open
Short answer
Check the file size against what the sender says it should be — an incomplete download is the most common cause and produces exactly this error. If the size is right, install 7-Zip and open it with that, since Windows only handles plain ZIP and the file may be RAR, 7z or a ZIP using a compression method Windows does not support. A password prompt means neither is wrong.
On this page
A ZIP file that refuses to open gives you the same unhelpful error whatever the underlying problem is. Windows will tell you the compressed folder is invalid and leave you to guess why.
There are three distinct causes and they need different fixes. Identifying which one you have takes about a minute and saves you trying the wrong solutions.
Which of the three is yours?
| Symptom | Cause | Fix |
|---|---|---|
| Invalid or corrupt error, file smaller than expected | Incomplete download | Download again |
| Invalid error, file size looks right | Not really a ZIP, or unsupported method | Open with 7-Zip |
| Password prompt appears | Encrypted archive | Get the password from the sender |
| Opens but extraction fails partway | Damaged archive, or path too long | 7-Zip, or extract to a short path |
Start with the size check, because it is the quickest and it is the most common answer.
1. The incomplete download
Right-click the file and check Properties. Compare the size against what the sender or the download page said it should be. A 400MB archive that arrived at 385MB is the whole explanation.
A ZIP file keeps its central directory — the index of what is inside — at the end of the file. Truncate the last few kilobytes and the archive becomes unreadable even though the great majority of the data is present and intact. That is why a download that got to 97% is just as broken as one that got to 10%.
Downloads get interrupted for ordinary reasons: a Wi-Fi drop, a browser closed too soon, a session timeout on the hosting site, a full disk. Download it again, and if it fails repeatedly:
- Use a different browser, or a download manager that supports resuming.
- Try a wired connection if you are on flaky Wi-Fi.
- Check you have disk space. A download that runs out of room produces exactly this symptom, and a full C drive is more common than people think.
- Ask the sender for a share link rather than an email attachment. Mail systems rewrite attachments and occasionally damage them.
2. It is not really a ZIP
Windows has built-in support for plain ZIP archives and nothing else. It does not open RAR, 7z, tar, gz, or a ZIP built with a newer compression method.
Install 7-Zip from its official site on Windows, or The Unarchiver on macOS. Both are free, both handle essentially every archive format in common use, and both read ZIP files that Windows refuses.
Right-click the file → 7-Zip → Open archive. If 7-Zip lists the contents, the archive was fine and Windows was the problem.
Check what it actually is
If 7-Zip also fails, look at the file’s first characters. Open it in Notepad and read the opening line:
| First characters | Format |
|---|---|
PK |
A genuine ZIP |
Rar! |
RAR, renamed |
7z¼¯' |
7z, renamed |
ÿØÿ or %PDF |
Not an archive at all |
<!DOCTYPE or <html |
An HTML error page saved with a ZIP name |
That last one catches people regularly. A download that hit a login wall or an expired link saves the error page under the filename you expected, producing a 3KB “ZIP” that is actually a web page apologising.
The ZIP that is also an Office file
Worth knowing in the other direction: .docx, .xlsx and .pptx files are
ZIP archives, and 7-Zip will happily open them. That is a useful recovery
technique and not a sign that anything is wrong.
3. The password
A prompt asking for a password means the archive is intact and encrypted. There is no fix for this on your end — you need the password from whoever made it.
Two honest notes about archive passwords.
ZIP’s original encryption, still used by default in several tools, is weak by modern standards and recoverable with freely available software. If a sender has protected a sensitive file with legacy ZIP encryption, it is not meaningfully protected. AES-256, which 7-Zip and WinRAR both offer, is genuinely strong — but only if the password is. We cover the difference in protecting a document properly.
And treat password-protected archives from unexpected senders with suspicion. A password stops your email provider’s scanner from inspecting the contents, which is precisely why malware is distributed that way. An unexpected ZIP with the password helpfully included in the email body is a well-known pattern and not a good sign.
4. Extraction fails partway
The archive opens, the file list is visible, and extraction stops with an error on one file.
Path too long. Windows limits most file paths to around 260 characters. A
deeply nested archive extracted into C:\Users\yourname\Downloads\project files 2026\client work\ runs out of room. Extract to C:\temp instead and the
problem disappears. The same limit causes a range of other odd failures, covered
in why Windows says a file name is too long.
Damaged archive, partially readable. 7-Zip extracts what it can and reports errors on the rest. Right-click → 7-Zip → Extract files, and tick the option to keep going on errors if offered. You get every file before the damaged point, which is frequently most of them.
Antivirus intervening. Security software quarantines a file mid-extraction and the error looks like archive damage. Check the antivirus log before concluding the archive is broken — and if it flagged something, believe it rather than disabling the scanner.
Disk full. A 2GB archive needs 2GB of free space to extract into, plus the archive itself. Check before assuming something more exotic.
Split archives
Files named archive.zip.001, archive.part1.rar or archive.z01 are pieces
of one archive split for transfer. You need every part in the same folder, and
you open the first one only.
For .z01 through .zip, open the .zip. For .part1.rar style, open part 1.
For .001, open that. 7-Zip reassembles them automatically provided no part is
missing — and one missing part makes the whole set unusable, with no partial
recovery for anything after the gap.
What to expect
Redownloading resolves the majority of cases, usually on the first retry. Installing 7-Zip resolves most of the rest, and is worth doing once regardless since it removes an entire category of future problem.
The genuinely unrecoverable case is a damaged archive you cannot obtain again — an email attachment from someone unreachable, or a download from a site that has gone. 7-Zip’s partial extraction gives you whatever was readable before the damage, and that is the ceiling. Repair tools advertised for ZIP files mostly do the same partial extraction behind a payment page.
If archives from one particular source keep failing, the problem is upstream rather than on your machine. Tell the sender, because they are almost certainly producing the same broken file for everyone and nobody has mentioned it.