How to allow "Install unknown apps" on Android
Before installing an APK, Android asks you to allow the app that opens it, usually your browser or Files app. Here's how to give that permission on any phone, and how to take it back afterwards.
On this page
Android only installs apps from the Play Store until you say otherwise. The first time you open an APK, it asks you to allow the app you opened it with, usually your browser or your Files app, to install apps. Here's the quickest way to do that, where to find the setting yourself, and how to turn it off again.
Why Android asks
Apps from outside the Play Store haven't been through Google Play's checks, so Android makes installing them a deliberate choice. Since Android 8.0, the permission is called Install unknown apps, and you give it to one app at a time: allowing your browser doesn't allow every other app on your phone.
The quickest way: from the install prompt
- Open the APK you downloaded, from the download notification or your Downloads.
- If installing isn't allowed yet, Android says that, for your security, your phone isn't allowed to install unknown apps from this source, and shows a Settings button. Tap it.
- Turn on Allow from this source.
- Go back. The installer appears: tap Install.
You only need to do this once for each browser or Files app you install from.
Finding the setting yourself (Android 8 and later)
To check or change the permission without an APK at hand:
- Open Settings.
- Type "unknown" in the search bar at the top of Settings and open Install unknown apps.
- Choose the app you download with, for example Chrome or Files, and turn on Allow from this source.
Without search, the setting is usually in the apps section of Settings, under Special app access or Special access. Phone makers place and name it a little differently, so search is the quickest way.
Android 7: the "Unknown sources" switch
On Android 7.0 and 7.1 there's one switch for the whole phone:
- Open Settings and go to Security (on some phones, Lock screen and security).
- Turn on Unknown sources and confirm.
If the switch is greyed out or missing
A phone managed by a work or school account, or supervised with parental controls such as Google Family Link, can be set to block apps from outside the Play Store. The switch is then greyed out or missing, and only the administrator or the parent can change it.
Turning it off afterwards
You can turn the permission off again once the app is installed: the app keeps working. You'll need to turn it back on the next time you install an update from an APK, or Android will ask you again.
Whatever you allow, Google Play Protect still checks apps when they're installed. If it shows a warning, here's what the Play Protect warning means.
Next step: install the app
With the permission in place, open the APK again and tap Install. The install steps walk through the whole process. If Android shows an error, see how to fix "App not installed" or "There was a problem parsing the package".
