You open the camera app to snap a quick shot of your dog doing something ridiculous, and instead you get a black screen with the dreaded "Can't connect to camera" error. Or worse, the app crashes before it even opens. This usually happens right after you've switched between apps, or when you're trying to use the camera inside a third-party app like WhatsApp or Instagram.
The error pops up on Pixel, Samsung Galaxy, Motorola, and just about every Android phone out there. It's infuriating because the phone was working fine five minutes ago.
Here's the good news: in most cases, this is a software glitch, not a broken lens. Let's fix it.
Why does this happen?
The camera app on Android is a bit of a diva. It needs exclusive access to the camera hardware. If another app grabs the camera and doesn't let go — say you switched from Snapchat to your camera app too quickly — the system gets confused and throws this error.
Other culprits include a stuck camera process, corrupted cache files, or a permissions glitch after an OS update. Samsung and Pixel phones are especially prone to this after monthly security patches.
Below are the fixes that actually work, in order. Skip straight to the one that matches your situation if you're in a rush.
Fix 1: Force close and reopen the camera app
This sounds too simple, but it solves about 30% of cases. The camera app might have a frozen process that's holding onto the hardware.
- Open Settings > Apps (or App Manager).
- Find your camera app (usually named Camera).
- Tap Force stop.
- Wait 5 seconds, then reopen the camera app.
If that didn't work, give your phone a quick restart. It clears out any lingering system glitches.
Fix 2: Check if another app is using the camera
Sometimes the culprit is a background app that has the camera active. For example, you might have a video call on hold, or a security app that's trying to scan a QR code.
- Swipe up to see your recent apps and close all of them.
- If you use a custom launcher or a camera widget, try removing that widget and re-adding it.
This happens a lot with banking apps that use the camera for check deposits. They sometimes don't release the camera properly.
Fix 3: Clear the camera app's cache and data
If the error persists, the camera app's cached data might be corrupted. This is the fix I recommend most often because it handles a huge range of random Android camera issues.
- Go to Settings > Apps.
- Tap the Camera app.
- Tap Storage (or Storage & cache).
- First tap Clear cache. Test the camera.
- If it still fails, go back and tap Clear storage (or Clear data). This resets the camera app to its default state — you'll lose any custom camera settings you've made, but it's worth it.
Note: On some Samsung phones, you'll need to tap Clear data twice to confirm. Don't worry, it doesn't delete your photos.
Fix 4: Check camera permissions
If you're seeing the error only in specific apps, not the main camera app, permissions might be the issue. After an Android update, permissions sometimes get reset.
- Open Settings > Apps.
- Find the app that's giving you trouble (like WhatsApp).
- Tap Permissions and make sure Camera is allowed.
For the main camera app, permissions should be fine, but it's worth confirming.
Fix 5: Boot into Safe Mode
If the error happens even in Safe Mode, then a third-party app is not the cause. But if the camera works in Safe Mode, you've got a conflicting app. That's actually good news — it's easier to fix.
- Press and hold the Power button.
- Tap and hold Power off until you see the Safe Mode prompt. (On Samsung, it's a bit different — you hold the power button, then tap the Safe Mode icon that appears.)
- In Safe Mode, open the camera. If it works, then it's time to uninstall recently installed apps that might be interfering.
Common troublemakers include older camera apps, flashlight apps, and even some battery saver apps that try to control the camera.
Fix 6: Update or reset the camera app (if available)
On Pixel phones, the camera app is updated through the Play Store. Sometimes a faulty update causes this error.
- Go to the Play Store, search for Google Camera or your device's camera app (like Samsung Camera).
- If there's an update pending, install it.
- If you just updated and the error started, tap Uninstall to revert to the factory version. Then disable automatic updates for that app in the Play Store settings until the next update.
On Samsung, the camera is a system app, so you can't uninstall updates via the Play Store. But you can do it from Settings > Apps > Camera > Three-dot menu > Uninstall updates. This reverts the camera app to the version that shipped with your phone, which is usually stable.
Fix 7: Check for a hardware issue (the last resort)
If none of the above helped, it might be a hardware fault. Here's how to check:
- Open a flashlight app. If the flashlight doesn't work, the camera module might have a loose connection or the camera driver is dead.
- Try the front camera. If the front works but the back doesn't, it's likely the rear camera module.
- Call your phone's diagnostic mode (on Samsung, dial
*#0*#). This opens a hidden test menu where you can test the camera directly.
If the camera fails in the diagnostic test, it's the hardware. A drop or a bump you don't even remember could have knocked the camera module's ribbon cable loose.
What if it still fails?
If you've gone through all seven steps and the camera is still dead, it's time to look at software corruption that's deeper than a cache wipe.
Your next move is a factory reset. Before you do that, back up your photos and important data. A factory reset clears out any system-level software bugs that a cache wipe can't touch. On most phones: Settings > System > Reset > Factory data reset. If that doesn't work, then it's almost certainly a hardware problem.
At that point, check if your phone is under warranty. Many manufacturers cover camera issues for at least a year. A repair shop can replace the camera module for a reasonable price (usually $50–$100) if you're out of warranty.
Quick tip before you go: if you're in a hurry and the error just started, try shaking your phone gently. Seriously. Sometimes the camera lens motor gets stuck, and a gentle shake frees it. I've seen it work more than once.