How to Fix Can't Connect to the Camera on Android
What "Can't connect to the camera" means
You open the camera to snap a photo and instead of the viewfinder you get a short, unhelpful pop-up: "Can't connect to the camera." The app usually closes right after the message appears, and retrying from the home screen or the lock-screen shortcut gives the same result. On some phones the message appears only when you switch between the front and rear cameras, or when you open the camera from inside another app like WhatsApp or Instagram.
Despite how alarming it sounds, this message is the camera app's generic way of saying "I couldn't get access to the camera." In the overwhelming majority of cases, the camera sensor itself is perfectly healthy. What broke is the software handshake between the app and the hardware: another app opened the camera and never properly released it, the camera permission was revoked, the app's data got corrupted, or the phone is so low on storage that the camera can't start. Android enforces a strict rule here — only one app can use the camera at a time — so a forgotten flashlight app or a video call left running in the background is enough to block the stock camera completely. True hardware failure exists, but it's rare, which is why the fixes below start with software and only point to a repair shop as a last resort.
The good news is that this error is well documented across Samsung, Pixel, Xiaomi, and other Android phones and responds reliably to a simple ladder of fixes. Most people are shooting again by step 2 or 3, with nothing lost and no special tools required.
Common causes
- Another app holding the camera: only one app can use the camera hardware at a time. If a flashlight app, a video-calling app, or another camera app opened the camera and never released it, the stock camera app gets refused and shows this error.
- Missing or revoked camera permission: if the camera permission is denied for the camera app, or was reset by a system update or a privacy feature, the app cannot connect to the hardware at all.
- Corrupted camera app data or cache: a bad update, an interrupted capture, or accumulated temporary files can stop the camera app from connecting every time it launches. Clearing the cache and data usually resolves this.
- Conflicting third-party apps: other camera apps, flashlight apps, QR code scanners, and video-calling apps can interfere with the stock camera's access to the hardware, especially if they were recently installed or updated.
- Nearly full storage: the camera needs free space to hold preview frames and save captured media. When free space drops to almost nothing, the camera app can fail on launch instead of taking a photo.
How to fix it — step by step
Work through these fixes in order. Most people are fixed by step 3.
- Restart your phone. A plain restart is the fastest fix and resolves this error more often than people expect. Press and hold the power button, tap Restart, and let the phone boot fully. Once it's back up, open the camera app before launching anything else. If the camera opens normally now, another app was holding the camera hardware in the background, and you're done. If the error returns, move on to step 2.
- Force stop the camera app and clear its cache. If a restart didn't help, stop the camera app and wipe its temporary data. Go to Settings > Apps > See all apps > Camera and tap Force stop, then confirm. Next, tap Storage & cache and tap Clear cache. This deletes corrupted temporary files that can stop the camera from connecting — it does not touch your photos, videos, or camera settings. Open the camera app again and try taking a photo.
- Close other apps using the camera and check the camera permission. Only one app can use the camera hardware at a time, so a flashlight app, a video-calling app, or another camera app left running in the background can block the stock camera. Swipe away recent apps, then open the camera again. Also check the permission: go to Settings > Apps > See all apps > Camera > Permissions and make sure Camera is set to Allow only while using the app. If the permission was denied or set to Don't allow, the camera app cannot connect at all.
- Test in Safe Mode and remove conflicting apps. A third-party app can be fighting the stock camera for access to the hardware. Press and hold the power button, then press and hold the Power off option until Reboot to safe mode appears, and tap it. In Safe Mode, only pre-installed apps run — open the stock camera. If it works in Safe Mode, a downloaded app is the culprit. Restart the phone normally, then uninstall recently installed camera, flashlight, QR scanner, or video-calling apps one at a time, testing the stock camera after each one.
- Clear the camera app's data and update the app and system. Still failing? Go back to Settings > Apps > See all apps > Camera > Storage & cache and this time tap Clear data (or Clear storage) and confirm. This resets the camera app to a fresh state — your saved photos and videos are stored separately and are not deleted, but you'll lose custom camera settings, which you can set again. Then check for updates: open the Play Store, search for your camera app, and install any update, and go to Settings > System > System update to install any pending system update. Open the camera and check whether the error is gone.
- Free up storage and do a final check. The camera app can fail when the phone is nearly out of space, because it has nowhere to write preview frames or saved photos. Go to Settings > Storage and check how much free space you have. If you're under about 1 GB free, delete or back up photos, videos, and unused apps until you have several gigabytes available, then restart the phone and open the camera again. If the camera still fails after this — especially if it also fails in Safe Mode — back up your data and consider a factory reset (Settings > System > Reset options > Erase all data), or have the phone checked at a service center if you suspect a hardware problem.
Did this fix it? Quick checklist
- The camera app opens to the live viewfinder without the "Can't connect to the camera" message
- You can take a photo and the photo appears in your gallery
- You can switch between the front and rear cameras and record a short video
- All your existing photos and videos are still in the gallery
If the error persists after all six steps — especially if the camera fails in Safe Mode too — the camera module itself may have a hardware fault. Back up your data and visit an authorized service center rather than continuing with software fixes.
Frequently asked questions
What does Can't connect to the camera mean on Android?
It means the camera app tried to open the camera hardware and was refused. The camera sensor is usually fine — the failure is almost always software: another app holding the camera, a missing camera permission, corrupted camera app data, or critically low storage.
Can another app really block my camera?
Yes. Android lets only one app use the camera at a time. If a flashlight app, a video-calling app, or another camera app is still running in the background with the camera open, the stock camera app gets refused and shows Can't connect to the camera. Closing recent apps or restarting the phone releases the camera.
Will clearing the camera app's data delete my photos?
No. Clearing camera app data only resets the app's settings and cached files. Your photos and videos are saved separately in your phone's gallery storage and are untouched. You'll just need to re-set preferences like aspect ratio or shooting mode afterward.
Why does the camera work in Safe Mode but not normally?
Because Safe Mode disables all third-party apps. If the stock camera works there, a downloaded app — commonly another camera app, a flashlight app, a QR scanner, or a video-calling app — is blocking the camera hardware in normal mode. Uninstalling the conflicting app fixes it.