On this page
- Why do cloud files take up space on your Mac at all?
- Why is iCloud Drive taking up space on my Mac?
- Why is Dropbox taking up space on my Mac?
- How to see how much each cloud folder holds
- How to free the space without deleting anything
- Does deleting a file from iCloud Drive on Mac delete it everywhere?
- Which cloud folders are safe to make online-only?
Cloud storage doesn't live only in the cloud. Every sync app keeps some of your files on the Mac itself, and anything stored there counts against your disk like any other file. If iCloud Drive or Dropbox holds a few hundred gigabytes of files and they're all downloaded, your Mac is carrying a few hundred gigabytes of them.
Nothing has to be deleted to fix it. A downloaded file can go back to being a cloud-only placeholder, and the original stays safe online.
Why do cloud files take up space on your Mac at all?
Because a sync client works by keeping a local copy. When a file is downloaded, it sits on your disk in full, and macOS can't tell the difference between it and a file you made yourself. The only files that cost almost nothing are online-only placeholders, which show a cloud icon in Finder and download when you open them.
Since macOS 12.1, the sync apps that use Apple's File Provider framework keep their files in ~/Library/CloudStorage, in one folder per provider. Dropbox, Google Drive, OneDrive and Box all live there. If you don't see a Dropbox folder there, it's probably still at ~/Dropbox from an older install. iCloud Drive is separate, and its local copies sit under ~/Library/Mobile Documents, which Finder shows as iCloud Drive in the sidebar.
Apple's own Optimize Mac Storage switch can offload older iCloud Drive files for you when the disk gets tight. It only covers iCloud, though. Dropbox and the others manage this with their own settings, and anything marked for offline use stays on the disk until you change it.
Why is iCloud Drive taking up space on my Mac?
iCloud Drive takes up space when its files are downloaded, and three settings decide how many are. Desktop & Documents Folders syncing moves those two folders into iCloud Drive, so everything you keep on your desktop now counts as iCloud Drive storage. Optimize Mac Storage, if it's off, stops macOS from offloading anything. And any file or folder you right-clicked and marked Keep Downloaded stays on the disk until you undo it.
Check them in this order:
- Open System Settings, click your name, then iCloud and iCloud Drive.
- Look at Desktop & Documents Folders. If it's on, a cluttered desktop is part of your iCloud footprint.
- Check that Optimize Mac Storage is on, unless you work offline and want everything local.
- In Finder, open iCloud Drive and look for folders you once marked Keep Downloaded.
If Optimize Mac Storage has been off for years, expect a lot of old files to be fully downloaded.
Why is Dropbox taking up space on my Mac?
Dropbox takes up space for the same reason, with a different set of controls. Every file in the Dropbox folder is either local or online-only. Anything you've opened, synced in full or marked to keep on this Mac is local, and that's what fills the disk. Dropbox's own wording for this has changed over the years, so the menu text on your Mac may not match older guides. Look for an online-only option on the folder's right-click menu.
Dropbox also keeps a hidden .dropbox.cache folder inside your Dropbox folder, which holds temporary copies it uses while syncing and for recently deleted files. Dropbox usually empties it on its own, so you rarely need to touch it.
How to see how much each cloud folder holds
Finder can tell you in a minute, and one folder at a time is enough to find the heavy one.
- In Finder, choose Go > Go to Folder and enter
~/Library/CloudStorage. - Select a provider's folder, such as the Dropbox one, and press Cmd + I.
- Read the size. Get Info can count files that aren't downloaded, so treat the number as an upper bound; System Settings > General > Storage is the cross-check.
- Do the same for iCloud Drive in the Finder sidebar.
That gives you one number per provider. It doesn't show which folder inside it is the problem, and that's usually what you need to know. DissectMac's Space Map shows the whole drive as a treemap. Each provider's folder under CloudStorage, and iCloud Drive, appears as its own block, so the heavy one stands out and its large subfolders are visible at a glance. Scanning costs nothing.


How to free the space without deleting anything
You free the space by removing the local copy and keeping the file online. For iCloud Drive, select the files or folders in Finder, right-click and choose Remove Download. For Dropbox and the other File Provider apps, right-click and choose the online-only option (Dropbox currently words it as Make online-only), or use the same choice from the provider's menu bar app.
- Start with the largest folder from the step above.
- Right-click it in Finder and choose Remove Download or Make online-only.
- Wait for the cloud icons to appear. Your free space goes up as each file finishes.
- Repeat for the next biggest folder, and stop when you have the room you need.
Remove Download takes the copy off your Mac. It doesn't touch the file in iCloud, and it doesn't remove it from your other devices. The file stays listed in Finder and downloads again when you open it. It can take a while for the number in Storage settings to catch up.
Does deleting a file from iCloud Drive on Mac delete it everywhere?
Yes. Deleting a file from iCloud Drive on your Mac deletes it from iCloud and from every device signed in to that Apple Account, because iCloud Drive mirrors the change. That's different from Remove Download, which only clears the local copy. If you delete something by mistake, iCloud.com keeps it in Recently Deleted for 30 days, and you can restore it from there.
The same warning applies to Dropbox, where deleting inside the Dropbox folder deletes the file from the account. Dropbox keeps deleted files recoverable for a limited time, and how long depends on your plan.
Which cloud folders are safe to make online-only?
Folders you open rarely and could re-download in a few minutes are the safe ones: old projects, archived photos, past years' documents, shared folders from a client you finished with. Large video and design files are the best candidates, since they free the most space per folder.
Leave these local:
- Files you need offline, such as a travel folder or a presentation for a room with bad wifi.
- Anything you're editing right now, since apps can stall while a placeholder downloads.
- Files you'd need in an emergency, like ID scans and tax documents.
- Folders another app reads directly in the background, like a photo library or a project watched by a build tool.
If you're unsure, make a folder online-only and open one file in it. If it downloads fast enough for you, the rest is fine to offload. If the disk is still short afterwards, the cloud probably isn't the main cause, and checking Mac storage by category will show where the space went.
More guides
Check storage
How to Check Storage on Mac (And What It Hides From You)
Check storage on a Mac in System Settings, Finder or Terminal, see which files use it, and understand purgeable space and why the storage bar never adds up.
Check storage
What Is Purgeable Space on a Mac?
Purgeable space on a Mac is storage macOS can free on its own when it needs room. What's in it, why available and free differ, and how to reclaim it safely.
Check storage
Other Users & Shared Taking Up Space on Mac: What It Is and How to Clear It
Other Users & Shared in Mac storage is space used by other accounts, the Shared folder and deleted users' home folders. How to see what's in it and clear it.
Check storage
How to Find Large Files on a Mac (Storage Settings, Finder, Terminal)
Find the largest files on a Mac with the Storage panel's Large Files list, a Finder search by size, one Terminal command, or a disk map drawn to scale.