![](https://help.apple.com/assets/61E86DE4C4014C13661EB419/61E86DEAC4014C13661EB421/en_US/f1e225cbd2d09efe77ff8d1f7aaecc6d.png)
Back up the library in Photos on Mac
Even if you use iCloud Photos, it’s important that you always back up your library locally using one of the following methods:
Use Time Machine: After you set up Time Machine, it automatically backs up the files on your Mac. If you ever lose the files in your Photos library, you can restore them from the Time Machine backup. For more information about setting up Time Machine, see Back up your files with Time Machine.
WARNING: If a Photos library is located on an external drive, don’t use Time Machine to store a backup on that external drive. The permissions for your Photos library may conflict with those for the Time Machine backup.
Manually copy your library to an external storage device: Drag the Photos library (by default in the Pictures folder on your Mac) to your storage device to create a copy.
If you have more than one photo library, be sure to back them all up.
Important: If any of your image files are stored outside your photo library, those files (known as referenced files) aren’t backed up when you back up your library. Be sure to back up those files separately. To make it easier to back up all your image files at once, you can consolidate referenced files into your library. See Change where Photos stores your files.