On your iPhone or iPad
- Go to Settings, then tap your name.
- Tap iCloud > Photos.
- Deselect “Sync this [Device]” to turn off iCloud Photos.

On your Mac
- Open the Photos app, then choose Photos > Settings or Photos > Preferences.
- Click iCloud, then deselect iCloud Photos.