When photos go missing from Android, the most useful thing to know is how the gallery actually works.
It doesn't read your storage.
It reads a system index built by Android's media scanner, and it shows you whatever that index contains.
If the scanner skips a folder, every photo inside becomes invisible while remaining perfectly intact on the device.
That single fact reframes most cases. A file manager reads the raw filesystem and ignores the index entirely,
so opening one is the fastest way to separate a display problem from a real loss.
If the photos are in DCIM/Camera but not in the gallery,
nothing was deleted and no recovery software will help — the fix is rebuilding an index, and it's free.
Seven causes, and what each one means
| Cause | How to tell | Deleted? | How it comes back | Time limit |
|---|---|---|---|---|
| In a trash folder | Missing everywhere, present in a bin | Yes | Restore, one tap | 30 or 60 days |
| Broken media index | Visible in a file manager, not the gallery | No | Rebuild the index | None |
| A .nomedia file | One folder's photos gone, others fine | No | Delete the file, restart | None |
| Lost media permission | Gallery empty after an update | No | Re-grant permission | None |
| Free up space | Thumbnail loads, full image won't | No | Re-download from Google Photos | None |
| SD card dropped out | A whole album vanished at once | No | Reseat, or read on a computer | None |
| Second account or OneDrive migration | Missing after a swap or sync change | No | Sign into the right account | None |
Only the first row is deletion.
Six of seven are reversible for free, and five involve files that never left the device.
Two checks, about three minutes
Do these before installing anything, and in this order.
- Open every trash folder. Google Photos holds backed-up items 60 days, Samsung's Gallery bin holds 30, and OneDrive keeps a separate bin of its own. This is the only path that matters if the photos were genuinely deleted.
- Open a file manager and look at the folders directly. Enable Show hidden system files, then check DCIM, DCIM/Camera, Pictures, and WhatsApp/Media. If the photos are there, this is an index problem and everything below it applies.
One thing not to do while troubleshooting: don't factory reset.
Modern Android encrypts storage by default, so a reset discards the keys and turns a reversible problem into a permanent one.
Which case is yours
The files show up in a file manager but not in the gallery. Best possible outcome. Nothing was lost.
Go to causes 2, 3, and 4.
The gallery went empty right after a system update. Almost always a permission that was reset,
not data that was removed. Cause 4, and it takes about a minute.
One album disappeared and everything else is fine. Either a .nomedia file landed in that folder, or the storage holding it dropped out.
Causes 3 and 6.
They're absent from the folders, the gallery, and every bin. This is the deletion case,
and it's the hard one on modern Android — free scanners mostly return cached thumbnails rather than originals.
You're troubleshooting an iPhone too. Very little of this carries over;
iOS fails through sync toggles and storage optimization instead of an index, covered in the iPhone walkthrough.
The overview of why photos disappear sets both platforms next to each other.
The seven causes, one by one
1. They're sitting in a trash folder
The first thing to rule out, and the only route that recovers genuinely deleted files at full resolution.
What to do:
- Open Google Photos, tap Library, then Trash.
- Open the Gallery app's own Recycle bin — it's separate.
- On newer Samsung phones, open OneDrive, tap Me, then Recycle bin.
- Restore from wherever you find them.
- Empty nothing while you're still troubleshooting.
Samsung's bin only holds items deleted after the feature was switched on.
If it was off, the folder is empty and nothing changes that retroactively.
2. The media index broke
The most common cause that looks like data loss and isn't.
The gallery displays what the scanner catalogued; when that database is corrupted or stale, existing files simply don't appear.
What to do:
- Confirm the files exist by viewing the folder in a file manager.
- Restart the phone first — this alone triggers a rescan and often fixes it.
- If not, open Settings, then Apps, and enable showing system apps.
- Find Media Storage and clear its data to force the index to rebuild.
- Wait several minutes and reopen the gallery.
Clearing Media Storage data does not delete photos. It only discards a catalogue and thumbnail cache that Android rebuilds automatically.
3. A .nomedia file is hiding the folder
A zero-byte marker that tells the media scanner to skip a directory.
Some apps create them deliberately; sometimes one ends up in the wrong place.
What to do:
- Open a file manager and turn on Show hidden system files.
- Go to DCIM/Camera and the other photo folders, including subfolders.
- Look for a file named .nomedia, which will be 0 bytes.
- Delete only that file — never the folder or any image files.
- Restart the phone so the scanner re-reads the directory.
Deleting a .nomedia file cannot delete photos. It removes an instruction, not content.
4. The gallery lost its media permission
Android 13 introduced granular media permissions, and an app can quietly lose access after a system update,
showing an empty library while everything remains in place.
What to do:
- Open Settings, then Apps, and select your gallery app.
- Open Permissions and check Photos and videos.
- Set it to Allow all, not Allow limited access.
- Repeat for Google Photos and any other photo app you use.
- On Samsung One UI, if permissions look right but nothing shows, use Reset preferences from the menu in Settings, Apps.
This is the single most common cause of an empty gallery immediately after an update.
5. Free up space removed the local copies
Google Photos offers to reclaim storage by deleting device copies of items already backed up.
Nothing is lost, but the originals now live only in the cloud.
What to do:
- Confirm the symptom: items show in Google Photos but not in the Gallery app, or a thumbnail won't open at full size.
- Open Google Photos and find the photos in the main library.
- Select them and choose Download or Save to device.
- Check you have enough free storage for the originals to land.
- Reopen the Gallery app and let it re-index.
If the account was over its storage limit, backup may have stopped before those photos ever uploaded — check the date sync last succeeded.
6. The SD card dropped out
A whole album vanishing at once while everything else is intact usually means the storage holding it is no longer readable.
What to do:
- Power the phone off completely and reseat the card.
- If the album returns, copy it off the card immediately.
- If it doesn't, stop using the card — every write lowers your odds.
- Read the card on a computer through a card reader rather than through the phone.
- Scan it there, where none of Android's storage restrictions apply.
This is the one scenario where recovery software genuinely performs well, because a removed card behaves like any ordinary drive.
7. A second account, or a sync migration
Common after a phone swap or a repair — and on newer Samsung phones,
Gallery sync moved from Samsung Cloud to OneDrive automatically for many users.
What to do:
- Open Google Photos, tap your avatar, and check every account listed.
- Switch accounts and look at each library before changing settings.
- Open OneDrive and check both its main library and its Recycle bin.
- On Samsung, check Secure Folder, which keeps a completely separate gallery.
- On a work profile, restrictions may be intentional rather than broken.
What recovery software can no longer do here
Scoped storage closed the door on deep scanning. From Android 11 onward,
apps were restricted to their own sandbox plus public media reached through the MediaStore API.
Direct raw reads of the storage partition — the foundation of true sector-level recovery — were blocked for non-rooted apps,
and Android 14 and 15 tightened it further.
So what those apps find is mostly cache. On a modern unrooted phone, results are typically cached thumbnails, EXIF previews,
and files still indexed but not yet cleaned up.
They can look identical in a results grid and be a fraction of the resolution.
Rooting isn't the workaround it used to be. It enables full partition scanning,
but rooting a modern phone generally wipes it, voids the warranty, and risks bricking.
Wiping a device to look for deleted photos defeats the purpose.
A factory reset is final. The reset discards the encryption keys, and what remains reads as noise.
A cloud backup made beforehand is the only path left.
Internal storage and SD cards are different problems. Everything above applies to internal storage.
A removable card has none of these restrictions, which is why the desktop route works so much better.
What this costs and how long it takes
The two checks: $0, about three minutes, and they resolve or correctly classify most cases.
Rebuilding the index or clearing .nomedia: $0, five to fifteen minutes including the restart. No software, no risk to your files.
Re-granting permissions: $0, roughly one minute.
Re-downloading originals from Google Photos: $0, but plan for a while on Wi-Fi, and confirm you have the free space for them.
Recovery software, for the deletion case: free scans are widely available. Expect thumbnails from internal storage on an unrooted phone.
For an SD card read from a computer, a free open-source tool handles it with no size cap,
and the mainstream paid alternative runs roughly $89 a year or $149 lifetime. Preview before paying.
Prevention: Google One in the US starts around $1.99/month for 100 GB and $2.99/month for 200 GB, renewing automatically.
Tiers have changed recently, so check the current list.
Common questions
How do I know whether they were actually deleted? Open a file manager.
If the files are in the folder, they weren't. That check takes thirty seconds and decides everything else.
Does deleting a .nomedia file delete photos? No. It's an empty marker that tells the scanner to skip a folder.
Removing it leaves every file untouched.
Does clearing Media Storage data delete photos? No. It clears a catalogue and thumbnail cache that Android rebuilds by itself.
Why did the gallery empty out right after an update? Most often a media permission that was reset.
Check the gallery app's Photos and videos permission before assuming anything worse.
Why is the recovered photo blurry? Because it's a cached thumbnail rather than your original.
Check the file size — a modern phone camera produces several megabytes, and thumbnails are a few hundred kilobytes.
Before you install anything
Most cases of photos missing from Android are the gallery failing to see files that never went anywhere,
and a recovery app is the wrong tool for six of the seven causes above.
The file manager check costs half a minute and tells you which half of this article you're in.
So have you looked in DCIM yet?