Find Photos Files on Mac: 5 Ways
In this article
To find photo files on a Mac, use the Photos app, Finder, or Spotlight Search. This article explains each method, how to locate the original files on disk, and how to handle common issues like missing files or external libraries.
Where Photos Are Stored by Default
When you import photos into the Photos app, they are copied into a special library file called Photos Library.photoslibrary. By default, this library is stored in your Pictures folder: /Users/yourusername/Pictures/Photos Library.photoslibrary. The library appears as a single file, but inside it is a folder structure that contains the actual image and video files. The master originals are kept in a subfolder named originals, organized by year and month. If you have iCloud Photos enabled, the originals may be stored in iCloud instead of on your Mac, with only optimized versions on disk.
To see the files inside the library, right-click the library file and choose Show Package Contents. Navigate to originals and you’ll find folders like 2023, 2024, etc. Inside each, the files are named with a long string of numbers and letters (e.g., IMG_1234.jpg is not the actual name; it’s something like DSCF1234.jpg or a UUID). The file names may not match the titles you see in the Photos app, so it’s often easier to export photos from the app rather than digging into the package contents.
Method 1: Use the Photos App
The Photos app is the primary way to view and manage your photo library. To find a specific photo, open Photos and use the search bar at the top right. You can search by date, location, or even the content of the photo (e.g., “beach” or “dog”) if you have macOS 10.15 or later. To locate the file on disk for a single photo, select it and press Command+Shift+F to reveal the file in Finder. Alternatively, right-click the photo and choose Show in Finder. If the photo is in iCloud and not downloaded, you may need to download it first by clicking the cloud icon.
If you want to export a photo as a standalone file, select it and go to File > Export > Export Unmodified Original. This gives you the original file without any edits, with its original name and format. For edited versions, use Export and choose the format and quality.
Method 2: Use Finder
Finder lets you browse your entire hard drive, including the Photos Library. To find the library, open Finder and go to Go > Home, then open the Pictures folder. You’ll see the Photos Library.photoslibrary file. If you want to search for a specific photo file by name, use Finder’s search bar (Command+F) and select “This Mac” as the search location. Type the file name or extension (like .jpg or .heic). Finder will search the whole drive, but it may not search inside the Photos Library package by default. To include it, click the “+” button in the search bar, select “Other” and then “File visibility”, and choose “Invisible files”. This is a bit advanced; most users find it easier to export from the Photos app.
If you have a non-default library (e.g., you created a second library on an external drive), you can locate it by holding the Option key while opening Photos. This brings up a dialog showing all known libraries, and you can click “Other Library” to browse for it.
Method 3: Use Spotlight Search
Spotlight can find photos by name, date, or even content (if you have macOS 10.15+). Press Command+Space to open Spotlight, then type the name of the photo or a keyword. Spotlight will show results from the Photos app and from files on disk. To see the file in Finder, click the result and press Command+Enter to reveal it in Finder. Spotlight searches the metadata of your photos, so if you know the date or location, you can type that as well. For example, typing “July 2020” will show photos taken in that month.
One limitation: Spotlight may not index the contents of the Photos Library package, so it won’t find photos by their internal file names. But it will find them by the titles, keywords, and faces you’ve added in the Photos app.
Method 4: Use Terminal (Advanced)
If you’re comfortable with the command line, you can use Terminal to locate the Photos Library and list its contents. Open Terminal and type:
find ~/Pictures -name "*.photoslibrary" -type d
This will show the path to your library. To list all the original files inside, use:
find ~/Pictures/Photos\ Library.photoslibrary -name "*.jpg" -o -name "*.heic" -o -name "*.png"
This will output a long list of files with their full paths. You can then copy or move them as needed. However, be careful not to modify the library structure directly, as it can corrupt the Photos database. Use Terminal only for viewing or copying files, not for deleting or moving them within the library.
Common Problems and Solutions
Problem: I can’t find the Photos Library in Pictures folder. It might be stored elsewhere. Open Photos, go to Photos > Preferences > General, and click “Show in Finder” next to the library name. This reveals the exact location.
Problem: Photos are in iCloud, not on my Mac. If you have iCloud Photos enabled, the originals may be in the cloud. To download them, select the photos in the Photos app and right-click > Download. They will then be stored locally. You can also change your iCloud settings to “Download Originals” instead of “Optimize Mac Storage”.
Problem: I see a file but it’s not the original. If you’ve edited a photo, the original is still stored inside the library, but the edited version is what you see. To get the original, use File > Export > Export Unmodified Original.
Problem: The library is huge and I want to free up space. You can export photos to an external drive and then delete them from the library, but be careful: deleting from the Photos app will also delete them from iCloud if you have iCloud Photos. Always back up before deleting.
Frequently Asked Questions
How do I find a photo by its file name?
If you know the original file name (like IMG_1234.jpg), you can search in Finder using Command+F and type the name. However, the Photos app renames files to a unique identifier, so the file name you see in the app may not match the disk name. To find the disk name, select the photo in Photos and press Command+Shift+F to reveal it in Finder.
Can I move the Photos Library to an external drive?
Yes, you can move the entire library to an external drive. Quit Photos, drag the library file to the external drive, then hold Option and open Photos to select the new location. This is useful for freeing up space, but make sure the external drive is always connected when you use Photos.
Why can’t I find the originals folder?
If you don’t see the originals folder when you right-click the library and choose Show Package Contents, it may be because your library is still using an older format. In that case, the files are directly inside the Masters folder. Also, if you have iCloud Photos enabled, the originals may not be on disk at all.
How do I export all photos at once?
In the Photos app, select all photos (Command+A), then go to File > Export > Export Unmodified Original (or Export for edited versions). Choose a destination folder and click Export. This will create a folder with all the files, keeping the original file names.
What is the difference between “Export” and “Export Unmodified Original”?
“Export” lets you choose a format (JPEG, TIFF, PNG) and quality, and it exports the edited version of the photo. “Export Unmodified Original” exports the original file exactly as it was imported, without any edits, and preserves the original format (e.g., HEIC, RAW).
Can I use Finder to search inside the Photos Library?
Finder’s search does not index the contents of the library package by default. To search inside, you can use Terminal with the find command, or you can use the Photos app’s search feature, which searches metadata like titles, keywords, and locations.