Help · Is it safe to delete?

CoreSpotlight taking 100 GB on your Mac?

On one of our own MacBooks, a folder called ~/Library/Metadata went from 2 GB to over 100 GB in nine days. Almost all of it was one folder inside: CoreSpotlight/DocumentProcessing/PipelineStorage. It belongs to macOS, not to an app you installed. Here's what it is, how to check yours, and how to get the space back.

What it is

Spotlight keeps two kinds of index. One covers the files on your disks; it lives in a hidden .Spotlight-V100 folder on each disk (see mds_stores and the Spotlight index). The other is CoreSpotlight: what's inside your apps, such as messages, notes and mail, so Spotlight can find them too. That one lives in your home folder, in ~/Library/Metadata/CoreSpotlight.

It's normally a few gigabytes. People have reported it growing to 96 GB on macOS 26, and on our Mac running macOS 27.2 the DocumentProcessing part did the growing.

What's in DocumentProcessing

Apple doesn't document it, so this is what we found by looking. While Spotlight reads inside your documents for smarter search, macOS writes working files, called journals, into DocumentProcessing/PipelineStorage, then processes them and deletes them. On our Mac they stopped being deleted: 2,677 journal files in PipelineStorage/Embedding, up to 285 MB each, 98 GB in all, almost all written over three days in October and never processed. The real search index next to them was 2.8 GB.

So a big CoreSpotlight folder is usually a stuck backlog of these working files, not a big index.

Compare scan records in Pangalin Space Manager: Metadata grew from 2 GB to 106 GB.
How we spotted it: Pangalin Space Manager's Compare showed Metadata growing from 2 GB to 106 GB.

Check yours

  1. In Finder, choose Go › Go to Folder…, type ~/Library/Metadata and press Return.
  2. Select the CoreSpotlight folder and choose File › Get Info. Give it a moment to add up the size.
  3. If it's a few gigabytes, it's normal and you can leave it. If it's tens of gigabytes, try the steps below.

Get the space back, gentlest step first

  1. Restart your Mac, then give it a day. After a macOS update, Spotlight re-indexes everything, and the store can stay big while it works. Check the size again the next day.
  2. Rebuild Spotlight's index the supported way. Open System Settings › Spotlight and click Search Privacy. Add your startup disk (Macintosh HD) with +, wait a minute, then select it and click −. macOS throws away the old index and builds a new one. Apple says that can take hours. Search may miss things until it's done.
  3. Check the size again once it's finished. If CoreSpotlight is back to a few gigabytes, you're done.
  4. Clear only the backlog. If DocumentProcessing is still most of it, quit your apps and move just the DocumentProcessing folder to the Trash, then restart. Your search index stays, so search keeps working, and macOS reads your documents again over time. We tested this on a test Mac: search worked straight after, and putting the folder back from the Trash restored it. Empty the Trash once you're happy.
  5. Tell Apple. If it grows back, send feedback with the Feedback Assistant app, or at apple.com/feedback. An index that grows to 100 GB is a macOS problem, and Apple fixes what it hears about.

Can I just delete the folder?

Some people do, and macOS builds it again. We'd leave it as a last resort, for three reasons:

Don't use Terminal commands that delete it outright. Try clearing only DocumentProcessing first (above). If the index itself is what grew, quit your apps, move the CoreSpotlight folder to the Trash (so you can put it back), restart, and only empty the Trash once search works again.

Sources: Apple Support, “Rebuild the Spotlight index on your Mac”; Apple Community, “Is 96.4 GB CoreSpotlight in Metadata folder critical?” (July 2026); Apple Community, corespotlightd thread; AppleInsider. Seen on our own Mac on macOS 27.2. Checked October 2026; DocumentProcessing findings and test added 15 November 2026.

See what's really using your space.

Pangalin Space Manager's free scan lists what's using your disk, folder by folder, including folders macOS hides, like ~/Library/Metadata. macOS's own folders are marked for review and never ticked for you, and its System Data page walks you through the Spotlight rebuild. It names this folder Spotlight app index (CoreSpotlight), marks it for review, never ticks it, and its Learn more link opens this page. When the backlog passes 10 GB, its Dashboard plan offers Clear Spotlight's stuck backlog, which moves only that folder to the Trash and leaves your search index alone (with a licence).

Free scan · The scan changes nothing · First 5 GB freed free, then $25 a year · Notarised by Apple · Apple silicon, macOS 13 or later

More: what's in System Data · what's safe to delete on a Mac.