Where are photos stored on Mac?
The Photos app keeps your pictures and videos in one item called Photos Library, in the Pictures folder of your home folder (~/Pictures/Photos Library.photoslibrary). It looks like a single file, but it is a package with the original files inside, and the safe way to get them out is to export them from Photos. This guide covers the library, the originals, iCloud Photos, hidden photos, and the image files that never went into Photos at all.
1. Find the Photos library
- In Finder, choose Go › Home (⇧ ⌘ H) and open Pictures.
- Look for Photos Library. Select it and press ⌘ I to see how much space it uses.
You can also choose Go › Go to Folder (⇧ ⌘ G) and type ~/Pictures. Each user account has its own Pictures folder and its own library. The first library you create is the System Photo Library, the only one that works with iCloud Photos and Shared Albums.
If the library is not in Pictures, it was moved or you have more than one. Hold ⌥ Option while you open Photos: a window lists the libraries the app knows about, and Choose Library opens the one you select. The Terminal command in section 6 lists every library with its full path.
2. What is inside the library package
Photos Library is a package: a folder that Finder shows as one item. Control-click it and choose Show Package Contents to see folders such as originals, database and resources. The files you imported are under originals, renamed and sorted into subfolders by the app, next to the database that holds your albums, edits and keywords.
Look, but change nothing. Apple's Photos guide says not to access or alter the contents of a library in Finder, and to export files first if you want to copy, move or transfer them. Moving or renaming a file inside the package leaves the database pointing at something that is no longer there.
3. Get the original files out
Exporting gives you ordinary files in a folder you choose and leaves the library untouched:
- Drag: drag photos from the Photos window to a Finder window or the desktop. Apple calls this the easiest way to export.
- Export with options: select the photos and choose File › Export › Export [number] Photos, pick the format and click Export.
- Export the originals: choose File › Export › Export Unmodified Original. The files come out in the format they were imported in, without your edits. A Live Photo exports as two files.
An exported copy is a normal file from then on, and deleting it does not touch the photo in the library. If you lose track of where you saved it, how to find the path of a file on Mac shows the quickest ways to see its folder.
4. iCloud Photos: are the originals on this Mac?
With iCloud Photos turned on, the answer depends on one setting. Choose Photos › Settings and click iCloud:
- Download Originals to this Mac stores the full-size versions on your Mac and in iCloud.
- Optimize Mac Storage stores smaller versions on your Mac when space is limited and keeps the full-size originals in iCloud.
So with Optimize Mac Storage, some originals may not be on the disk at all until Photos downloads them, which is one more reason to export from the app and not copy files out of the package. iCloud Photos is separate from iCloud Drive: your photos do not show up as files in the iCloud Drive folder in Finder.
5. Photos that are not in the Photos app
Photos only knows about what was imported into it. Pictures saved from a browser, sent by email or copied from a camera card are plain files wherever they were saved, usually in Downloads, Documents or on the desktop. Screenshots have their own default folder; see where screenshots are saved on Mac. Photo Booth keeps its pictures in Photo Booth Library, another package in the Pictures folder.
Two more cases:
- Referenced files. If Copy items to the Photos library is deselected in Photos › Settings › General, imported files stay where they were and Photos only points at them. Select such a photo and choose File › Show Referenced File in Finder to open its folder. File › Consolidate copies referenced files into the library.
- A library on an external drive. Apple's steps for moving a library are to quit Photos, drag Photos Library to the drive and double-click it there. That library is available only while the drive is connected. If the drive is missing from Finder, see how to find a USB or external drive on Mac.
6. Terminal
These commands only read:
# what is in your Pictures folder
ls -la ~/Pictures
# every Photos library Spotlight knows about, with its path
mdfind "kMDItemContentType == 'com.apple.photos.library'"
# how much space the library uses
du -sh ~/Pictures/Photos\ Library.photoslibrary
"Operation not permitted" means macOS is keeping the Terminal away from your photos. Photos and the Pictures folder are protected, and the Terminal can read them only if you allow it in System Settings › Privacy & Security. Finder's ⌘ I gives you the size without that step.
7. How to find hidden photos
A photo you hid in Photos is still in the library. It is kept out of the main view, in an album that is itself hidden and locked by default:
- In Photos, choose View › Show Hidden Photo Album.
- Click Hidden below Utilities in the sidebar.
- If the album is locked, click View Album and follow the instructions to unlock it with your password or Touch ID.
- To bring photos back, Control-click them and choose Unhide [number] Photos.
To hide photos, select them in the Library and choose Image › Hide [number] Photos. View › Hide Hidden Photo Album removes the album from the sidebar again.
Hidden image files outside Photos are a different thing: files whose names start with a dot, or files inside hidden folders. Press ⌘ ⇧ . in a Finder window to show them. How to find hidden files on Mac covers the other ways.
8. Find loose photos with Everything Locator
The Photos app organizes what is in its library. The image files outside it are the ones that get lost: exports from three years ago, camera folders copied to a drive, pictures saved from messages. Everything Locator (free to try) indexes your home folder, iCloud Drive and the external drives you add, and finds files by name, type, size and date as you type. It does not look at what is in a picture, so it cannot search for faces or places.
| Search | Finds |
|---|---|
pic: | every image file in the index (sort by date with ⌘ 6) |
ext:heic;jpg;png dm:thismonth | photos saved or changed this month |
IMG_ ext:heic;jpg;mov | camera files that still have their IMG_ names |
pic: dc:2025 | image files created in 2025 |
pic: size:>10mb | large images, such as RAW files and big exports |
/Volumes/ pic: | image files on the external drives you added |
folder: .photoslibrary | every Photos library, with its folder in the Path column |
The Pictures filter (⌥ ⌘ 5) limits any search to images. Press Space to preview a result with Quick Look and ⌘ Return to show it in Finder.
Photos inside the Photos library do not appear in these results. The contents of apps and packages are left out of the index by default (Settings › Indexing), and macOS restricts which apps may read the library. That is the right default: files inside the package are named by the app, not by you, and they are not meant to be opened or moved one by one. Export the photos you want as files, and they become searchable like anything else.
FAQ
Where are the actual photo files on my Mac?
Inside the Photos Library package in your Pictures folder, under originals. To use one as a file, export it from Photos with File › Export › Export Unmodified Original; do not move files out of the package.
How do I find hidden photos on a Mac?
In Photos, choose View › Show Hidden Photo Album, then click Hidden below Utilities in the sidebar and unlock the album. For image files hidden in Finder, press ⌘ ⇧ . in the folder.
Can I move the Photos library to an external drive?
Yes. Apple's instructions are to quit Photos, drag Photos Library to the drive and double-click it in its new place. The drive must be formatted as APFS or Mac OS Extended (Journaled), and it cannot be a drive used for Time Machine backups. Apple also advises against SD cards, USB flash drives and network drives.
Why is my Photos library so big?
It holds every original plus previews and edits. With iCloud Photos, Optimize Mac Storage lets the Mac keep smaller versions when space runs low. For everything else that fills a disk, see how to find large files on Mac.
Are deleted photos still stored on the Mac?
For 30 days, in Recently Deleted inside Photos, not in the Trash. How to recover deleted files on Mac has the steps.
Find every picture you saved as a file
Everything Locator searches your Mac and the drives you add by name, type, size and date.