How to Fix the Path Too Long Error When Extracting a ZIP File on Windows 11

When you try extracting a ZIP file on Windows 11 and suddenly get the dreaded “Destination Path Too Long” or “Path Too Long” error, it’s usually because Windows can’t handle file paths longer than 260 characters. This issue shows up a lot when you’re dealing with deeply nested folders, developer archives, game mods, Android build files, or toolchains that create long directory structures.

The good news is that you don’t have to rename every folder manually. Windows 11 includes ways to bypass this limit, and there are third-party extraction tools that handle long paths effortlessly. In this guide, we walk you through all the reliable methods to fix the “Path Too Long” error when extracting ZIP files on Windows 11.

Fix the Path Too Long Error When Extracting a ZIP File

To follow this guide properly, you’ll need a Windows 11 PC, admin access to change system settings, and the ZIP file you’re trying to extract. It also helps if you know where you plan to extract the archive because some solutions work best when you extract to a shorter root directory like C:\ or D:\. Having third-party extraction tools like 7-Zip installed can also make the process much easier.

1. Extract the ZIP File to a Folder with a Shorter Path

The quickest solution is to move the ZIP file to a location that shortens the overall path.

  1. Copy or move the ZIP file to a short path like C:\ZIP, C:\Temp, or directly to the Desktop.
  2. Try extracting the ZIP file again.

This method works because Windows reduces the total character count, allowing the extraction to proceed normally.

2. Rename the ZIP File and Its Parent Folders

Sometimes the ZIP file is inside multiple nested folders with long names, causing Windows to reject the extraction.

  1. Shorten the ZIP file name.
  2. Rename its parent folders to something shorter, such as reducing
    • C:\Users\YourName\Documents\Projects\Very_Long_Folder_Names\More_Folders\
      to
    • C:\Projects\Short\.

Once you recreate a shorter path, extract the ZIP again.

3. Enable Long Path Support in Windows 11

Windows 11 ships with support for long file paths, but the feature isn’t always enabled by default—especially on older systems or upgraded Windows installations.

Enable Long Paths via Local Group Policy Editor

  1. Press Windows + R, type gpedit.msc, and press Enter.
  2. Navigate to:
    Computer Configuration > Administrative Templates > System > Filesystem
  3. Double-click Enable Win32 long paths.
  4. Set it to Enabled and click OK.
  5. Restart your PC for the change to take effect.

Enable Long Paths via Registry (For Windows 11 Home)

If your Windows edition doesn’t include Group Policy Editor:

  1. Press Windows + R, type regedit, and hit Enter.
  2. Navigate to: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem
  3. Look for a value named LongPathsEnabled.
    • If it doesn’t exist, create a new DWORD (32-bit) Value with that name.
  4. Set its value to 1.
  5. Restart your PC.

After enabling long path support, try extracting the ZIP file again.

4. Use 7-Zip to Extract Files Without Path Limitations

Windows’ built-in extractor still follows certain old restrictions, but third-party tools like 7-Zip handle long directory structures extremely well.

  1. Download and install 7-Zip if you don’t already have it.
  2. Right-click the ZIP file.
  3. Choose 7-Zip > Extract Here or Extract to “FolderName\”.

7-Zip usually bypasses path length limitations automatically.

5. Extract Using PowerShell’s Built-in Zip Cmdlet

PowerShell can extract ZIP files without depending on File Explorer’s limitations.

  1. Right-click the Start button and select Windows Terminal (PowerShell).
  2. Use the following command: Expand-Archive -Path "C:\Path\To\File.zip" -DestinationPath "C:\ShortPath"
  3. Press Enter and let PowerShell handle the extraction.

PowerShell ignores many of the limitations that File Explorer enforces.

6. Temporarily Map a Drive Letter to Shorten the Path

This trick lets you create a virtual drive pointing directly to a deep folder, drastically reducing the path length during extraction.

  1. Open Command Prompt.
  2. Use the subst command like this: subst X: C:\Very\Long\Deep\Path\Folder Now the folder becomes accessible as X:\.
  3. Extract the ZIP file inside this mapped drive.
  4. When done, remove the mapping with: subst X: /d

This is extremely useful for huge projects with nested folders.

7. Move the ZIP File to Another Drive With a Shorter Root Path

If your current drive has a long folder structure, moving the ZIP file to a new drive—like an external SSD or a clean partition—can instantly fix the issue.

  1. Move the ZIP to another drive like D:* or **E:*.
  2. Try extracting it from there.

Drives with simpler structures are less likely to cause path-length conflicts.

8. Extract the ZIP Inside Safe Mode

Some third-party utilities, background services, or sync apps like OneDrive and Dropbox may interfere with long-path operations.

  1. Restart Windows into Safe Mode.
  2. Try extracting the ZIP file again from a shorter directory.
  3. Restart normally afterward.

In Safe Mode, Windows limits background activity, which sometimes helps with stubborn path errors.

Wrapping Up

Windows 11 still struggles with older path-length limitations, so it’s not uncommon to run into the “Path Too Long” error when you extract a ZIP file. Once you shorten the extraction path, enable long path support, or use tools like 7-Zip or PowerShell, the problem usually goes away immediately.

By applying the methods above, you can unpack even the most complicated ZIP archives without having to rename every folder manually. If the issue keeps happening with a specific archive, enabling Win32 long paths or using 7-Zip almost always resolves it for good.

Posted by Arpita

With a background in Computer Science, she is passionate about sharing practical programming tips and tech know-how. From writing clean code to solving everyday tech problems, she breaks down complex topics into approachable guides that help others learn and grow.

X