Fix Screen Overlay Detected Error on Android
In this article
The "Screen overlay detected" error is a common Android permission issue that appears when an app tries to request a permission (like camera, location, or storage) while another app is drawing over the screen. This usually happens with apps that use overlays, such as brightness adjusters, battery savers, or chat heads. The fix involves temporarily disabling these overlays, granting the permission, and then re-enabling them. This guide walks you through the process step by step.
What You'll Need
- Your Android smartphone (the steps are for Android 6.0 and newer, which is where this error originates)
- Access to the Settings app
- Knowledge of which apps you have installed that might use overlays (e.g., Facebook Messenger, Twilight, Blue Light Filter, or any "floating" app)
Step-by-Step
- Read the error message carefully. When the "Screen overlay detected" dialog appears, it usually says "To change your screen overlay settings, first open Settings > Draw over other apps." Note the name of the app that triggered the error (the one asking for permission). You'll need to know this later.
- Open Settings. Tap the notification or go to your app drawer and open the Settings app (the gear icon).
- Navigate to the "Apps" or "Applications" section. The exact name varies by manufacturer (e.g., "Apps & notifications" on Pixel, "Applications" on Samsung, "App management" on Xiaomi).
- Tap the three-dot menu (⋮) in the top-right corner. This menu usually contains options like "Special access" or "Configure apps."
- Select "Special access" (or "Advanced"). This opens a list of special app permissions.
- Tap "Display over other apps" (or "Draw over other apps"). This is the exact setting that controls overlays.
- You'll see a list of apps that can draw over other apps. Look for any app that has the toggle switched ON. Common culprits include:
- Facebook Messenger (for Chat Heads)
- Blue light filter apps (e.g., Twilight, Night Screen)
- Battery saver apps
- Screen recorder apps
- Any app with a floating widget or bubble
- Turn OFF the toggle for the app(s) that are likely causing the issue. If you're not sure which one, turn them all off temporarily. This is the core fix.
- Go back and try to grant the permission again. Open the app that originally showed the error, and attempt the action that triggered it (e.g., taking a photo, accessing location). The permission dialog should now appear normally.
- Grant the permission. Tap "Allow" when prompted.
- Re-enable the overlays. After you've granted the permission, go back to Settings > Apps > Special access > Display over other apps, and turn the toggles back ON for the apps you disabled. This restores their normal functionality.
Common Mistakes
- Not identifying the right app: Many users disable the wrong app. The error message usually doesn't name the overlay app; it names the app that's trying to get the permission. You have to manually check which overlays are active.
- Disabling system apps: Some system apps (like Android System) may have the overlay permission enabled by default. Avoid turning those off unless you're sure they're the cause, as it might affect system functionality.
- Forgetting to re-enable overlays: After granting the permission, if you forget to turn the overlays back on, you'll lose features like Chat Heads or blue light filtering. Always re-enable them.
- Clearing app data instead: Some users try to fix the issue by clearing the app's data or cache. This often doesn't work because the problem is with the overlay permission, not the app's data.
- Restarting the phone unnecessarily: A restart doesn't fix the overlay issue. The permission state remains the same after a reboot.
Tips
- Use the "Search" function in Settings: Instead of navigating through menus, search for "Draw over other apps" or "Display over other apps" directly in the Settings search bar. This is much faster.
- Disable overlays in batches: If you have many apps with overlays, disable them all at once, grant the permission, then re-enable them one by one to see which one was causing the issue.
- Update your apps: Sometimes the error is caused by a bug in an app. Updating all your apps from the Play Store can resolve it.
- Use the "App info" shortcut: When the error appears, you can often tap "Open settings" in the dialog, which takes you directly to the app's info page. From there, go to "Advanced" > "Display over other apps" to toggle it off.
- Consider uninstalling unused overlay apps: If you rarely use an app that has overlay permission, uninstall it to reduce the chance of this error.
Troubleshooting
If the error persists after following the steps above, try these additional measures:
- Check for "Picture-in-Picture" (PiP) apps: PiP is a form of overlay. Go to Settings > Apps > Special access > Picture-in-picture and disable PiP for apps that might be active (like YouTube or Google Maps).
- Boot into Safe Mode: Safe Mode temporarily disables all third-party apps. To enter Safe Mode, press and hold the power button, then tap and hold "Power off" until the "Reboot to safe mode" prompt appears. If the error doesn't occur in Safe Mode, a third-party app is definitely the cause. Restart the phone to exit Safe Mode.
- Check for "Appear on top" on Samsung devices: On Samsung phones, the setting is called "Appear on top" and is found in Settings > Apps > (choose app) > Appear on top. Disable it for the problematic app.
- Clear the cache of the Settings app: Go to Settings > Apps > Settings > Storage > Clear Cache. This can resolve glitches in the permission manager.
- Update your Android system: Check for system updates in Settings > System > System update. Sometimes the error is fixed by a software patch.
- If nothing works, backup your data and perform a factory reset. This is a last resort, but it will clear all app settings and overlays. Remember to backup your photos, contacts, and files first.
Frequently Asked Questions
Why does the "Screen overlay detected" error appear?
It appears when an app tries to request a permission (like camera or location) while another app is currently drawing over the screen. Android blocks the permission request to prevent malicious apps from tricking you into granting permissions.
Which apps commonly cause this error?
Apps that use overlays for features like chat heads (Facebook Messenger), blue light filters (Twilight), screen recorders, and floating widgets are common culprits. Also, some launchers and battery saver apps can trigger it.
Will disabling overlays permanently hurt my phone?
No. Disabling overlays only prevents apps from drawing over other apps. It doesn't delete any data or harm your phone. You can re-enable them anytime.
Can I fix this without disabling overlays?
In some cases, you can grant the permission by using the "Settings" shortcut in the error dialog, which takes you directly to the app's info page. From there, you can disable the overlay for that specific app only, grant the permission, and then re-enable it. But you still need to disable the overlay temporarily.
Does this error happen on all Android versions?
The error is most common on Android 6.0 (Marshmallow) through Android 9 (Pie). Starting with Android 10, the system handles overlays differently, and the error is less frequent, but it can still occur on some custom skins.
What if the error appears for a system app?
If a system app triggers the error, you should still be able to disable its overlay permission temporarily. If the system app is critical (like Android System), be cautious. In most cases, it's a third-party app causing the issue.