How to Stop macOS from Automatically Saving Files to iCloud

The Default Save Location

Apple heavily integrates its iCloud storage service throughout macOS. When you create a new document in many native Apple applications (like Pages, Numbers, Keynote, or even TextEdit), the default save location is often set to the application’s specific folder within iCloud Drive, rather than your local hard drive. While this ensures your documents are instantly available on your iPhone or iPad, it can rapidly consume your limited free 5GB iCloud storage tier. Furthermore, if you are working with sensitive, confidential files, or if you simply prefer keeping your data strictly localized to your machine, having the OS default to a cloud upload is a significant privacy concern.

Overriding the iCloud Save Default via Terminal

To force local storage as the primary option and stop macOS from automatically saving new files to iCloud by default, you need to execute a specific command to change a hidden system preference.

While some individual apps let you change this behavior in their specific preferences, the most effective method is a global override using the Terminal. Open the Terminal application (found in Applications > Utilities, or via Spotlight search). Type or paste the following command exactly as written: defaults write NSGlobalDomain NSDocumentSaveNewDocumentsToCloud -bool false and press Enter. There will be no confirmation message, but the change takes effect immediately (you may need to restart any currently open applications). From now on, when you hit “Save” on a new document, the save dialog box will default to a local directory (like your Documents folder) rather than iCloud Drive. To reverse this change, run the same command but replace false with true.

Get the best tech tips delivered straight to your inbox.

Join thousands of readers mastering Apple, Google, Microsoft, and Linux.