# Is it safe to delete the local copies of iCloud Drive files?

Is it safe to delete? · Apple apps · Updated 21 November 2026. By Mohit Nippanikar, who makes SiftMac.

## The short answer

- **Only with Remove Download.** Deleting a file in iCloud Drive, from Finder or from its folder in your Library, deletes it from iCloud and every device signed in to your Apple Account. Removing the download frees the space on this Mac and leaves the file in iCloud.
- **What it costs you:** a removed download needs an internet connection, and a moment, the next time you open it.
- **Does it come back?** A removed download comes back when you open the file. A deleted file comes back only from Recently Deleted on iCloud.com, for 30 days.
- SiftMac’s verdict: You decide

## 1. What it is

With iCloud Drive syncing on this Mac, macOS keeps local copies of your iCloud Drive files so they open instantly, and keeps them in step with iCloud. If Desktop & Documents Folders is on, your Desktop and Documents are part of iCloud Drive as well.

To you, the copy on the Mac and the copy in iCloud are the same file, and that’s why deleting is the wrong way to save space. Apple says that when you delete a file on one device, it deletes on every device signed in with the same Apple Account. What frees space on the Mac alone is removing the local copy and keeping the file in iCloud: Finder calls that Remove Download, and Optimize Mac Storage does it for you when space runs short.

## 2. Where it is

```
~/Library/Mobile Documents/com~apple~CloudDocs
```

That’s the folder Finder shows as iCloud Drive in its sidebar. The other folders beside it in `~/Library/Mobile Documents`, with names like `com~apple~Pages`, hold apps’ own iCloud documents. Treat all of them as iCloud Drive: deleting inside them deletes from iCloud.

## 3. How big it gets

Finder shows a file’s full size even when only a placeholder is on the Mac, so Finder can’t tell you how much iCloud Drive really uses here. `du` counts only what’s actually downloaded:

```
du -sh "$HOME/Library/Mobile Documents"
```

Storage settings has an **iCloud Drive** line too, which Apple describes as all files stored in iCloud Drive. If Terminal isn’t allowed to read the folder, give it Full Disk Access in System Settings › Privacy & Security.

## 4. How to free the space safely

1. **Free space here, keep the file in iCloud:** in Finder, Control-click a file or folder in iCloud Drive and choose **Remove Download**. It stays listed, marked as in iCloud, and downloads again when you open it.
2. **Let macOS do it as space runs out:** System Settings › your name › iCloud › Drive, check that Sync this Mac is on, turn on **Optimize Mac Storage**, and click Done. Apple says your Mac can then store documents in iCloud when more space is needed.
3. **Keep some things on the Mac no matter what:** Control-click them and choose Keep Downloaded.
4. **Delete for good:** only for files you don’t want anywhere. Move them to the Trash in Finder; they leave your other devices too, and iCloud.com keeps them in Recently Deleted for 30 days.

> Don’t delete folders inside `~/Library/Mobile Documents` to save space. That deletes the files from iCloud and from every device, not just from this Mac.

## 5. What happens afterwards

- After Remove Download the file still shows in Finder, marked as in iCloud, and opens after a short download.
- Optimize Mac Storage frees space only when it’s needed, so your free space doesn’t jump straight away.
- Deleted files disappear from your iPhone, iPad and other Macs, and stay in Recently Deleted on iCloud.com for 30 days.
- Remove Download doesn’t change your iCloud storage: the file is still in iCloud and still counts there.

## Questions

### If I delete a file from iCloud Drive on my Mac, is it deleted from iCloud?

Yes, and from every device signed in to the same Apple Account. Recover it from Recently Deleted on iCloud.com within 30 days if that wasn’t what you meant.

### What’s the difference between Remove Download and deleting?

Remove Download only takes the copy off this Mac; the file stays in iCloud and on your other devices. Deleting removes it everywhere.

### Why is iCloud Drive taking up so much space on my Mac?

Because iCloud Drive keeps everything downloaded while there’s room. Apple says that if space isn’t needed, the full contents of iCloud Drive stay on your Mac. Optimize Mac Storage lets macOS remove older local copies when space gets tight.

### What happens if I turn off Desktop & Documents Folders?

Apple says your files stay in iCloud Drive, and new Desktop and Documents folders are made in your home folder. Move back whatever you want to keep on the Mac.

## How SiftMac handles it

SiftMac has no iCloud Drive category and doesn’t delete or evict iCloud files. Its space map shows `~/Library/Mobile Documents` as private rather than reading it, and its duplicate and large-file scans skip files that are only in iCloud, so a scan never downloads them. If Desktop & Documents is on, a duplicate or large file you choose to remove from those folders leaves iCloud too, and waits on the Undo Shelf for 7 days.

Download: https://siftmac.com/SiftMac.dmg (scanning is free, and so is the first 2 GB of cleaning).

## Sources

- [Apple: Work with folders and files in iCloud Drive (Remove Download, Keep Downloaded)](https://support.apple.com/guide/mac-help/mchl1a02d711/mac)
- [Apple: Store files in iCloud Drive on Mac (Optimize Mac Storage)](https://support.apple.com/guide/mac-help/mchle5a61431/mac)
- [Apple: Add your Desktop and Documents files to iCloud Drive](https://support.apple.com/109344)

## Related

- [iCloud’s Optimize Mac Storage: what it frees, and what it doesn’t](https://siftmac.com/guides/icloud-optimize-mac-storage)
- [Is it safe to delete the Photos Library.photoslibrary package?](https://siftmac.com/safe-to-delete/photos-library)
- [What is purgeable space on a Mac?](https://siftmac.com/guides/purgeable-space-on-mac)
- [Can I delete the files in my Downloads folder?](https://siftmac.com/safe-to-delete/downloads-folder)
- [Mac storage full, but you can’t find the files? Where the space went](https://siftmac.com/guides/mac-storage-full)

Canonical: https://siftmac.com/safe-to-delete/icloud-drive-local-files
