Windows

How to Fix the “Path Too Long” Error When Extracting ZIP Files in Windows 10 and 11

Learn six practical fixes for the Windows “Path too long” error when extracting a ZIP file, including enabling long paths, shortening file locations, and using alternate tools.

Andrew Miller
Andrew Miller
Technology Writer  •  Sep 19, 2026  •  6 min read

The “Path too long” error usually appears when Windows tries to extract a ZIP file and one or more folders inside it create a file path that is longer than Windows can handle. It is common with deeply nested folders, project archives, game mods, and files downloaded from the internet.

The good news is that this problem is usually fixable without damaging the archive. In most cases, shortening the extraction path or enabling long file paths in Windows will solve it.

How to Fix the “Path Too Long” Error When Extracting ZIP Files in Windows 10 and 11

Why the “Path Too Long” Error Happens

Windows has historically had a limit on the maximum length of a file path. A file path includes the drive letter, every folder in the route, the filename, and the extension. If that total becomes too long during extraction, Windows File Explorer may stop and show an error.

Why It Matters This error is not always caused by the ZIP file itself. A perfectly normal archive can fail simply because the destination folder is too deep or the filenames inside the archive are already long.

1. Extract the ZIP File to a Shorter Folder Path

The simplest fix is often to extract the ZIP file to a folder with a very short path. For example, use something like C:\Temp or C:\ZIP instead of a folder buried several levels deep on the desktop or in Documents.

  1. Create a new folder directly on your C: drive, such as C:\Temp.
  2. Move the ZIP file into that folder if needed.
  3. Right-click the ZIP file and choose Extract All, or use your extraction tool.
  4. Choose the new short folder as the destination and try again.
Key Fact A shorter destination path reduces the total character count for every extracted file, which often avoids the limit entirely.

2. Rename the ZIP File and Any Parent Folders

If the ZIP file itself has a long name, or if it is stored in a folder with a long name, shortening those names can make the extraction succeed.

  1. Rename the ZIP file to something short and simple, such as files.zip.
  2. Move it out of folders with long names.
  3. If the archive is inside a deeply nested location, place it temporarily in a short path like C:\Temp.
  4. Try extracting it again.
Quick Tip Short filenames help twice: they reduce the path length for the archive itself and for the extracted items created from it.

3. Enable Long Path Support in Windows 10 or Windows 11

Windows 10 and Windows 11 can support longer file paths, but the feature may not be enabled on your system. Turning it on can resolve the error for many users.

  1. Press Windows + R, type gpedit.msc, and press Enter if you have Group Policy Editor available.
  2. Go to Local Computer Policy > Computer Configuration > Administrative Templates > System > Filesystem.
  3. Open Enable Win32 long paths and set it to Enabled.
  4. Click Apply and OK.
  5. Restart Windows if needed, then try the extraction again.
Note Home editions of Windows may not include Group Policy Editor. If that applies to you, use the Registry method instead.

4. Turn On Long Paths in the Registry

If Group Policy Editor is not available, you can enable long path support through the Registry. This changes the same Windows behavior but from a different location.

Warning Be careful when editing the Registry. Only change the setting described here, and back up the Registry if you are not comfortable making system changes.
  1. Press Windows + R, type regedit, and press Enter.
  2. Navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem.
  3. Find LongPathsEnabled. If it does not exist, create a new DWORD (32-bit) Value with that name.
  4. Set the value to 1.
  5. Close Registry Editor and restart the computer if required.

After this setting is enabled, Windows applications that support long paths should be able to work with longer folder structures.

5. Use a Different Extraction Tool

File Explorer is not always the best tool for large or deeply nested ZIP archives. Third-party tools often handle long paths better and may give you more control over the extraction process.

Best For Large archives, mod packs, software packages, and folders with deep directory structures.

After installing one of these tools, right-click the ZIP file and extract it using that program instead of File Explorer. Some tools also let you choose shorter destinations more easily.

6. Extract the Archive in Smaller Parts or Change the Folder Structure

If the ZIP file contains an unusually deep folder tree, the easiest fix may be to reduce the number of nested folders after extraction. In some cases, the archive itself may need to be reorganized or re-created by the person who made it.

  1. Extract the archive to a short folder path.
  2. Open the extracted folders and see whether one branch of the directory tree is especially deep.
  3. Move the files you need closer to the root folder if appropriate.
  4. If you created the ZIP file yourself, re-pack it with shorter folder names or a flatter folder structure.

This is especially useful for developers, modders, and anyone handling project folders that contain repeated subfolder names.

Which Fix Should You Try First?

Why It Matters The fastest fix is usually the one that reduces the path length immediately. System settings help more when this becomes a recurring problem.

When the ZIP File Itself May Be the Problem

If none of the fixes work, the archive may be damaged or incomplete. That is more likely if the file will not open correctly in multiple extraction tools, or if the ZIP file was interrupted during download.

In that case, download the ZIP file again from the original source if possible. If you created the archive yourself, rebuild it from the original files.

A Practical Order to Try the Fixes

  1. Extract the ZIP file to a short folder such as C:\Temp.
  2. Rename the ZIP file and avoid long parent folder names.
  3. Try 7-Zip, WinRAR, or another extraction tool.
  4. Enable long path support in Windows.
  5. If needed, use the Registry or Group Policy setting to keep the fix permanent.
  6. Check whether the archive is corrupted and re-download it if necessary.

Conclusion

The Windows “Path too long” error is usually caused by a path-length limit, not by a serious system problem. In most cases, a shorter extraction folder or a different unzip tool will solve it quickly. If you deal with long folder structures often, enabling long path support in Windows is the most useful long-term fix.

Topics

More from Windows

View all →
How to Fix DISM Error 0x800f0915 in Windows
Windows

How to Fix DISM Error 0x800f0915 in Windows

How to Fix Command Prompt When You Can’t Run It as Administrator
Windows

How to Fix Command Prompt When You Can’t Run It as Administrator

5 Ways to Fix HP Support Assistant When It Won’t Install
Windows

5 Ways to Fix HP Support Assistant When It Won’t Install

Why USB Devices Show Up as Unknown in Windows 11
Windows

Why USB Devices Show Up as Unknown in Windows 11

How to Fix the Windows Fast Startup Error 0xc00000d4
Windows

How to Fix the Windows Fast Startup Error 0xc00000d4

How to Fix a Volume Bar That Keeps Appearing in Windows
Windows

How to Fix a Volume Bar That Keeps Appearing in Windows