How to Fix “Spotlight can’t index Google Drive” on Mac

When macOS Spotlight fails to search or index Google Drive for Desktop, cloud files and offline folders do not appear in Spotlight searches (Cmd + Space) or Finder query results. This issue occurs when macOS File Provider indexing fails, Spotlight permissions are missing, or the virtual volume location is excluded from system search metadata.

Fast Fix

Grant Full Disk Access to Google Drive and rebuild the Spotlight index for the CloudStorage directory. Open System Settings > Privacy & Security > Full Disk Access and toggle on Google Drive. Then open Terminal and run mdimport ~/Library/CloudStorage/GoogleDrive-* to force Spotlight to re-index your Google Drive metadata.

Diagnostic Snapshot

ParameterSpecification
Affected EnvironmentmacOS 12 (Monterey), macOS 13 (Ventura), macOS 14 (Sonoma), macOS 15+
Primary SymptomFiles inside Google Drive do not return in Spotlight search or Finder search bars
Direct CauseApple File Provider integration changes, missing Full Disk Access, privacy exclusions, or corrupted mds search index
Admin Access RequiredYes, for managing system-level Privacy & Security settings and Terminal mdutil commands

Resolution Steps

Step 1: Verify and Grant Full Disk Access

  1. Click the Apple menu () > System Settings.
  2. Select Privacy & Security in the left sidebar, then click Full Disk Access.
  3. Locate Google Drive in the list and ensure the toggle is switched On.
  4. If Google Drive is not listed, click the + icon, navigate to /Applications/Google Drive.app, add it, and toggle it on.
  5. If prompted, click Quit & Reopen to restart the Google Drive service.

Step 2: Remove Folder from Spotlight Privacy Exclusions

  1. In System Settings, go to Siri & Spotlight (or Spotlight).
  2. Scroll to the bottom and click Spotlight Privacy…
  3. Review the list of excluded locations. If you see Google Drive, CloudStorage, or your user Library folder, select the item and click the minus (–) button to remove it.
  4. Click Done.

Step 3: Force Spotlight to Re-Index the Google Drive Path

Use macOS Terminal to force the metadata importer to crawl your Drive directory:

  1. Open Terminal (/Applications/Utilities/Terminal.app).
  2. Run the metadata import command for your CloudStorage folder:Bash mdimport ~/Library/CloudStorage/GoogleDrive-*
  3. To test if Spotlight recognizes a specific file, run:Bash mdfind -name "[YourFileName]"

Step 4: Rebuild the Entire Volume Spotlight Index (If Search Still Fails)

If Spotlight fails across multiple directories, reset the volume indexing service:

  1. In Terminal, run:Bash sudo mdutil -E / sudo mdutil -i on /
  2. Check the indexing status:Bash sudo mdutil -s /
  3. Allow macOS time to rebuild the index (you will see an indexing progress bar when opening Spotlight).

Hard Stops

  • Terminal Commands on System Partitions: Do not attempt to manually delete system SIP-protected files or force-unmount internal APFS snapshot volumes when troubleshooting Spotlight. Stick strictly to user-space mdimport and volume-level mdutil commands to prevent macOS filesystem instability.