Sub topic 3
Turning on iCloud Drive on your Mac
This chapter assumes you have an Apple Account, can move around System Settings and Finder, and know what files and folders are. It covers turning iCloud Drive on, confirming the right account is signed in, choosing what syncs, and fixing the errors that most often block setup. Storage quotas were covered in the previous chapter, so this one only touches them where they affect setup.
What you are switching on
iCloud Drive is a sync service. Turning it on does three things:
- It creates a local iCloud Drive folder on your Mac.
- It starts a background process that uploads changes from that folder and downloads changes made on your other devices.
- It lets apps that support iCloud save their documents there.
The cloud holds the master copy. Your Mac holds local copies, and whether a given file is stored in full depends on the storage settings covered in later chapters.
Before you start, check that you are signed in to the correct Apple Account. iCloud Drive belongs to one account at a time. If you sign in with a second, older Apple Account by mistake, your files will go to that account's storage and your other devices will not see them.
Check the signed-in account
- Open the Apple menu and choose System Settings.
- Look at the top of the sidebar. Your name and Apple Account email appear there.
- Select your name, then select iCloud.
If the sidebar shows Sign in instead of your name, select it and enter your Apple Account email and password. You may be asked for a verification code sent to another device you own.
Turn on iCloud Drive
The exact labels shift slightly between macOS versions. On recent versions (macOS Ventura and later) the steps are:
- In System Settings, select your name, then iCloud.
- Select Drive (some versions label it iCloud Drive).
- Switch on Sync this Mac.
Once it is on, a iCloud Drive entry appears in the Finder sidebar and in the Go menu. If you do not see it in the sidebar, open Finder, choose Finder > Settings > Sidebar, and tick iCloud Drive.
On older macOS versions, the switch lives under System Preferences > Apple ID > iCloud, where you tick the iCloud Drive box.
Choose which apps can store files
In the same Drive settings pane, a list of apps appears with a switch for each. These are apps that save their own documents in iCloud Drive, such as Pages, Numbers, Keynote, Preview, and TextEdit. Each app gets its own folder inside iCloud Drive.
- If an app is on, its documents sync and appear in that app's folder.
- If an app is off, the app saves files only on this Mac, and its folder stops showing new documents from other devices.
Leave these on unless you have a reason to keep a specific app's files local. Turning an app off does not delete files already in the cloud.
Decide about Desktop and Documents
The Drive pane also has a Desktop & Documents Folders option. When on, the contents of both folders move into iCloud Drive and sync to your other devices. This is a larger decision than the basic switch, because it changes where your files physically live. The chapter on syncing Desktop and Documents covers it in full. For now it is safe to leave it off and turn on only the basic iCloud Drive sync.
How the setup flows
The following diagram shows the decisions between opening Settings and having a working sync.
Confirm that it works
Turning on the switch is not proof that syncing works. Test it with a harmless file.
- Open Finder and select iCloud Drive in the sidebar.
- Drag in a small text file or image.
- Watch the file. A small cloud with an upward arrow, or a progress circle, means it is uploading. When the icon disappears, the upload is finished.
- On another device signed in to the same Apple Account, open the Files app (iPhone or iPad) or visit iCloud.com and look for the file.
You can also confirm from Terminal that the local folder exists. macOS stores iCloud Drive in a hidden-from-view system path:
ls -la "$HOME/Library/Mobile Documents/com~apple~CloudDocs"If the folder lists your test file, the local side is working. If the command reports "No such file or directory", iCloud Drive is not on for this user account. Terminal may also need Full Disk Access in System Settings > Privacy & Security before it can read some paths under Library. If you get "Operation not permitted", grant Terminal that access and restart it.
Common errors and fixes
| Symptom | Likely cause | Fix |
|---|---|---|
| No **Drive** option under iCloud | Not signed in, or sign-in is incomplete | Sign in again from the top of System Settings and complete verification |
| **Sync this Mac** is on but nothing uploads | No network, or storage is full | Check your connection, then check the storage bar in iCloud settings |
| iCloud Drive missing from Finder sidebar | Sidebar item is hidden | Tick it in **Finder > Settings > Sidebar** |
| Files appear on Mac but not on iPhone | Different Apple Accounts on each device | Compare the account email on both devices |
| Prompt to merge or keep Desktop and Documents | You turned on Desktop & Documents with existing cloud content | Read the prompt carefully before choosing; see the Desktop and Documents chapter |
| Sign-in loop or repeated password prompts | Stale credentials or a Date and Time mismatch | Set **Date & Time** to automatic, then sign out and back in |
When the account is wrong
If you discover that the Mac is signed in to the wrong account, do not simply sign out. Signing out asks whether to keep a copy of iCloud data on the Mac, and the choices affect your files:
- Keep a Copy leaves a local copy of the data on this Mac, which is the safer choice.
- Signing out without keeping a copy removes the local cloud files, and they remain only in the cloud account.
Copy anything you want to keep to a normal folder, such as ~/Documents, before you switch. Then sign out, sign in with the correct account, and turn on iCloud Drive again.
Slow first sync
The first sync can take hours if you have many files or a slow upload connection. Upload speed is usually the limit, not download speed. Leave the Mac awake and plugged in. A Mac that sleeps pauses syncing and resumes when it wakes. Do not restart the sync process unless progress has clearly stopped for a long time. Later chapters cover diagnosing stalled syncs in detail.
Things to keep in mind
- iCloud Drive is a sync service, not a backup. If you delete a file on one device, it is deleted on the others. Deleted files stay in Recently Deleted for a limited time, but do not rely on that as a backup.
- Setup is per Mac user account. If several people use one Mac with separate macOS accounts, each one turns on iCloud Drive for their own Apple Account.
- Turning on iCloud Drive does not move your existing files. Only files you put in the iCloud Drive folder, or in Desktop and Documents if you enable that option, are synced.
Exercise
You turn on Sync this Mac, drag a file into iCloud Drive in Finder, and it uploads. On your iPhone the file does not appear. Name two checks you should make and what each would reveal.
Show answer
First, compare the Apple Account email on the Mac (System Settings, top of the sidebar) with the one on the iPhone (Settings, top of the screen). If they differ, the two devices are using different accounts and will never share files. Second, confirm that iCloud Drive is switched on for the iPhone under Settings, your name, iCloud, Drive, and that the iPhone has a network connection. You can also check the Mac for an upload icon that has not finished, which would mean the file has not yet reached the cloud.
Exercise
You run ls -la "$HOME/Library/Mobile Documents/com~apple~CloudDocs" and get "No such file or directory". What does that most likely mean, and what do you do?
Show answer
It most likely means iCloud Drive is not turned on for the current macOS user, or the Mac is not signed in to an Apple Account. Open System Settings, check that your name appears at the top of the sidebar, select iCloud, then Drive, and switch on Sync this Mac. Run the command again afterward.