In This Article

‘android.process.media keeps stopping’ is the classic Android error that surfaces when the system Media Storage component crashes. It triggers when you try to open Gallery, take a photo, browse files, or sometimes for no obvious reason. Most of the time it is a corrupted cache or a thumbnail database that ran out of space; rarely is it a hardware fault.
This guide walks through the five-step diagnostic in order of likelihood: clear Media Storage cache, reboot, free at least 1 GB of storage, reset app preferences, and the safe-mode test. Most cases resolve at step one or two. The safe-mode test is for the long tail.
The 2026 specifics: Android 13 and later renamed Media Storage to ‘Media Storage System’ in some manufacturer skins, the Files app on Pixels exposes the cache-clear flow directly, and Google’s Storage Manager (Settings, Storage, Storage Manager) auto-frees thumbnail caches when space gets tight. Several of the older fixes (factory reset, custom recovery) are no longer needed in 2026.
TL;DR
Quickest fix: Clear Media Storage cache, reboot. Resolves most cases in 2 minutes.
If error returns: Free at least 1 GB. Storage near full is the most common root cause.
Last resort: Safe Mode test; factory reset if even Safe Mode shows the error. Rare in 2026.
Step one: clear Media Storage cache
Open Settings, Apps, then tap the three-dot menu and select Show system. Scroll to Media Storage (or Media Storage System on some skins). Tap Storage and cache, then Clear cache. Do not tap Clear storage yet; that wipes the media index and triggers a full rebuild that takes hours.
After clearing the cache, force-stop the app, then reboot the phone. The error should stop on the next boot. If it persists immediately, go to step two; if it returns after a few hours, go to step three.
On Samsung One UI: Settings, Apps, Show system, Media Storage, Storage, Clear cache. Same flow, slightly different navigation. On Xiaomi HyperOS: Settings, Apps, Manage apps, three-dot menu, Show system, Media Storage. The cache-clear button is in the same place.
Step two: clear cache for Gallery and Files
If clearing Media Storage cache alone did not resolve, the issue may be in the front-end Gallery app or the system Files app. Settings, Apps, Gallery (or Google Photos), Storage and cache, Clear cache. Repeat for Files by Google or your manufacturer Files app.
Clearing the Gallery cache does not delete photos; it only drops the thumbnail database and preview tiles. The app rebuilds these on the next launch. The rebuild takes a few minutes on a phone with 5,000+ photos; allow it to finish before testing again.
Force-stop both apps after clearing. Reboot. On most cases this completes the fix at step two.
Step three: free storage and check for the 90-percent threshold
Android storage performance degrades sharply when free space drops below 10 percent of total capacity. On a 64 GB phone, less than 6.4 GB free is a yellow flag; less than 3 GB is a red flag. Media Storage crashes are correlated with low free space because the thumbnail database cannot extend.
Free at least 1 GB if you are in the red zone. Settings, Storage, look at the breakdown, identify the biggest categories. Common wins: clear WhatsApp Media (Settings, Apps, WhatsApp, Storage), uninstall unused games (typically 1-3 GB each), clean Downloads folder, run the Files by Google Smart Cleanup.
Once free space is above 15 percent, reboot. The Media Storage component reindexes with breathing room and the error typically stops returning.
Step four: reset app preferences and the safe-mode test
If the error continues, reset all app preferences: Settings, Apps, three-dot menu, Reset app preferences. This clears all disabled-app states, all permission grants (you will need to re-grant), all background data restrictions, and default-app selections. Does not delete any user data.
After the reset, reboot and retest. If the error stops, a misconfigured permission or default-app was the cause. If not, boot to Safe Mode (hold Power, long-press Power off, tap Safe Mode). In Safe Mode only system apps run; if the error stops there, a third-party app is the culprit; uninstall recent installs one by one.
If the error continues in Safe Mode after clearing caches and freeing space, you are looking at corrupted system data and a factory reset is the next step. Back up first. Settings, System, Reset, Factory data reset. This is rarely needed in 2026; we have seen the steps above resolve over 90 percent of media-process crashes without a factory reset. For the broader Android troubleshooting playbook, the BFA piece on other common Android crashes covers similar diagnostic flows.
Quick take
Step one (clear Media Storage cache, reboot) resolves the majority of ‘android.process.media keeps stopping’ cases.
If step one fails, the next-best move is to free at least 1 GB of storage. Most chronic cases trace to a near-full disk.
At a glance
| Step | What to do | Time | Resolves what |
|---|---|---|---|
| 1. Clear Media Storage cache | Settings, Apps, show system, Media Storage, Clear cache, reboot | 2 min | Most cases |
| 2. Clear Gallery and Files cache | Same for Gallery and Files app | 2 min | Thumbnail-related crashes |
| 3. Free storage above 15% | Files Smart Cleanup; uninstall unused apps | 5-10 min | Low-space crashes |
| 4. Reset app preferences | Settings, Apps, three-dot, Reset preferences | 1 min | Permission/default-app conflicts |
| 5. Safe Mode + factory reset | Boot to Safe Mode; full reset if needed | 10-60 min | System data corruption (rare) |
FAQ
Will clearing Media Storage cache delete my photos?
No. The cache stores thumbnails and the media index, not the photos themselves. After you clear the cache, the Gallery app rebuilds the thumbnails on next launch. Photos in DCIM, Pictures, and external storage are untouched.
Why does this error happen mostly on older Androids?
Android 11 and earlier had a less resilient Media Storage component that crashed more under low-space and corrupted-thumbnail conditions. Android 13 and later are markedly more stable. If you are still on Android 10 or 11 and seeing chronic crashes, OS update is the long-term fix where available.
Should I ‘Clear storage’ instead of ‘Clear cache’?
Only as a last step. Clear storage wipes the entire media index, forces a full reindex of every file on the device, and can take hours on a phone with many photos. Try Clear cache first; only escalate to Clear storage if cache-clear alone does not resolve.
Is there an app that can prevent this?
Files by Google with Smart Cleanup enabled (auto-clears caches when space drops below threshold), and the Google Storage Manager that ships on Pixels. Both are free, both run quietly in the background, and both materially reduce the chance of the error returning.
Could this be malware?
Rarely. If the error correlates with installing a sideloaded APK, possibly. The cleanup steps in the BFA pop-up ads diagnostic also catch ad-fraud SDKs that can corrupt Media Storage. For a clean phone, the cache and storage steps above are sufficient.
Why does the error sometimes return after a few weeks?
Storage filled back up. The Media Storage component is sensitive to low free space. Keep the device above 15 percent free, run periodic cleanups, and the error stays gone.
The verdict
‘android.process.media keeps stopping’ is one of the most-fixable Android errors in 2026. Five minutes of cache-clearing and reboot resolves the typical case. Freeing a gigabyte of storage handles the chronic returns.
The error is also one of the most-misdiagnosed: forum posts often jump straight to factory reset or custom recovery, neither of which is needed for the modern Android cases we tested. Work the steps in order; resist the urge to nuke the phone before clearing the simple caches.
If the error returns repeatedly, the underlying cause is almost always low free storage. Keep the phone breathing-room free, run Smart Cleanup, and the error stays gone.
How we put this guide together
We reproduced the error on a Pixel 4a running Android 13, a Galaxy A52 running One UI 6, and a Xiaomi Redmi Note 11 running HyperOS in May 2026. The diagnostic was run with three controlled conditions (full disk, corrupted thumbnail database, misconfigured permission) and the five-step fix path resolved each within fifteen minutes. We update this guide when Android changes the Media Storage component structure or when a major manufacturer skin reorganizes the Settings app navigation.















