If you see a “Screen overlay detected” alert on your Android phone, it means an app is drawing over other apps, and Android is blocking you from granting permissions until you turn that overlay off. The fix is to open Settings, find the app listed in the alert, and revoke its “Draw over other apps” permission—then go back and finish what you were doing.
What Is a Screen Overlay?
A screen overlay is any app that draws content on top of other apps. Common examples include:
- Facebook Messenger’s chat bubbles
- Battery-saver or brightness-filter apps
- Screen-recorder floating controls
- Accessibility tools like TalkBack or Switch Access
- Launchers that show a persistent sidebar
Android allows apps to request the “Draw over other apps” permission (also called SYSTEM_ALERT_WINDOW). When an app has that permission, it can show a window that sits above whatever you are currently using. That is useful for chat heads or a floating calculator, but it also creates a security risk: a malicious overlay could trick you into tapping something you did not intend.
Why Does the Alert Appear?
Android blocks permission dialogs—like those for camera, microphone, or contacts—when an overlay is present. The system does this because a malicious overlay could draw fake buttons over the real permission dialog, making you approve something you did not see. So instead of showing the dialog, Android displays the “Screen overlay detected” message and asks you to disable the overlay first.
This behavior has been part of Android since version 6.0 (Marshmallow), when runtime permissions were introduced. It is not a bug—it is a deliberate safety measure. The alert usually appears when you try to install an APK, change a system setting, or grant a permission to an app for the first time.
How to Fix “Screen Overlay Detected”
The exact steps vary by phone model and Android version, but the general process is the same:
- Tap “Open settings” on the alert. This takes you to the list of apps that can draw over other apps.
- Look for the app that is causing the problem—often it is the one you were using right before the alert, or one with a visible bubble or floating button.
- Tap the app’s name, then toggle off “Allow display over other apps” (the wording may be “Draw over other apps” or “Display over other apps”).
- Go back to the app where you were trying to grant a permission and try again. The permission dialog should now appear normally.
- After you finish, you can re-enable the overlay permission if you still want that app’s floating feature.
If you do not know which app is the culprit, check the list of apps with overlay permission and disable them one by one until the alert stops. On Samsung phones, the setting is under Settings > Apps > (three-dot menu) > Special access > Display over other apps. On stock Android, it is under Settings > Apps > Special app access > Display over other apps.
Common Causes and Confusing Cases
Sometimes the alert appears even when you have no obvious floating apps. Here are a few sneaky causes:
- System UI or launcher – Some launchers (like Nova or Action) draw a small overlay for gestures. Disable it temporarily.
- Blue-light filters – Apps like Twilight or Night Screen overlay a tint on the whole display. They count as overlays even if you cannot see a button.
- Accessibility services – Apps that use accessibility features (like auto-clickers or password managers) may also request overlay permission.
- Old apps – Some apps request overlay permission for legitimate reasons (e.g., a floating video player) but never actually show anything. They still trigger the block.
If you recently installed a new app, that is the first place to look. If the problem started after an app update, check that app’s settings.
Is It Dangerous? Security Considerations
The overlay permission is one of the more sensitive permissions on Android because it can be abused. Malware can draw a fake login screen over a banking app and capture your credentials. That is why Android restricts permission dialogs when an overlay is active.
You should only grant “Draw over other apps” to apps you trust. If you see the alert and do not recognize the app listed, do not just disable the overlay and continue—consider uninstalling that app. The alert itself is not a sign of malware, but it is a reminder to review which apps have this power.
On newer Android versions (10 and later), the system is more restrictive about what overlays can do, but the permission still exists. The alert is less common now than it was on Android 6–9, but it still appears when an app with overlay permission is running.
Alternatives to Disabling the Overlay
If you do not want to lose a floating feature (like chat bubbles) but still need to grant a permission, you have two options:
- Use split-screen – Some apps let you run in split-screen mode without an overlay. This avoids the permission conflict entirely.
- Grant the permission first, then re-enable the overlay – Disable the overlay, grant the permission, then turn the overlay back on. The permission stays granted.
There is no way to bypass the block entirely without disabling the overlay—and you should not try. Workarounds that claim to “force” permission dialogs over overlays are not reliable and may compromise security.
Frequently Asked Questions
Why does “Screen overlay detected” keep popping up even after I disable overlays?
You likely disabled the overlay for one app, but another app still has it enabled. Check the full list of apps with overlay permission and disable all of them, then try again. Also, some system apps (like your launcher) may have overlay permission by default—disable those too, then re-enable them after you finish.
Can I stop the alert permanently?
Not without removing the overlay permission from all apps. The alert is a security feature, so it will reappear whenever an app with overlay permission is active and you try to grant a permission. You can reduce how often it appears by limiting which apps have overlay permission.
Does this happen on iPhones?
No. iOS does not allow apps to draw over other apps in the same way Android does. The “Screen overlay detected” alert is Android-specific.
Is “Screen overlay detected” a virus?
No, it is a system message from Android, not a virus. However, it can be triggered by malicious apps that use overlays. If you see the alert and do not recognize the app, uninstall it.
What if the alert appears when I try to install an APK file?
That is common. When you install an APK from outside the Play Store, Android checks for overlays to prevent fake install buttons. Disable the overlay, then try the install again. You can re-enable the overlay afterward.
I disabled all overlays but the alert still shows. What now?
Restart your phone. Sometimes the system cache keeps the overlay state. If that does not help, check if you have a screen-recorder or a game booster app that runs in the background—those often have overlay permission even when not visible. Uninstall or disable them temporarily.