How to Fix ‘Google Drive Can’t Sync This File – Path Too Long’

Google Drive for desktop provides seamless cloud integration, but users frequently encounter the error alert: ‘Can’t sync this file – Path too long’ or ‘File path exceeds the system limit’. When this occurs, file synchronisation pauses for specific folders, leaving local edits stranded on your workstation while cloud collaborators see outdated versions. This error occurs because legacy operating system filename length constraints conflict with modern deeply nested folder structures inside cloud file systems.

Why Does Google Drive Trigger the ‘Path Too Long’ Error?

The error originates from traditional system architecture boundaries interacting with cloud directory mapping:

  • Windows MAX_PATH 260-Character Limit: By default, traditional Win32 file APIs restrict total file path lengths to 260 characters (including drive letters, folders, subfolders, filenames, and terminating null characters).
  • Virtual Drive Mounting Overheads: Google Drive mounts cloud storage under a virtual drive letter or path (such as G:\My Drive\), adding 12 to 20 baseline characters to every file path.
  • Deeply Nested Folder Hierarchies: Multi-layered organisational folders created by collaborative teams across departments easily push file paths past 300 characters.
  • Extensive Filename Lengths: Long descriptive filenames generated by automated exports or camera imports consume substantial character budgets.

Step 1: Enable Win32 Long Paths via Group Policy in Windows

Windows 10 and Windows 11 feature native architecture support for extended path lengths up to 32,767 characters, but this feature remains disabled by default for legacy compatibility.

  1. Press Win + R, type gpedit.msc, and press Enter to open the Local Group Policy Editor.
  2. Navigate to: Computer Configuration > Administrative Templates > System > Filesystem.
  3. In the right pane, double-click Enable Win32 long paths.
  4. Select Enabled, click Apply, and click OK.
  5. Restart your computer to apply the updated system policy.

Step 2: Enable Long Paths via Registry Editor (Windows Home Editions)

For Windows Home editions without Group Policy Editor, configure the long path policy directly via the registry.

  1. Press Win + R, type regedit, and press Enter.
  2. Navigate to the following key:
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem
  3. Locate the LongPathsEnabled DWORD value. If it does not exist, right-click FileSystem, select New > DWORD (32-bit) Value, and name it LongPathsEnabled.
  4. Double-click LongPathsEnabled and set its Value data to 1.
  5. Click OK, exit the Registry Editor, and restart your computer.

Step 3: Shorten Folder Hierarchy or Rename Deep Subdirectories

If your organisation enforces standard 260-character restrictions or files must sync across platforms with strict filename parsers, restructure nested directories.

  1. Open Google Drive in your web browser at drive.google.com.
  2. Locate the affected file or parent folder generating the sync warning.
  3. Inspect parent folder names and shorten repetitive or verbose folder labels (for example, shortening 2026_Quarterly_Financial_Auditing_Reports_Approved to 2026_Q_Audits).
  4. Move deeply nested project folders higher up the directory tree closer to the root of ‘My Drive’.
  5. Google Drive desktop client will automatically detect the shortened path and resume background synchronisation.

Step 4: Map Deeply Nested Folders to a Virtual Drive Letter

When working inside an intricate corporate folder tree that cannot be renamed without affecting team members, map the subfolder directly to a dedicated local drive letter.

  1. Press Win + S, type cmd, and select Run as administrator.
  2. Use the subst utility to assign a spare drive letter (e.g. P:) directly to the nested directory:
    subst P: "G:\My Drive\Department\Projects\2026\LongNestedFolder"
  3. Open File Explorer; drive P:\ now provides direct, immediate access to the files without incurring 80+ characters of prefix path overhead.
  4. To remove the substitution after syncing, run:
    subst P: /D

Get the best tech tips delivered straight to your inbox.

Join thousands of readers mastering Apple, Google, Microsoft, and Linux.